AI-generated Key Takeaways
-
This document outlines the method for listing Ads Data Hub customers accessible to the current user.
-
The HTTP request for this operation is a GET request to
https://adsdatahub.googleapis.com/v1/customers
. -
Optional query parameters include
pageSize
to specify the maximum number of items andpageToken
for retrieving subsequent pages of results. -
The request body for this operation should be empty.
-
The successful response contains a list of customer objects and an optional
nextPageToken
for pagination. -
This operation requires the
https://www.googleapis.com/auth/adsdatahub
authorization scope.
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