A partire dall'
8 settembre 2025, ogni nuovo elemento pubblicitario dovrà dichiarare se pubblicherà o meno annunci politici dell'Unione Europea (UE). I caricamenti di API Display & Video 360 e SDF che non forniscono dichiarazioni non andranno a buon fine. Consulta la nostra
pagina dei ritiri per ulteriori dettagli su come aggiornare l'integrazione per effettuare questa dichiarazione.
Method: inventorySourceGroups.assignedInventorySources.bulkEdit
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Richiesta HTTP
POST https://displayvideo.googleapis.com/v4/inventorySourceGroups/{inventorySourceGroupId}/assignedInventorySources:bulkEdit
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
inventorySourceGroupId |
string (int64 format)
Obbligatorio. L'ID del gruppo di origini dell'inventario a cui sono assegnate le assegnazioni.
|
Corpo della richiesta
Il corpo della richiesta contiene dati con la seguente struttura:
Rappresentazione JSON |
{
"deletedAssignedInventorySources": [
string
],
"createdAssignedInventorySources": [
{
object (AssignedInventorySource )
}
],
// Union field owner can be only one of the following:
"partnerId": string,
"advertiserId": string
// End of list of possible types for union field owner .
} |
Campi |
deletedAssignedInventorySources[] |
string (int64 format)
Gli ID delle origini inventario assegnate da eliminare collettivamente, specificati come elenco di assigned_inventory_source_ids .
|
createdAssignedInventorySources[] |
object (AssignedInventorySource )
Le origini dell'inventario assegnate da creare collettivamente, specificate come elenco di AssignedInventorySources .
|
Campo unione owner . Obbligatorio. Identifica l'entità DV360 proprietaria del gruppo di origini dell'inventario principale. Può essere un partner o un inserzionista. owner può essere solo uno dei seguenti: |
partnerId |
string (int64 format)
L'ID del partner proprietario del gruppo di origini dell'inventario. Solo questo partner ha accesso in scrittura a queste origini inventario assegnate.
|
advertiserId |
string (int64 format)
L'ID dell'inserzionista proprietario del gruppo di origini dell'inventario principale. Il partner principale non ha accesso a queste origini dell'inventario assegnate.
|
Corpo della risposta
Messaggio di risposta per AssignedInventorySourceService.BulkEdit.
In caso di esito positivo, il corpo della risposta contiene dati con la seguente struttura:
Campi |
assignedInventorySources[] |
object (AssignedInventorySource )
L'elenco delle origini dell'inventario assegnate che sono state create correttamente. Questo elenco non sarà presente se è vuoto.
|
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/display-video
Per ulteriori informazioni, consulta la sezione OAuth 2.0 Overview.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[],[],null,["# Method: inventorySourceGroups.assignedInventorySources.bulkEdit\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 - [JSON representation](#body.BulkEditAssignedInventorySourcesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nBulk edits multiple assignments between inventory sources and a single inventory source group.\n\nThe operation will delete the assigned inventory sources provided in [BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources](/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources/bulkEdit#body.request_body.FIELDS.deleted_assigned_inventory_sources) and then create the assigned inventory sources provided in [BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources](/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources/bulkEdit#body.request_body.FIELDS.created_assigned_inventory_sources).\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v4/inventorySourceGroups/{inventorySourceGroupId}/assignedInventorySources:bulkEdit`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `inventorySourceGroupId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the inventory source group to which the assignments are assigned. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"deletedAssignedInventorySources\": [ string ], \"createdAssignedInventorySources\": [ { object (/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources#AssignedInventorySource) } ], // Union field `owner` can be only one of the following: \"partnerId\": string, \"advertiserId\": string // End of list of possible types for union field `owner`. } ``` |\n\n| Fields ||\n|-------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `deletedAssignedInventorySources[]` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The IDs of the assigned inventory sources to delete in bulk, specified as a list of [assigned_inventory_source_ids](/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources#AssignedInventorySource.FIELDS.assigned_inventory_source_id). |\n| `createdAssignedInventorySources[]` | `object (`[AssignedInventorySource](/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources#AssignedInventorySource)`)` The assigned inventory sources to create in bulk, specified as a list of [AssignedInventorySources](/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources#AssignedInventorySource). |\n| Union field `owner`. Required. Identifies the DV360 entity that owns the parent inventory source group. 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 inventory source group. Only this partner has write access to these assigned inventory sources. |\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the advertiser that owns the parent inventory source group. The parent partner does not have access to these assigned inventory sources. |\n\n### Response body\n\nResponse message for AssignedInventorySourceService.BulkEdit.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"assignedInventorySources\": [ { object (/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources#AssignedInventorySource) } ] } ``` |\n\n| Fields ||\n|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `assignedInventorySources[]` | `object (`[AssignedInventorySource](/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources#AssignedInventorySource)`)` The list of assigned inventory sources that have been successfully created. This list will be absent if empty. |\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)."]]