Show / Hide Table of Contents

Class PretargetingConfig

Inheritance
System.Object
PretargetingConfig
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.AdExchangeBuyer.v1_4.Data
Assembly: Google.Apis.AdExchangeBuyer.v1_4.dll
Syntax
public class PretargetingConfig : IDirectResponseSchema

Properties

BillingId

The id for billing purposes, provided for reference. Leave this field blank for insert requests; the id will be generated automatically.

Declaration
[JsonProperty("billingId")]
public virtual long? BillingId { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

ConfigId

The config id; generated automatically. Leave this field blank for insert requests.

Declaration
[JsonProperty("configId")]
public virtual long? ConfigId { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

ConfigName

The name of the config. Must be unique. Required for all requests.

Declaration
[JsonProperty("configName")]
public virtual string ConfigName { get; set; }
Property Value
Type Description
System.String

CreativeType

List must contain exactly one of PRETARGETING_CREATIVE_TYPE_HTML or PRETARGETING_CREATIVE_TYPE_VIDEO.

Declaration
[JsonProperty("creativeType")]
public virtual IList<string> CreativeType { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

Dimensions

Requests which allow one of these (width, height) pairs will match. All pairs must be supported ad dimensions.

Declaration
[JsonProperty("dimensions")]
public virtual IList<PretargetingConfig.DimensionsData> Dimensions { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<PretargetingConfig.DimensionsData>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

ExcludedContentLabels

Requests with any of these content labels will not match. Values are from content-labels.txt in the downloadable files section.

Declaration
[JsonProperty("excludedContentLabels")]
public virtual IList<long?> ExcludedContentLabels { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Nullable<System.Int64>>

ExcludedGeoCriteriaIds

Requests containing any of these geo criteria ids will not match.

Declaration
[JsonProperty("excludedGeoCriteriaIds")]
public virtual IList<long?> ExcludedGeoCriteriaIds { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Nullable<System.Int64>>

ExcludedPlacements

Requests containing any of these placements will not match.

Declaration
[JsonProperty("excludedPlacements")]
public virtual IList<PretargetingConfig.ExcludedPlacementsData> ExcludedPlacements { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<PretargetingConfig.ExcludedPlacementsData>

ExcludedUserLists

Requests containing any of these users list ids will not match.

Declaration
[JsonProperty("excludedUserLists")]
public virtual IList<long?> ExcludedUserLists { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Nullable<System.Int64>>

ExcludedVerticals

Requests containing any of these vertical ids will not match. Values are from the publisher-verticals.txt file in the downloadable files section.

Declaration
[JsonProperty("excludedVerticals")]
public virtual IList<long?> ExcludedVerticals { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Nullable<System.Int64>>

GeoCriteriaIds

Requests containing any of these geo criteria ids will match.

Declaration
[JsonProperty("geoCriteriaIds")]
public virtual IList<long?> GeoCriteriaIds { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Nullable<System.Int64>>

IsActive

Whether this config is active. Required for all requests.

Declaration
[JsonProperty("isActive")]
public virtual bool? IsActive { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Kind

The kind of the resource, i.e. "adexchangebuyer#pretargetingConfig".

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
System.String

Languages

Request containing any of these language codes will match.

Declaration
[JsonProperty("languages")]
public virtual IList<string> Languages { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

MaximumQps

The maximum QPS allocated to this pretargeting configuration, used for pretargeting-level QPS limits. By default, this is not set, which indicates that there is no QPS limit at the configuration level (a global or account-level limit may still be imposed).

Declaration
[JsonProperty("maximumQps")]
public virtual long? MaximumQps { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

MinimumViewabilityDecile

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.

Declaration
[JsonProperty("minimumViewabilityDecile")]
public virtual int? MinimumViewabilityDecile { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

MobileCarriers

Requests containing any of these mobile carrier ids will match. Values are from mobile-carriers.csv in the downloadable files section.

Declaration
[JsonProperty("mobileCarriers")]
public virtual IList<long?> MobileCarriers { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Nullable<System.Int64>>

MobileDevices

Requests containing any of these mobile device ids will match. Values are from mobile-devices.csv in the downloadable files section.

Declaration
[JsonProperty("mobileDevices")]
public virtual IList<long?> MobileDevices { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Nullable<System.Int64>>

MobileOperatingSystemVersions

Requests containing any of these mobile operating system version ids will match. Values are from mobile-os.csv in the downloadable files section.

Declaration
[JsonProperty("mobileOperatingSystemVersions")]
public virtual IList<long?> MobileOperatingSystemVersions { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Nullable<System.Int64>>

Placements

Requests containing any of these placements will match.

Declaration
[JsonProperty("placements")]
public virtual IList<PretargetingConfig.PlacementsData> Placements { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<PretargetingConfig.PlacementsData>

Platforms

Requests matching any of these platforms will match. Possible values are PRETARGETING_PLATFORM_MOBILE, PRETARGETING_PLATFORM_DESKTOP, and PRETARGETING_PLATFORM_TABLET.

Declaration
[JsonProperty("platforms")]
public virtual IList<string> Platforms { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

SupportedCreativeAttributes

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.

Declaration
[JsonProperty("supportedCreativeAttributes")]
public virtual IList<long?> SupportedCreativeAttributes { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Nullable<System.Int64>>

UserIdentifierDataRequired

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.

Declaration
[JsonProperty("userIdentifierDataRequired")]
public virtual IList<string> UserIdentifierDataRequired { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

UserLists

Requests containing any of these user list ids will match.

Declaration
[JsonProperty("userLists")]
public virtual IList<long?> UserLists { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Nullable<System.Int64>>

VendorTypes

Requests that allow any of these vendor ids will match. Values are from vendors.txt in the downloadable files section.

Declaration
[JsonProperty("vendorTypes")]
public virtual IList<long?> VendorTypes { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Nullable<System.Int64>>

Verticals

Requests containing any of these vertical ids will match.

Declaration
[JsonProperty("verticals")]
public virtual IList<long?> Verticals { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.Nullable<System.Int64>>

VideoPlayerSizes

Video requests satisfying any of these player size constraints will match.

Declaration
[JsonProperty("videoPlayerSizes")]
public virtual IList<PretargetingConfig.VideoPlayerSizesData> VideoPlayerSizes { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<PretargetingConfig.VideoPlayerSizesData>

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top