Protected Audience Demo

Instructions

  1. Visit the chrome://flags page and enable the "Privacy Sandbox Ads APIs" flags from the UI.
  2. If you are using Chrome M118+, execute Chrome from the command line and set the flag --args --disable-features=EnforcePrivacySandboxAttestations to disable attestation.
  3. If you are using Chrome M122, execute Chrome from the command line and set the flag --args --disable-features=FledgeEnforceKAnonymity to disable k-anonymity check
  4. Disabling attestation and the k-anonymity check can be combined to a single command: --disable-features=EnforcePrivacySandboxAttestations,FledgeEnforceKAnonymity
  5. Visit the advertiser page which will add your browser to an interest group.
  6. Visit the publisher page to see the ad rendered in a fenced frame.