class TargetingTypesTargetingOptions extends Resource (View source)

The "targetingOptions" collection of methods.

Typical usage is:

 $displayvideoService = new Google\Service\DisplayVideo(...);
 $targetingOptions = $displayvideoService->targetingTypes_targetingOptions;

Methods

get(string $targetingType, string $targetingOptionId, array $optParams = [])

Gets a single targeting option. (targetingOptions.get)

listTargetingTypesTargetingOptions(string $targetingType, array $optParams = [])

Lists targeting options of a given type.

search(string $targetingType, SearchTargetingOptionsRequest $postBody, array $optParams = [])

Searches for targeting options of a given type based on the given search terms. (targetingOptions.search)

Details

TargetingOption get(string $targetingType, string $targetingOptionId, array $optParams = [])

Gets a single targeting option. (targetingOptions.get)

Parameters

string $targetingType

Required. The type of targeting option to retrieve. Accepted values are: TARGETING_TYPE_APP_CATEGORY TARGETING_TYPE_AGE_RANGE 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_BROWSER TARGETING_TYPE_HOUSEHOLD_INCOME TARGETING_TYPE_ON_SCREEN_POSITION TARGETING_TYPE_CARRIER_AND_ISP TARGETING_TYPE_OPERATING_SYSTEM TARGETING_TYPE_DEVICE_MAKE_MODEL TARGETING_TYPE_ENVIRONMENT TARGETING_TYPE_CATEGORY TARGETING_TYPE_VIEWABILITY TARGETING_TYPE_AUTHORIZED_SELLER_STATUS TARGETING_TYPE_LANGUAGE TARGETING_TYPE_GEO_REGION TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION TARGETING_TYPE_EXCHANGE TARGETING_TYPE_SUB_EXCHANGE TARGETING_TYPE_NATIVE_CONTENT_POSITION * TARGETING_TYPE_OMID
string $targetingOptionId

Required. The ID of the of targeting option to retrieve.

array $optParams

Optional parameters.

Return Value

TargetingOption

Exceptions

Exception

ListTargetingOptionsResponse listTargetingTypesTargetingOptions(string $targetingType, array $optParams = [])

Lists targeting options of a given type.

(targetingOptions.listTargetingTypesTargetingOptions)

Parameters

string $targetingType

Required. The type of targeting option to be listed. Accepted values are: TARGETING_TYPE_APP_CATEGORY TARGETING_TYPE_AGE_RANGE 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_BROWSER TARGETING_TYPE_HOUSEHOLD_INCOME TARGETING_TYPE_ON_SCREEN_POSITION TARGETING_TYPE_CARRIER_AND_ISP TARGETING_TYPE_OPERATING_SYSTEM TARGETING_TYPE_DEVICE_MAKE_MODEL TARGETING_TYPE_ENVIRONMENT TARGETING_TYPE_CATEGORY TARGETING_TYPE_VIEWABILITY TARGETING_TYPE_AUTHORIZED_SELLER_STATUS TARGETING_TYPE_LANGUAGE TARGETING_TYPE_GEO_REGION TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION TARGETING_TYPE_EXCHANGE TARGETING_TYPE_SUB_EXCHANGE TARGETING_TYPE_NATIVE_CONTENT_POSITION * TARGETING_TYPE_OMID
array $optParams

Optional parameters.

Return Value

ListTargetingOptionsResponse

Exceptions

Exception

Searches for targeting options of a given type based on the given search terms. (targetingOptions.search)

Parameters

string $targetingType

Required. The type of targeting options to retrieve. Accepted values are: TARGETING_TYPE_GEO_REGION TARGETING_TYPE_POI * TARGETING_TYPE_BUSINESS_CHAIN

SearchTargetingOptionsRequest $postBody
array $optParams

Optional parameters.

Return Value

SearchTargetingOptionsResponse

Exceptions

Exception