Unable to render the test ad on hello_world.html
Question
I want my test ad to render on the html test page as per the documentation at http://localhost:9999/integrationExamples/gpt/hello_world.html
Description
To test my adapter, I am returning a test ad in bid response to check if the adapter can consume the object. What am I doing incorrectly ? My return object is
[{"requestId":"782332","cpm":0.56,"width":300,"height":250,"ad":"<img src="https://dummyimage.com/3x0/000150/fff.jpg&text=Admedia">","ttl":200,"creativeId":125,"netRevenue":true,"currency":"USD"}]
Steps to reproduce
Test page
Expected results
- Render the Test ad
Actual results
- No Ad is rendered
Platform details
Other information
I think we need some more information - this is for a new adapter I assume? what do you see in the logs (with debug enabled)? could you post a minimal version of your adapter that shows the problem?
hi @dgirardi just attached the screenshot of debug logs
That warning means that, most likely, the bid response returned by your adapter has a requestId that does not match any of the requests' bidIds (see docs). Prebid discards your bid and the auction has no winner (and nothing is rendered).
bidId is a random identifier, so you need to echo it back from the request - using a canned response won't work.
Closing this out. Let us know if there's still an open question.