Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.09 KB

File metadata and controls

25 lines (16 loc) · 1.09 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.