Method: advertisers.creatives.delete
किसी क्रिएटिव को मिटाता है. अगर क्रिएटिव मौजूद नहीं है, तो गड़बड़ी कोड NOT_FOUND
दिखाता है. क्रिएटिव को मिटाने से पहले, उसे संग्रहित करना चाहिए. इसका मतलब है कि entityStatus
को ENTITY_STATUS_ARCHIVED
पर सेट करना चाहिए.
यह अनुरोध करने के लिए, विज्ञापन देने वाले या पार्टनर के पास "स्टैंडर्ड" उपयोगकर्ता की भूमिका या उससे ज़्यादा की भूमिका होनी चाहिए.
एचटीटीपी अनुरोध
DELETE https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/creatives/{creativeId}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
advertiserId |
string (int64 format)
विज्ञापन देने वाले उस व्यक्ति या कंपनी का आईडी जिससे यह क्रिएटिव जुड़ा है.
|
creativeId |
string (int64 format)
मिटाए जाने वाले क्रिएटिव का आईडी.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, तो रिस्पॉन्स बॉडी में खाली JSON ऑब्जेक्ट होता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/display-video
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-02-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-02-25 (UTC) को अपडेट किया गया."],[[["Deletes a specified creative belonging to an advertiser, requiring prior archival of the creative."],["Only users with \"Standard\" role or higher for the parent advertiser or partner can perform this deletion."],["The request utilizes a `DELETE` method with advertiser and creative IDs as path parameters, and an empty request body."],["A successful deletion results in an empty response body, while a non-existent creative triggers a `NOT_FOUND` error."],["Authorization necessitates the `https://www.googleapis.com/auth/display-video` OAuth scope."]]],["This document details the process of deleting a creative within an advertiser's account. Deletion requires a \"Standard\" or greater user role. The creative must first be archived by setting its `entityStatus` to `ENTITY_STATUS_ARCHIVED`. A `DELETE` HTTP request is sent to the specified URL, including `advertiserId` and `creativeId` as path parameters. The request body should be empty. A successful deletion returns an empty JSON object; if the creative doesn't exist, `NOT_FOUND` is returned. The operation requires the `https://www.googleapis.com/auth/display-video` OAuth scope.\n"]]