Google Display & Video 360 Sdfdownloadtasks API

The Sdfdownloadtasks API from Google Display & Video 360 — 2 operation(s) for sdfdownloadtasks.

GitHub OpenAPI

Operations 2

POST /v5/sdfdownloadtasks Create sdfdownloadtasks #
GET /v5/sdfdownloadtasks/operations/{operationsId} Get operations #

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-sdfdownloadtasks-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-sdfdownloadtasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Display & Video 360 Sdfdownloadtasks API
  version: v5
  description: Generated from Google's published Discovery document for Display & Video 360 API (displayvideo v5, revision 20261110). 2 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://displayvideo.googleapis.com
tags:
- name: Sdfdownloadtasks
paths:
  /v5/sdfdownloadtasks:
    post:
      operationId: displayvideo.sdfdownloadtasks.create
      summary: Create sdfdownloadtasks
      description: Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a long-running, asynchronous operation. The metadata type of this operation is SdfDownloadTaskMetadata. If the request is successful, the response type of the operation is SdfDownloadTask. The response will not include the download files, which must be retrieved with media.download. The state of operation can be retrieved with `sdfdownloadtasks.operations.get`. Any errors can be found in the error.message. Note that error.details is expected to be empty.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSdfDownloadTaskRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Operation'
        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:
      - Sdfdownloadtasks
  /v5/sdfdownloadtasks/operations/{operationsId}:
    get:
      operationId: displayvideo.sdfdownloadtasks.operations.get
      summary: Get operations
      description: Gets the latest state of an asynchronous SDF download task operation. Clients should poll this method at intervals of 30 seconds.
      parameters:
      - name: operationsId
        in: path
        required: true
        description: Resource name segment (operationsId).
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Operation'
        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
        - https://www.googleapis.com/auth/doubleclickbidmanager
      - apiKey: []
      tags:
      - Sdfdownloadtasks
components:
  schemas:
    IdFilter:
      properties:
        insertionOrderIds:
          type: array
          description: Insertion Orders to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.
          items:
            type: string
            format: int64
        lineItemQaIds:
          description: Optional. Line Items, by ID, to download in QA format. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.
          items:
            format: int64
            type: string
          type: array
        adGroupAdIds:
          description: YouTube Ads to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.
          items:
            type: string
            format: int64
          type: array
        adGroupIds:
          description: YouTube Ad Groups to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.
          items:
            type: string
            format: int64
          type: array
        mediaProductIds:
          type: array
          items:
            type: string
            format: int64
          description: Media Products to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.
        campaignIds:
          type: array
          items:
            type: string
            format: int64
          description: Campaigns to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.
        adGroupQaIds:
          type: array
          description: Optional. YouTube Ad Groups, by ID, to download in QA format. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.
          items:
            type: string
            format: int64
        lineItemIds:
          description: Line Items to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest.
          type: array
          items:
            type: string
            format: int64
      type: object
      description: A filtering option that filters entities by their entity IDs.
    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
    CreateSdfDownloadTaskRequest:
      type: object
      description: Request message for [SdfDownloadTaskService.CreateSdfDownloadTask].
      properties:
        inventorySourceFilter:
          $ref: '#/components/schemas/InventorySourceFilter'
          description: Filters on Inventory Sources by their IDs.
        advertiserId:
          format: int64
          description: The ID of the advertiser to download SDF for.
          type: string
        version:
          description: Required. The SDF version of the downloaded file. If set to `SDF_VERSION_UNSPECIFIED`, this will default to the version specified by the advertiser or partner identified by `root_id`. An advertiser inherits its SDF version from its partner unless configured otherwise.
          enum:
          - SDF_VERSION_UNSPECIFIED
          - SDF_VERSION_9
          - SDF_VERSION_9_1
          - SDF_VERSION_9_2
          - SDF_VERSION_10
          - SDF_VERSION_10_1
          type: string
        partnerId:
          type: string
          format: int64
          description: The ID of the partner to download SDF for.
        parentEntityFilter:
          $ref: '#/components/schemas/ParentEntityFilter'
          description: Filters on selected file types. The entities in each file are filtered by a chosen set of filter entities. The filter entities must be the same type as, or a parent type of, the selected file types.
        idFilter:
          $ref: '#/components/schemas/IdFilter'
          description: Filters on entities by their entity IDs.
    Operation:
      description: This resource represents a long-running operation that is the result of a network API call.
      type: object
      properties:
        metadata:
          additionalProperties:
            description: Properties of the object. Contains field @type with type URL.
          description: Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
          type: object
        error:
          $ref: '#/components/schemas/Status'
          description: The error result of the operation in case of failure or cancellation.
        name:
          description: The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
          type: string
        done:
          description: If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
          type: boolean
        response:
          description: The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
          additionalProperties:
            description: Properties of the object. Contains field @type with type URL.
          type: object
    InventorySourceFilter:
      properties:
        inventorySourceIds:
          items:
            type: string
            format: int64
          type: array
          description: Inventory Sources to download by ID. All IDs must belong to the same Advertiser or Partner specified in CreateSdfDownloadTaskRequest. Leave empty to download all Inventory Sources for the selected Advertiser or Partner.
      description: A filtering option for filtering on Inventory Source entities.
      type: object
    Status:
      description: 'The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).'
      type: object
      properties:
        message:
          type: string
          description: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
        code:
          description: The status code, which should be an enum value of google.rpc.Code.
          format: int32
          type: integer
        details:
          items:
            type: object
            additionalProperties:
              description: Properties of the object. Contains field @type with type URL.
          type: array
          description: A list of messages that carry the error details. There is a common set of message types for APIs to use.
    ParentEntityFilter:
      properties:
        filterIds:
          items:
            format: int64
            type: string
          type: array
          description: The IDs of the specified filter type. This is used to filter entities to fetch. If filter type is not `FILTER_TYPE_NONE`, at least one ID must be specified.
        fileType:
          items:
            type: string
            enum:
            - FILE_TYPE_UNSPECIFIED
            - FILE_TYPE_CAMPAIGN
            - FILE_TYPE_MEDIA_PRODUCT
            - FILE_TYPE_INSERTION_ORDER
            - FILE_TYPE_LINE_ITEM
            - FILE_TYPE_AD_GROUP
            - FILE_TYPE_AD
            - FILE_TYPE_LINE_ITEM_QA
            - FILE_TYPE_AD_GROUP_QA
          type: array
          description: Required. File types that will be returned.
        filterType:
          enum:
          - FILTER_TYPE_UNSPECIFIED
          - FILTER_TYPE_NONE
          - FILTER_TYPE_ADVERTISER_ID
          - FILTER_TYPE_CAMPAIGN_ID
          - FILTER_TYPE_MEDIA_PRODUCT_ID
          - FILTER_TYPE_INSERTION_ORDER_ID
          - FILTER_TYPE_LINE_ITEM_ID
          description: Required. Filter type used to filter fetched entities.
          type: string
      description: A filtering option that filters on selected file types belonging to a chosen set of filter entities.
      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)