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

Mobile banners on desktop and vice versa #4110

Closed
AnniAdops opened this issue Dec 16, 2024 · 2 comments
Closed

Mobile banners on desktop and vice versa #4110

AnniAdops opened this issue Dec 16, 2024 · 2 comments

Comments

@AnniAdops
Copy link

Hi,
We use same ad units across desktop and mobile, and use a size config to make sure mobile banners show on mobile devices and desktop banners on desktop, but our headerbidding set up somehow overrules the sizeconfig and viewport rules and show mobile size ex 320x320px on deskop topbanner ad unit. I think it is because we request all sizes for the ad unit and somehow we need build in, in our prebid config, which sizes to request on which devices. Any ideas on how to do that or can point to it in the documentation?

@AnniAdops
Copy link
Author

mobile is web as well, no app

@bretg
Copy link
Contributor

bretg commented Dec 17, 2024

@AnniAdops - you posted this to the Prebid Server repo, but Prebid Server has no ability to deal with responsive sizes automatically -- there's no equivalent of the Prebid.js Advanced Size Mapping module available for Prebid Server.

show mobile size ex 320x320px on deskop topbanner ad unit

That's a Prebid.js configuration issue. Please see the Advanced Size Mapping module.

For Prebid Server, your mobile app needs to tell us which sizes are relevant. It's ok for your ad server line items to serve all the banner sizes, but the mobile app and Prebid.js need to be properly configured to tell bidders what sizes you want bids on.

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

No branches or pull requests

2 participants