Closed spormeon closed 2 years ago
It appears imasdk does not honor the gpt set ppid call. We need to simply reproduce or not
@mike-chowla Tagging this for the video meeting agenda
can you push it to the "prebid video module" somehow, so can get sent along on the params? e.g. something like this:params: { iu: 'MYADUNITCODE', description_url: encodeURIComponent(window.location.href), output: 'vast', url: encodeURIComponent(window.location.href), pageUrl: encodeURIComponent(window.location.href), vpa: 'auto', vpmute: '1', vpos: 'preroll', ppid: 'GET/FILL PPID ID'
that will send it into GAM then?
Patrick and I believe this is a player issue.
Patrick found that GAM PPID can be set in the IMA SDK -- https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/js/google.ima.ImaSdkSettings . But Prebid can't do this -- the player does. The only thing the Prebid video module does is create the GAM URL.
Patrick's offered to update the user ID module doc to clarify that GAM-PPID in video scenario is a player-specific thing.
Ok, so say you got this, how do you get it in there? Or am i completely mising something here? var imaOptions = '{ "ppid": HOWDOIGETTHEPPIDHERE, "enableOmidBeta": true, "preventLateAdStart": false, "disableFlashAds": true, "prerollTimeout": 18000, "autoPlayAdBreaks": true, "vastLoadTimeout": 18000
as you can also send it on the "VAST master tag" , which is what we are building in effect: https://support.google.com/admanager/answer/10678356?hl=en#ppid
soemthing like this: &env=vp&ppid=123456789&gdfp_req=1&gdpr=1&iu=/10045643/Video-Corner-Units/VCU-test.com&output=vast&pageUrl=
the page would just call pbjs.getUserIdsAsEids(), parse the results, pick whatever ID it wants to use as the GAM PPID, and pass it to the player in the player-specific way
@patmmccann - David points out that ppid could be placed on the GAM URL. But maybe this already works. @spormeon , could you just try it?
var videoUrl = pbjs.adServers.dfp.buildVideoUrl({
adUnit: videoAdUnit,
params: {
iu: '/19968336/prebid_cache_video_adunit',
ppid: ADDYOURPPIDHERE
}
});
Based on a quick look in the code, seems like everything in params is tacked onto the GAM URL
Ye that works, thats what I was alluding to above and have it built into the video module to "auto" pick it up, with ppid: true or something in the params being as its being "tied" to SharedID
p.s I got absolutly no clue what even sending this thing in/ along will even do, prob not even make a cent more, has anyone actually tried it?
I added the feature tag so that we can prioritize having the video module pick this up from the user id module
cc @jdwieland8282 this needs to be discussed with the ID committee - we need to agree on an interface and an implementation to solve this issue.
@karimMourra i dont follow why this needs to go to the id committee, it is just a feature to sync ima to what is being sent to gpt; what feedback or question do you expect from them?
@patmmccann we discussed this a month ago in the Video Committee sync and the consensus was that we believe the ID committee should have a say on the interface and implementation for automatically obtaining a ppid for the dfp module. Our assumption was that the solution should work for all Ids and any client module, not just DFP.
Uhh, consent has already been gain at "video module" point by the cmp, its just "passing it along"? why would anyone uisng "header bidding" without a adserver need to pass a PPID any way, its tied to DFP/ GAM ?
I think this is ready for dev; buildVideoUrl in the dfp video module should be modified to automatically check if a ppid is configured in the userid sync and grab it just like https://github.com/prebid/Prebid.js/blob/d1a0f09cc2a605c19982dc7a8325c437c8dc0491/modules/userId/index.js#L664 does
did this #8365 go out in p6.23.0 a few hours ago? If so, I'm no sure this is working , as just tried it with setting ppid source in userSync but nothing is getting built in the video urls?
or does ppid:'' aslo have to be set on the params of the videomodule?
looks like it is in the 6.25 draft
i'll release a 6.24.1 and can you test it then?
Ok, I see 6.25.0, does that one go to: https://docs.prebid.org/download.html as I always build off of that
It is in 6.24.1, along with a bug fix for webpack
Got it, seems to work fine, cheers
having spoke to @patmmccann on slack, it seems that passing the PPID with the method show in docs doesnt work with the prebid video moudule. Patrick said open an issue , so can look into it