forked from prebid/Prebid.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prebid JS Native Phase 2 update: (prebid#5411)
* Prebid JS Native Phase 2 update: 1) Key Suppression for Native keys with sendTargetingKeys set to false at nativeParams.sendTargetingKeys or within asset i.e. nativeParams.image.sendTargetingKeys. Logic as follows: - If nativeParams.sendTargetingKeys set to false but asset has sendTargetingKeys set to true then add the KV - Else if nativeParams.sendTargetingKeys is set to true and asset does not have sendTargetingKeys defined or it is set to true then add KV - Else if nativeParams.sendTargetingKeys is not defined and asset does not have sendTargetingKeys defined or it is set to true then add KV If no conditions met then key is suppressed 2) Adds rendererUrl or adTemplate to the bid object for easy retrieval if assets requested from creative 3) Adds new logic to receiveMessage function in secureCreatives.js to answer data.action of 'allAssetRequest' with all available assets on the bid that have a value 4) Adds new native keys to constants.json * Update to simplify send asset logic * Fixed asset location typo * Update to include message listener for native resize and update adObject for auction to include creative height and trigger resize Co-authored-by: Michael Moschovas <mmoschovas@NY-Moschovas.local>
- Loading branch information
Showing
4 changed files
with
265 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters