Method: properties.googleAdsLinks.create

  • This document outlines how to create a GoogleAdsLink using an HTTP POST request.

  • The request requires a parent path parameter specifying the property.

  • The request body should contain an instance of GoogleAdsLink.

  • A successful response body will contain the newly created GoogleAdsLink instance.

  • The request requires authorization with the https://www.googleapis.com/auth/analytics.edit scope.

Creates a GoogleAdsLink.

HTTP request

POST https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/googleAdsLinks

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Example format: properties/1234

Request body

The request body contains an instance of GoogleAdsLink.

Response body

If successful, the response body contains a newly created instance of GoogleAdsLink.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/analytics.edit