Consent revocation is the process by which users in the EEA (European Economic Area), the UK, and Switzerland who consented to personalized ads can revoke that consent. You must provide a link at the bottom of your site 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 European regulations message revocation link to sites on which you display European regulations 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:
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)">Privacy and cookie settings</button>
</div>