Method: gmpAccounts.list

Retrieves linked Google Marketing Platform accounts (accounts whose data is accessible by the specified customer.

HTTP request

GET https://fullcirclequery.googleapis.com/v2/gmpAccounts

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
customerId

string (int64 format)

Ads Data Hub ID of customer for which accounts should be listed.

pageSize

number

Maximum number of items to return. If 0, the server will determine the number of linked customers to return.

pageToken

string

Page token, returned by a previous call, used to request the next page of results, if any.

Request body

The request body must be empty.

Response body

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

Response to a gmpAccounts.list request.

JSON representation
{
  "gmpAccounts": [
    {
      object(GmpAccount)
    }
  ],
  "nextPageToken": string
}
Fields
gmpAccounts[]

object(GmpAccount)

List of Google Marketing Platform accounts linked to the given Ads Data Hub account. Includes both directly linked accounts and accounts accessible through one or more LinkedCustomers.

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 one of the following OAuth scopes:

  • https://www.googleapis.com/auth/adsdatahub
  • https://www.googleapis.com/auth/xapi.zoo