-
Notifications
You must be signed in to change notification settings - Fork 0
AMP support
HolzAndrew edited this page Feb 12, 2021
·
7 revisions
Yieldmo is fully compatible with AMP !
To learn more about the AMP project - https://www.ampproject.org/learn/about-amp/
To display Yieldmo ads on your website, just like using a tag on a regular page, we have an AMP tag that looks like this -
<div class="ad-container">
<amp-ad width="300" height="200"
type="yieldmo"
data-ymid="Your placement ID here">
</amp-ad>
</div>Two key aspects define this as a Yieldmo tag.
- The
type=yieldmoattribute tells the AMP runtime to serve Yieldmo ads here - The
data-ymid=<placement ID>attribute gives Yieldmo the placement ID to serve
Our publisher operations team will deliver the correct placement ID to drop into your tag. Kindly get in touch with your account manager at Yieldmo. As a reminder, please ensure your use of our amp tag is compliant with all applicable rules and regulations.
We also support DFP-in-AMP - instructions can be found here - https://github.com/yieldmo/yieldmo-js-sdk/wiki/DFP-in-AMP-support