class AccountsClientsInvitations extends Resource (View source)

The "invitations" collection of methods.

Typical usage is:

 $adexchangebuyer2Service = new Google\Service\AdExchangeBuyerII(...);
 $invitations = $adexchangebuyer2Service->accounts_clients_invitations;

Methods

create(string $accountId, string $clientAccountId, ClientUserInvitation $postBody, array $optParams = [])

Creates and sends out an email invitation to access an Ad Exchange client buyer account. (invitations.create)

get(string $accountId, string $clientAccountId, string $invitationId, array $optParams = [])

Retrieves an existing client user invitation. (invitations.get)

listAccountsClientsInvitations(string $accountId, string $clientAccountId, array $optParams = [])

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

Details

ClientUserInvitation create(string $accountId, string $clientAccountId, ClientUserInvitation $postBody, array $optParams = [])

Creates and sends out an email invitation to access an Ad Exchange client buyer account. (invitations.create)

Parameters

string $accountId

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

string $clientAccountId

Numerical account ID of the client buyer that the user should be associated with. (required)

ClientUserInvitation $postBody
array $optParams

Optional parameters.

Return Value

ClientUserInvitation

Exceptions

Exception

ClientUserInvitation get(string $accountId, string $clientAccountId, string $invitationId, array $optParams = [])

Retrieves an existing client user invitation. (invitations.get)

Parameters

string $accountId

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

string $clientAccountId

Numerical account ID of the client buyer that the user invitation to be retrieved is associated with. (required)

string $invitationId

Numerical identifier of the user invitation to retrieve. (required)

array $optParams

Optional parameters.

Return Value

ClientUserInvitation

Exceptions

Exception

ListClientUserInvitationsResponse listAccountsClientsInvitations(string $accountId, string $clientAccountId, array $optParams = [])

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

(invitations.listAccountsClientsInvitations)

Parameters

string $accountId

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

string $clientAccountId

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.

array $optParams

Optional parameters.

Return Value

ListClientUserInvitationsResponse

Exceptions

Exception