ads/vendors/ssp.md
<amp-ad
width="480"
height="300"
type="ssp"
data-position='{ "id": "id-1", "width": "480", "height": "300", "zoneId": "1234" }'
>
</amp-ad>
<amp-ad
width="480"
height="300"
type="ssp"
data-position='{ "id": "id-1", "width": "480", "height": "300", "zoneId": "1234" }'
>
</amp-ad>
<amp-ad
width="480"
height="300"
type="ssp"
data-said="abcd1234"
data-position='{ "id": "id-2", "width": "480", "height": "300", "zoneId": "1234" }'
>
</amp-ad>
Required parameters:
| Attribute | Description | Example |
|---|---|---|
| width | Width of AMP Ad (grey fixed border) | 200 |
| height | Height of AMP Ad (grey fixed border) | 200 |
| type | Type of amp-ad | ssp |
| data-position | JSON stringified position object | { "id": "id-1", "width": "480", "height": "300", "zoneId": "1234" } |
| data-said | SAID identificator | abcd1234 |
data-positionid, width, height, zoneId (Watch out for uppercase "I" in "id").id, if you duplicate some id, Ad may be used from another position.width and height are from AMP specification, and they will set fixed border around Ad.data-width and data-height are used to fetch SSP Ads on the server (They can be different).data-saidsaid identificator