-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Testing Prebid with AppNexus in NextJS #13075
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
Comments
This is quite common #7365 was opened to solve this and luckily we now have a solution! see #12720 and https://github.com/prebid/prebid.github.io/pull/5995/files |
@patmmccann That seems to be an example for banner ads is there one for video ? |
#12720 allowed for a video response @mkomorski do you know if there is a video debugging mock bid example in the docs? |
@patmmccann probably not, at least I didn't add anything regarding #12720 to the docs |
Let's edit https://docs.prebid.org/dev-docs/examples/instream-banner-mix.html to use the debugging module for the video response |
Uh oh!
There was an error while loading. Please reload this page.
Hi, I have recently been tasked with integrating prebid.js on my company's video.js player as we are looking to onboard advertisers for our content library and publisher network. Right now I am just looking to locally have demo videos ads running with AppNexus before integrating our first real partner: InMobi.
Our application is built in nextjs so following the documentation I downloaded the prebid script with the following modules:
Modules: appnexusBidAdapter, consentManagementGpp, consentManagementTcf, gppControl_usnat, gppControl_usstates, gptPreAuction, tcfControl, allowActivities, anPspParamsConverter, videoModule */
And call it in our root layout like:
In the player directly then i call the setupVideoAdsWithPrebid function I wrote (view code below) to initialize prebid with the correct bidder settings and have the auction. The problem is AppNexus is never bidding (no bid event always), but no errors or warnings are thrown in debug, and there's nothing particularly suspicious in the network tab. Am I doing this right? Does AppNExus just not bid on localhost even with its test placement_id. Any help or guidance would be greatly appreciated 🙏
The text was updated successfully, but these errors were encountered: