ads/vendors/adhese.md
Serves ads from Adhese.
<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>
<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>
For details on the configuration semantics, see the Adhese website or contact Adhese support.
data-accountdata-request_typedata-locationdata-positiondata-formatThe following optional parameter is supported via the 'json' attribute:
targetingAdhese consent is linked to the window.context.consentSharedData object:
If the consentStateValue is set to 'accepted', our consent parameter is set to 'all'. When avaiable, the consentString will always be send to the adserver.