Resource: AssignedTargetingOption
A single assigned targeting option, which defines the state of a targeting option for an entity with targeting settings.
JSON representation |
---|
{ "name": string, "assignedTargetingOptionId": string, "assignedTargetingOptionIdAlias": string, "targetingType": enum ( |
Fields | |
---|---|
name |
Output only. The resource name for this assigned targeting option. |
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. |
assignedTargetingOptionIdAlias |
Output only. An alias for the This field will only be supported for all assigned targeting options of the following targeting types:
This field is also supported for line item assigned targeting options of the following targeting types:
|
targetingType |
Output only. Identifies the type of this assigned targeting option. |
inheritance |
Output only. The inheritance status of the assigned targeting option. |
Union field details . Detailed information about the targeting option being assigned. Only one field in details may be filled out, and it must correspond to targeting_type ; details can be only one of the following: |
|
channelDetails |
Channel details. This field will be populated when the |
appCategoryDetails |
App category details. This field will be populated when the |
appDetails |
App details. This field will be populated when the |
urlDetails |
URL details. This field will be populated when the |
dayAndTimeDetails |
Day and time details. This field will be populated when the |
ageRangeDetails |
Age range details. This field will be populated when the |
regionalLocationListDetails |
Regional location list details. This field will be populated when the |
proximityLocationListDetails |
Proximity location list details. This field will be populated when the |
genderDetails |
Gender details. This field will be populated when the |
videoPlayerSizeDetails |
Video player size details. This field will be populated when the |
userRewardedContentDetails |
User rewarded content details. This field will be populated when the |
parentalStatusDetails |
Parental status details. This field will be populated when the |
contentInstreamPositionDetails |
Content instream position details. This field will be populated when the |
contentOutstreamPositionDetails |
Content outstream position details. This field will be populated when the |
deviceTypeDetails |
Device Type details. This field will be populated when the |
audienceGroupDetails |
Audience targeting details. This field will be populated when the |
browserDetails |
Browser details. This field will be populated when the |
householdIncomeDetails |
Household income details. This field will be populated when the |
onScreenPositionDetails |
On screen position details. This field will be populated when the |
carrierAndIspDetails |
Carrier and ISP details. This field will be populated when the |
keywordDetails |
Keyword details. This field will be populated when the A maximum of 5000 direct negative keywords can be assigned to a resource. No limit on number of positive keywords that can be assigned. |
negativeKeywordListDetails |
Keyword details. This field will be populated when the A maximum of 4 negative keyword lists can be assigned to a resource. |
operatingSystemDetails |
Operating system details. This field will be populated when the |
deviceMakeModelDetails |
Device make and model details. This field will be populated when the |
environmentDetails |
Environment details. This field will be populated when the |
inventorySourceDetails |
Inventory source details. This field will be populated when the |
categoryDetails |
Category details. This field will be populated when the 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. |
viewabilityDetails |
Viewability details. This field will be populated when the You can only target one viewability option per resource. |
authorizedSellerStatusDetails |
Authorized seller status details. This field will be populated when the 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. |
languageDetails |
Language details. This field will be populated when the |
geoRegionDetails |
Geographic region details. This field will be populated when the |
inventorySourceGroupDetails |
Inventory source group details. This field will be populated when the |
digitalContentLabelExclusionDetails |
Digital content label details. This field will be populated when the 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. |
sensitiveCategoryExclusionDetails |
Sensitive category details. This field will be populated when the 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. |
exchangeDetails |
Exchange details. This field will be populated when the |
subExchangeDetails |
Sub-exchange details. This field will be populated when the |
thirdPartyVerifierDetails |
Third party verification details. This field will be populated when the |
poiDetails |
POI details. This field will be populated when the |
businessChainDetails |
Business chain details. This field will be populated when the |
contentDurationDetails |
Content duration details. This field will be populated when the |
contentStreamTypeDetails |
Content duration details. This field will be populated when the TargetingType is |
nativeContentPositionDetails |
Native content position details. This field will be populated when the |
omidDetails |
Open Measurement enabled inventory details. This field will be populated when the |
audioContentTypeDetails |
Audio content type details. This field will be populated when the |
contentGenreDetails |
Content genre details. This field will be populated when the |
youtubeVideoDetails |
YouTube video details. This field will be populated when the |
youtubeChannelDetails |
YouTube channel details. This field will be populated when the |
sessionPositionDetails |
Session position details. This field will be populated when the |
Methods |
|
---|---|
|
Assigns a targeting option to a line item. |
|
Deletes an assigned targeting option from a line item. |
|
Gets a single targeting option assigned to a line item. |
|
Lists the targeting options assigned to a line item. |