Page Summary
-
The
CreateCustomerClientRPC call creates a new client under a manager account and returns the new client customer. -
This method can throw various errors including AuthenticationError, AuthorizationError, and QuotaError.
-
Using this method requires the
https://www.googleapis.com/auth/adwordsOAuth scope.
Creates a new client under manager. The new client customer is returned.
List of thrown errors: AccessInvitationError AuthenticationError AuthorizationError CurrencyCodeError HeaderError InternalError ManagerLinkError QuotaError RequestError StringLengthError TimeZoneError
HTTP request
POST https://googleads.googleapis.com/v22/customers/{customerId}:createCustomerClient
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
customerId |
|
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "customerClient": { object ( |
| Fields | |
|---|---|
accessRole |
AccessRole) |
customerClient |
Customer) |
emailAddress |
|
validateOnly |
|
Response body
Response message for customers.createCustomerClient mutate.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "resourceName": string, "invitationLink": string } |
| Fields | |
|---|---|
invitationLink |
|
resourceName |
|
- Authorization scopes
-
Requires the following OAuth scope:
https://www.googleapis.com/auth/adwords
For more information, see the OAuth 2.0 Overview.