Back to Publisher API Reference
pbjs.getAdserverTargeting()
Returns all ad server targeting for all ad units. Note that some bidder’s response may not have been received if you call this function too quickly after the requests are sent.
The targeting keys can be configured in ad server targeting.
When deals are enabled, the object returned by this method may include a field hb_deal_BIDDERCODE
, where BIDDERCODE
is replaced by the name of the bidder, e.g., AppNexus, Rubicon, etc.
Kind: static method of pbjs
Returns: object
- Map of adUnitCodes and targeting values []
Returned Object Example: