Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AssignedTargetingOption

import type { AssignedTargetingOption } from "https://googleapis.deno.dev/v1/displayvideo:v3.ts";

A single assigned targeting option, which defines the state of a targeting option for an entity with targeting settings.

interface AssignedTargetingOption {
readonly assignedTargetingOptionId?: string;
readonly assignedTargetingOptionIdAlias?: string;
digitalContentLabelExclusionDetails?: DigitalContentLabelAssignedTargetingOptionDetails;
readonly inheritance?:
| "INHERITANCE_UNSPECIFIED"
| "NOT_INHERITED"
| "INHERITED_FROM_PARTNER"
| "INHERITED_FROM_ADVERTISER";
readonly name?: string;
sensitiveCategoryExclusionDetails?: SensitiveCategoryAssignedTargetingOptionDetails;
readonly targetingType?:
| "TARGETING_TYPE_UNSPECIFIED"
| "TARGETING_TYPE_CHANNEL"
| "TARGETING_TYPE_APP_CATEGORY"
| "TARGETING_TYPE_APP"
| "TARGETING_TYPE_URL"
| "TARGETING_TYPE_DAY_AND_TIME"
| "TARGETING_TYPE_AGE_RANGE"
| "TARGETING_TYPE_REGIONAL_LOCATION_LIST"
| "TARGETING_TYPE_PROXIMITY_LOCATION_LIST"
| "TARGETING_TYPE_GENDER"
| "TARGETING_TYPE_VIDEO_PLAYER_SIZE"
| "TARGETING_TYPE_USER_REWARDED_CONTENT"
| "TARGETING_TYPE_PARENTAL_STATUS"
| "TARGETING_TYPE_CONTENT_INSTREAM_POSITION"
| "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION"
| "TARGETING_TYPE_DEVICE_TYPE"
| "TARGETING_TYPE_AUDIENCE_GROUP"
| "TARGETING_TYPE_BROWSER"
| "TARGETING_TYPE_HOUSEHOLD_INCOME"
| "TARGETING_TYPE_ON_SCREEN_POSITION"
| "TARGETING_TYPE_THIRD_PARTY_VERIFIER"
| "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION"
| "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION"
| "TARGETING_TYPE_ENVIRONMENT"
| "TARGETING_TYPE_CARRIER_AND_ISP"
| "TARGETING_TYPE_OPERATING_SYSTEM"
| "TARGETING_TYPE_DEVICE_MAKE_MODEL"
| "TARGETING_TYPE_KEYWORD"
| "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST"
| "TARGETING_TYPE_VIEWABILITY"
| "TARGETING_TYPE_CATEGORY"
| "TARGETING_TYPE_INVENTORY_SOURCE"
| "TARGETING_TYPE_LANGUAGE"
| "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS"
| "TARGETING_TYPE_GEO_REGION"
| "TARGETING_TYPE_INVENTORY_SOURCE_GROUP"
| "TARGETING_TYPE_EXCHANGE"
| "TARGETING_TYPE_SUB_EXCHANGE"
| "TARGETING_TYPE_POI"
| "TARGETING_TYPE_BUSINESS_CHAIN"
| "TARGETING_TYPE_CONTENT_DURATION"
| "TARGETING_TYPE_CONTENT_STREAM_TYPE"
| "TARGETING_TYPE_NATIVE_CONTENT_POSITION"
| "TARGETING_TYPE_OMID"
| "TARGETING_TYPE_AUDIO_CONTENT_TYPE"
| "TARGETING_TYPE_CONTENT_GENRE"
| "TARGETING_TYPE_YOUTUBE_VIDEO"
| "TARGETING_TYPE_YOUTUBE_CHANNEL"
| "TARGETING_TYPE_SESSION_POSITION";
}

§Properties

§

Age range details. This field will be populated when the targeting_type is TARGETING_TYPE_AGE_RANGE.

§

App category details. This field will be populated when the targeting_type is TARGETING_TYPE_APP_CATEGORY.

§

App details. This field will be populated when the targeting_type is TARGETING_TYPE_APP.

