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/v21/customers/{customerId}:createCustomerClient
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customerId |
Required. The ID of the Manager under whom client customer is being created. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "customerClient": { object ( |
Fields | |
---|---|
customerClient |
Required. The new client customer to create. The resource name on this customer will be ignored. |
accessRole |
The proposed role of user on the created client customer. Accessible only to customers on the allow-list. |
validateOnly |
If true, the request is validated but not executed. Only errors are returned, not results. |
emailAddress |
Email address of the user who should be invited on the created client customer. Accessible only to customers on the allow-list. |
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 | |
---|---|
resourceName |
The resource name of the newly created customer. Customer resource names have the form: |
invitationLink |
Link for inviting user to access the created customer. Accessible to allowlisted customers only. |
- Authorization scopes
-
Requires the following OAuth scope:
https://www.googleapis.com/auth/adwords
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.