Permalink
Branch: master
Find file Copy path
c9b606d Dec 20, 2018
1 contributor

Users who have contributed to this file

65 lines (44 sloc) 1.43 KB

OnNetwork

Examples

Simple movie tag with data-sid

<amp-ad width="800" height="450"
    type="onnetwork"
    data-sid="Hhhhh993jdkal">
</amp-ad>

Movie placement with data-mid

<amp-ad width="800" height="450"
    type="onnetwork"
    data-mid="Jjs9298dhfkla">
</amp-ad>

Ad tag or placement with src

<amp-ad width="800" height="450"
    type="onnetwork"
    src="https://video.onnetwork.tv/embed.php?ampsrc=1&sid=HHq0298djlakw">
</amp-ad>

Configuration

Please refer to OnNetwork Help for more information on how to get required movie tag or placement IDs.

Supported parameters

Only one of the mentioned parameters should be used at the same time.

  • data-sid
  • data-mid
  • src: must use https protocol and must be from one of the allowed OnNetwork hosts.