एक पंक्ति आइटम को डुप्लीकेट करता है. बनाए गए लाइन आइटम का आईडी काम करने पर दिखाता है.
एपीआई का इस्तेमाल करके, YouTube और पार्टनर लाइन आइटम नहीं बनाए जा सकते या अपडेट नहीं किए जा सकते.
इस तरीके से, लाइव स्ट्रीमिंग करने और उसके दिखने के बीच इंतज़ार का समय नियमित तौर पर ज़्यादा होता है. गड़बड़ियों से बचने के लिए हम अपना डिफ़ॉल्ट टाइम आउट बढ़ाने का सुझाव देते हैं.
एचटीटीपी अनुरोध
POST https://displayvideo.googleapis.com/v2/advertisers/{advertiserId}/lineItems/{lineItemId}:duplicate
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-09-12 (UTC) को अपडेट किया गया."],[[["Display & Video 360 API v2 is sunset and this documentation details how to duplicate a line item using the API."],["This method duplicates an existing line item within a specified advertiser, returning the new line item's ID."],["YouTube & Partners line items are excluded and cannot be duplicated using this API."],["Due to potential latency, increasing your default timeout is recommended to avoid errors."],["Proper authorization with the `https://www.googleapis.com/auth/display-video` scope is required."]]],["The Display & Video 360 API v2 has ended. To duplicate a line item, use a POST request to the specified URL, providing the `advertiserId` and `lineItemId` as path parameters. The request body requires a `targetDisplayName` for the new line item. A successful response returns a `duplicateLineItemId`. Note that YouTube & Partners line items can't be managed via the API, and high latency is expected. An increased default timeout is advised. The necessary authorization scope is `https://www.googleapis.com/auth/display-video`.\n"]]