Class AssignedTargetingOption
A single assigned targeting option, which defines the state of a targeting option for an entity with targeting settings.
Implements
Inherited Members
Namespace: Google.Apis.DisplayVideo.v2.Data
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class AssignedTargetingOption : IDirectResponseSchema
Properties
AgeRangeDetails
Age range details. This field will be populated when the targeting_type is TARGETING_TYPE_AGE_RANGE
.
Declaration
[JsonProperty("ageRangeDetails")]
public virtual AgeRangeAssignedTargetingOptionDetails AgeRangeDetails { get; set; }
Property Value
Type | Description |
---|---|
AgeRangeAssignedTargetingOptionDetails |
AppCategoryDetails
App category details. This field will be populated when the targeting_type is TARGETING_TYPE_APP_CATEGORY
.
Declaration
[JsonProperty("appCategoryDetails")]
public virtual AppCategoryAssignedTargetingOptionDetails AppCategoryDetails { get; set; }
Property Value
Type | Description |
---|---|
AppCategoryAssignedTargetingOptionDetails |
AppDetails
App details. This field will be populated when the targeting_type is TARGETING_TYPE_APP
.
Declaration
[JsonProperty("appDetails")]
public virtual AppAssignedTargetingOptionDetails AppDetails { get; set; }
Property Value
Type | Description |
---|---|
AppAssignedTargetingOptionDetails |
AssignedTargetingOptionId
Output only. The unique ID of the assigned targeting option. The ID is only unique within a given resource and targeting type. It may be reused in other contexts.
Declaration
[JsonProperty("assignedTargetingOptionId")]
public virtual string AssignedTargetingOptionId { get; set; }
Property Value
Type | Description |
---|---|
string |
AssignedTargetingOptionIdAlias
Output only. An alias for the assigned_targeting_option_id. This value can be used in place of
assignedTargetingOptionId
when retrieving or deleting existing targeting. This field will only be
supported for all assigned targeting options of the following targeting types: * TARGETING_TYPE_AGE_RANGE
TARGETING_TYPE_DEVICE_TYPE
*TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION
*TARGETING_TYPE_ENVIRONMENT
*TARGETING_TYPE_EXCHANGE
*TARGETING_TYPE_GENDER
*TARGETING_TYPE_HOUSEHOLD_INCOME
*TARGETING_TYPE_NATIVE_CONTENT_POSITION
*TARGETING_TYPE_OMID
*TARGETING_TYPE_PARENTAL_STATUS
*TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
*TARGETING_TYPE_VIDEO_PLAYER_SIZE
*TARGETING_TYPE_VIEWABILITY
This field is also supported for line item assigned targeting options of the following targeting types: *TARGETING_TYPE_CONTENT_INSTREAM_POSITION
*TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION
Declaration
[JsonProperty("assignedTargetingOptionIdAlias")]
public virtual string AssignedTargetingOptionIdAlias { get; set; }
Property Value
Type | Description |
---|---|
string |
AudienceGroupDetails
Audience targeting details. This field will be populated when the targeting_type is
TARGETING_TYPE_AUDIENCE_GROUP
. You can only target one audience group option per resource.
Declaration
[JsonProperty("audienceGroupDetails")]
public virtual AudienceGroupAssignedTargetingOptionDetails AudienceGroupDetails { get; set; }
Property Value
Type | Description |
---|---|
AudienceGroupAssignedTargetingOptionDetails |
AudioContentTypeDetails
Audio content type details. This field will be populated when the targeting_type is
TARGETING_TYPE_AUDIO_CONTENT_TYPE
.
Declaration
[JsonProperty("audioContentTypeDetails")]
public virtual AudioContentTypeAssignedTargetingOptionDetails AudioContentTypeDetails { get; set; }
Property Value
Type | Description |
---|---|
AudioContentTypeAssignedTargetingOptionDetails |
AuthorizedSellerStatusDetails
Authorized seller status details. This field will be populated when the targeting_type is
TARGETING_TYPE_AUTHORIZED_SELLER_STATUS
. You can only target one authorized seller status option per
resource. If a resource doesn't have an authorized seller status option, all authorized sellers indicated as
DIRECT or RESELLER in the ads.txt file are targeted by default.
Declaration
[JsonProperty("authorizedSellerStatusDetails")]
public virtual AuthorizedSellerStatusAssignedTargetingOptionDetails AuthorizedSellerStatusDetails { get; set; }
Property Value
Type | Description |
---|---|
AuthorizedSellerStatusAssignedTargetingOptionDetails |
BrowserDetails
Browser details. This field will be populated when the targeting_type is TARGETING_TYPE_BROWSER
.
Declaration
[JsonProperty("browserDetails")]
public virtual BrowserAssignedTargetingOptionDetails BrowserDetails { get; set; }
Property Value
Type | Description |
---|---|
BrowserAssignedTargetingOptionDetails |
BusinessChainDetails
Business chain details. This field will be populated when the targeting_type is
TARGETING_TYPE_BUSINESS_CHAIN
.
Declaration
[JsonProperty("businessChainDetails")]
public virtual BusinessChainAssignedTargetingOptionDetails BusinessChainDetails { get; set; }
Property Value
Type | Description |
---|---|
BusinessChainAssignedTargetingOptionDetails |
CarrierAndIspDetails
Carrier and ISP details. This field will be populated when the targeting_type is
TARGETING_TYPE_CARRIER_AND_ISP
.
Declaration
[JsonProperty("carrierAndIspDetails")]
public virtual CarrierAndIspAssignedTargetingOptionDetails CarrierAndIspDetails { get; set; }
Property Value
Type | Description |
---|---|
CarrierAndIspAssignedTargetingOptionDetails |
CategoryDetails
Category details. This field will be populated when the targeting_type is TARGETING_TYPE_CATEGORY
.
Targeting a category will also target its subcategories. If a category is excluded from targeting and a
subcategory is included, the exclusion will take precedence.
Declaration
[JsonProperty("categoryDetails")]
public virtual CategoryAssignedTargetingOptionDetails CategoryDetails { get; set; }
Property Value
Type | Description |
---|---|
CategoryAssignedTargetingOptionDetails |
ChannelDetails
Channel details. This field will be populated when the targeting_type is TARGETING_TYPE_CHANNEL
.
Declaration
[JsonProperty("channelDetails")]
public virtual ChannelAssignedTargetingOptionDetails ChannelDetails { get; set; }
Property Value
Type | Description |
---|---|
ChannelAssignedTargetingOptionDetails |
ContentDurationDetails
Content duration details. This field will be populated when the targeting_type is
TARGETING_TYPE_CONTENT_DURATION
.
Declaration
[JsonProperty("contentDurationDetails")]
public virtual ContentDurationAssignedTargetingOptionDetails ContentDurationDetails { get; set; }
Property Value
Type | Description |
---|---|
ContentDurationAssignedTargetingOptionDetails |
ContentGenreDetails
Content genre details. This field will be populated when the targeting_type is
TARGETING_TYPE_CONTENT_GENRE
.
Declaration
[JsonProperty("contentGenreDetails")]
public virtual ContentGenreAssignedTargetingOptionDetails ContentGenreDetails { get; set; }
Property Value
Type | Description |
---|---|
ContentGenreAssignedTargetingOptionDetails |
ContentInstreamPositionDetails
Content instream position details. This field will be populated when the targeting_type is
TARGETING_TYPE_CONTENT_INSTREAM_POSITION
.
Declaration
[JsonProperty("contentInstreamPositionDetails")]
public virtual ContentInstreamPositionAssignedTargetingOptionDetails ContentInstreamPositionDetails { get; set; }
Property Value
Type | Description |
---|---|
ContentInstreamPositionAssignedTargetingOptionDetails |
ContentOutstreamPositionDetails
Content outstream position details. This field will be populated when the targeting_type is
TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION
.
Declaration
[JsonProperty("contentOutstreamPositionDetails")]
public virtual ContentOutstreamPositionAssignedTargetingOptionDetails ContentOutstreamPositionDetails { get; set; }
Property Value
Type | Description |
---|---|
ContentOutstreamPositionAssignedTargetingOptionDetails |
ContentStreamTypeDetails
Content duration details. This field will be populated when the TargetingType is
TARGETING_TYPE_CONTENT_STREAM_TYPE
.
Declaration
[JsonProperty("contentStreamTypeDetails")]
public virtual ContentStreamTypeAssignedTargetingOptionDetails ContentStreamTypeDetails { get; set; }
Property Value
Type | Description |
---|---|
ContentStreamTypeAssignedTargetingOptionDetails |
DayAndTimeDetails
Day and time details. This field will be populated when the targeting_type is TARGETING_TYPE_DAY_AND_TIME
.
Declaration
[JsonProperty("dayAndTimeDetails")]
public virtual DayAndTimeAssignedTargetingOptionDetails DayAndTimeDetails { get; set; }
Property Value
Type | Description |
---|---|
DayAndTimeAssignedTargetingOptionDetails |
DeviceMakeModelDetails
Device make and model details. This field will be populated when the targeting_type is
TARGETING_TYPE_DEVICE_MAKE_MODEL
.
Declaration
[JsonProperty("deviceMakeModelDetails")]
public virtual DeviceMakeModelAssignedTargetingOptionDetails DeviceMakeModelDetails { get; set; }
Property Value
Type | Description |
---|---|
DeviceMakeModelAssignedTargetingOptionDetails |
DeviceTypeDetails
Device Type details. This field will be populated when the targeting_type is TARGETING_TYPE_DEVICE_TYPE
.
Declaration
[JsonProperty("deviceTypeDetails")]
public virtual DeviceTypeAssignedTargetingOptionDetails DeviceTypeDetails { get; set; }
Property Value
Type | Description |
---|---|
DeviceTypeAssignedTargetingOptionDetails |
DigitalContentLabelExclusionDetails
Digital content label details. This field will be populated when the targeting_type is
TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION
. Digital content labels are targeting exclusions.
Advertiser level digital content label exclusions, if set, are always applied in serving (even though they
aren't visible in resource settings). Resource settings can exclude content labels in addition to advertiser
exclusions, but can't override them. A line item won't serve if all the digital content labels are excluded.
Declaration
[JsonProperty("digitalContentLabelExclusionDetails")]
public virtual DigitalContentLabelAssignedTargetingOptionDetails DigitalContentLabelExclusionDetails { get; set; }
Property Value
Type | Description |
---|---|
DigitalContentLabelAssignedTargetingOptionDetails |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnvironmentDetails
Environment details. This field will be populated when the targeting_type is TARGETING_TYPE_ENVIRONMENT
.
Declaration
[JsonProperty("environmentDetails")]
public virtual EnvironmentAssignedTargetingOptionDetails EnvironmentDetails { get; set; }
Property Value
Type | Description |
---|---|
EnvironmentAssignedTargetingOptionDetails |
ExchangeDetails
Exchange details. This field will be populated when the targeting_type is TARGETING_TYPE_EXCHANGE
.
Declaration
[JsonProperty("exchangeDetails")]
public virtual ExchangeAssignedTargetingOptionDetails ExchangeDetails { get; set; }
Property Value
Type | Description |
---|---|
ExchangeAssignedTargetingOptionDetails |
GenderDetails
Gender details. This field will be populated when the targeting_type is TARGETING_TYPE_GENDER
.
Declaration
[JsonProperty("genderDetails")]
public virtual GenderAssignedTargetingOptionDetails GenderDetails { get; set; }
Property Value
Type | Description |
---|---|
GenderAssignedTargetingOptionDetails |
GeoRegionDetails
Geographic region details. This field will be populated when the targeting_type is
TARGETING_TYPE_GEO_REGION
.
Declaration
[JsonProperty("geoRegionDetails")]
public virtual GeoRegionAssignedTargetingOptionDetails GeoRegionDetails { get; set; }
Property Value
Type | Description |
---|---|
GeoRegionAssignedTargetingOptionDetails |
HouseholdIncomeDetails
Household income details. This field will be populated when the targeting_type is
TARGETING_TYPE_HOUSEHOLD_INCOME
.
Declaration
[JsonProperty("householdIncomeDetails")]
public virtual HouseholdIncomeAssignedTargetingOptionDetails HouseholdIncomeDetails { get; set; }
Property Value
Type | Description |
---|---|
HouseholdIncomeAssignedTargetingOptionDetails |
Inheritance
Output only. The inheritance status of the assigned targeting option.
Declaration
[JsonProperty("inheritance")]
public virtual string Inheritance { get; set; }
Property Value
Type | Description |
---|---|
string |
InventorySourceDetails
Inventory source details. This field will be populated when the targeting_type is
TARGETING_TYPE_INVENTORY_SOURCE
.
Declaration
[JsonProperty("inventorySourceDetails")]
public virtual InventorySourceAssignedTargetingOptionDetails InventorySourceDetails { get; set; }
Property Value
Type | Description |
---|---|
InventorySourceAssignedTargetingOptionDetails |
InventorySourceGroupDetails
Inventory source group details. This field will be populated when the targeting_type is
TARGETING_TYPE_INVENTORY_SOURCE_GROUP
.
Declaration
[JsonProperty("inventorySourceGroupDetails")]
public virtual InventorySourceGroupAssignedTargetingOptionDetails InventorySourceGroupDetails { get; set; }
Property Value
Type | Description |
---|---|
InventorySourceGroupAssignedTargetingOptionDetails |
KeywordDetails
Keyword details. This field will be populated when the targeting_type is TARGETING_TYPE_KEYWORD
. A maximum
of 5000 direct negative keywords can be assigned to a resource. No limit on number of positive keywords that
can be assigned.
Declaration
[JsonProperty("keywordDetails")]
public virtual KeywordAssignedTargetingOptionDetails KeywordDetails { get; set; }
Property Value
Type | Description |
---|---|
KeywordAssignedTargetingOptionDetails |
LanguageDetails
Language details. This field will be populated when the targeting_type is TARGETING_TYPE_LANGUAGE
.
Declaration
[JsonProperty("languageDetails")]
public virtual LanguageAssignedTargetingOptionDetails LanguageDetails { get; set; }
Property Value
Type | Description |
---|---|
LanguageAssignedTargetingOptionDetails |
Name
Output only. The resource name for this assigned targeting option.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NativeContentPositionDetails
Native content position details. This field will be populated when the targeting_type is
TARGETING_TYPE_NATIVE_CONTENT_POSITION
.
Declaration
[JsonProperty("nativeContentPositionDetails")]
public virtual NativeContentPositionAssignedTargetingOptionDetails NativeContentPositionDetails { get; set; }
Property Value
Type | Description |
---|---|
NativeContentPositionAssignedTargetingOptionDetails |
NegativeKeywordListDetails
Keyword details. This field will be populated when the targeting_type is
TARGETING_TYPE_NEGATIVE_KEYWORD_LIST
. A maximum of 4 negative keyword lists can be assigned to a resource.
Declaration
[JsonProperty("negativeKeywordListDetails")]
public virtual NegativeKeywordListAssignedTargetingOptionDetails NegativeKeywordListDetails { get; set; }
Property Value
Type | Description |
---|---|
NegativeKeywordListAssignedTargetingOptionDetails |
OmidDetails
Open Measurement enabled inventory details. This field will be populated when the targeting_type is
TARGETING_TYPE_OMID
.
Declaration
[JsonProperty("omidDetails")]
public virtual OmidAssignedTargetingOptionDetails OmidDetails { get; set; }
Property Value
Type | Description |
---|---|
OmidAssignedTargetingOptionDetails |
OnScreenPositionDetails
On screen position details. This field will be populated when the targeting_type is
TARGETING_TYPE_ON_SCREEN_POSITION
.
Declaration
[JsonProperty("onScreenPositionDetails")]
public virtual OnScreenPositionAssignedTargetingOptionDetails OnScreenPositionDetails { get; set; }
Property Value
Type | Description |
---|---|
OnScreenPositionAssignedTargetingOptionDetails |
OperatingSystemDetails
Operating system details. This field will be populated when the targeting_type is
TARGETING_TYPE_OPERATING_SYSTEM
.
Declaration
[JsonProperty("operatingSystemDetails")]
public virtual OperatingSystemAssignedTargetingOptionDetails OperatingSystemDetails { get; set; }
Property Value
Type | Description |
---|---|
OperatingSystemAssignedTargetingOptionDetails |
ParentalStatusDetails
Parental status details. This field will be populated when the targeting_type is
TARGETING_TYPE_PARENTAL_STATUS
.
Declaration
[JsonProperty("parentalStatusDetails")]
public virtual ParentalStatusAssignedTargetingOptionDetails ParentalStatusDetails { get; set; }
Property Value
Type | Description |
---|---|
ParentalStatusAssignedTargetingOptionDetails |
PoiDetails
POI details. This field will be populated when the targeting_type is TARGETING_TYPE_POI
.
Declaration
[JsonProperty("poiDetails")]
public virtual PoiAssignedTargetingOptionDetails PoiDetails { get; set; }
Property Value
Type | Description |
---|---|
PoiAssignedTargetingOptionDetails |
ProximityLocationListDetails
Proximity location list details. This field will be populated when the targeting_type is
TARGETING_TYPE_PROXIMITY_LOCATION_LIST
.
Declaration
[JsonProperty("proximityLocationListDetails")]
public virtual ProximityLocationListAssignedTargetingOptionDetails ProximityLocationListDetails { get; set; }
Property Value
Type | Description |
---|---|
ProximityLocationListAssignedTargetingOptionDetails |
RegionalLocationListDetails
Regional location list details. This field will be populated when the targeting_type is
TARGETING_TYPE_REGIONAL_LOCATION_LIST
.
Declaration
[JsonProperty("regionalLocationListDetails")]
public virtual RegionalLocationListAssignedTargetingOptionDetails RegionalLocationListDetails { get; set; }
Property Value
Type | Description |
---|---|
RegionalLocationListAssignedTargetingOptionDetails |
SensitiveCategoryExclusionDetails
Sensitive category details. This field will be populated when the targeting_type is
TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
. Sensitive categories are targeting exclusions. Advertiser
level sensitive category exclusions, if set, are always applied in serving (even though they aren't visible
in resource settings). Resource settings can exclude sensitive categories in addition to advertiser
exclusions, but can't override them.
Declaration
[JsonProperty("sensitiveCategoryExclusionDetails")]
public virtual SensitiveCategoryAssignedTargetingOptionDetails SensitiveCategoryExclusionDetails { get; set; }
Property Value
Type | Description |
---|---|
SensitiveCategoryAssignedTargetingOptionDetails |
SessionPositionDetails
Session position details. This field will be populated when the targeting_type is
TARGETING_TYPE_SESSION_POSITION
.
Declaration
[JsonProperty("sessionPositionDetails")]
public virtual SessionPositionAssignedTargetingOptionDetails SessionPositionDetails { get; set; }
Property Value
Type | Description |
---|---|
SessionPositionAssignedTargetingOptionDetails |
SubExchangeDetails
Sub-exchange details. This field will be populated when the targeting_type is TARGETING_TYPE_SUB_EXCHANGE
.
Declaration
[JsonProperty("subExchangeDetails")]
public virtual SubExchangeAssignedTargetingOptionDetails SubExchangeDetails { get; set; }
Property Value
Type | Description |
---|---|
SubExchangeAssignedTargetingOptionDetails |
TargetingType
Output only. Identifies the type of this assigned targeting option.
Declaration
[JsonProperty("targetingType")]
public virtual string TargetingType { get; set; }
Property Value
Type | Description |
---|---|
string |
ThirdPartyVerifierDetails
Third party verification details. This field will be populated when the targeting_type is
TARGETING_TYPE_THIRD_PARTY_VERIFIER
.
Declaration
[JsonProperty("thirdPartyVerifierDetails")]
public virtual ThirdPartyVerifierAssignedTargetingOptionDetails ThirdPartyVerifierDetails { get; set; }
Property Value
Type | Description |
---|---|
ThirdPartyVerifierAssignedTargetingOptionDetails |
UrlDetails
URL details. This field will be populated when the targeting_type is TARGETING_TYPE_URL
.
Declaration
[JsonProperty("urlDetails")]
public virtual UrlAssignedTargetingOptionDetails UrlDetails { get; set; }
Property Value
Type | Description |
---|---|
UrlAssignedTargetingOptionDetails |
UserRewardedContentDetails
User rewarded content details. This field will be populated when the targeting_type is
TARGETING_TYPE_USER_REWARDED_CONTENT
.
Declaration
[JsonProperty("userRewardedContentDetails")]
public virtual UserRewardedContentAssignedTargetingOptionDetails UserRewardedContentDetails { get; set; }
Property Value
Type | Description |
---|---|
UserRewardedContentAssignedTargetingOptionDetails |
VideoPlayerSizeDetails
Video player size details. This field will be populated when the targeting_type is
TARGETING_TYPE_VIDEO_PLAYER_SIZE
.
Declaration
[JsonProperty("videoPlayerSizeDetails")]
public virtual VideoPlayerSizeAssignedTargetingOptionDetails VideoPlayerSizeDetails { get; set; }
Property Value
Type | Description |
---|---|
VideoPlayerSizeAssignedTargetingOptionDetails |
ViewabilityDetails
Viewability details. This field will be populated when the targeting_type is TARGETING_TYPE_VIEWABILITY
.
You can only target one viewability option per resource.
Declaration
[JsonProperty("viewabilityDetails")]
public virtual ViewabilityAssignedTargetingOptionDetails ViewabilityDetails { get; set; }
Property Value
Type | Description |
---|---|
ViewabilityAssignedTargetingOptionDetails |
YoutubeChannelDetails
YouTube channel details. This field will be populated when the targeting_type is
TARGETING_TYPE_YOUTUBE_CHANNEL
.
Declaration
[JsonProperty("youtubeChannelDetails")]
public virtual YoutubeChannelAssignedTargetingOptionDetails YoutubeChannelDetails { get; set; }
Property Value
Type | Description |
---|---|
YoutubeChannelAssignedTargetingOptionDetails |
YoutubeVideoDetails
YouTube video details. This field will be populated when the targeting_type is
TARGETING_TYPE_YOUTUBE_VIDEO
.
Declaration
[JsonProperty("youtubeVideoDetails")]
public virtual YoutubeVideoAssignedTargetingOptionDetails YoutubeVideoDetails { get; set; }
Property Value
Type | Description |
---|---|
YoutubeVideoAssignedTargetingOptionDetails |