AdParam
Class representing parameters for ad requests. Contains various parameters needed for ad targeting and customization.
Types
Properties
Set of ad duplication keys from WF AdCallResponse. Used in duplication control see {@link GfpDedupeManager}
Set of advertiser domains from WF AdCallResponse. Used in duplication control see {@link GfpDedupeManager}
APS (Amazon Publisher Services) parameters
Custom parameters for ad targeting
Prebid parameters for ad request
Functions
Creates a new Builder with current parameters
Fetches the ad call query asynchronously
Returns a string of APS parameters if any exist. Format: "key:value,key:value,key:value|value,..." - if one single key has multiple values, use '|' as delimiter
Returns the content information
Returns the encoded current page URL
Returns the current page URL with optional encoding
Returns a string of prebid parameters which is serialized and formatted like "key:value,key:value,...". Default is empty string.
Returns the encoded referer page URL
Returns the referer page URL with optional encoding
Sets the APS parameter.