<amp-ad width=300 height=250
type="mediavine"
data-site="amp-project">
</amp-ad>
<amp-ad width=300 height=250
type="mediavine"
data-sizes="300x250,320x50"
data-site="amp-project">
</amp-ad>
Required:
data-site
- The site's unique name this ad will be served on. This is the same name from your Mediavine script wrapper.
Optional:
data-sizes
- Comma separated list of ad sizes this placement should support. Will cause iframe resize if different from hard-coded width and height.
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.