Installation

How do I install an AMP-HTML ad unit?_

AdUp ads also work on Accelerated Mobile Pages (AMP-HTML). For more information on AMP-HTML, visit www.ampproject.org.

Requirements

In order to use AdUp ads on your website, you need to have created a page and a corresponding ad unit in your publisher account.

AMP-HTML-Ads use our Responsive-Ads logic in the background, so your ad unit layout should be optimized for this.

Syntax

Add the following <amp-ad> tag at the position on your AMP-HTML page where you want the ads to appear:

<amp-ad type="aduptech"></amp-ad>

Required attributes

Name Description Example
placementkey

The unique placement key of your ad unit.

data-placementkey="07d120d1abbd5f37dc4f1f8feceaebe1"
width

The desired width of the advertising medium

width="500"
height

The desired height of the advertising medium

height="500"

Optimal attributes

Name Description Example
layout

Controls the layout behaviour of the ad:

  • fixed (default)
  • filled
  • fixed-height
  • responsive
layout="filled"
data-query

Keywords by which the ads are to be filtered. Several keywords can be separated by semicolons.

data-query="Italy;Flights"
data-mincpc

This is the minimum price you want to earn for a click. Generally, the lower the minimum price, the more campaigns you will be presented with and the more money you can earn due to greater competition for the position.

data-mincpc="0.75"
data-pageurl

The current URL of the page on which the advertisement is played.

Should always be set if our advertising material is embedded within one or more nested iFrames on your page, as we may then no longer be able to determine the URL.

data-pageurl="http://www.adup-tech.com"
data-adtest

Impressions and clicks are not tracked when activated. Should only be used for test purposes!

data-adtest="1"
data-gdpr data-gdpr_consent

Normally, we determine the required GDPR data automatically via the <amp-consent> module installed on the AMP page.

If this is not available, or if it is not possible to access it for technical reasons, you have the option here of transferring the GDPR data to us manually.

data-gdpr

1 = GDPR applies

0 = GDPR does not apply

(omit) = Unknown (default)

data-gdpr_consent

The IAB Consent String (base64url-encoded)

(omit) = Unknown (default)

data-gdpr="1"
data-gdpr_consent="[CONSENT_STRING]"