Permalink
Switch branches/tags
Find file Copy path
e5a1d3b Apr 9, 2018
2 contributors

Users who have contributed to this file

@kimvc @bpaduch
68 lines (49 sloc) 1.54 KB

Adhese

Serves ads from Adhese.

Example

Basic setup

<amp-ad width="300" height="250"
    type="adhese"
    data-location="_sdk_amp_"
    data-position=""
    data-format="amprectangle"
    data-account="demo"
    data-request-type="ad">
</amp-ad>

With additional parameters

<amp-ad width="300" height="250"
    type="adhese"
    data-location="_sdk_amp_"
    data-position=""
    data-format="amprectangle"
    data-account="demo"
    data-request-type="ad"
    json='{"targeting":{"br": ["sport", "info"],"dt": ["desktop"]}}'>
</amp-ad>

Configuration

For details on the configuration semantics, see the Adhese website or contact Adhese support.

Required parameters

  • data-account
  • data-request_type
  • data-location
  • data-position
  • data-format

Optional parameter

The following optional parameter is supported via the 'json' attribute:

  • targeting