PretargetingConfig class

Constructors

PretargetingConfig()
PretargetingConfig.fromJson(Map _json)

Properties

billingId ↔ String
The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.
read / write
configId ↔ String
The config id; generated automatically. Leave this field blank for insert requests.
read / write
configName ↔ String
The name of the config. Must be unique. Required for all requests.
read / write
creativeType ↔ List<String>
List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.
read / write
dimensions ↔ List<PretargetingConfigDimensions>
Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.
read / write
excludedContentLabels ↔ List<String>
Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.
read / write
excludedGeoCriteriaIds ↔ List<String>
Requests containing any of these geo criteria ids will not match.
read / write
excludedPlacements ↔ List<PretargetingConfigExcludedPlacements>
Requests containing any of these placements will not match.
read / write
excludedUserLists ↔ List<String>
Requests containing any of these users list ids will not match.
read / write
excludedVerticals ↔ List<String>
Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.
read / write
geoCriteriaIds ↔ List<String>
Requests containing any of these geo criteria ids will match.
read / write
isActive ↔ bool
Whether this config is active. Required for all requests.
read / write
kind ↔ String
The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".
read / write
languages ↔ List<String>
Request containing any of these language codes will match.
read / write
minimumViewabilityDecile ↔ int
Requests where the predicted viewability is below the specified decile will not match. E.g. if the buyer sets this value to 5, requests from slots where the predicted viewability is below 50% will not match. If the predicted viewability is unknown this field will be ignored.
read / write
mobileCarriers ↔ List<String>
Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.
read / write
mobileDevices ↔ List<String>
Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.
read / write
mobileOperatingSystemVersions ↔ List<String>
Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.
read / write
placements ↔ List<PretargetingConfigPlacements>
Requests containing any of these placements will match.
read / write
platforms ↔ List<String>
Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.
read / write
supportedCreativeAttributes ↔ List<String>
Creative attributes should be declared here if all creatives corresponding to this pretargeting configuration have that creative attribute. Values are from pretargetable-creative-attributes.txt in the downloadable files section.
read / write
userIdentifierDataRequired ↔ List<String>
Requests containing the specified type of user data will match. Possible values are HOSTED_MATCH_DATA, which means the request is cookie-targetable and has a match in the buyer's hosted match table, and COOKIE_OR_IDFA, which means the request has either a targetable cookie or an iOS IDFA.
read / write
userLists ↔ List<String>
Requests containing any of these user list ids will match.
read / write
vendorTypes ↔ List<String>
Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.
read / write
verticals ↔ List<String>
Requests containing any of these vertical ids will match.
read / write
videoPlayerSizes ↔ List<PretargetingConfigVideoPlayerSizes>
Video requests satisfying any of these player size constraints will match.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited