ลองใช้เซิร์ฟเวอร์ MCP สำหรับ Google Analytics ติดตั้งจาก
GitHub และดูรายละเอียดเพิ่มเติมได้ที่
ประกาศ
Method: properties.displayVideo360AdvertiserLinks.create
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สร้างลิงก์ DisplayVideo360Advertiser ใช้ได้เฉพาะผู้ใช้ที่ได้รับสิทธิ์ที่เหมาะสมทั้งในพร็อพเพอร์ตี้ Google Analytics และผู้ลงโฆษณา Display & Video 360 เท่านั้น ผู้ใช้ที่ไม่มีสิทธิ์เข้าถึงผู้ลงโฆษณา Display & Video 360 ควรสร้าง DisplayVideo360LinkOffer แทน
คำขอ HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ต้องระบุ รูปแบบตัวอย่าง: property/1234
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ DisplayVideo360AdvertiserLink
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ DisplayVideo360AdvertiserLink
ที่สร้างขึ้นใหม่
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/analytics.edit
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eCreates a DisplayVideo360AdvertiserLink, connecting a Google Analytics property and a Display & Video 360 advertiser for authorized users.\u003c/p\u003e\n"],["\u003cp\u003eUsers without access to the Display & Video 360 advertiser should create a DisplayVideo360LinkProposal instead.\u003c/p\u003e\n"],["\u003cp\u003eThe API utilizes an HTTP POST request with specific path parameters and request body to establish the link.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests return a newly created DisplayVideo360AdvertiserLink instance in the response body.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/analytics.edit\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],["This document details how to create a DisplayVideo360AdvertiserLink via a POST request to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks`. The `parent` path parameter is required (e.g., properties/1234). The request body needs a `DisplayVideo360AdvertiserLink` instance, and a successful response will contain the newly created `DisplayVideo360AdvertiserLink`. Proper authorization on both Google Analytics and Display & Video 360 is mandatory, using the `analytics.edit` scope. Users without access should create a `DisplayVideo360LinkProposal` instead.\n"],null,["# Method: properties.displayVideo360AdvertiserLinks.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates a DisplayVideo360AdvertiserLink. This can only be utilized by users who have proper authorization both on the Google Analytics property and on the Display \\& Video 360 advertiser. Users who do not have access to the Display \\& Video 360 advertiser should instead seek to create a DisplayVideo360LinkProposal.\n\n### HTTP request\n\n`POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------|\n| `parent` | `string` Required. Example format: properties/1234 |\n\n### Request body\n\nThe request body contains an instance of [DisplayVideo360AdvertiserLink](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.displayVideo360AdvertiserLinks#DisplayVideo360AdvertiserLink).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [DisplayVideo360AdvertiserLink](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.displayVideo360AdvertiserLinks#DisplayVideo360AdvertiserLink).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/analytics.edit`"]]