checkConsentHref code example
Example: data-block-on-consent
<amp-ad data-block-on-consent
data-slot="/30497360/a4a/a4a_native"
height="250"
type="doubleclick"
width="300">
</amp-ad>
<amp-ad data-block-on-consent
data-slot="/30497360/a4a/a4a_native"
height="250"
type="doubleclick"
width="300">
</amp-ad>