Permalink
Find file
394eb0c Apr 9, 2016
97 lines (80 sloc) 2.33 KB

Ad Up Technology

Please visit www.adup-tech.com for more information on how to get required ad tag or placement keys.

Examples

Fixed size

Uses fixed size by given width and height.

<amp-ad type="aduptech"
    layout="fixed"
    width="500"
    height="200"
    data-placementkey="ae7906d535ce47fbb29fc5f45ef910b4"
    data-query="reisen;mallorca;spanien"
    data-adtest="1">
</amp-ad>

Filled size

Uses available space of parent html container.

<style amp-custom>
    #aduptech-container {
        width:350px;
        height:300px;
        position:relative;
    }
</style>
<div id="aduptech-container">
    <amp-ad type="aduptech"
        layout="fill"
        data-placementkey="ae7906d535ce47fbb29fc5f45ef910b4"
        data-query="reisen;mallorca;spanien"
        data-adtest="1">
    </amp-ad>
</div>

Fixed height

Uses available width and given height.

<amp-ad type="aduptech"
    layout="fixed-height"
    height="100"
    data-placementkey="ae7906d535ce47fbb29fc5f45ef910b4"
    data-query="reisen;mallorca;spanien"
    data-adtest="1">
</amp-ad>

Responsive

Uses available space but respecting aspect ratio by given width and height (for example 10:3).

<amp-ad type="aduptech"
    layout="responsive"
    width="10"
    height="3"
    data-placementkey="ae7906d535ce47fbb29fc5f45ef910b4"
    data-query="reisen;mallorca;spanien"
    data-adtest="1">
</amp-ad>

Configuration

Required parameters
  • data-placementkey
Optional parameters
  • data-query
  • data-mincpc
  • data-adtest

Design/Layout

Please visit www.adup-tech.com and sign up as publisher to create your own placement.