Please make sure to visit Your AdSense Page where you can find personalized information about your account to help you succeed with AdSense.

Add a consent revocation link to your site

Consent revocability is a requirement of the Privacy & messaging user consent program. Ensure you include a consent revocation link on your data, cookie, or privacy policy page before publishing consent messages.

Consent revocation is the process by which users in the EEA (European Economic Area) and the UK who consented to personalized ads can revoke that consent. You must provide a link in your site's menu that allows users who want to revoke consent to do so, then present the consent message to those users again. 

AdSense will automatically add the required GDPR consent revocation link to sites on which you display GDPR messages. These links will only be added to sites that have been approved and also contain the AdSense code, and will be accompanied by text that states that you comply with the IAB TCF v2.0 policies.

Consent revocation function (Google API)

Use the following function to call the revocation flow: googlefc.callbackQueue.push(googlefc.showRevocationMessage)

For example:

<a href=”javascript:googlefc.callbackQueue.push(googlefc.showRevocationMessage)”>Click here to revoke your choice</a>.

Consent revocation function (AMP)

Place the following code after the closing </amp-consent> tag in your site's HTML code to call the revocation flow:

<div id="fcConsentRevocation">
    <button on="googleFC.prompt(consent=googleFC, expireCache=true)">Manage Privacy Options</button>
Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

Your AdSense page

Introducing AdSense Page: a new resource in which you can find personalized information and new opportunities in your account to help to succeed with AdSense.

Clear search
Close search
Google apps
Main menu
Search Help Center