REST Resource: properties.adSenseLinks
แหล่งข้อมูล: AdSenseLink
ลิงก์ระหว่างพร็อพเพอร์ตี้ Google Analytics กับไคลเอ็นต์โฆษณา AdSense สําหรับเนื้อหา
การแสดง JSON |
{
"name": string,
"adClientCode": string
} |
ช่อง |
name |
string
เอาต์พุตเท่านั้น ชื่อทรัพยากรสําหรับทรัพยากรลิงก์ AdSense นี้ รูปแบบ: properties/{propertyId}/adSenseLinks/{linkId} ตัวอย่างเช่น properties/1234/adSenseLinks/6789
|
adClientCode |
string
เปลี่ยนแปลงไม่ได้ รหัสลูกค้าโฆษณา AdSense ที่ลิงก์กับพร็อพเพอร์ตี้ Google Analytics รูปแบบตัวอย่าง: "ca-pub-1234567890"
|
เมธอด |
|
สร้าง AdSenseLink |
|
ลบ AdSenseLink |
|
ค้นหา AdSenseLink รายการเดียว |
|
แสดง AdSenseLinks ในพร็อพเพอร์ตี้ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-01-14 UTC
[null,null,["อัปเดตล่าสุด 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"]]