We've updated our documentation with the latest features and updates introduced by Ads Data Hub's
two new experiences.
Advertisers, agencies, and publishers, refer to the
Marketers site.
Vendors and partners, refer to the
Measurement Partners site.
Method: customers.list
Lists Ads Data Hub customers to which the current user has access.
HTTP request
GET https://adsdatahub.googleapis.com/v1/customers
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters |
pageSize |
integer
Maximum number of items to return. If 0, the server will determine the number of customers to return.
|
pageToken |
string
Page token, returned by previous call, to request the next page of results, if any.
|
Request body
The request body must be empty.
Response body
Response to a customers.list request. Contains the Ads Data Hub customers accessible by the current user.
If successful, the response body contains data with the following structure:
JSON representation |
{
"customers": [
{
object (Customer )
}
],
"nextPageToken": string
} |
Fields |
customers[] |
object (Customer )
A list of customers.
|
nextPageToken |
string
A token that can be used to request the next results page. This field is empty if there are no additional results.
|
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adsdatahub
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 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["Lists Ads Data Hub customers accessible to the current user with optional pagination using `pageSize` and `pageToken` parameters."],["The request is made using an HTTP GET method to the URL `https://adsdatahub.googleapis.com/v1/customers` with an empty request body."],["Successful responses provide a list of `customers` and a `nextPageToken` for retrieving additional results in JSON format."],["Authorization requires the OAuth scope `https://www.googleapis.com/auth/adsdatahub`."]]],["This document details how to list Ads Data Hub customers accessible to a user. An HTTP `GET` request is sent to `https://adsdatahub.googleapis.com/v1/customers`. Optional query parameters `pageSize` (maximum items) and `pageToken` (for pagination) can be used. The request body must be empty. A successful response includes a JSON structure with a list of `customers` and a `nextPageToken` for further pagination. Authorization requires the OAuth scope `https://www.googleapis.com/auth/adsdatahub`.\n"]]