REST Resource: properties.adSenseLinks
Referensi: AdSenseLink
Penautan antara properti Google Analytics dan klien iklan AdSense untuk Konten.
Representasi JSON |
{
"name": string,
"adClientCode": string
} |
Kolom |
name |
string
Hanya output. Nama resource untuk resource Link AdSense ini. Format: properties/{propertyId}/adSenseLinks/{linkId} Contoh: properties/1234/adSenseLinks/6789
|
adClientCode |
string
Tidak dapat diubah. Kode klien iklan AdSense yang ditautkan ke properti Google Analytics. Contoh format: "ca-pub-1234567890"
|
Metode |
|
Membuat AdSenseLink. |
|
Menghapus AdSenseLink. |
|
Mencari satu AdSenseLink. |
|
Mencantumkan AdSenseLinks di properti. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-01-14 UTC.
[null,null,["Terakhir diperbarui pada 2025-01-14 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."]]],["AdSenseLink establishes a connection between a Google Analytics property and an AdSense ad client. Its JSON representation includes a resource `name` and an `adClientCode`. Key actions include creating, deleting, retrieving (get), and listing AdSenseLinks. The `name` field is read-only and uses the format `properties/{propertyId}/adSenseLinks/{linkId}`, while `adClientCode` is immutable and in the format \"ca-pub-1234567890\".\n"]]