AI-generated Key Takeaways
-
This page details how to create an AdSenseLink using an HTTP POST request.
-
The request requires a
parent
path parameter specifying the property ID. -
The request and successful response bodies contain an instance of
AdSenseLink
. -
Authorization requires the
https://www.googleapis.com/auth/analytics.edit
OAuth scope.
Creates an AdSenseLink.
HTTP request
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/adSenseLinks
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234 |
Request body
The request body contains an instance of AdSenseLink
.
Response body
If successful, the response body contains a newly created instance of AdSenseLink
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/analytics.edit