Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

The acronym "AMP" stands for accelerated mobile pages.

Google introduced this project in order to ensure that the end user utilizes a minimal amount of mobile data as possible and at the same time to keep the webpage clean and load quickly.
Due to the nature of these pages including custom JS Code on these pages are restricted.

...

Table of Contents

Glossary

Term

Description

Ad slots

Describes a space on a HTML page which gets filled with advertisements
depending on where the slot is placed on the page and which name is mapped to the slot.

Example: An ad slot gets placed on top or under the navigation. This slot will be declared as topmobile

Ad slot Size

An ad slot contains one or multiple format sizes.

example: the following format sizes will be mapped to the slot
topmobile: 300x250,320x150,320x100,320x75,320x50

Network ID

Every adserver from Google Ad Manager 360 has a unique ID.
The network ID is: 4444

Ad unit

The adunit declares the technical site in the ad server
example: m.amp_YOURSITENAME

MCM

Multiple Manage Inventory

Without MCM, the ad request from GAM will be blocked!

example:/4444,12345678/m.amp.test

Zone

The zone declares the category of your page. Through this the delivery can be targeted directly per category.
example: YOURSITENAME_homepage

Postfix

The postfix gets tagged onto the end of the set zone. This is necessary in order to book a specific campaign on a specific slot.


example: The AMP tag for the slot topmobile will get the postfix "_b1". (topmobile2 = "b2" topmobile3 = "_b3" etc...)

TAG ID

The TAG ID is used to map our header bidder to a specific ad unit.

Cookie Sync Tag

The cookie sync tag is necessary to synchronize User ID's which are mandatory for targeting.

amp-iframe

The amp-iframe component must be integrated for a clean communication between the header bidder and Admanager 360

Standard Setup:

In order to implement AMP Tags we recommend the following setup:

...

Info

Mobile Halfpage Ad und das Large Inline Ad

The mobile halfpage ad (300x600) and the mobile large inline ad (320x480), depending on how the
website layout, can be delivered either on the ad slot topmobile2 or topmobile3.
Please discuss this format with your contact person to identify the correct ad slot for these formats.
In this documentation we will use the topmobile2 for these formats.

Which changes occur when not using the topmobile2?

In this case please make sure:

  1. The sizes 300x600 and 320x40 are added to the proper AMP Tag.

  2. The width and height of the AMP tag has to be adjusted. (for this example: width: 320 height: 600)

  3. The key values need to be added to the ad slot:

    1. "af": [ ..., "mhpad", "lainl"] and"flag": "inint" have to both be available if both formats are to be delivered on one ad slot.

What to do if both formats should not be deliverd on the same slot?

For this example lets say that the mobile halfpage ad (300x600) should be deliverd on topmobile2
and the mobile large inline ad (320x480) should be delivered on the slot topmobile3.

Please make sure to:

topmobile2: Add the key values for the mobile halfpage ad→ "af": [ ..., "mhpad" ]
topmobile3: Add the key values for the large inline ad → "af": [ ..., "lainl"] und "flag": "inint"

Ad slot

Format sizes

topmobile2 (b2)

300x600,320x480,300x252,300x250,320x150,320x100,320x75,320x50,37x32

topmobile3 (b3)

300x253,300x250,320x150,320x100,320x75,320x50,37x33

topmobile4 (b4)

300x254,300x250,320x150,320x100,320x75,320x50,37x34

stickyfooter

320x50,50x31

Placement recommendations for AMP Tags

we recommend the following placement tags for your AMP-Page:

Ad slot

Placement recommendation

topmobile2 (b2)

After the first picture/or Page introductary text

topmobile3 (b3)

Depending on the length of an article after every paragraph

topmobile4 (b4)

Depending on the length of an article after every paragraph

stickyfooter

On the bottom of the display edge

Here is an example for positioning the slots topmoible2(b2), topmobile3(b3) and stickyfooter.

...

Code Block
***___stickyfooter___***
<amp-ad ...
    type="doubleclick"
    data-enable-refresh="30"
    data-slot="/4444,MCM/m.amp_IHRSEITENNAME.de/ZONE_amp_stickyfooter"
    ...
</amp-ad>

...

