Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

Method: customers.listAccessibleCustomers

Returns resource names of customers directly accessible by the user authenticating the call.

List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

HTTP request

GET https://googleads.googleapis.com/v8/customers:listAccessibleCustomers

The URL uses gRPC Transcoding syntax.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for CustomerService.ListAccessibleCustomers.

JSON representation
{
  "resourceNames": [
    string
  ]
}
Fields
resourceNames[]

string

Resource name of customers directly accessible by the user authenticating the call.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.