initial check-in: document targetingControls.allowTargetingKeys#2346
Merged
bretg merged 2 commits intoprebid:masterfrom Oct 8, 2020
Merged
initial check-in: document targetingControls.allowTargetingKeys#2346bretg merged 2 commits intoprebid:masterfrom
bretg merged 2 commits intoprebid:masterfrom
Conversation
Merged
2 tasks
bretg
reviewed
Sep 24, 2020
| }); | ||
| ``` | ||
|
|
||
| When this property is set up, the `allowTargetingKeys` creates a default targeting key mask based on the default targeting keys defined in CONSTANTS.TARGETING_KEYS and CONSTANTS.NATIVE_KEYS. Any default keys that do not match the mask will not be sent to the adserver. This setting can be helpful if you find that your prebid implementation is by default sending key values that your adserver isn't configured to process. When extraneous key values are sent, the ad server request can be truncated, which can cause potential issues with the delivery or rendering of the ad. |
Contributor
There was a problem hiding this comment.
I think it would be helpful to add the whole list of CONSTANTS.TARGETING_KEYS here so pubs don't have to dig up the code.
Contributor
Author
There was a problem hiding this comment.
good point! I'll do that.
…argeting keys. also changed presentation order so implementation example appears after context.
bretg
approved these changes
Oct 8, 2020
Contributor
|
deployed with 4.11 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation for Prebid.js PR default-targeting-mask
Prebid.js PR here: prebid/Prebid.js#5763