8 सितंबर, 2025 से, हर नए लाइन आइटम को यह बताना होगा कि वह यूरोपियन यूनियन (ईयू) में राजनैतिक विज्ञापन दिखाएगा या नहीं. Display & Video 360 API और एसडीएफ़ अपलोड करने की उन कार्रवाइयों को पूरा नहीं किया जा सकेगा जिनमें एलान नहीं किया गया है. इस बारे में ज़्यादा जानने के लिए कि इंटिग्रेशन को अपडेट करके यह एलान कैसे किया जाए, हमारा
हटाए गए टैग और एट्रिब्यूट का पेज देखें.
Method: inventorySources.editInventorySourceReadWriteAccessors
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
किसी इन्वेंट्री सोर्स के रीड/राइट ऐक्सेस करने वाले एलिमेंट में बदलाव करता है. इन्वेंट्री सोर्स के लिए अपडेट किया गया readWriteAccessors
दिखाता है.
एचटीटीपी अनुरोध
POST https://displayvideo.googleapis.com/v4/inventorySources/{inventorySourceId}:editInventorySourceReadWriteAccessors
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
inventorySourceId |
string (int64 format)
ज़रूरी है. अपडेट किए जाने वाले इन्वेंट्री सोर्स का आईडी.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में नीचे दिए गए स्ट्रक्चर वाला डेटा होता है:
JSON के काेड में दिखाना |
{
"partnerId": string,
// Union field accessors_change can be only one of the following:
"assignPartner": boolean,
"advertisersUpdate": {
object (AdvertisersUpdate )
}
// End of list of possible types for union field accessors_change .
} |
फ़ील्ड |
partnerId |
string (int64 format)
ज़रूरी है. वह पार्टनर कॉन्टेक्स्ट जिसकी मदद से ऐक्सेस करने वालों में बदलाव किया जा रहा है.
|
यूनियन फ़ील्ड accessors_change . इन्वेंट्री सोर्स के रीड/राइट ऐक्सेस करने वाले एलिमेंट में बदलाव. accessors_change इनमें से कोई एक हो सकता है: |
assignPartner |
boolean
पार्टनर कॉन्टेक्स्ट को इन्वेंट्री सोर्स के रीड/राइट ऐक्सेस करने वाले के तौर पर सेट करें. इससे, विज्ञापन देने वाले व्यक्ति या कंपनी के सभी मौजूदा रीड/राइट ऐक्सेस हट जाएंगे.
|
advertisersUpdate |
object (AdvertisersUpdate )
विज्ञापन देने वाले उन लोगों या कंपनियों की सूची में जोड़ना या हटाना जिनके पास इन्वेंट्री सोर्स का रीड/राइट ऐक्सेस है. इस बदलाव से, पार्टनर के मौजूदा रीड/राइट ऐक्सेस करने वाले को हटा दिया जाएगा.
|
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में InventorySourceAccessors
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/display-video
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
AdvertisersUpdate
इन्वेंट्री सोर्स के लिए, पढ़ने/लिखने का ऐक्सेस रखने वाले विज्ञापन देने वालों की सूची अपडेट करें.
JSON के काेड में दिखाना |
{
"addedAdvertisers": [
string
],
"removedAdvertisers": [
string
]
} |
फ़ील्ड |
addedAdvertisers[] |
string (int64 format)
विज्ञापन देने वाले.
|
removedAdvertisers[] |
string (int64 format)
विज्ञापन देने वाले जिन लोगों या कंपनियों के विज्ञापन हटाने हैं.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],["The Display & Video 360 API v4 (beta) allows editing read/write accessors for inventory sources via a POST request to a specific URL. The request requires the `inventorySourceId` as a path parameter and a JSON body specifying the `partnerId`. Accessors can be changed by either assigning a partner read/write access or updating specific advertisers' access via `addedAdvertisers` and `removedAdvertisers` fields. The response will provide updated `InventorySourceAccessors` and `OAuth` scope is required.\n"],null,["# Method: inventorySources.editInventorySourceReadWriteAccessors\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- [AdvertisersUpdate](#AdvertisersUpdate)\n - [JSON representation](#AdvertisersUpdate.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nEdits read/write accessors of an inventory source. Returns the updated [readWriteAccessors](/display-video/api/reference/rest/v4/inventorySources#InventorySource.FIELDS.read_write_accessors) for the inventory source.\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v4/inventorySources/{inventorySourceId}:editInventorySourceReadWriteAccessors`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| `inventorySourceId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of inventory source to update. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"partnerId\": string, // Union field `accessors_change` can be only one of the following: \"assignPartner\": boolean, \"advertisersUpdate\": { object (/display-video/api/reference/rest/v4/inventorySources/editInventorySourceReadWriteAccessors#AdvertisersUpdate) } // End of list of possible types for union field `accessors_change`. } ``` |\n\n| Fields ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `partnerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The partner context by which the accessors change is being made. |\n| Union field `accessors_change`. The change to the read/write accessors of the inventory source. `accessors_change` can be only one of the following: ||\n| `assignPartner` | `boolean` Set the partner context as read/write accessor of the inventory source. This will remove all other current read/write advertiser accessors. |\n| `advertisersUpdate` | `object (`[AdvertisersUpdate](/display-video/api/reference/rest/v4/inventorySources/editInventorySourceReadWriteAccessors#AdvertisersUpdate)`)` The advertisers to add or remove from the list of advertisers that have read/write access to the inventory source. This change will remove an existing partner read/write accessor. |\n\n### Response body\n\nIf successful, the response body contains an instance of [InventorySourceAccessors](/display-video/api/reference/rest/v4/inventorySources#InventorySourceAccessors).\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).\n\nAdvertisersUpdate\n-----------------\n\nUpdate to the list of advertisers with read/write access to the inventory source.\n\n| JSON representation |\n|------------------------------------------------------------------------------|\n| ``` { \"addedAdvertisers\": [ string ], \"removedAdvertisers\": [ string ] } ``` |\n\n| Fields ||\n|------------------------|----------------------------------------------------------------------------------------------------------------|\n| `addedAdvertisers[]` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The advertisers to add. |\n| `removedAdvertisers[]` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The advertisers to remove. |"]]