class AdvertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOptions extends Resource (View source)

The "assignedTargetingOptions" collection of methods.

Typical usage is:

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

Methods

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

Gets a single targeting option assigned to a YouTube ad group. Inherited assigned targeting options are not included. (assignedTargetingOptions.get)

listAdvertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOptions(string $advertiserId, string $youtubeAdGroupId, string $targetingType, array $optParams = [])

Lists the targeting options assigned to a YouTube ad group. Inherited assigned targeting options are not included. (assignedTargetingOptions.listAd vertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOptions)

Details

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

Gets a single targeting option assigned to a YouTube ad group. Inherited assigned targeting options are not included. (assignedTargetingOptions.get)

Parameters

string $advertiserId

Required. The ID of the advertiser the ad group belongs to.

string $youtubeAdGroupId

Required. The ID of the ad group the assigned targeting option belongs to.

string $targetingType

Required. Identifies the type of this assigned targeting option. Supported targeting types include: TARGETING_TYPE_AGE_RANGE TARGETING_TYPE_APP TARGETING_TYPE_APP_CATEGORY TARGETING_TYPE_AUDIENCE_GROUP TARGETING_TYPE_CATEGORY TARGETING_TYPE_GENDER TARGETING_TYPE_HOUSEHOLD_INCOME TARGETING_TYPE_KEYWORD TARGETING_TYPE_PARENTAL_STATUS TARGETING_TYPE_SESSION_POSITION TARGETING_TYPE_URL TARGETING_TYPE_YOUTUBE_CHANNEL * TARGETING_TYPE_YOUTUBE_VIDEO

string $assignedTargetingOptionId

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

array $optParams

Optional parameters.

Return Value

AssignedTargetingOption

ListYoutubeAdGroupAssignedTargetingOptionsResponse listAdvertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOptions(string $advertiserId, string $youtubeAdGroupId, string $targetingType, array $optParams = [])

Lists the targeting options assigned to a YouTube ad group. Inherited assigned targeting options are not included. (assignedTargetingOptions.listAd vertisersYoutubeAdGroupsTargetingTypesAssignedTargetingOptions)

Parameters

string $advertiserId

Required. The ID of the advertiser the ad group belongs to.

string $youtubeAdGroupId

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

string $targetingType

Required. Identifies the type of assigned targeting options to list. Supported targeting types include: TARGETING_TYPE_AGE_RANGE TARGETING_TYPE_APP TARGETING_TYPE_APP_CATEGORY TARGETING_TYPE_AUDIENCE_GROUP TARGETING_TYPE_CATEGORY TARGETING_TYPE_GENDER TARGETING_TYPE_HOUSEHOLD_INCOME TARGETING_TYPE_KEYWORD TARGETING_TYPE_PARENTAL_STATUS TARGETING_TYPE_SESSION_POSITION TARGETING_TYPE_URL TARGETING_TYPE_YOUTUBE_CHANNEL * TARGETING_TYPE_YOUTUBE_VIDEO

array $optParams

Optional parameters.

Return Value

ListYoutubeAdGroupAssignedTargetingOptionsResponse