class AdvertisersCampaignsTargetingTypesAssignedTargetingOptions extends Resource (View source)

The "assignedTargetingOptions" collection of methods.

Typical usage is:

 $displayvideoService = new Google\Service\DisplayVideo(...);
 $assignedTargetingOptions = $displayvideoService->advertisers_campaigns_targetingTypes_assignedTargetingOptions;

Methods

get(string $advertiserId, string $campaignId, string $targetingType, string $assignedTargetingOptionId, array $optParams = [])

Gets a single targeting option assigned to a campaign.

listAdvertisersCampaignsTargetingTypesAssignedTargetingOptions(string $advertiserId, string $campaignId, string $targetingType, array $optParams = [])

Lists the targeting options assigned to a campaign for a specified targeting type. (assignedTargetingOptions.listAdvertisersCampaignsTargetingTypesAssigne dTargetingOptions)

Details

AssignedTargetingOption get(string $advertiserId, string $campaignId, string $targetingType, string $assignedTargetingOptionId, array $optParams = [])

Gets a single targeting option assigned to a campaign.

(assignedTargetingOptions.get)

Parameters

string $advertiserId

Required. The ID of the advertiser the campaign belongs to.

string $campaignId

Required. The ID of the campaign the assigned targeting option belongs to.

string $targetingType

Required. Identifies the type of this assigned targeting option. Supported targeting types: TARGETING_TYPE_AGE_RANGE TARGETING_TYPE_AUTHORIZED_SELLER_STATUS TARGETING_TYPE_CONTENT_INSTREAM_POSITION TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION TARGETING_TYPE_ENVIRONMENT TARGETING_TYPE_EXCHANGE TARGETING_TYPE_GENDER TARGETING_TYPE_GEO_REGION TARGETING_TYPE_HOUSEHOLD_INCOME TARGETING_TYPE_INVENTORY_SOURCE TARGETING_TYPE_INVENTORY_SOURCE_GROUP TARGETING_TYPE_LANGUAGE TARGETING_TYPE_ON_SCREEN_POSITION TARGETING_TYPE_PARENTAL_STATUS TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION * TARGETING_TYPE_SUB_EXCHANGE

  • TARGETING_TYPE_THIRD_PARTY_VERIFIER * TARGETING_TYPE_VIEWABILITY
string $assignedTargetingOptionId

Required. An identifier unique to the targeting type in this campaign that identifies the assigned targeting option being requested.

array $optParams

Optional parameters.

Return Value

AssignedTargetingOption

Exceptions

Exception

ListCampaignAssignedTargetingOptionsResponse listAdvertisersCampaignsTargetingTypesAssignedTargetingOptions(string $advertiserId, string $campaignId, string $targetingType, array $optParams = [])

Lists the targeting options assigned to a campaign for a specified targeting type. (assignedTargetingOptions.listAdvertisersCampaignsTargetingTypesAssigne dTargetingOptions)

Parameters

string $advertiserId

Required. The ID of the advertiser the campaign belongs to.

string $campaignId

Required. The ID of the campaign to list assigned targeting options for.

string $targetingType

Required. Identifies the type of assigned targeting options to list. Supported targeting types: TARGETING_TYPE_AGE_RANGE TARGETING_TYPE_AUTHORIZED_SELLER_STATUS TARGETING_TYPE_CONTENT_INSTREAM_POSITION TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION TARGETING_TYPE_ENVIRONMENT TARGETING_TYPE_EXCHANGE TARGETING_TYPE_GENDER TARGETING_TYPE_GEO_REGION TARGETING_TYPE_HOUSEHOLD_INCOME TARGETING_TYPE_INVENTORY_SOURCE TARGETING_TYPE_INVENTORY_SOURCE_GROUP TARGETING_TYPE_LANGUAGE TARGETING_TYPE_ON_SCREEN_POSITION TARGETING_TYPE_PARENTAL_STATUS TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION * TARGETING_TYPE_SUB_EXCHANGE

  • TARGETING_TYPE_THIRD_PARTY_VERIFIER * TARGETING_TYPE_VIEWABILITY
array $optParams

Optional parameters.

Return Value

ListCampaignAssignedTargetingOptionsResponse

Exceptions

Exception