class AdvertisersAdGroupsTargetingTypesAssignedTargetingOptions extends Resource (View source)

The "assignedTargetingOptions" collection of methods.

Typical usage is:

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

Methods

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

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

listAdvertisersAdGroupsTargetingTypesAssignedTargetingOptions(string $advertiserId, string $adGroupId, string $targetingType, array $optParams = [])

Lists the targeting options assigned to an ad group. Inherited assigned targeting options are not included. (assignedTargetingOptions.listAdvertisers AdGroupsTargetingTypesAssignedTargetingOptions)

Details

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

Gets a single targeting option assigned to an 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 $adGroupId

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

Exceptions

Exception

ListAdGroupAssignedTargetingOptionsResponse listAdvertisersAdGroupsTargetingTypesAssignedTargetingOptions(string $advertiserId, string $adGroupId, string $targetingType, array $optParams = [])

Lists the targeting options assigned to an ad group. Inherited assigned targeting options are not included. (assignedTargetingOptions.listAdvertisers AdGroupsTargetingTypesAssignedTargetingOptions)

Parameters

string $advertiserId

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

string $adGroupId

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

ListAdGroupAssignedTargetingOptionsResponse

Exceptions

Exception