Code Block
languagexml
<amp-ad width=320 height=600
    type="doubleclick"
    data-slot="/4444,MCM/m.amp_IHRSEITENNAME.de/ZONE_amp_b2"
    data-multi-size="300x600,320x480,300x252,300x250,320x150,320x100,320x75,320x50,37x32"
    data-multi-size-validation="false"
    rtc-config='{
   "urls": [ "https://s2s.yieldlove-ad-serving.net/openrtb2/amp?tag_id=IHRETAGID&curl=CANONICAL_URL&w=ATTR(width)&h=ATTR(height)&ms=ATTR(data-multi-size)&gdpr_consent=CONSENT_STRING" ],
   "vendors": {
       "criteo": {"NETWORK_ID": 9896,"PUBLISHER_SUB_ID": "IHRSEITENNAME.de_amp_300x250_1"} },
       "timeoutMillis": 999,
       "sendRegardlessOfConsentState": true
      }'
json='{"targeting": {"beacon":"no", "yieldlove_meta": "pid:IHRETAGID.sb:f","kw": "amp","keywords": ["b2", "amp"],"adslot": "topmobile2","af": ["moad2x1", "moad3x1", "moad4x1", "moad6x1", "mmrec", "mhpad", "lainl"],"as": "topmobile2", "flag": "inint"}}'>
</amp-ad>

...

Code Block
data-slot="/4444,MCM/m.amp_IHRSEITENNAME/ZONE_amp_b2"

The data slot is mapped to the ad unit ID. We will provide the ID, this ID has to be included in each AMP tag.

MCM: After the Network ID for our Google Ad Manger ID "4444," the MCM ID should be inserted. Please ensure that this value is separated by a comma. We will provide you with the necessary ID.

Please be aware you will need to replace the "ZONE" with the proper zone for your current page.

...

Code Block
languagexml
***___stickyfooter___***
<amp-sticky-ad layout="nodisplay">
	<amp-ad width="320"
		height="50"
		type="doubleclick"
		data-slot="/4444,MCM/m.amp_IHRSEITENNAME.de/ZONE_amp_stickyfooter"
		data-multi-size="320x50,50x31"
		data-multi-size-validation="false"
 		rtc-config='{    
		"urls": [ "https://s2s.yieldlove-ad-serving.net/openrtb2/amp?tag_id=IHRETAGID&curl=CANONICAL_URL&w=ATTR(width)&h=ATTR(height)&ms=ATTR(data-multi-size)&gdpr_consent=CONSENT_STRING" ],
    	"vendors": {
        	"criteo": {"NETWORK_ID": 9896,"PUBLISHER_SUB_ID": "IHRSEITENNAME.de_amp_320x50_1"} },
        	"timeoutMillis": 999,
            "sendRegardlessOfConsentState": true
            }' 
		json='{"targeting": {"beacon":"no", "yieldlove_meta": "pid:IHRETAGID.sb:f","kw": "amp","keywords": ["stickyfooter", "amp"],"adslot": "stickyfooter","af": ["moad6x1", "stick"],"as": "stickyfooter"}}'>
	</amp-ad>
</amp-sticky-ad>

...

Code Block
languagexml
***___topmobile2 inkl. 300x600 und 320x480___***
<amp-ad width=320 height=600
    type="doubleclick"
    data-slot="/4444,MCM/m.amp_IHRSEITENNAME.de/ZONE_amp_b2"
    data-multi-size="300x600,320x480,300x252,300x250,320x150,320x100,320x75,320x50,37x32"
    data-multi-size-validation="false"
    rtc-config='{
   "urls": [ "https://s2s.yieldlove-ad-serving.net/openrtb2/amp?tag_id=IHRETAGID&curl=CANONICAL_URL&w=ATTR(width)&h=ATTR(height)&ms=ATTR(data-multi-size)&gdpr_consent=CONSENT_STRING" ],
   "vendors": {
       "criteo": {"NETWORK_ID": 9896,"PUBLISHER_SUB_ID": "IHRSEITENNAME.de_amp_300x250_1"} },
       "timeoutMillis": 999,
       "sendRegardlessOfConsentState": true
      }' 
	json='{"targeting": {"beacon":"no", "yieldlove_meta": "pid:IHRETAGID.sb:f","kw": "amp","keywords": ["b2", "amp"],"adslot": "topmobile2","af": ["moad2x1", "moad3x1", "moad4x1", "moad6x1", "mmrec", "mhpad","lainl"],"as": "topmobile2", "flag": "inint"}}'>
</amp-ad>


