Method: accounts.adclients.adunits.get

Gets an ad unit from a specified account and ad client.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. AdUnit to get information about. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

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