§
readonly assignedTargetingOptionId?: string
[src]

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.

§
readonly assignedTargetingOptionIdAlias?: string
[src]

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

§

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.

§

Audio content type details. This field will be populated when the targeting_type is TARGETING_TYPE_AUDIO_CONTENT_TYPE.

§

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.

§

Browser details. This field will be populated when the targeting_type is TARGETING_TYPE_BROWSER.

§

Business chain details. This field will be populated when the targeting_type is TARGETING_TYPE_BUSINESS_CHAIN.

§

Carrier and ISP details. This field will be populated when the targeting_type is TARGETING_TYPE_CARRIER_AND_ISP.

§

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.

§

Channel details. This field will be populated when the targeting_type is TARGETING_TYPE_CHANNEL.

§

Content duration details. This field will be populated when the targeting_type is TARGETING_TYPE_CONTENT_DURATION.

§

Content genre details. This field will be populated when the targeting_type is TARGETING_TYPE_CONTENT_GENRE.

§

Content instream position details. This field will be populated when the targeting_type is TARGETING_TYPE_CONTENT_INSTREAM_POSITION.

§

Content outstream position details. This field will be populated when the targeting_type is TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION.

§

Content duration details. This field will be populated when the TargetingType is TARGETING_TYPE_CONTENT_STREAM_TYPE.

§

Day and time details. This field will be populated when the targeting_type is TARGETING_TYPE_DAY_AND_TIME.

§

Device make and model details. This field will be populated when the targeting_type is TARGETING_TYPE_DEVICE_MAKE_MODEL.

§

Device Type details. This field will be populated when the targeting_type is TARGETING_TYPE_DEVICE_TYPE.

§
digitalContentLabelExclusionDetails?: DigitalContentLabelAssignedTargetingOptionDetails
[src]

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.

§

Environment details. This field will be populated when the targeting_type is TARGETING_TYPE_ENVIRONMENT.

§

Exchange details. This field will be populated when the targeting_type is TARGETING_TYPE_EXCHANGE.

§

Gender details. This field will be populated when the targeting_type is TARGETING_TYPE_GENDER.

§

Geographic region details. This field will be populated when the targeting_type is TARGETING_TYPE_GEO_REGION.

§

Household income details. This field will be populated when the targeting_type is TARGETING_TYPE_HOUSEHOLD_INCOME.

§
readonly inheritance?: "INHERITANCE_UNSPECIFIED" | "NOT_INHERITED" | "INHERITED_FROM_PARTNER" | "INHERITED_FROM_ADVERTISER"
[src]

Output only. The inheritance status of the assigned targeting option.

§

Inventory source details. This field will be populated when the targeting_type is TARGETING_TYPE_INVENTORY_SOURCE.

§

Inventory source group details. This field will be populated when the targeting_type is TARGETING_TYPE_INVENTORY_SOURCE_GROUP.

§

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.

§

Language details. This field will be populated when the targeting_type is TARGETING_TYPE_LANGUAGE.

§
readonly name?: string
[src]

Output only. The resource name for this assigned targeting option.

§

Native content position details. This field will be populated when the targeting_type is TARGETING_TYPE_NATIVE_CONTENT_POSITION.

§

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.

§

Open Measurement enabled inventory details. This field will be populated when the targeting_type is TARGETING_TYPE_OMID.

§

On screen position details. This field will be populated when the targeting_type is TARGETING_TYPE_ON_SCREEN_POSITION.

§

Operating system details. This field will be populated when the targeting_type is TARGETING_TYPE_OPERATING_SYSTEM.

§

Parental status details. This field will be populated when the targeting_type is TARGETING_TYPE_PARENTAL_STATUS.

§

POI details. This field will be populated when the targeting_type is TARGETING_TYPE_POI.

§

Proximity location list details. This field will be populated when the targeting_type is TARGETING_TYPE_PROXIMITY_LOCATION_LIST.

§

Regional location list details. This field will be populated when the targeting_type is TARGETING_TYPE_REGIONAL_LOCATION_LIST.

