Allow RTC call-outs to be made when user rejects amp-consent
The current RTC implementation in Doubleclick does not make the RTC call-outs when an amp-consent component is present, the amp-ad contains the attribute data-block-on-consent and the user rejects the consent.
The proposal is to allow RTC calls when user rejects the consent, sending to the RTC endpoint a query param with the consent status. The values would be the same UNKNOWN, SUFFICIENT, INSUFFICIENT or UNKOWN_NOT_REQUIRED depending on the user choice
This would allow, for example, a server side header bidding with non personalized ads
This is fine however the publisher must explicitly opt-in to this behavior change either across all RTC call-outs or one by one via the a new sendRegardlessOfConsentState option. Examples given:
rtc-config='{
"vendors": {
"vendorA": {"SLOT_ID": "1", "sendRegardlessOfConsentState":true},
"vendorB": {"PAGE_ID": "2"},
"vendorC": {"SLOT_W": "320", "SLOT_H": "50"}
},
"URLs": [
{"url": "https://www.AmpPublisher.biz/targetingA", "sendRegardlessOfConsentState": true},
"https://www.AmpPublisher.biz/targetingB"
],
"timeoutMillis": 750}'
OR:
rtc-config='{
"vendors": {
"vendorA": {"SLOT_ID": "1"},
"vendorB": {"PAGE_ID": "2"},
"vendorC": {"SLOT_W": "320", "SLOT_H": "50"}
},
"URLs": [
"https://www.AmpPublisher.biz/targetingA",
"https://www.AmpPublisher.biz/targetingB"
],
"timeoutMillis": 750, "sendRegardlessOfConsentState": true}'
@keithwrightbos Would the consent result sent via query param? Following your example, something like
https://www.AmpPublisher.biz/targetingB?consent=SUFFICIENT
Where would this code belong? Specific to RTC implementation of Doubleclick?
Yes we can provide this and make it available to any fast fetch enabled, ad network that may choose to implement RTC in the future (currently Doubleclick is the only one to do so) by making it a part of https://github.com/ampproject/amphtml/blob/master/extensions/amp-a4a/0.1/real-time-config-manager.js#L148 in the same manner that TIMEOUT is defined as a macro.
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.