Google AMP Tags

Google AMP Tags

Google AMP tags allow to implement spaces in sites created through Google Accelerated Mobile Pages (https://www.ampproject.org/).
These tags are located within the HTML Code section of the space to be implemented.

Due to Google AMP properties and nature, there are some restrictions that apply upon its usage:

  • AMP tags only work for definite size spaces (Fixed and Variable).

  • Only inbox ads can display as there is no support for interstitial or floating ads.

 

In case the space belongs to a subzone, it will be indicated under the parameter data-epl_sec:

For more information on how to make Google AMP implementation check the project oficial repository at:
https://github.com/ampproject/amphtml/blob/master/ads/eplanning.md 

Keywords Implementation

Should you wish to implement keywords, they must be in JSON format under the parameter data-epl_kvs, as shown in the example:

<amp-ad width=320 height=50

      type='eplanning'

      layout=responsive

      data-epl_si='3ee5'

      data-epl_sv='https://ads.us.e-planning.net'

      data-epl_isv='https://us.img.e-planning.net'

      data-epl_sec='Home'

      data-epl_kvs='{'target1':'food', 'target2':'cars'}'

      data-epl_e='Banner1'>

</amp-ad>

The example shows two keywords, 'target1' with value 'food' and 'target2' with value 'cars'.

Please be advised that a valid JSON requires that all keyword-value pairs are enclosed within double quotation marks.

Example of a valid JSON: 

'{'target1':'food', 'target2':'cars'}' 

Example of an invalid JSON:

'{'target1':'food', 'target2':'cars'}'


Implementation of keywords with multiple values

In order to implement kwywords with more than one value, they must be separated by | (pipe):

'{'interest': 'food|cars|travel'}'