Method: accounts.clients.invitations.list

Lists all the client users invitations for a client with a given account ID.

HTTP request

GET https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
accountId

string (int64 format)

Numerical account ID of the client's sponsor buyer. (required)

clientAccountId

string

Numerical account ID of the client buyer to list invitations for. (required) You must either specify a string representation of a numerical account identifier or the - character to list all the invitations for all the clients of a given sponsor buyer.

Query parameters

Parameters
pageSize

integer

Requested page size. Server may return fewer clients than requested. If unspecified, server will pick an appropriate default.

pageToken

string

A token identifying a page of results the server should return. Typically, this is the value of ListClientUserInvitationsResponse.nextPageToken returned from the previous call to the clients.invitations.list method.

Request body

The request body must be empty.

Response body

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

JSON representation
{
  "invitations": [
    {
      object (ClientUserInvitation)
    }
  ],
  "nextPageToken": string
}
Fields
invitations[]

object (ClientUserInvitation)

The returned list of client users.

nextPageToken

string

A token to retrieve the next page of results. Pass this value in the ListClientUserInvitationsRequest.pageToken field in the subsequent call to the clients.invitations.list method to retrieve the next page of results.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adexchange.buyer