§
sensitiveCategoryExclusionDetails?: SensitiveCategoryAssignedTargetingOptionDetails
[src]

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.

§

Session position details. This field will be populated when the targeting_type is TARGETING_TYPE_SESSION_POSITION.

§

Sub-exchange details. This field will be populated when the targeting_type is TARGETING_TYPE_SUB_EXCHANGE.

§
readonly targetingType?: "TARGETING_TYPE_UNSPECIFIED" | "TARGETING_TYPE_CHANNEL" | "TARGETING_TYPE_APP_CATEGORY" | "TARGETING_TYPE_APP" | "TARGETING_TYPE_URL" | "TARGETING_TYPE_DAY_AND_TIME" | "TARGETING_TYPE_AGE_RANGE" | "TARGETING_TYPE_REGIONAL_LOCATION_LIST" | "TARGETING_TYPE_PROXIMITY_LOCATION_LIST" | "TARGETING_TYPE_GENDER" | "TARGETING_TYPE_VIDEO_PLAYER_SIZE" | "TARGETING_TYPE_USER_REWARDED_CONTENT" | "TARGETING_TYPE_PARENTAL_STATUS" | "TARGETING_TYPE_CONTENT_INSTREAM_POSITION" | "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION" | "TARGETING_TYPE_DEVICE_TYPE" | "TARGETING_TYPE_AUDIENCE_GROUP" | "TARGETING_TYPE_BROWSER" | "TARGETING_TYPE_HOUSEHOLD_INCOME" | "TARGETING_TYPE_ON_SCREEN_POSITION" | "TARGETING_TYPE_THIRD_PARTY_VERIFIER" | "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION" | "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION" | "TARGETING_TYPE_ENVIRONMENT" | "TARGETING_TYPE_CARRIER_AND_ISP" | "TARGETING_TYPE_OPERATING_SYSTEM" | "TARGETING_TYPE_DEVICE_MAKE_MODEL" | "TARGETING_TYPE_KEYWORD" | "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST" | "TARGETING_TYPE_VIEWABILITY" | "TARGETING_TYPE_CATEGORY" | "TARGETING_TYPE_INVENTORY_SOURCE" | "TARGETING_TYPE_LANGUAGE" | "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS" | "TARGETING_TYPE_GEO_REGION" | "TARGETING_TYPE_INVENTORY_SOURCE_GROUP" | "TARGETING_TYPE_EXCHANGE" | "TARGETING_TYPE_SUB_EXCHANGE" | "TARGETING_TYPE_POI" | "TARGETING_TYPE_BUSINESS_CHAIN" | "TARGETING_TYPE_CONTENT_DURATION" | "TARGETING_TYPE_CONTENT_STREAM_TYPE" | "TARGETING_TYPE_NATIVE_CONTENT_POSITION" | "TARGETING_TYPE_OMID" | "TARGETING_TYPE_AUDIO_CONTENT_TYPE" | "TARGETING_TYPE_CONTENT_GENRE" | "TARGETING_TYPE_YOUTUBE_VIDEO" | "TARGETING_TYPE_YOUTUBE_CHANNEL" | "TARGETING_TYPE_SESSION_POSITION"
[src]

Output only. Identifies the type of this assigned targeting option.

§

Third party verification details. This field will be populated when the targeting_type is TARGETING_TYPE_THIRD_PARTY_VERIFIER.

§

URL details. This field will be populated when the targeting_type is TARGETING_TYPE_URL.

§

User rewarded content details. This field will be populated when the targeting_type is TARGETING_TYPE_USER_REWARDED_CONTENT.

§

Video player size details. This field will be populated when the targeting_type is TARGETING_TYPE_VIDEO_PLAYER_SIZE.

§

Viewability details. This field will be populated when the targeting_type is TARGETING_TYPE_VIEWABILITY. You can only target one viewability option per resource.

§

YouTube channel details. This field will be populated when the targeting_type is TARGETING_TYPE_YOUTUBE_CHANNEL.

§

YouTube video details. This field will be populated when the targeting_type is TARGETING_TYPE_YOUTUBE_VIDEO.