8 सितंबर, 2025 से, हर नए लाइन आइटम को यह बताना होगा कि वह यूरोपियन यूनियन (ईयू) में राजनैतिक विज्ञापन दिखाएगा या नहीं. Display & Video 360 API और एसडीएफ़ अपलोड करने की उन कार्रवाइयों को पूरा नहीं किया जा सकेगा जिनमें एलान नहीं किया गया है. इस बारे में ज़्यादा जानने के लिए कि इंटिग्रेशन को अपडेट करके यह एलान कैसे किया जाए, हमारा
हटाए गए टैग और एट्रिब्यूट का पेज देखें.
Method: advertisers.campaigns.delete
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
कैंपेन को हमेशा के लिए मिटा देता है. मिटाए गए कैंपेन को वापस नहीं लाया जा सकता. कैंपेन को मिटाने के लिए, पहले उसे संग्रहित करना होगा. इसका मतलब है कि entityStatus
को ENTITY_STATUS_ARCHIVED
पर सेट करना होगा.
इस तरीके से, आम तौर पर ज़्यादा इंतज़ार करना पड़ता है. हमारा सुझाव है कि गड़बड़ियों से बचने के लिए, अपने डिफ़ॉल्ट टाइम आउट को बढ़ाएं.
एचटीटीपी अनुरोध
DELETE https://displayvideo.googleapis.com/v4/advertisers/{advertiserId}/campaigns/{campaignId}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
advertiserId |
string (int64 format)
विज्ञापन देने वाले उस व्यक्ति या कंपनी का आईडी जिसका यह कैंपेन है.
|
campaignId |
string (int64 format)
उस कैंपेन का आईडी जिसे मिटाना है.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, तो रिस्पॉन्स बॉडी में खाली JSON ऑब्जेक्ट होता है.
अनुमति के दायरे
इसके लिए, OAuth के इनमें से किसी एक स्कोप की ज़रूरत होती है:
https://www.googleapis.com/auth/display-video
https://www.googleapis.com/auth/display-video-mediaplanning
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# Method: advertisers.campaigns.delete\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\nPermanently deletes a campaign. A deleted campaign cannot be recovered. The campaign should be archived first, i.e. set [entityStatus](/display-video/api/reference/rest/v4/advertisers.campaigns#Campaign.FIELDS.entity_status) to `ENTITY_STATUS_ARCHIVED`, to be able to delete it.\n\n**This method regularly experiences high latency.** We recommend [increasing your default timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) to avoid errors.\n\n### HTTP request\n\n`DELETE https://displayvideo.googleapis.com/v4/advertisers/{advertiserId}/campaigns/{campaignId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------|\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the advertiser this campaign belongs to. |\n| `campaignId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the campaign we need to delete. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/display-video`\n- `https://www.googleapis.com/auth/display-video-mediaplanning`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]