Google Display & Video 360 Guaranteed Orders API

The GuaranteedOrders API from Google Display & Video 360 — 3 operation(s) for guaranteedorders.

GitHub OpenAPI

Operations 5

POST /v5/guaranteedOrders Create guaranteedOrders #
GET /v5/guaranteedOrders List guaranteedOrders #
PATCH /v5/guaranteedOrders/{guaranteedOrdersId} Patch guaranteedOrders #
GET /v5/guaranteedOrders/{guaranteedOrdersId} Get guaranteedOrders #
POST /v5/guaranteedOrders/{guaranteedOrdersId}:editGuaranteedOrderReadAccessors Edit guaranteed order read accessors guaranteedOrders #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-display-video-360:google-display-video-360-guaranteedorders-api"
All apis
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.

Get an API 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 Specification

google-display-video-360-guaranteedorders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Display & Video 360 Guaranteed Orders API
  version: v5
  description: Generated from Google's published Discovery document for Display & Video 360 API (displayvideo v5, revision 20261110). 5 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://displayvideo.googleapis.com
tags:
- name: GuaranteedOrders
paths:
  /v5/guaranteedOrders:
    post:
      operationId: displayvideo.guaranteedOrders.create
      summary: Create guaranteedOrders
      description: Creates a new guaranteed order. Returns the newly created guaranteed order if successful.
      parameters:
      - name: advertiserId
        in: query
        required: false
        description: The ID of the advertiser that the request is being made within.
        schema:
          type: string
          format: int64
      - name: partnerId
        in: query
        required: false
        description: The ID of the partner that the request is being made within.
        schema:
          format: int64
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GuaranteedOrder'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GuaranteedOrder'
        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:
      - GuaranteedOrders
    get:
      operationId: displayvideo.guaranteedOrders.list
      summary: List guaranteedOrders
      description: Lists guaranteed orders that are accessible to the current user. The order is defined by the order_by parameter. If a filter by entity_status is not specified, guaranteed orders with entity status `ENTITY_STATUS_ARCHIVED` will not be included in the results.
      parameters:
      - name: advertiserId
        in: query
        required: false
        description: The ID of the advertiser that has access to the guaranteed order.
        schema:
          type: string
          format: int64
      - name: filter
        in: query
        required: false
        description: 'Allows filtering by guaranteed order fields. * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` operator. Supported fields: * `guaranteed_order_id` * `exchange` * `display_name` * `status.entityStatus` Examples: * All active guaranteed orders: `status.entityStatus="ENTITY_STATUS_ACTIVE"` * Guaranteed orders belonging to Google Ad Manager or Rubicon exchanges: `exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="EXCHANGE_RUBICON"` 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) 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 `ListGuaranteedOrders` 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 guaranteed order.
        schema:
          type: string
          format: int64
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListGuaranteedOrdersResponse'
        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:
      - GuaranteedOrders
  /v5/guaranteedOrders/{guaranteedOrdersId}:
    patch:
      operationId: displayvideo.guaranteedOrders.patch
      summary: Patch guaranteedOrders
      description: Updates an existing guaranteed order. Returns the updated guaranteed order if successful.
      parameters:
      - name: guaranteedOrdersId
        in: path
        required: true
        description: Resource name segment (guaranteedOrdersId).
        schema:
          type: string
      - name: advertiserId
        in: query
        required: false
        description: The ID of the advertiser that the request is being made within.
        schema:
          format: int64
          type: string
      - name: partnerId
        in: query
        required: false
        description: The ID of the partner that the request is being made within.
        schema:
          type: string
          format: int64
      - 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/GuaranteedOrder'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GuaranteedOrder'
        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:
      - GuaranteedOrders
    get:
      operationId: displayvideo.guaranteedOrders.get
      summary: Get guaranteedOrders
      description: Gets a guaranteed order.
      parameters:
      - name: guaranteedOrdersId
        in: path
        required: true
        description: Resource name segment (guaranteedOrdersId).
        schema:
          type: string
      - name: advertiserId
        in: query
        required: false
        description: The ID of the advertiser that has access to the guaranteed order.
        schema:
          format: int64
          type: string
      - name: partnerId
        in: query
        required: false
        description: The ID of the partner that has access to the guaranteed order.
        schema:
          type: string
          format: int64
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GuaranteedOrder'
        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:
      - GuaranteedOrders
  /v5/guaranteedOrders/{guaranteedOrdersId}:editGuaranteedOrderReadAccessors:
    post:
      operationId: displayvideo.guaranteedOrders.editGuaranteedOrderReadAccessors
      summary: Edit guaranteed order read accessors guaranteedOrders
      description: Edits read advertisers of a guaranteed order.
      parameters:
      - name: guaranteedOrdersId
        in: path
        required: true
        description: Resource name segment (guaranteedOrdersId).
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EditGuaranteedOrderReadAccessorsRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EditGuaranteedOrderReadAccessorsResponse'
        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:
      - GuaranteedOrders
