Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ad is not being rendered on the html page. #11419

Closed
skapoorViant opened this issue Apr 29, 2024 · 8 comments
Closed

Ad is not being rendered on the html page. #11419

skapoorViant opened this issue Apr 29, 2024 · 8 comments

Comments

@skapoorViant
Copy link
Contributor

skapoorViant commented Apr 29, 2024

Below is the test html page URL on which I am trying display the ad using Viant bid adapter.
https://qa.vianttech.com/2114_pixie_test_page/hello_world_viant_4.html

The bid response is coming as expected and attached below:
bidresponse.json

@patmmccann
Copy link
Collaborator

how is this distinct from #10951?

@skapoorViant
Copy link
Contributor Author

skapoorViant commented May 6, 2024

Hello @patmmccann , all my setup is similar with fix from previous issue which you attached, but still it is not showing the creative on html page. Previously, when I did the fix it started showing the creative, but now I am trying to show up the creatives for different ad sizes, and it is not working. I do not see any issues at least from set up perspective from our side, that's why reached out to Prebid team if they can help identify the issue. Thanks.

@dgirardi
Copy link
Collaborator

dgirardi commented May 6, 2024

https://qa.vianttech.com/2114_pixie_test_page/hello_world_viant_4.html seems to work now. Is it still an issue @skapoorViant? (if the page was using a new GAM creative / line item, it can sometimes take hours to start working properly).

@skapoorViant
Copy link
Contributor Author

skapoorViant commented May 6, 2024

@dgirardi I happen to find an alternate way to make it work from prebid documentation, but with my old setup it did not work. If you compare these two test pages, the one with _old is similar to my last implementation, just changed the creative size in it, and it did not work. Here are the links below:
[https://qa.vianttech.com/2114_pixie_test_page/hello_world_viant_12_old.html]
[https://qa.vianttech.com/2114_pixie_test_page/hello_world_viant_12.html]

@dgirardi
Copy link
Collaborator

dgirardi commented May 6, 2024

From here it looks like an issue in GAM setup - it's serving an empty creative:

image

I think this means that none of the line items / creatives for the slot match the targeting.

@skapoorViant
Copy link
Contributor Author

@dgirardi Not able to understand what does GAM has to do with all this? We are technically using Prebid as SSP and based on the implementation it should be able to render ad with any creative size. And in that test page I am only using one bidder so it should technically always win the bid and render the creative.

@dgirardi
Copy link
Collaborator

dgirardi commented May 7, 2024

If you don't want to involve GAM, you shouldn't be using it (which is what happens in the version that works, which renders directly through Prebid). The version that doesn't work is set up to submit the winning bid as targeting to a GAM slot:

googletag.defineSlot('/19968336/header-bid-tag-0', [[300, 50]], 'div-gpt-ad-1460505748561-0').addService(googletag.pubads());

and

pbjs.setTargetingForGPTAsync();

that only works if GAM account 19968336 has a slot header-bid-tag-0 that is set up to render Prebid bids when appropriate. Please refer to Google Ad Manager with Prebid Step by Step.

@patmmccann
Copy link
Collaborator

Mystery solved, thanks @dgirardi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

3 participants