***___topmobile3___***
<amp-ad width=320 height=253
    type="doubleclick"
    data-slot="/4444,MCM/m.amp_IHRSEITENNAME.de/ZONE_amp_b3"
    data-multi-size="300x253,300x250,320x150,320x100,320x75,320x50,37x33"
    data-multi-size-validation="false"
	rtc-config='{
   	"urls": [ "https://s2s.yieldlove-ad-serving.net/openrtb2/amp?tag_id=IHRETAGID&curl=CANONICAL_URL&w=ATTR(width)&h=ATTR(height)&ms=ATTR(data-multi-size)&gdpr_consent=CONSENT_STRING" ],
  	"vendors": {
        "criteo": {"NETWORK_ID": 9896,"PUBLISHER_SUB_ID": "IHRSEITENNAME.de_amp_300x250_2"} },
        "timeoutMillis": 999,
        "sendRegardlessOfConsentState": true
        }' 
	json='{"targeting": {"beacon":"no", "yieldlove_meta": "pid:IHRETAGID.sb:f","kw": "amp","keywords": ["b3", "amp"],"adslot": "topmobile3","af": ["moad2x1", "moad3x1", "moad4x1", "moad6x1", "mmrec"],"as": "topmobile3"}}'>
</amp-ad>

***___topmobile4___***
<amp-ad width=320 height=254
    type="doubleclick"
    data-slot="/4444,MCM/m.amp_IHRSEITENNAME.de/ZONE_amp_b4"
    data-multi-size="300x254,300x250,320x150,320x100,320x75,320x50,37x34"
    data-multi-size-validation="false"
    rtc-config='{    "urls": [ "https://s2s.yieldlove-ad-serving.net/openrtb2/amp?tag_id=IHRETAGID&curl=CANONICAL_URL&w=ATTR(width)&h=ATTR(height)&ms=ATTR(data-multi-size)&gdpr_consent=CONSENT_STRING" ],
    "vendors": {
        "criteo": {"NETWORK_ID": 9896,"PUBLISHER_SUB_ID": "IHRSEITENNAME.de_amp_300x250_3"} },
        "timeoutMillis": 999,
        "sendRegardlessOfConsentState": true
        }' 
	json='{"targeting": {"beacon":"no", "yieldlove_meta": "pid:IHRETAGID.sb:f","kw": "amp","keywords": ["b4", "amp"],"adslot": "topmobile4","af": ["moad2x1", "moad3x1", "moad4x1", "moad6x1", "mmrec"],"as": "topmobile4"}}'>
	</amp-ad>


***___stickyfooter___***
<amp-sticky-ad layout="nodisplay">
	<amp-ad width="320"
		height="50"
		type="doubleclick"
		data-slot="/4444,MCM/m.amp_IHRSEITENNAME.de/ZONE_amp_stickyfooter"
		data-multi-size="320x50,50x31"
		data-multi-size-validation="false"
 		rtc-config='{    
		"urls": [ "https://s2s.yieldlove-ad-serving.net/openrtb2/amp?tag_id=IHRETAGID&curl=CANONICAL_URL&w=ATTR(width)&h=ATTR(height)&ms=ATTR(data-multi-size)&gdpr_consent=CONSENT_STRING" ],
    	"vendors": {
        	"criteo": {"NETWORK_ID": 9896,"PUBLISHER_SUB_ID": "IHRSEITENNAME.de_amp_320x50_1"} },
        	"timeoutMillis": 999,
            "sendRegardlessOfConsentState": true
            }' 
		json='{"targeting": {"beacon":"no", "yieldlove_meta": "pid:IHRETAGID.sb:f","kw": "amp","keywords": ["stickyfooter", "amp"],"adslot": "stickyfooter","af": ["moad6x1", "stick"],"as": "stickyfooter"}}'>
	</amp-ad>
</amp-sticky-ad>
___________________________________________________________________________________________________________________

Optional b6, b7 und b8

