Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
62 lines (50 sloc) 1.9 KB

Spring AdTechnology AmpAd Integration

Example

<amp-ad
  width="0"
  height="0"
  type="springAds"
  data-adssetup='{
    "view": "amp",
    "partners": true,
    "adPlacements": ["banner","mrec"],
    "adSlotSizes": {
      "banner": [{
        "minWidth": 1,
        "sizes": [[320, 50], [320, 160]]
      }],
      "mrec": [{
        "minWidth": 1,
        "sizes": [[300, 250], [300, 300], [250, 250], [320, 160], [300, 150], [320, 50], [320, 75], [320, 80], [320, 100], [300, 100], [300, 50], [300, 75]]
      }]
    },
    "pageName": "demo_story",
    "publisher": "adtechnology.axelspringer.com",
    "target": "singleAds;multiAds;you;me;team=adtech,MIT;"
  }'
>
</amp-ad>
<amp-ad width="320" height="50" type="springAds" data-adslot="banner"></amp-ad>
<amp-ad width="300" height="250" type="springAds" data-adslot="mrec"></amp-ad>

Configuration

for further information regarding this implementation, please contact adtechnology@axelspringer.de

Supported parameters:

  • data-site: siteid given by mediaimpact
  • data-page: pageName given by mediaimpact

Optional features

You can’t perform that action at this time.