Method: networks.customTargetingKeys.customTargetingValues.get

  • This API retrieves a CustomTargetingValue object using an HTTP GET request.

  • The request requires a path parameter specifying the resource name in the format networks/{networkCode}/customTargetingKeys/{customTargetingKeyId}/customTargetingValues/{customTargetingValueId}.

  • The request body should be empty, and a successful response will return a CustomTargetingValue object.

  • Authorization requires the https://www.googleapis.com/auth/admanager OAuth scope.

API to retrieve a CustomTargetingValue object.

HTTP request

GET https://admanager.googleapis.com/v1/{name}

Path parameters

Parameters
name

string

Required. The resource name of the CustomTargetingValue. Format: networks/{networkCode}/customTargetingValues/{customTargetingValueId}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of CustomTargetingValue.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/admanager

For more information, see the OAuth 2.0 Overview.