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:
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>
</div>