***___topmobile6___***
<amp-ad width=320 height=257
    type="doubleclick"
    data-slot="/4444,MCM/m.amp_IHRSEITENNAME.de/ZONE_amp_b6"
    data-multi-size="300x257,300x250,320x150,320x100,320x75,320x50,37x36"
    data-multi-size-validation="false"
    rtc-config='{    "urls": [ "https://s2s.yieldlove-ad-serving.net/openrtb2/amp?tag_id=IHRETAGID&curl=CANONICAL_URL&w=ATTR(width)&h=ATTR(height)&ms=ATTR(data-multi-size)&gdpr_consent=CONSENT_STRING" ],
    "vendors": {
        "criteo": {"NETWORK_ID": 9896,"PUBLISHER_SUB_ID": "IHREPUBLISHERSUBID"} },
        "timeoutMillis": 999,
        "sendRegardlessOfConsentState": true
        }' 
	json='{"targeting": {"beacon":"no", "yieldlove_meta": "pid:IHRETAGID.sb:f","kw": "amp","keywords": ["b6", "amp"],"adslot": "topmobile6","af": ["moad2x1", "moad3x1", "moad4x1", "moad6x1", "mrec"],"as": "topmobile6"}}'>
	</amp-ad>
	
	***___topmobile7___***
<amp-ad width=320 height=258
    type="doubleclick"
    data-slot="/4444,MCM/m.amp_IHRSEITENNAME.de/ZONE_amp_b7"
    data-multi-size="300x258,300x250,320x150,320x100,320x75,320x50,37x37"
    data-multi-size-validation="false"
    rtc-config='{    "urls": [ "https://s2s.yieldlove-ad-serving.net/openrtb2/amp?tag_id=IHRETAGID&curl=CANONICAL_URL&w=ATTR(width)&h=ATTR(height)&ms=ATTR(data-multi-size)&gdpr_consent=CONSENT_STRING" ],
    "vendors": {
        "criteo": {"NETWORK_ID": 9896,"PUBLISHER_SUB_ID": "IHREPUBLISHERSUBID"} },
        "timeoutMillis": 999,
        "sendRegardlessOfConsentState": true
        }' 
	json='{"targeting": {"beacon":"no", "yieldlove_meta": "pid:IHRETAGID.sb:f","kw": "amp","keywords": ["b7", "amp"],"adslot": "topmobile7","af": ["moad2x1", "moad3x1", "moad4x1", "moad6x1", "mmrec"],"as": "topmobile7"}}'>
	</amp-ad>
	
		***___topmobile8___***
<amp-ad width=320 height=259
    type="doubleclick"
    data-slot="/4444,MCM/m.amp_IHRSEITENNAME.de/ZONE_amp_b8"
    data-multi-size="300x259,300x250,320x150,320x100,320x75,320x50,37x38"
    data-multi-size-validation="false"
    rtc-config='{    "urls": [ "https://s2s.yieldlove-ad-serving.net/openrtb2/amp?tag_id=IHRETAGID&curl=CANONICAL_URL&w=ATTR(width)&h=ATTR(height)&ms=ATTR(data-multi-size)&gdpr_consent=CONSENT_STRING" ],
    "vendors": {
        "criteo": {"NETWORK_ID": 9896,"PUBLISHER_SUB_ID": "IHREPUBLISHERSUBID"} },
        "timeoutMillis": 999,
        "sendRegardlessOfConsentState": true
        }' 
	json='{"targeting": {"beacon":"no", "yieldlove_meta": "pid:IHRETAGID.sb:f","kw": "amp","keywords": ["b8", "amp"],"adslot": "topmobile8","af": ["moad2x1", "moad3x1", "moad4x1", "moad6x1", "mmrec"],"as": "topmobile8"}}'>
	</amp-ad>

What needs to be changed? (short version)

Snippet from the Template

In Orange the lines that need to be replaced

data-slot="/4444/m.amp_IHRSEITENNAME.de/ZONE_amp_sticky

data-slot="/4444,MCM/m.amp_IHRSEITENNAME.de/ZONE_amp_sticky

"urls": [ "https://s2s.yieldlove-ad-serving.net/openrtb2/amp?tag_id=IHRETAGID&

"urls": [ "https://s2s.yieldlove-ad-serving.net/openrtb2/amp?tag_id=IHRETAGID&

"PUBLISHER_SUB_ID": "IHRSEITENNAME.de_amp_320x50_1"}

"PUBLISHER_SUB_ID": "IHRSEITENNAME.de_amp_320x50_1"} 

"pid:IHRETAGID.sb:f",

"pid:IHRETAGID.sb:f",

Cookie Sync Iframe

The cookie Sync tag is necessary for the SSPs to synchronize the user id's.
User IDs are required for targeting.

...