Method: networks.targetingPresets.get

Retrieves a TargetingPreset object. Note: Deactivated targeting presets are "logically deleted" (filtered out) by the get logic in the manager layer, so they will not be returned by the targetingPresets.get RPC.

HTTP request

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

Path parameters

Parameters
name

string

Required. The resource name of the TargetingPreset. Format: networks/{networkCode}/targetingPresets/{targetingPresetId}

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the OAuth 2.0 Overview.