Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

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

For details on the configuration semantics, please contact the ad network or refer to their documentation.

Required parameters

  • adhost: OAS cname. Must start with HTTPS.
  • sitepage: Sitepage configured for this ad spot.
  • pos: Position for the this ad spot.

Optional parameters

  • query: Query parameter to be sent with request. Keywords and keynames, taxonomy etc.