AI-generated Key Takeaways
-
The
customers.list
method lists Ads Data Hub customers accessible by the current user. -
The request uses a GET HTTP method to
https://adsdatahub.googleapis.com/v1/customers
. -
Optional query parameters like
pageSize
andpageToken
can be used to control pagination of the results. -
The request body for this method must be empty, and the response body contains a list of customers and a token for the next page, if applicable.
-
This method requires the
https://www.googleapis.com/auth/adsdatahub
OAuth scope for authorization.
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 |
Maximum number of items to return. If 0, the server will determine the number of customers to return. |
pageToken |
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 ( |
Fields | |
---|---|
customers[] |
A list of customers. |
nextPageToken |
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