<amp-ad width="300" height="250"
type="yieldbot"
data-psn="1234"
data-yb-slot="medrec"
data-slot="/2476204/medium-rectangle">
</amp-ad>
To specify Doubleclick amp-ad
data attributes, see Doubleclick for details. Use the
Doubleclick attributes as you would with an <amp-ad type="doubleclick"/>
element.
<amp-ad width="300" height="250"
type="yieldbot"
data-psn="1234"
data-yb-slot="medrec"
data-slot="/2476204/medium-rectangle"
json='{"targeting":{"category":["food","lifestyle"]},"categoryExclusions":["health"]}'>
</amp-ad>
For further Yieldbot configuration information, please check our documentation or contact us.
Parameter | Description |
---|---|
data-psn |
Yieldbot publisher site number |
data-yb-slot |
Yieldbot slot identifier |
data-slot |
Doubleclick for Publishers (DFP) slot identifier |
For integration testing, the Yieldbot Platform can be set to always return a bid for requested slots.
The Yieldbot amp-ad
type can be tested with the following file:
When Yieldbot testing mode is enabled, a cookie (ybotc__
) on the domain i.yldbt.com
tells the Yieldbot ad server to always return a bid and when creative is requested, return a static integration testing creative.
- No ad serving metrics are impacted when integration testing mode is enabled.
- The
ybotc__
cookie expires in 24 hours. - It is good practice to click "Stop testing" when testing is complete, to return to normal ad delivery.