This demo shows a simple example of using FLEDGE to join an ad interest group and then initiate an on-device auction.
You will need to use Chrome 91 or above run with the following flag
--enable-features=FledgeInterestGroups,FledgeInterestGroupAPI
Go to the Advertiser sites below for joinInterestGroup() first
then Go to the Publisher site to see Ads selected via runAdAuction().
If the demo doesn't work as expected, make sure of the following:
- You 're using Chrome 91 or above.
- You're running Chrome with the flags described above using one of the methods described on chromium.org
- You don 't have chrome://settings/privacySandbox disabled.
- You don 't have an adblocker or a similar app/extension running.
- You 're not in Incognito mode.
- You don't have chrome://settings/privacySandbox disabled.
- You don't have an adblocker or a similar app/extension running.
- You're not in Incognito mode.
You can see the source code on Github