ads/vendors/ezoic.md
<amp-ad
width="300"
height="250"
type="ezoic"
data-slot="slot-name"
data-json='{"targeting":{"compid":0}, "extras":{"adsense_text_color":"000000"}'
>
</amp-ad>
The ad size is the size of the ad that should be displayed. Make sure the width and height attributes of the amp-ad tag match the available ad size.
To generate tags, please visit https://svc.ezoic.com/publisher.php?login
Supported parameters:
data-slot: the slot name corresponding to the ad positionSupported via json attribute:
targetingextrasEzoic amp-ad adhere to a user's consent in the following ways:
CONSENT_POLICY_STATE.SUFFICIENT: Ezoic amp-ad will display a personalized ad to the user.CONSENT_POLICY_STATE.INSUFFICIENT: Ezoic amp-ad will display a non-personalized ad to the user.CONSENT_POLICY_STATE.UNKNOWN_NOT_REQUIRED: Ezoic amp-ad will display a personalized ad to the user.CONSENT_POLICY_STATE.UNKNOWN: Ezoic amp-ad will not display an ad.