amphtml
amphtml copied to clipboard
Yieldbot ad, request all slot sizes
What's the issue?
Yieldbot amp-ad submits a bid request for the primary dimensions only when the multi-size element attribute is specified i.e.
data-multi-size="300x220,300x200"
<amp-ad width="300" height="250"
type="yieldbot"
data-psn="1234"
data-yb-slot="medrec"
data-slot="/2476204/medium-rectangle"
data-multi-size="300x220,300x200"
json='{"targeting":{"category":["food","lifestyle"]},"categoryExclusions":["health"]}'>
</amp-ad>
How do we reproduce the issue?
Use the Yieldbot amp-ad manual integration test, test/manual/amp-ad.yieldbot.amp.html
gulp default- open
http://localhost:8000/test/manual/amp-ad.yieldbot.amp.html - observe in your developer tools console network requests filtered by
init?cb=yieldbotthat there is one slot size for the bid request e.g.
ssz: 300x250
Expected Results
ssz: 300x250.300x220.300x200
What browsers are affected?
- All
Which AMP version is affected?
Versions since 4ebbc25 impacted.
PR to address this to come shortly.