components:
  schemas:
    ListGuaranteedOrdersResponse:
      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 `ListGuaranteedOrders` method to retrieve the next page of results.
        guaranteedOrders:
          description: The list of guaranteed orders. This list will be absent if empty.
          items:
            $ref: '#/components/schemas/GuaranteedOrder'
          type: array
    EditGuaranteedOrderReadAccessorsRequest:
      description: Request message for GuaranteedOrderService.EditGuaranteedOrderReadAccessors.
      properties:
        removedAdvertisers:
          items:
            type: string
            format: int64
          description: The advertisers to remove as read accessors to the guaranteed order.
          type: array
        partnerId:
          description: Required. The partner context in which the change is being made.
          type: string
          format: int64
        readAccessInherited:
          description: Whether to give all advertisers of the read/write accessor partner read access to the guaranteed order. Only applicable if read_write_partner_id is set in the guaranteed order.
          type: boolean
        addedAdvertisers:
          description: The advertisers to add as read accessors to the guaranteed order.
          type: array
          items:
            type: string
            format: int64
      type: object
    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
    EditGuaranteedOrderReadAccessorsResponse:
      type: object
      properties:
        readAccessInherited:
          description: Whether all advertisers of read_write_partner_id have read access to the guaranteed order.
          type: boolean
        readAdvertiserIds:
          description: The IDs of advertisers with read access to the guaranteed order.
          type: array
          items:
            format: int64
            type: string
    GuaranteedOrderStatus:
      type: object
      properties:
        entityStatus:
          description: Whether or not the guaranteed order is servable. Acceptable values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`. Default value is `ENTITY_STATUS_ACTIVE`.
          enum:
          - ENTITY_STATUS_UNSPECIFIED
          - ENTITY_STATUS_ACTIVE
          - ENTITY_STATUS_ARCHIVED
          - ENTITY_STATUS_DRAFT
          - ENTITY_STATUS_PAUSED
          - ENTITY_STATUS_SCHEDULED_FOR_DELETION
          type: string
        configStatus:
          description: Output only. The configuration status of the guaranteed order. Acceptable values are `PENDING` and `COMPLETED`. A guaranteed order must be configured (fill in the required fields, choose creatives, and select a default campaign) before it can serve. Currently the configuration action can only be performed via UI.
          readOnly: true
          enum:
          - GUARANTEED_ORDER_CONFIG_STATUS_UNSPECIFIED
          - PENDING
          - COMPLETED
          type: string
        entityPauseReason:
          description: The user-provided reason for pausing this guaranteed order. Must be UTF-8 encoded with a maximum length of 100 bytes. Only applicable when entity_status is set to `ENTITY_STATUS_PAUSED`.
          type: string
      description: The status settings of the guaranteed order.
    GuaranteedOrder:
      properties:
        defaultAdvertiserId:
          format: int64
          description: Output only. The ID of default advertiser of the guaranteed order. The default advertiser is either the read_write_advertiser_id or, if that is not set, the first advertiser listed in read_advertiser_ids. Otherwise, there is no default advertiser.
          type: string
          readOnly: true
        publisherName:
          type: string
          description: Required. The publisher name of the guaranteed order. Must be UTF-8 encoded with a maximum size of 240 bytes.
        readAdvertiserIds:
          description: The IDs of advertisers with read access to the guaranteed order. This field must not include the advertiser assigned to read_write_advertiser_id if it is set. All advertisers in this field must belong to read_write_partner_id or the same partner as read_write_advertiser_id.
          items:
            format: int64
            type: string
          type: array
        guaranteedOrderId:
          readOnly: true
          description: Output only. The unique identifier of the guaranteed order. The guaranteed order IDs have the format `{exchange}-{legacy_guaranteed_order_id}`.
          type: string
        status:
          $ref: '#/components/schemas/GuaranteedOrderStatus'
          description: The status settings of the guaranteed order.
        exchange:
          enum:
          - EXCHANGE_UNSPECIFIED
          - EXCHANGE_GOOGLE_AD_MANAGER
          - EXCHANGE_APPNEXUS
          - EXCHANGE_BRIGHTROLL
          - EXCHANGE_ADFORM
          - EXCHANGE_ADMETA
          - EXCHANGE_ADMIXER
          - EXCHANGE_ADSMOGO
          - EXCHANGE_ADSWIZZ
          - EXCHANGE_BIDSWITCH
          - EXCHANGE_BRIGHTROLL_DISPLAY
          - EXCHANGE_CADREON
          - EXCHANGE_DAILYMOTION
          - EXCHANGE_FIVE
          - EXCHANGE_FLUCT
          - EXCHANGE_FREEWHEEL
          - EXCHANGE_GENIEE
          - EXCHANGE_GUMGUM
          - EXCHANGE_IMOBILE
          - EXCHANGE_IBILLBOARD
          - EXCHANGE_IMPROVE_DIGITAL
          - EXCHANGE_INDEX
          - EXCHANGE_KARGO
          - EXCHANGE_MICROAD
          - EXCHANGE_MOPUB
          - EXCHANGE_NEND
          - EXCHANGE_ONE_BY_AOL_DISPLAY
          - EXCHANGE_ONE_BY_AOL_MOBILE
          - EXCHANGE_ONE_BY_AOL_VIDEO
          - EXCHANGE_OOYALA
          - EXCHANGE_OPENX
          - EXCHANGE_PERMODO
          - EXCHANGE_PLATFORMONE
          - EXCHANGE_PLATFORMID
          - EXCHANGE_PUBMATIC
          - EXCHANGE_PULSEPOINT
          - EXCHANGE_REVENUEMAX
          - EXCHANGE_RUBICON
          - EXCHANGE_SMARTCLIP
          - EXCHANGE_SMARTRTB
          - EXCHANGE_SMARTSTREAMTV
          - EXCHANGE_SOVRN
          - EXCHANGE_SPOTXCHANGE
          - EXCHANGE_STROER
          - EXCHANGE_TEADSTV
          - EXCHANGE_TELARIA
          - EXCHANGE_TVN
          - EXCHANGE_UNITED
          - EXCHANGE_YIELDLAB
          - EXCHANGE_YIELDMO
          - EXCHANGE_UNRULYX
          - EXCHANGE_OPEN8
          - EXCHANGE_TRITON
          - EXCHANGE_TRIPLELIFT
          - EXCHANGE_TABOOLA
          - EXCHANGE_INMOBI
          - EXCHANGE_SMAATO
          - EXCHANGE_AJA
          - EXCHANGE_SUPERSHIP
          - EXCHANGE_NEXSTAR_DIGITAL
          - EXCHANGE_WAZE
          - EXCHANGE_SOUNDCAST
          - EXCHANGE_SHARETHROUGH
          - EXCHANGE_FYBER
          - EXCHANGE_RED_FOR_PUBLISHERS
          - EXCHANGE_MEDIANET
          - EXCHANGE_TAPJOY
          - EXCHANGE_VISTAR
          - EXCHANGE_DAX
          - EXCHANGE_JCD
          - EXCHANGE_PLACE_EXCHANGE
          - EXCHANGE_APPLOVIN
          - EXCHANGE_CONNATIX
          - EXCHANGE_RESET_DIGITAL
          - EXCHANGE_HIVESTACK
          - EXCHANGE_DRAX
          - EXCHANGE_APPLOVIN_GBID
          - EXCHANGE_FYBER_GBID
          - EXCHANGE_UNITY_GBID
          - EXCHANGE_CHARTBOOST_GBID
          - EXCHANGE_ADMOST_GBID
          - EXCHANGE_TOPON_GBID
          - EXCHANGE_NETFLIX
          - EXCHANGE_CORE
          - EXCHANGE_COMMERCE_GRID
          - EXCHANGE_SPOTIFY
          - EXCHANGE_TUBI
          - EXCHANGE_SNAP
          - EXCHANGE_CADENT
          - EXCHANGE_EXTE
          description: Required. Immutable. The exchange where the guaranteed order originated.
          type: string
        name:
          description: Output only. The resource name of the guaranteed order.
          type: string
          readOnly: true
        readWriteAdvertiserId:
          format: int64
          type: string
          description: The advertiser with read/write access to the guaranteed order. This is also the default advertiser of the guaranteed order.
        readAccessInherited:
          type: boolean
          description: Whether all advertisers of read_write_partner_id have read access to the guaranteed order. Only applicable if read_write_partner_id is set. If True, overrides read_advertiser_ids.
        displayName:
          description: Required. The display name of the guaranteed order. Must be UTF-8 encoded with a maximum size of 240 bytes.
          type: string
        updateTime:
          readOnly: true
          description: Output only. The timestamp when the guaranteed order was last updated. Assigned by the system.
          type: string
          format: google-datetime
        defaultCampaignId:
          format: int64
          type: string
          description: The ID of the default campaign that is assigned to the guaranteed order. The default campaign must belong to the default advertiser.
        legacyGuaranteedOrderId:
          description: Output only. The legacy ID of the guaranteed order. Assigned by the original exchange. The legacy ID is unique within one exchange, but is not guaranteed to be unique across all guaranteed orders. This ID is used in SDF and UI.
          readOnly: true
          type: string
        readWritePartnerId:
          format: int64
          description: The partner with read/write access to the guaranteed order.
          type: string
      type: object
      description: A guaranteed order. Guaranteed orders are parent entity of guaranteed inventory sources. When creating a guaranteed inventory source, a guaranteed order ID must be assigned to the inventory source.
  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)