Ab dem 8. September 2025 muss für jede neue Werbebuchung angegeben werden, ob Werbung mit politischen Inhalten in der Europäischen Union (EU) ausgeliefert wird. Display & Video 360 API- und SDF-Uploads ohne entsprechende Erklärungen schlagen fehl. Weitere Informationen dazu, wie Sie Ihre Integration aktualisieren, um diese Erklärung abzugeben, finden Sie auf unserer Seite zur Einstellung.
Erforderlich. Die ID der zu aktualisierenden Inventarquelle.
Anfragetext
Der Anfragetext enthält Daten mit folgender Struktur:
JSON-Darstellung
{"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.}
Erforderlich. Der Partnerkontext, über den die Zugriffsfunktionen geändert werden.
Union-Feld accessors_change. Die Änderung an den Lese- und Schreibzugriffen der Inventarquelle. Für accessors_change ist nur einer der folgenden Werte zulässig:
assignPartner
boolean
Legen Sie den Partnerkontext als Lese-/Schreibzugriff auf die Inventarquelle fest. Dadurch werden alle anderen Werbetreibenden mit Lese- und Schreibzugriff entfernt.
Die Werbetreibenden, die zur Liste der Werbetreibenden mit Lese-/Schreibzugriff auf die Inventarquelle hinzugefügt oder daraus entfernt werden sollen. Durch diese Änderung wird der Lese-/Schreibzugriff eines Partners entfernt.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von InventorySourceAccessors.
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["\u003cp\u003eEdits the read/write accessors of an inventory source within Display & Video 360.\u003c/p\u003e\n"],["\u003cp\u003eAllows assigning partner context or specific advertisers as read/write accessors.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eReturns the updated read/write accessors for the inventory source upon successful execution.\u003c/p\u003e\n"]]],[],null,["# Method: inventorySources.editInventorySourceReadWriteAccessors\n\n| Display \\& Video 360 API v1 has been sunset.\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/v1/inventorySources#InventorySource.FIELDS.read_write_accessors) for the inventory source.\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v1/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/v1/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/v1/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/v1/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](https://developers.google.com/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. |"]]