amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

AMP Ads and Consent: Want NPA for Unknown and Rejected States

Open benamada opened this issue 4 years ago • 2 comments

Hello. I'm using Doubleclick for Ads and haven't been able to accomplish what seems like a straight forward scenario.

  • Unknown consent: Serve NPA ads (immediately, even before the user makes an accept/reject decision)
  • Accepted consent: Serve Regular Non-NPA ads
  • Rejected consent: Serve NPA ads

Configuration

  • <amp-consent> is always set at consentRequired: true
  • <amp-ad> always includes data-npa-on-unknown-consent="true"

With the above configuration, Personalized Ads are always served, I'm not seeing npa: 1 included in the ad request even if I Reject. The only time I see npa: 1 in the ad request is if I add data-block-on-consent to the <amp-ad> tag, however I want to avoid this because with data-block-on-consent if consent state is unknown (i.e. first time visitor), ads are not served until the person Accepts or Rejects (if they reject, then npa: 1 is included in the Ad request). I always want Ads served immediately even before the person accepts or rejects. If consent state is unknown or rejected I'd like them to be NPA and only when consent state is accepted should personalized ads be requested.

Any suggestions or pointers are appreciated.

benamada avatar Jul 06 '22 08:07 benamada

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 12 '23 04:08 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 27 '25 15:04 stale[bot]