Method: advertisers.delete
ลบผู้ลงโฆษณา การลบผู้ลงโฆษณาจะเป็นการลบทรัพยากรย่อยทั้งหมด เช่น แคมเปญ ใบสั่งซื้อการใส่โฆษณา และรายการโฆษณา ผู้ลงโฆษณาที่ลบไปแล้วจะกู้คืนไม่ได้
คำขอ HTTP
DELETE https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
advertiserId |
string (int64 format)
รหัสของผู้ลงโฆษณาที่เราต้องลบ
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะเป็นออบเจ็กต์ JSON ว่าง
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/display-video
ดูข้อมูลเพิ่มเติมได้ที่ OAuth 2.0 Overview
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-02-25 UTC
[null,null,["อัปเดตล่าสุด 2025-02-25 UTC"],[[["This operation permanently deletes an advertiser and all its associated resources like campaigns, insertion orders, and line items."],["The request requires the advertiser ID and an empty request body, sent as a DELETE request to the specified endpoint."],["Successful deletion results in an empty response body, indicating the advertiser and its resources have been removed."],["Authorization for this action necessitates the `https://www.googleapis.com/auth/display-video` OAuth scope."]]],["This document outlines how to delete an advertiser via an HTTP `DELETE` request to `https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}`. The `advertiserId` is a path parameter representing the advertiser's ID. The request body must be empty. Successful deletion results in an empty JSON object in the response body. Deleting an advertiser permanently removes it and its child resources. Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope.\n"]]