The new Search Ads 360 Reporting API is now available. Join the
searchads-api-announcements Google group to stay up to date on upcoming enhancements and releases.
Method: customers.listAccessibleCustomers
HTTP request
GET https://searchads360.googleapis.com/v0/customers:listAccessibleCustomers
The URL uses gRPC Transcoding syntax.
Request body
The request body must be empty.
Response body
Response message for CustomerService.ListAccessibleCustomers
.
If successful, the response body contains data with the following structure:
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/doubleclicksearch
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-02 UTC.
[null,null,["Last updated 2025-04-02 UTC."],[[["This API call retrieves a list of customer resource names that the authenticated user can directly access."],["It uses an HTTP GET request with an empty request body and expects an empty JSON object in the response."],["The response will contain an array of customer resource names within a JSON object under the `resourceNames` key."],["Authentication using OAuth 2.0 with the `https://www.googleapis.com/auth/doubleclicksearch` scope is required."]]],["The core function is to list accessible customer resource names via an HTTP GET request to `https://searchads360.googleapis.com/v0/customers:listAccessibleCustomers`. The request body must be empty. A successful response returns a JSON object with a `resourceNames` array containing strings that represent the resource names of directly accessible customers. The call requires the `https://www.googleapis.com/auth/doubleclicksearch` OAuth scope. Potential errors include authentication, authorization, header, internal, quota, and request errors.\n"]]