Class PretargetingConfig
Pretargeting configuration: a set of targeting dimensions applied at the pretargeting stage of the RTB funnel. These control which inventory a bidder will receive bid requests for.
Implements
Inherited Members
Namespace: Google.Apis.RealTimeBidding.v1.Data
Assembly: Google.Apis.RealTimeBidding.v1.dll
Syntax
public class PretargetingConfig : IDirectResponseSchema
Properties
AllowedUserTargetingModes
Targeting modes included by this configuration. A bid request must allow all the specified targeting modes. An unset value allows all bid requests to be sent, regardless of which targeting modes they allow.
Declaration
[JsonProperty("allowedUserTargetingModes")]
public virtual IList<string> AllowedUserTargetingModes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
AppTargeting
Targeting on a subset of app inventory. If APP is listed in targeted_environments, the specified targeting is applied. A maximum of 30,000 app IDs can be targeted. An unset value for targeting allows all app-based bid requests to be sent. Apps can either be targeting positively (bid requests will be sent only if the destination app is listed in the targeting dimension) or negatively (bid requests will be sent only if the destination app is not listed in the targeting dimension).
Declaration
[JsonProperty("appTargeting")]
public virtual AppTargeting AppTargeting { get; set; }
Property Value
Type | Description |
---|---|
AppTargeting |
BillingId
Output only. The identifier that corresponds to this pretargeting configuration that helps buyers track and attribute their spend across their own arbitrary divisions. If a bid request matches more than one configuration, the buyer chooses which billing_id to attribute each of their bids.
Declaration
[JsonProperty("billingId")]
public virtual long? BillingId { get; set; }
Property Value
Type | Description |
---|---|
long? |
DisplayName
The diplay name associated with this configuration. This name must be unique among all the pretargeting configurations a bidder has.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExcludedContentLabelIds
The sensitive content category label IDs excluded in this configuration. Bid requests for inventory with any of the specified content label IDs will not be sent. Refer to this file https://storage.googleapis.com/adx-rtb-dictionaries/content-labels.txt for category IDs.
Declaration
[JsonProperty("excludedContentLabelIds")]
public virtual IList<long?> ExcludedContentLabelIds { get; set; }
Property Value
Type | Description |
---|---|
IList<long?> |
GeoTargeting
The geos included or excluded in this configuration defined in https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv
Declaration
[JsonProperty("geoTargeting")]
public virtual NumericTargetingDimension GeoTargeting { get; set; }
Property Value
Type | Description |
---|---|
NumericTargetingDimension |
IncludedCreativeDimensions
Creative dimensions included by this configuration. Only bid requests eligible for at least one of the specified creative dimensions will be sent. An unset value allows all bid requests to be sent, regardless of creative dimension.
Declaration
[JsonProperty("includedCreativeDimensions")]
public virtual IList<CreativeDimensions> IncludedCreativeDimensions { get; set; }
Property Value
Type | Description |
---|---|
IList<CreativeDimensions> |
IncludedEnvironments
Environments that are being included. Bid requests will not be sent for a given environment if it is not included. Further restrictions can be applied to included environments to target only a subset of its inventory. An unset value includes all environments.
Declaration
[JsonProperty("includedEnvironments")]
public virtual IList<string> IncludedEnvironments { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
IncludedFormats
Creative formats included by this configuration. Only bid requests eligible for at least one of the specified creative formats will be sent. An unset value will allow all bid requests to be sent, regardless of format.
Declaration
[JsonProperty("includedFormats")]
public virtual IList<string> IncludedFormats { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
IncludedLanguages
The languages included in this configuration, represented by their language code. See https://developers.google.com/adwords/api/docs/appendix/languagecodes.
Declaration
[JsonProperty("includedLanguages")]
public virtual IList<string> IncludedLanguages { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
IncludedMobileOperatingSystemIds
The mobile operating systems included in this configuration as defined in https://storage.googleapis.com/adx-rtb-dictionaries/mobile-os.csv
Declaration
[JsonProperty("includedMobileOperatingSystemIds")]
public virtual IList<long?> IncludedMobileOperatingSystemIds { get; set; }
Property Value
Type | Description |
---|---|
IList<long?> |
IncludedPlatforms
The platforms included by this configration. Bid requests for devices with the specified platform types will be sent. An unset value allows all bid requests to be sent, regardless of platform.
Declaration
[JsonProperty("includedPlatforms")]
public virtual IList<string> IncludedPlatforms { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
IncludedUserIdTypes
User identifier types included in this configuration. At least one of the user identifier types specified in this list must be available for the bid request to be sent.
Declaration
[JsonProperty("includedUserIdTypes")]
public virtual IList<string> IncludedUserIdTypes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
InterstitialTargeting
The interstitial targeting specified for this configuration. The unset value will allow bid requests to be sent regardless of whether they are for interstitials or not.
Declaration
[JsonProperty("interstitialTargeting")]
public virtual string InterstitialTargeting { get; set; }
Property Value
Type | Description |
---|---|
string |
InvalidGeoIds
Output only. Existing included or excluded geos that are invalid. Previously targeted geos may become invalid due to privacy restrictions.
Declaration
[JsonProperty("invalidGeoIds")]
public virtual IList<long?> InvalidGeoIds { get; set; }
Property Value
Type | Description |
---|---|
IList<long?> |
MaximumQps
The maximum QPS threshold for this configuration. The bidder should receive no more than this number of bid requests matching this configuration per second across all their bidding endpoints among all trading locations. Further information available at https://developers.google.com/authorized-buyers/rtb/peer-guide
Declaration
[JsonProperty("maximumQps")]
public virtual long? MaximumQps { get; set; }
Property Value
Type | Description |
---|---|
long? |
MinimumViewabilityDecile
The targeted minimum viewability decile, ranging in values [0, 10]. A value of 5 means that the configuration will only match adslots for which we predict at least 50% viewability. Values > 10 will be rounded down to 10. An unset value or a value of 0 indicates that bid requests will be sent regardless of viewability.
Declaration
[JsonProperty("minimumViewabilityDecile")]
public virtual int? MinimumViewabilityDecile { get; set; }
Property Value
Type | Description |
---|---|
int? |
Name
Output only. Name of the pretargeting configuration that must follow the pattern
bidders/{bidder_account_id}/pretargetingConfigs/{config_id}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PublisherTargeting
Targeting on a subset of publisher inventory. Publishers can either be targeted positively (bid requests
will be sent only if the publisher is listed in the targeting dimension) or negatively (bid requests will be
sent only if the publisher is not listed in the targeting dimension). A maximum of 10,000 publisher IDs can
be targeted. Publisher IDs are found in ads.txt /
app-ads.txt and in bid requests in the BidRequest.publisher_id
field on the Google RTB
protocol or the
BidRequest.site.publisher.id
/ BidRequest.app.publisher.id
field on the OpenRTB
protocol. Publisher IDs
will be returned in the order that they were entered.
Declaration
[JsonProperty("publisherTargeting")]
public virtual StringTargetingDimension PublisherTargeting { get; set; }
Property Value
Type | Description |
---|---|
StringTargetingDimension |
State
Output only. The state of this pretargeting configuration.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
UserListTargeting
The remarketing lists included or excluded in this configuration as defined in UserList.
Declaration
[JsonProperty("userListTargeting")]
public virtual NumericTargetingDimension UserListTargeting { get; set; }
Property Value
Type | Description |
---|---|
NumericTargetingDimension |
VerticalTargeting
The verticals included or excluded in this configuration as defined in https://developers.google.com/authorized-buyers/rtb/downloads/publisher-verticals
Declaration
[JsonProperty("verticalTargeting")]
public virtual NumericTargetingDimension VerticalTargeting { get; set; }
Property Value
Type | Description |
---|---|
NumericTargetingDimension |
WebTargeting
Targeting on a subset of site inventory. If WEB is listed in included_environments, the specified targeting is applied. A maximum of 50,000 site URLs can be targeted. An unset value for targeting allows all web-based bid requests to be sent. Sites can either be targeting positively (bid requests will be sent only if the destination site is listed in the targeting dimension) or negatively (bid requests will be sent only if the destination site is not listed in the pretargeting configuration).
Declaration
[JsonProperty("webTargeting")]
public virtual StringTargetingDimension WebTargeting { get; set; }
Property Value
Type | Description |
---|---|
StringTargetingDimension |