Method: customers.accountLinks.create

Creates an account link.

List of thrown errors: AuthenticationError AuthorizationError DatabaseError FieldError HeaderError InternalError MutateError QuotaError RequestError ThirdPartyAppAnalyticsLinkError

HTTP request

POST https://googleads.googleapis.com/v17/customers/{customerId}/accountLinks:create

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
customerId

string

Required. The ID of the customer for which the account link is created.

Request body

The request body contains data with the following structure:

JSON representation
{
  "accountLink": {
    object (AccountLink)
  }
}
Fields

Response body

Response message for AccountLinkService.CreateAccountLink.

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

JSON representation
{
  "resourceName": string
}
Fields
resourceName

string

Returned for successful operations. Resource name of the account link.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adwords

For more information, see the OAuth 2.0 Overview.