Open vivekyadav15 opened 3 weeks ago
@dgirardi Could you please take a look at this issue? I noticed you've worked on this, so any insights you have would be really helpful
I am interpreting this as a feature request: make the bid request available in callbacks passed to registerVastTrackers
. Is that a fair summary?
@dgirardi We (analytics adapters) would want to have request and auction level info.
If requested mediatype and context are available in bidResponse does that solve completely? Are the gam numbers higher or lower than yours?
Could you clarify what you mean by data not available? Do you need to package that data into the VAST, before the auction ends (and some of the data does not exist yet)? Otherwise I think an analytics adapter should have access to all that information - passing auction / request to registerVastTrackers
would just avoid the need to cross-reference them with the response.
@patmmccann
If requested mediatype and context are available in bidResponse does that solve completely? Are the gam numbers higher or lower than yours?
- No, even though the requested media type and context are available, we would still be missing the ad slot information as well as the auction information.
- Yes, the GAM numbers were much higher than ours.
@dgirardi
Could you clarify what you mean by data not available? Do you need to package that data into the VAST, before the auction ends (and some of the data does not exist yet)? Otherwise I think an analytics adapter should have access to all that information - passing auction / request to
registerVastTrackers
would just avoid the need to cross-reference them with the response.
Due to the analytics event running with a debounce delay, there are many cases where getVastTrackers
(a function inside vastTracker.js
that fetches impression pixels from the analytics adapter) is called before the AUCTION_INIT
and BID_REQUESTED
events are triggered. As a result, when getVastTrackers
is called, we don't have access to the auction and bid request data.
If getVastTrackers
could pass the auction and request information, it would resolve the issue.
@dgirardi @patmmccann Were you able to check this ?
@dgirardi @patmmccann Were you able to check this ?
@dgirardi @patmmccann Just looping back on this. Let me know if you need any clarification.
@vivekyadav15 we're marking this ready for dev, thanks for the details
Type of issue
Description of issue
Description:
Raising this to discuss two issues identified during the implementation of the
registerVastTrackers
function in an analytics adapter for recording instream impressions, it is essential to have access to certainadUnit
,auction
andbidRequest
information to ensure accurate data handling.ISSUE 1 Some necessary information like requested mediatype, context etc is not available in
bidResponse
. SoadUnit
,auction
andbidRequest
information obtained from analytics events becomes crucial for recording such data in impression pixels. However, in some instances, this data is unavailable due to debounce delays in analytics adapters. This delay has led to a 15–30% discrepancy between GAM and our recorded impressions, as the data required to log impressions is not always accessible.ISSUE 2 Since
context
is unavailable it becomes difficult to write business logic to add tracker for specific context.adUnit
,auction
andbidRequest
information we access is listed below.args.timeout
args.adUnits.video.context
args.adUnits.ext
args.bidderRequests.bids.userId
args.timestamp
)args.timestamp
)args.timestamp
)args.timestamp
)args.bidderRequests.bids.floorData
args.bids.mediaTypes
args.start
)args.bids.params
args.bids.sizes
Other link
https://github.com/prebid/Prebid.js/issues/9110
https://github.com/prebid/Prebid.js/pull/10191