Skip to content

Latest commit

 

History

History
72 lines (55 loc) · 1.52 KB

adhese.md

File metadata and controls

72 lines (55 loc) · 1.52 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