8 সেপ্টেম্বর, 2025 থেকে শুরু করে, প্রতিটি নতুন লাইন আইটেমকে ঘোষণা করতে হবে যে তারা ইউরোপিয়ান ইউনিয়ন (EU) রাজনৈতিক বিজ্ঞাপনগুলি পরিবেশন করবে কি না। Display & Video 360 API এবং SDF আপলোডগুলি যেগুলি ঘোষণা প্রদান করে না সেগুলি ব্যর্থ হবে৷ এই ঘোষণাটি করার জন্য কীভাবে আপনার ইন্টিগ্রেশন আপডেট করবেন সে সম্পর্কে আরও বিশদ বিবরণের জন্য আমাদের
অবচয় পৃষ্ঠা দেখুন।
Method: partners.channels.sites.replace
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
HTTP অনুরোধ
POST https://displayvideo.googleapis.com/v4/partners/{partnerId}/channels/{channelId}/sites:replace
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
channelId | string ( int64 format) প্রয়োজন। মূল চ্যানেলের আইডি যার সাইটগুলি প্রতিস্থাপন করা হবে৷ |
ইউনিয়ন প্যারামিটার owner । প্রয়োজন। মূল চ্যানেলের মালিক DV360 সত্তাকে শনাক্ত করে। এটি একটি অংশীদার বা একটি বিজ্ঞাপনদাতা হতে পারে. owner নিম্নলিখিতগুলির মধ্যে একজন হতে পারে: |
partnerId | string ( int64 format) মূল চ্যানেলের মালিক অংশীদারের আইডি। |
শরীরের অনুরোধ
অনুরোধের অংশে নিম্নলিখিত কাঠামো সহ ডেটা রয়েছে:
JSON প্রতিনিধিত্ব |
---|
{
"newSites": [
{
object (Site )
}
],
// Union field owner can be only one of the following:
"advertiserId": string
// End of list of possible types for union field owner .
} |
ক্ষেত্র |
---|
newSites[] | object ( Site ) যে সাইটগুলি চ্যানেলে বরাদ্দ করা বিদ্যমান সাইটগুলিকে প্রতিস্থাপন করবে, Sites একটি তালিকা হিসাবে নির্দিষ্ট করা হয়েছে৷ |
ইউনিয়ন মাঠের owner . প্রয়োজন। মূল চ্যানেলের মালিক DV360 সত্তাকে শনাক্ত করে। এটি একটি অংশীদার বা একটি বিজ্ঞাপনদাতা হতে পারে. owner নিম্নলিখিতগুলির মধ্যে একজন হতে পারে: |
partnerId | string ( int64 format) মূল চ্যানেলের মালিক অংশীদারের আইডি। |
advertiserId | string ( int64 format) মূল চ্যানেলের মালিক বিজ্ঞাপনদাতার আইডি। |
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে ReplaceSitesResponse
এর একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত 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-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],["The Display & Video 360 API v4 beta allows replacing all sites within a channel. This is achieved through a POST request to a specified URL, including the `partnerId` and `channelId`. The request body uses the `ReplaceSitesRequest` structure, containing a list of `newSites` to replace the existing ones and an owner's identifier (`partnerId` or `advertiserId`). Due to high latency, increasing the timeout is recommended. Successful operation returns `ReplaceSitesResponse`. Authorization requires the `display-video` scope.\n"],null,["# Method: partners.channels.sites.replace\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nReplaces all of the sites under a single channel.\n\nThe operation will replace the sites under a channel with the sites provided in [ReplaceSitesRequest.new_sites](/display-video/api/reference/rest/v4/partners.channels.sites/replace#body.request_body.FIELDS.new_sites).\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`POST https://displayvideo.googleapis.com/v4/partners/{partnerId}/channels/{channelId}/sites:replace`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `channelId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the parent channel whose sites will be replaced. |\n| Union parameter `owner`. Required. Identifies the DV360 entity that owns the parent channel. It can be either a partner or an advertiser. `owner` can be only one of the following: ||\n| `partnerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the partner that owns the parent channel. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"newSites\": [ { object (/display-video/api/reference/rest/v4/advertisers.channels.sites#Site) } ], // Union field `owner` can be only one of the following: \"advertiserId\": string // End of list of possible types for union field `owner`. } ``` |\n\n| Fields ||\n|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `newSites[]` | `object (`[Site](/display-video/api/reference/rest/v4/advertisers.channels.sites#Site)`)` The sites that will replace the existing sites assigned to the channel, specified as a list of [Sites](/display-video/api/reference/rest/v4/advertisers.channels.sites#Site). |\n| Union field `owner`. Required. Identifies the DV360 entity that owns the parent channel. It can be either a partner or an advertiser. `owner` can be only one of the following: ||\n| `partnerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the partner that owns the parent channel. |\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the advertiser that owns the parent channel. |\n\n### Response body\n\nIf successful, the response body contains an instance of [ReplaceSitesResponse](/display-video/api/reference/rest/v4/ReplaceSitesResponse).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]