REST Resource: properties.adSenseLinks
Stay organized with collections
Save and categorize content based on your preferences.
Resource: AdSenseLink
A link between a GA4 Property and an AdSense for Content ad client.
JSON representation |
{
"name": string,
"adClientCode": string
} |
Fields |
name |
string
Output only. The resource name for this AdSense Link resource. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/6789
|
adClientCode |
string
Immutable. The AdSense ad client code that the GA4 property is linked to. Example format: "ca-pub-1234567890"
|
Methods |
|
Creates an AdSenseLink. |
|
Deletes an AdSenseLink. |
|
Looks up a single AdSenseLink. |
|
Lists AdSenseLinks on a property. |
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 2024-10-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["AdSenseLink establishes a connection between a Google Analytics 4 (GA4) property and an AdSense for Content ad client."],["This connection is represented in JSON format and includes crucial fields like `name` (a unique identifier) and `adClientCode` (the AdSense ad client code)."],["You can manage these connections through various methods, including creating, deleting, retrieving, and listing AdSenseLinks associated with a GA4 property."]]],[]]