2025년 9월 8일부터 모든 새 광고 항목은 유럽연합 (EU) 정치 광고를 게재할지 여부를 선언해야 합니다. 선언을 제공하지 않는 Display & Video 360 API 및 SDF 업로드는 실패합니다. 통합을 업데이트하여 이 선언을 하는 방법에 대한 자세한 내용은
지원 중단 페이지를 참고하세요.
Method: inventorySources.editInventorySourceReadWriteAccessors
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
HTTP 요청
POST https://displayvideo.googleapis.com/v3/inventorySources/{inventorySourceId}:editInventorySourceReadWriteAccessors
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
inventorySourceId |
string (int64 format)
필수 항목입니다. 업데이트할 인벤토리 소스의 ID입니다.
|
요청 본문
요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.
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 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eEdits the read/write accessors of an inventory source, returning the updated accessors.\u003c/p\u003e\n"],["\u003cp\u003eSends a POST request to \u003ccode\u003ehttps://displayvideo.googleapis.com/v3/inventorySources/{inventorySourceId}:editInventorySourceReadWriteAccessors\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the \u003ccode\u003einventorySourceId\u003c/code\u003e in the path parameters and details about access changes in the request body.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e for authorization.\u003c/p\u003e\n"],["\u003cp\u003eReturns an \u003ccode\u003eInventorySourceAccessors\u003c/code\u003e object upon successful completion.\u003c/p\u003e\n"]]],["This API endpoint edits read/write accessors of an inventory source via a POST request. It requires an `inventorySourceId` path parameter. The request body must specify a `partnerId` and one of two access changes. These include setting a partner as the sole accessor (`assignPartner`) or updating advertiser access lists (`advertisersUpdate`), adding/removing advertisers via their IDs. Successful operations return the updated inventory source accessors. Access requires the `https://www.googleapis.com/auth/display-video` OAuth scope.\n"],null,["# Method: inventorySources.editInventorySourceReadWriteAccessors\n\n| Display \\& Video 360 API is deprecated and will sunset on **October 7, 2025** . Migrate to [Display \\& Video 360 API v4](/display-video/api/reference/rest/v4) before sunset to avoid an interruption in service.\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/v3/inventorySources#InventorySource.FIELDS.read_write_accessors) for the inventory source.\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v3/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/v3/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/v3/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/v3/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. |"]]