Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 1.57 KB

openadstream.md

File metadata and controls

56 lines (45 loc) · 1.57 KB

Open AdStream (OAS)

Examples

Single ad

  <amp-ad width=300 height=250 
    type="openadstream" 
    data-adhost="oasc-training7.247realmedia.com" 
    data-sitepage="dx_tag_pvt_site" 
    data-pos="x04" 
    data-query="keyword=keyvalue&key2=value2" >
  </amp-ad>

Multi ads using coordinated positions

 <amp-ad width=728 height=90 
    type="openadstream" 
    data-adhost="oasc-training7.247realmedia.com" 
    data-sitepage="dx_tag_pvt_site" 
    data-pos="x50,x51!x50" >
  </amp-ad>
  <amp-ad width=300 height=250 
    type="openadstream" 
    data-adhost="oasc-training7.247realmedia.com" 
    data-sitepage="dx_tag_pvt_site" 
    data-pos="x50,x51!x51" >
  </amp-ad>

Configuration

Supported parameters:

  • adhost: required: OAS cname. Must start with HTTPS.
  • sitepage: required: Sitepage configured for this ad spot.
  • pos: required: Position for the this ad spot.
  • query: optional: Query parameter to be sent with request. Keywords and keynames, taxonomy etc.