Method: properties.adSenseLinks.get
ค้นหา AdSenseLink รายการเดียว
คำขอ HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/adSenseLinks/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ตัวระบุที่ไม่ซ้ำกันสำหรับการลิงก์ AdSense ที่ขอ รูปแบบ: property/{propertyId}/adSenseLinks/{linkId} ตัวอย่าง: property/1234/adSenseLinks/5678
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ AdSenseLink
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth อย่างใดอย่างหนึ่งต่อไปนี้
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-05-06 UTC
[null,null,["อัปเดตล่าสุด 2024-05-06 UTC"],[[["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."]]],["The core content describes how to retrieve a single AdSenseLink via an HTTP GET request. The request URL requires a unique identifier (`name`) in the format `properties/*/adSenseLinks/*`. The request body must be empty. A successful response returns an `AdSenseLink` instance. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes. The documentation includes information regarding the URL parameters, gRPC Transcoding, and an action to try this out.\n"]]