/
AMP Sites

AMP Sites

E-Planning SSP can be implemented in AMP sites and compete as any source within it.  

AMP (Accelerated Mobile Pages) is a technology that allows to create sites with a faster load time. However, you cannot add any additional Javascript code, so E-Planning SSP cannot be implemented the same way as it were to be implemented in a traditional site.

These instructions are meant to use in implementations in AMP sites with no Prebid Server. To implement in AMP sites with Prebid Server, please refer to the following doc.

Content

Settings

To configure E-Planning SSP in AMP sites correctly, you must change the tags <amp-ad> by adding configuration parameters and create new line items within Ad Manager.

How to Get Configuration Parameters

In order to get the configuration parameters, access the platform with your ID and follow these steps:

  1. Click on Implementation
  2. Click on the Implementation for display chart
  3. Select AMP
  4. Copy the displayed configuration value

Configuration of <amp-ad> Tags

Once you have extracted the configuration parameter, you must plug it into the <amp-ad> tags of your site as a rtb-config attribute, for example:

<amp-ad width=300 height=250
    type="doubleclick"
    data-slot="/77069040/Right1"
    rtc-config='{"urls": ["https://ads.us.e-planning.net/hb/1/18f66/ADCID/HB_AMP/ROS?&e=ATTR(width)xATTR(height)!ATTR(data-slot)&ur=HREF"], "timeoutMillis": 1000}'
    >
</amp-ad>


Implementation of Line Items in Ad Manager

In order for E-Planning SSP ads to be displayed you must create line items in Ad Manager. For further reference on how to create and configure them, please click here.

User Sync

Unlike implementation in a traditional site, when AMP sites are involved user sync (also called Cookie Matching) is not automatic. This is a key process of the programmatic buying & selling dynamics, where if not plugged in, results will be anything but optimum.

In order to make the user sync, copy & paste the following code right after the <body> tag of your website. It must be in all pages and downloaded as soon as possible.

<amp-iframe width="1" title="User Sync" height="1" sandbox="allow-scripts allow-same-origin" frameborder="0" src="https://ads.us.e-planning.net/uspd/1/"><amp-img layout="fill" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" placeholder></amp-img>

Related content