Method: accounts.adclients.get

  • Retrieves a specific ad client using its resource name.

  • Requires an HTTP GET request to the specified URL with the ad client's name as a path parameter.

  • Request body should be empty, and a successful response returns an AdClient object.

  • Authorization requires specific OAuth scopes, either adsense or adsense.readonly.

Gets the ad client from the given resource name.

HTTP request

GET https://adsense.googleapis.com/v2/{name=accounts/*/adclients/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the ad client to retrieve. Format: accounts/{account}/adclients/{adclient}

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

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