Integration – Mobile Web – Google AMP

What is AMP?

The Accelerated Mobile Pages Project (AMP) is an online publishing format, created by Google, that is similar to HTML and optimized for mobile web browsing with a goal of speeding up the loading time and getting rid of unnecessary, complex, large ads and scripts that usually slow down the user experience.

 

Code Example

Widespace have certified a plugin for AMP and below you’ll find the example of how the Widespace AMP tag should be populated and a direct link to their official documentation.

 

Google AMP-ad documentation setup.

## Note that the SID needs to be replaced with your own ##

<amp-ad width=320 height=320
  layout="responsive"
  type="widespace"
  data-sid="f31441c1-f88e-41d4-a826-7297e432225f">
</amp-ad>

 

Parameter Required

layout

NO
type YES
data-sid NO

 

 

Already Integrated AMP Using Another SSP?

If you have already integrated AMP into your site using another SSP/Adserver the integration will look differently. The ‘<amp-ad>’ tags are not functioning when being booked through another Adserver into an already integrated AMP placement due to lack of support scripts required for the AMP tag to be able to operate. In order to deliver ads and still be able to utilise the AMP tracking API, Widespace have designed a script specifically for these type of integrations.

 

## Note that the SID needs to be replaced with your own ##

<script src="//engine.widespace.com/map/engine/dynamic?sid=a364a545-a2f2-414b-acd8-1213cc6521df&isamp=1" type="text/javascript"></script>

 

 

Do you have any questions or need further guidance?

Feel free to contact integrations@widespace.com and we’ll do our very best to help you out!

 

Was this article helpful to you?

L:0 | D:1