Google Display & Video 360 Inventory Source Groups API
The InventorySourceGroups API from Google Display & Video 360 — 5 operation(s) for inventorysourcegroups.
The InventorySourceGroups API from Google Display & Video 360 — 5 operation(s) for inventorysourcegroups.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/google-display-video-360:google-display-video-360-inventorysourcegroups-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Display & Video 360 Inventory Source Groups API
version: v5
description: Generated from Google's published Discovery document for Display & Video 360 API (displayvideo v5, revision 20261110). 9 operation(s).
contact:
name: Google
url: https://developers.google.com/
termsOfService: https://developers.google.com/terms
servers:
- url: https://displayvideo.googleapis.com
tags:
- name: InventorySourceGroups
paths:
/v5/inventorySourceGroups/{inventorySourceGroupId}:
patch:
operationId: displayvideo.inventorySourceGroups.patch
summary: Patch inventorySourceGroups
description: Updates an inventory source group. Returns the updated inventory source group if successful.
parameters:
- name: inventorySourceGroupId
in: path
required: true
description: Output only. The unique ID of the inventory source group. Assigned by the system.
schema:
format: int64
type: string
- name: advertiserId
in: query
required: false
description: The ID of the advertiser that owns the inventory source group. The parent partner does not have access to this group.
schema:
format: int64
type: string
- name: partnerId
in: query
required: false
description: The ID of the partner that owns the inventory source group. Only this partner has write access to this group.
schema:
format: int64
type: string
- name: updateMask
in: query
required: false
description: Required. The mask to control which fields to update.
schema:
format: google-fieldmask
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InventorySourceGroup'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/InventorySourceGroup'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/display-video
- apiKey: []
tags:
- InventorySourceGroups
delete:
operationId: displayvideo.inventorySourceGroups.delete
summary: Delete inventorySourceGroups
description: Deletes an inventory source group.
parameters:
- name: inventorySourceGroupId
in: path
required: true
description: Resource name segment (inventorySourceGroupsId).
schema:
type: string
- name: advertiserId
in: query
required: false
description: The ID of the advertiser that owns the inventory source group. The parent partner does not have access to this group.
schema:
type: string
format: int64
- name: partnerId
in: query
required: false
description: The ID of the partner that owns the inventory source group. Only this partner has write access to this group.
schema:
type: string
format: int64
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Empty'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/display-video
- apiKey: []
tags:
- InventorySourceGroups
get:
operationId: displayvideo.inventorySourceGroups.get
summary: Get inventorySourceGroups
description: Gets an inventory source group.
parameters:
- name: inventorySourceGroupId
in: path
required: true
description: Resource name segment (inventorySourceGroupsId).
schema:
type: string
- name: advertiserId
in: query
required: false
description: The ID of the advertiser that has access to the inventory source group. If an inventory source group is partner-owned, only advertisers to which the group is explicitly shared can access the group.
schema:
format: int64
type: string
- name: partnerId
in: query
required: false
description: The ID of the partner that has access to the inventory source group. A partner cannot access an advertiser-owned inventory source group.
schema:
type: string
format: int64
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/InventorySourceGroup'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/display-video
- apiKey: []
tags:
- InventorySourceGroups
/v5/inventorySourceGroups:
post:
operationId: displayvideo.inventorySourceGroups.create
summary: Create inventorySourceGroups
description: Creates a new inventory source group. Returns the newly created inventory source group if successful.
parameters:
- name: advertiserId
in: query
required: false
description: The ID of the advertiser that owns the inventory source group. The parent partner will not have access to this group.
schema:
format: int64
type: string
- name: partnerId
in: query
required: false
description: The ID of the partner that owns the inventory source group. Only this partner will have write access to this group. Only advertisers to which this group is explicitly shared will have read access to this group.
schema:
type: string
format: int64
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InventorySourceGroup'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/InventorySourceGroup'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/display-video
- apiKey: []
tags:
- InventorySourceGroups
get:
operationId: displayvideo.inventorySourceGroups.list
summary: List inventorySourceGroups
description: Lists inventory source groups that are accessible to the current user. The order is defined by the order_by parameter.
parameters:
- name: advertiserId
in: query
required: false
description: The ID of the advertiser that has access to the inventory source group. If an inventory source group is partner-owned, only advertisers to which the group is explicitly shared can access the group.
schema:
type: string
format: int64
- name: filter
in: query
required: false
description: 'Allows filtering by inventory source group fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the logical operator `OR`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `inventorySourceGroupId` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.'
schema:
type: string
- name: orderBy
in: query
required: false
description: 'Field by which to sort the list. Acceptable values are: * `displayName` (default) * `inventorySourceGroupId` The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. For example, `displayName desc`.'
schema:
type: string
- name: pageSize
in: query
required: false
description: Requested page size. Must be between `1` and `200`. If unspecified will default to `100`.
schema:
type: integer
format: int32
- name: pageToken
in: query
required: false
description: A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListInventorySources` method. If not specified, the first page of results will be returned.
schema:
type: string
- name: partnerId
in: query
required: false
description: The ID of the partner that has access to the inventory source group. A partner cannot access advertiser-owned inventory source groups.
schema:
format: int64
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/ListInventorySourceGroupsResponse'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/display-video
- apiKey: []
tags:
- InventorySourceGroups
/v5/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources:bulkEdit:
post:
operationId: displayvideo.inventorySourceGroups.assignedInventorySources.bulkEdit
summary: Bulk edit assignedInventorySources
description: Bulk edits multiple assignments between inventory sources and a single inventory source group. The operation will delete the assigned inventory sources provided in BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources and then create the assigned inventory sources provided in BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources.
parameters:
- name: inventorySourceGroupsId
in: path
required: true
description: Resource name segment (inventorySourceGroupsId).
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/BulkEditAssignedInventorySourcesRequest'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/BulkEditAssignedInventorySourcesResponse'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/display-video
- apiKey: []
tags:
- InventorySourceGroups
/v5/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources:
post:
operationId: displayvideo.inventorySourceGroups.assignedInventorySources.create
summary: Create assignedInventorySources
description: Creates an assignment between an inventory source and an inventory source group.
parameters:
- name: inventorySourceGroupsId
in: path
required: true
description: Resource name segment (inventorySourceGroupsId).
schema:
type: string
- name: advertiserId
in: query
required: false
description: The ID of the advertiser that owns the parent inventory source group. The parent partner will not have access to this assigned inventory source.
schema:
format: int64
type: string
- name: partnerId
in: query
required: false
description: The ID of the partner that owns the parent inventory source group. Only this partner will have write access to this assigned inventory source.
schema:
format: int64
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AssignedInventorySource'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/AssignedInventorySource'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/display-video
- apiKey: []
tags:
- InventorySourceGroups
get:
operationId: displayvideo.inventorySourceGroups.assignedInventorySources.list
summary: List assignedInventorySources
description: Lists inventory sources assigned to an inventory source group.
parameters:
- name: inventorySourceGroupsId
in: path
required: true
description: Resource name segment (inventorySourceGroupsId).
schema:
type: string
- name: advertiserId
in: query
required: false
description: The ID of the advertiser that has access to the assignment. If the parent inventory source group is partner-owned, only advertisers to which the parent group is explicitly shared can access the assigned inventory source.
schema:
type: string
format: int64
- name: filter
in: query
required: false
description: 'Allows filtering by assigned inventory source fields. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by the `OR` logical operator. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `assignedInventorySourceId` The length of this field should be no more than 500 characters. Reference our [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide for more information.'
schema:
type: string
- name: orderBy
in: query
required: false
description: 'Field by which to sort the list. Acceptable values are: * `assignedInventorySourceId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be added to the field name. Example: `assignedInventorySourceId desc`.'
schema:
type: string
- name: pageSize
in: query
required: false
description: Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
schema:
format: int32
type: integer
- name: pageToken
in: query
required: false
description: A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListAssignedInventorySources` method. If not specified, the first page of results will be returned.
schema:
type: string
- name: partnerId
in: query
required: false
description: The ID of the partner that has access to the assignment. If the parent inventory source group is advertiser-owned, the assignment cannot be accessed via a partner.
schema:
type: string
format: int64
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/ListAssignedInventorySourcesResponse'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/display-video
- apiKey: []
tags:
- InventorySourceGroups
/v5/inventorySourceGroups/{inventorySourceGroupsId}/assignedInventorySources/{assignedInventorySourcesId}:
delete:
operationId: displayvideo.inventorySourceGroups.assignedInventorySources.delete
summary: Delete assignedInventorySources
description: Deletes the assignment between an inventory source and an inventory source group.
parameters:
- name: inventorySourceGroupsId
in: path
required: true
description: Resource name segment (inventorySourceGroupsId).
schema:
type: string
- name: assignedInventorySourcesId
in: path
required: true
description: Resource name segment (assignedInventorySourcesId).
schema:
type: string
- name: advertiserId
in: query
required: false
description: The ID of the advertiser that owns the parent inventory source group. The parent partner does not have access to this assigned inventory source.
schema:
type: string
format: int64
- name: partnerId
in: query
required: false
description: The ID of the partner that owns the parent inventory source group. Only this partner has write access to this assigned inventory source.
schema:
type: string
format: int64
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Empty'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/display-video
- apiKey: []
tags:
- InventorySourceGroups
components:
schemas:
InventorySourceGroup:
description: A collection of targetable inventory sources.
type: object
properties:
name:
type: string
description: Output only. The resource name of the inventory source group.
readOnly: true
displayName:
description: Required. The display name of the inventory source group. Must be UTF-8 encoded with a maximum size of 240 bytes.
type: string
inventorySourceGroupId:
readOnly: true
format: int64
type: string
description: Output only. The unique ID of the inventory source group. Assigned by the system.
BulkEditAssignedInventorySourcesResponse:
properties:
assignedInventorySources:
items:
$ref: '#/components/schemas/AssignedInventorySource'
type: array
description: The list of assigned inventory sources that have been successfully created. This list will be absent if empty.
type: object
description: Response message for AssignedInventorySourceService.BulkEdit.
GoogleRpcError:
type: object
description: The error envelope every Google API returns.
properties:
error:
type: object
properties:
code:
type: integer
message:
type: string
status:
type: string
details:
type: array
items:
type: object
Empty:
description: 'A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }'
properties: {}
type: object
AssignedInventorySource:
type: object
properties:
name:
type: string
readOnly: true
description: Output only. The resource name of the assigned inventory source.
inventorySourceId:
type: string
description: Required. The ID of the inventory source entity being targeted.
assignedInventorySourceId:
description: Output only. The unique ID of the assigned inventory source. The ID is only unique within a given inventory source group. It may be reused in other contexts.
format: int64
readOnly: true
type: string
description: An assignment between a targetable inventory source and an inventory source group.
BulkEditAssignedInventorySourcesRequest:
properties:
deletedAssignedInventorySources:
items:
format: int64
type: string
type: array
description: The IDs of the assigned inventory sources to delete in bulk, specified as a list of assigned_inventory_source_ids.
createdAssignedInventorySources:
description: The assigned inventory sources to create in bulk, specified as a list of AssignedInventorySources.
type: array
items:
$ref: '#/components/schemas/AssignedInventorySource'
advertiserId:
description: The ID of the advertiser that owns the parent inventory source group. The parent partner does not have access to these assigned inventory sources.
type: string
format: int64
partnerId:
description: The ID of the partner that owns the inventory source group. Only this partner has write access to these assigned inventory sources.
type: string
format: int64
description: Request message for AssignedInventorySourceService.BulkEdit.
type: object
ListAssignedInventorySourcesResponse:
type: object
properties:
nextPageToken:
type: string
description: A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListAssignedInventorySources` method to retrieve the next page of results.
assignedInventorySources:
items:
$ref: '#/components/schemas/AssignedInventorySource'
description: The list of assigned inventory sources. This list will be absent if empty.
type: array
description: Response message for AssignedInventorySourceService.ListAssignedInventorySources.
ListInventorySourceGroupsResponse:
properties:
nextPageToken:
description: A token to retrieve the next page of results. Pass this value in the page_token field in the subsequent call to `ListInventorySourceGroups` method to retrieve the next page of results.
type: string
inventorySourceGroups:
type: array
description: The list of inventory source groups. This list will be absent if empty.
items:
$ref: '#/components/schemas/InventorySourceGroup'
description: Response message for InventorySourceGroupService.ListInventorySourceGroups.
type: object
securitySchemes:
apiKey:
type: apiKey
in: query
name: key
description: API key; accepted by methods that do not need user data.
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://accounts.google.com/o/oauth2/auth
tokenUrl: https://oauth2.googleapis.com/token
scopes:
https://www.googleapis.com/auth/doubleclickbidmanager: View and manage your reports in DoubleClick Bid Manager
https://www.googleapis.com/auth/display-video-user-management: 'Private Service: https://www.googleapis.com/auth/display-video-user-management'
https://www.googleapis.com/auth/display-video: Create, see, edit, and permanently delete your Display & Video 360 entities and reports
https://www.googleapis.com/auth/display-video-mediaplanning: Create, see, and edit Display & Video 360 Campaign entities and see billing invoices
externalDocs:
url: https://developers.google.com/display-video/
x-provenance:
method: harvested
publisher: Google
source: https://displayvideo.googleapis.com/$discovery/rest?version=v5
note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261110)