Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (30 sloc) 1.68 KB

Mediavine

Example

<amp-ad width="300" height="250"
    type="mediavine"
    data-site="amp-project">
</amp-ad>

Configuration

For details on the configuration semantics, please contact Mediavine. Each site must be approved and signed up with Mediavine prior to launch. The site name will be the same as name in the Mediavine script wrapper. The site name amp-project can be used for testing and will serve placeholder ads.

Required parameters

  • data-site - The site's unique name this ad will be served on. This is the same name from your Mediavine script wrapper.

User Consent Integration

When user consent is required. Mediavine approaches user consent in the following ways:

  • CONSENT_POLICY_STATE.SUFFICIENT: Personalized Ads.
  • CONSENT_POLICY_STATE.INSUFFICIENT: Non-Personalized Ads.
  • CONSENT_POLICY_STATE.UNKNOWN_NOT_REQUIRED: Personalized Ads.
  • CONSENT_POLICY_STATE.UNKNOWN: Non-Personalized Ads.