URL Render Data and size data replacement without calling deprecatedReplaceInURN #323
Unanswered
aleskanderl
asked this question in
Replacing cross-site tracking
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
i m trying to work on replacement macros for renderUrl link for specific parameters without usage of "deprecatedReplaceInURN".
I working on prebid adapter and in prebid we will have firstly the contextual auction in which i will provide to the generateBid auctionConfig in which i will populate few relevant parameters such as Width,Height,Placement name/any other related data of the original contextual auction on which it was activated.
My renderUrl link is build with this structure: (example) "https://domain.com/id=12354667?width=%%AD_WIDTH%%&height=%%AD_HEIGHT%%&renderData=%%RENDER_DATA%%".
In native integration i would be fetching this render url link and replace the relevant params with usage of deprecatedReplaceInURN,however in Prebid i have a problem.
Currently prebid ( and looks like in future as well) does not support usage of "deprecatedReplaceInURN" so i can not call render macro replacement.
Do we have any options in doing such in context of prebid?
I've tried multiple ways however nothing has worked.
For example :
replace with generateBid like :
return {
bid: 1.02, // Arbitrary bid value
render: {'url': interestGroup.ads[0].renderURL, 'width': '3000', 'height': '2500',etc}
};
I've tried with the replacement parameters in AuctionConfig as well - such as :
'deprecatedRenderURLReplacements':{'%%PUBLISHER_NAME%%':'examplePublisher', 'AD_WIDTH':548, 'ad_width':548, 'ad_height':111, 'AD_HEIGHT':111}
Please assist, would glad to hear suggestions.
Beta Was this translation helpful? Give feedback.
All reactions