Method: properties.adSenseLinks.get

  • Retrieves detailed information about a specific AdSense Link associated with a Google Analytics 4 property.

  • Requires specifying the unique identifier of the AdSense Link in the request URL path.

  • An empty request body is necessary for this operation.

  • Successful responses provide an AdSenseLink object containing the requested link's details.

  • Proper authorization with either read-only or edit access to Google Analytics is required.

Looks up a single AdSenseLink.

HTTP request

GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/adSenseLinks/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Unique identifier for the AdSense Link requested. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of AdSenseLink.

Authorization scopes

Requires one of the following OAuth scopes:

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