This document explains steps to serve ZEDO ads on Accelerated Mobile Pages (AMP).

What is an AMP?

AMP is a way to build web pages for static content that render fast. AMP Consists of 3 different parts: AMP HTML, AMP JS and Google AMP Cache which together define standards to be implemented for best AMP site performance. AMP works on secure websites only. Know More

How to serve ads on AMP?

To serve ads on AMP we have to import the amp-ad component on the AMP site as explained below:

Sample Code to define amp-ad components:

<amp-ad width=300 height=250
    type="zedo"
    data-super-id="364489"
    data-network="2500"
    data-placement-id="364489_1"
    data-channel="727"
    data-publisher="0"
    data-dim="9"
</amp-ad>

The amp-ad element requires the width, height of the ad and type of the ad network which in this case is “zedo”. the other parameters are as described below:

Required parameters

  • data-super-id :  
    • Is a Unique ID used to identify the amp ad code for a page.
    • You can use the id generated by the master js tag on channel selection in the variable {var zmt_mtag = zmt_get_tag(101,”364489“)}
  • data-network :
    • Is the network id of the publisher account.
  • data-placement-id :
    • Combination of “Super id”  and  “placement/Adslot no” e.g. 364489_1 if this is the first placement on the page, 364489_2 if it’s the 2nd placement on the page.
  • data-channel :
    • Is the channel id.
  • data-publisher :
    • Is the Publisher id
  • data-dim :
    • Is the Dimension id

More details:

Github

AMP by example

Example:

Assuming the publisher has 2 slots on the page:

Implement the below code snippet example in the ad slots and update the variables with the correct values:

Ad slot 1:
Dimension: 300×250
DimID: 9
Channel ID: 727

<amp-ad width=300 height=250
    type="zedo"
    data-super-id="364489"
    data-network="2500"
    data-placement-id="364489_1"
    data-channel="727"
    data-publisher="0"
    data-dim="9"
</amp-ad>

Ad Slot 2:
Dimension: 300×100
DimID: 18
Channel ID: 727

<amp-ad width=300 height=100
    type="zedo"
    data-super-id="364489"
    data-network="2500"
    data-placement-id="364489_2"
    data-channel="727"
    data-publisher="0"
    data-dim="18"
</amp-ad>

Features Supported

This is a alpha release and we only support the features listed below:

    1. Ad types :
      • Standard banner.
      • Html/HTML5 code input/upload
      • 3rd party Ad server ( non rich media ads only)
        • The 3rd party ad code has to support ad serving on AMP.
      • Iframe tags
      • RTB Ad ( Display only)
    2. Tracking :
      • Impressions
      • clicks
      • Actions
      • Viewability
    3. Targeting options:
      • Frequency capping but only per slot not per page
        • If there are 2 slots on a page, frequency capping will not work across the 2 slots.
      • All other targeting except Keywords and Custom targeting.

Please contact ZEDO Support incase of any queries.

2 0