Skip to content

Latest commit

 

History

History
70 lines (51 loc) · 2.51 KB

yieldbot.md

File metadata and controls

70 lines (51 loc) · 2.51 KB

Yieldbot

Example

Basic

<amp-ad width="300" height="250"
          type="yieldbot"
          data-psn="1234"
          data-yb-slot="medrec"
          data-slot="/2476204/medium-rectangle">
</amp-ad>

With Doubleclick amp-ad data attributes

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>

Configuration

For further Yieldbot configuration information, please check our documentation or contact us.

Yieldbot Required parameters

Parameter Description
data-psn Yieldbot publisher site number
data-yb-slot Yieldbot slot identifier
data-slot Doubleclick for Publishers (DFP) slot identifier

Yieldbot Integration Testing

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.