Необходимый. Идентификатор источника инвентаря, который требуется обновить.
Тело запроса
Тело запроса содержит данные следующей структуры:
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.}
Необходимый. Создается партнерский контекст, посредством которого изменяются средства доступа.
Поле объединения accessors_change . Изменение средств доступа чтения/записи источника инвентаря. accessors_change может быть только одним из следующих:
assignPartner
boolean
Установите контекст партнера как средство доступа для чтения и записи источника инвентаря. При этом будут удалены все остальные текущие средства доступа рекламодателя для чтения и записи.
Рекламодатели, которых нужно добавить или удалить из списка рекламодателей, имеющих доступ на чтение и запись к источнику инвентаря. Это изменение приведет к удалению существующего партнерского средства доступа для чтения и записи.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-02-25 UTC."],[[["Edits the read/write accessors of an inventory source, returning the updated accessors."],["Sends a POST request to `https://displayvideo.googleapis.com/v3/inventorySources/{inventorySourceId}:editInventorySourceReadWriteAccessors`."],["Requires specifying the `inventorySourceId` in the path parameters and details about access changes in the request body."],["Utilizes OAuth scope `https://www.googleapis.com/auth/display-video` for authorization."],["Returns an `InventorySourceAccessors` object upon successful completion."]]],["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"]]