ads/vendors/uas.md
<amp-ad
width="728"
height="90"
type="uas"
json='{"accId": "132109", "adUnit": "10002912", "sizes": [[728, 90]]}'
>
</amp-ad>
<amp-ad
width="728"
height="90"
type="uas"
json='{"accId": "132109", "adUnit": "10002912", "sizes": [[728, 90], [700, 90], [700, 60]]}'
>
</amp-ad>
Note that the width and height mentioned should be maximum of the width-hight combinations mentioned in json.sizes.
<amp-ad
width="728"
height="90"
type="uas"
json='{"accId": "132109", "adUnit": "10002912", "sizes": [[728, 90]], "targetings": {"country": ["India", "USA"], "car": "Civic"}}'
>
</amp-ad>
<amp-ad
width="300"
height="250"
type="uas"
json='{"accId": "132109", "adUnit": "10002912", "sizes": [[300, 250]], "targetings": {"country": ["India", "USA"], "car": "Civic"}, "locLat": "12.24", "locLon": "24.13", "locSrc": "1", "pageURL": "http://mydomain.com"}'
>
</amp-ad>
For details on the configuration semantics, please contact the ad network or refer to their documentation.
json attributeaccId Account Id (mandatory)adUnit AdUnitId (mandatory)sizes Array of sizes (mandatory)locLat Geo-location latitudelocLon Geo-location longitudelocSrc Geo-location sourcepageURL Set custom page URLtargetings key-value pairsextraParams key-value pairs to be passed to PubMatic SSP