Method: advertisers.lineItems.duplicate
একটি লাইন আইটেম নকল করে। সফল হলে তৈরি লাইন আইটেমের আইডি ফেরত দেয়।
YouTube এবং অংশীদার লাইন আইটেম API ব্যবহার করে তৈরি বা আপডেট করা যাবে না।
এই পদ্ধতিটি নিয়মিত উচ্চ বিলম্বিততার অভিজ্ঞতা দেয়। আমরা ত্রুটি এড়াতে আপনার ডিফল্ট সময়সীমা বাড়ানোর পরামর্শ দিই।
HTTP অনুরোধ
POST https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/lineItems/{lineItemId}:duplicate
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
advertiserId | string ( int64 format) প্রয়োজন। এই লাইন আইটেমটি বিজ্ঞাপনদাতার আইডির। |
lineItemId | string ( int64 format) প্রয়োজন। সদৃশ লাইন আইটেম আইডি. |
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
JSON প্রতিনিধিত্ব |
---|
{
"targetDisplayName": string
} |
ক্ষেত্র |
---|
targetDisplayName | string নতুন লাইন আইটেমের প্রদর্শনের নাম। UTF-8 সর্বাধিক 240 বাইটের আকারের সাথে এনকোড করা আবশ্যক৷ |
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে নিম্নলিখিত কাঠামোর সাথে ডেটা থাকে:
JSON প্রতিনিধিত্ব |
---|
{
"duplicateLineItemId": string
} |
ক্ষেত্র |
---|
duplicateLineItemId | string ( int64 format) তৈরি লাইন আইটেম আইডি. |
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/display-video
আরো তথ্যের জন্য, দেখুনOAuth 2.0 Overview .
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-02-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-02-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Duplicates an existing line item within a specified advertiser, returning the ID of the new line item."],["The API request requires the advertiser ID and the ID of the line item to be duplicated."],["You can specify a display name for the new line item in the request body."],["This method may experience high latency, so increasing your default timeout is recommended."],["YouTube & Partners line items cannot be duplicated using this API."]]],["This content describes how to duplicate a line item via an API, excluding YouTube & Partners line items. The HTTP request uses a `POST` method with `advertiserId` and `lineItemId` as required path parameters. The request body requires a `targetDisplayName` for the new line item. Successful responses return a JSON with a `duplicateLineItemId` field. The API call requires OAuth scope authorization and regularly experiences high latency, recommending increased timeouts.\n"]]