{"items":[{"type":"link","label":"Vistar Media Marketplace DSP API","link":"/apis/dsp","routeSlug":"/apis/dsp","content":{"contentType":"overview","meta":{"name":"Vistar Media Marketplace DSP API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"index.json","url":"/_bundle/apis/dsp/index.json?download"},{"kind":"download","label":"index.yaml","url":"/_bundle/apis/dsp/index.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Vistar Media Marketplace DSP API","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":"The DSP (Demand Side Platform) API lets you view, create, and update insertion orders, campaigns, and related data."}],"sectionId":"/apis/dsp"}],"sectionId":"/apis/dsp"}]}]}},{"type":"group","label":"Insertion Orders","link":"/apis/dsp/insertion-orders","routeSlug":"/apis/dsp/insertion-orders","items":[{"label":"List Insertion Orders","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/insertion-orders/dsp_listinsertionorders","routeSlug":"/apis/dsp/insertion-orders/dsp_listinsertionorders","metadata":{"seo":{"title":"List Insertion Orders","description":"Returns a list of the seat’s insertion orders, optionally with progress information."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_ListInsertionOrders","name":"List Insertion Orders","isWebhook":false,"pointer":"/paths/~1insertion_orders/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List Insertion Orders","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Returns a list of the seat’s insertion orders, optionally with progress information."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page_size","in":"query","schemaId":"schema_54","description":"The maximum number of results to return per page."},{"name":"page","in":"query","schemaId":"schema_54","description":"The zero-based page offset (page number ) to return. For example, 0 returns the first page, 1 returns the second page, and so on."},{"name":"order","in":"query","schemaId":"schema_55","description":"The field to sort the results by."},{"name":"asc","in":"query","schemaId":"schema_56","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Specifies the sort direction. Set to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for ascending order or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"false"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for descending order."},"children":[]}]}]}]},{"name":"filter","in":"query","schemaId":"schema_57","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The field to filter by. You can specify multiple filter parameters."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"When you apply filters to different fields, the results include only records that match all specified field values (AND logic). When you apply multiple filters to the same field, the results include records that match any of the specified values in that field (OR logic)."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported Fields: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"archived"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"insertion_order_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"region_code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"active"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"pacing"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"buy_type"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Special Filters: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"in_flight"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": When "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", limits results to insertion orders where the current time falls between "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"start_time"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"end_time"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"example":"in_flight:true"},{"name":"search","in":"query","schemaId":"schema_57","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Performs a substring search on a specified field. The search is case-insensitive."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported Fields: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"name"},"children":[]}]}]}],"example":"name:new%20york"},{"name":"view","in":"query","schemaId":"components/schemas/api.dsp.v1.Campaign.CampaignView","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Specifies which fields are returned in the response."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Available Views:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"BASIC"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Returns insertion order metadata  only."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"PROGRESS"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Returns insertion order metadata and current insertion order progress information."},"children":[]}]}]}]}]}],"pointer":"/paths/~1insertion_orders/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/insertion_orders","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[],"query":[{"name":"page_size","in":"query","required":false,"schemaId":"schema_54"},{"name":"page","in":"query","required":false,"schemaId":"schema_54"},{"name":"order","in":"query","required":false,"schemaId":"schema_55"},{"name":"asc","in":"query","required":false,"schemaId":"schema_56"},{"name":"filter","in":"query","required":false,"example":"in_flight:true","schemaId":"schema_57","explode":true},{"name":"search","in":"query","required":false,"example":"name:new%20york","schemaId":"schema_57","explode":true},{"name":"view","in":"query","required":false,"schemaId":"components/schemas/api.dsp.v1.Campaign.CampaignView"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/insertion_orders","href":"insertion-orders/dsp_listinsertionorders","openApiOperationId":"DSP_ListInsertionOrders","summary":"List Insertion Orders"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation completed successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.ListInsertionOrdersResponse"}},"schemaId":"components/schemas/api.dsp.v1.ListInsertionOrdersResponse"},{"code":"400","description":"Bad request. The request contains invalid syntax or encoding.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/400/content/application~1json/examples/response"]},{"code":"401","description":"Not authorized. Authentication is required to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/401/content/application~1json/examples/response"]},{"code":"403","description":"Not authenticated. Re-authenticate to access the API.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/403/content/application~1json/examples/response"]},{"code":"404","description":"Not found. The requested resource doesn't exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/404/content/application~1json/examples/response"]},{"code":"422","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1insertion_orders/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.ListInsertionOrdersResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.ListInsertionOrdersResponse"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/get/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/insertion-orders/dsp_listinsertionorders"}],"panels":[]}]},"httpPath":"/insertion_orders"},{"label":"Create Insertion Orders","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/insertion-orders/dsp_createinsertionorders","routeSlug":"/apis/dsp/insertion-orders/dsp_createinsertionorders","metadata":{"seo":{"title":"Create Insertion Orders","description":"Create up to 100 new insertion orders in a single request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_CreateInsertionOrders","name":"Create Insertion Orders","isWebhook":false,"pointer":"/paths/~1insertion_orders/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create Insertion Orders","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Create up to 100 new insertion orders in a single request.\n\nThis endpoint is transactional. If the request succeeds, all insertion orders are created. If the request fails, no insertion orders are created."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateInsertionOrdersRequest"}},"schemaId":"components/schemas/api.dsp.v1.CreateInsertionOrdersRequest","pointer":"/paths/~1insertion_orders/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/insertion_orders","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateInsertionOrdersRequest"}},"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/insertion_orders","href":"insertion-orders/dsp_createinsertionorders","openApiOperationId":"DSP_CreateInsertionOrders","summary":"Create Insertion Orders"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"schemaId":"components/schemas/api.dsp.v1.CreateInsertionOrdersRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateInsertionOrdersRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateInsertionOrdersResponse"}},"schemaId":"components/schemas/api.dsp.v1.CreateInsertionOrdersResponse"},{"code":"400","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/400/content/application~1json/examples/response"]},{"code":"401","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/401/content/application~1json/examples/response"]},{"code":"403","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/403/content/application~1json/examples/response"]},{"code":"404","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/404/content/application~1json/examples/response"]},{"code":"422","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1insertion_orders/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.CreateInsertionOrdersResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateInsertionOrdersResponse"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/post/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/insertion-orders/dsp_createinsertionorders"}],"panels":[]}]},"httpPath":"/insertion_orders"},{"label":"Update Insertion Orders","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/insertion-orders/dsp_updateinsertionorders","routeSlug":"/apis/dsp/insertion-orders/dsp_updateinsertionorders","metadata":{"seo":{"title":"Update Insertion Orders","description":"Update up to 100 insertion orders in a single request. Specify only the properties you want to update. Properties you omit remain unchanged."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_UpdateInsertionOrders","name":"Update Insertion Orders","isWebhook":false,"pointer":"/paths/~1insertion_orders/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update Insertion Orders","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Update up to 100 insertion orders in a single request. Specify only the properties you want to update. Properties you omit remain unchanged.\n\nThis endpoint is transactional. If the request succeeds, all insertion orders are updated. If the request fails, no insertion orders are updated."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.UpdateInsertionOrdersRequest"}},"schemaId":"components/schemas/api.dsp.v1.UpdateInsertionOrdersRequest","pointer":"/paths/~1insertion_orders/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/insertion_orders","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.UpdateInsertionOrdersRequest"}},"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/insertion_orders","href":"insertion-orders/dsp_updateinsertionorders","openApiOperationId":"DSP_UpdateInsertionOrders","summary":"Update Insertion Orders"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"schemaId":"components/schemas/api.dsp.v1.UpdateInsertionOrdersRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.UpdateInsertionOrdersRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateInsertionOrdersResponse"}},"schemaId":"components/schemas/api.dsp.v1.CreateInsertionOrdersResponse"},{"code":"400","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/400/content/application~1json/examples/response"]},{"code":"401","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/401/content/application~1json/examples/response"]},{"code":"403","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/403/content/application~1json/examples/response"]},{"code":"404","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/404/content/application~1json/examples/response"]},{"code":"422","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1insertion_orders/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.CreateInsertionOrdersResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateInsertionOrdersResponse"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders/patch/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/insertion-orders/dsp_updateinsertionorders"}],"panels":[]}]},"httpPath":"/insertion_orders"},{"label":"Get Insertion Order by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/insertion-orders/dsp_getinsertionorder","routeSlug":"/apis/dsp/insertion-orders/dsp_getinsertionorder","metadata":{"seo":{"title":"Get Insertion Order by ID","description":"Returns an individual insertion order, optionally with progress information."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_GetInsertionOrder","name":"Get Insertion Order by ID","isWebhook":false,"pointer":"/paths/~1insertion_orders~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Insertion Order by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns an individual insertion order, optionally with progress information."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_55","required":true}],"pointer":"/paths/~1insertion_orders~1{id}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"view","in":"query","schemaId":"components/schemas/api.dsp.v1.Campaign.CampaignView","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Specifies which fields are returned in the response."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Available Views:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"BASIC"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Returns insertion order metadata  only."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"PROGRESS"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Returns insertion order metadata and current insertion order progress information."},"children":[]}]}]}]}]}],"pointer":"/paths/~1insertion_orders~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/insertion_orders/{id}","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_55"}],"query":[{"name":"view","in":"query","required":false,"schemaId":"components/schemas/api.dsp.v1.Campaign.CampaignView"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/insertion_orders/{id}","href":"insertion-orders/dsp_getinsertionorder","openApiOperationId":"DSP_GetInsertionOrder","summary":"Get Insertion Order by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation completed successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.InsertionOrder"}},"schemaId":"components/schemas/api.dsp.v1.InsertionOrder"},{"code":"400","description":"Bad request. The request contains invalid syntax or encoding.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/400/content/application~1json/examples/response"]},{"code":"401","description":"Not authorized. Authentication is required to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/401/content/application~1json/examples/response"]},{"code":"403","description":"Not authenticated. Re-authenticate to access the API.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/403/content/application~1json/examples/response"]},{"code":"404","description":"Not found. The requested resource doesn't exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/404/content/application~1json/examples/response"]},{"code":"422","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1insertion_orders~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.InsertionOrder","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.InsertionOrder"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/get/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/insertion-orders/dsp_getinsertionorder"}],"panels":[]}]},"httpPath":"/insertion_orders/{id}"},{"label":"Update Insertion Order by ID","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/insertion-orders/dsp_updateinsertionorder","routeSlug":"/apis/dsp/insertion-orders/dsp_updateinsertionorder","metadata":{"seo":{"title":"Update Insertion Order by ID","description":"Update an individual insertion order. Specify only the properties you want to update. Properties you omit remain unchanged."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_UpdateInsertionOrder","name":"Update Insertion Order by ID","isWebhook":false,"pointer":"/paths/~1insertion_orders~1{id}/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update Insertion Order by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Update an individual insertion order. Specify only the properties you want to update. Properties you omit remain unchanged."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_55","required":true}],"pointer":"/paths/~1insertion_orders~1{id}/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.DSP.UpdateInsertionOrderBody"}},"schemaId":"components/schemas/api.dsp.v1.DSP.UpdateInsertionOrderBody","pointer":"/paths/~1insertion_orders~1{id}/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/insertion_orders/{id}","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_55"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.DSP.UpdateInsertionOrderBody"}},"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/insertion_orders/{id}","href":"insertion-orders/dsp_updateinsertionorder","openApiOperationId":"DSP_UpdateInsertionOrder","summary":"Update Insertion Order by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"schemaId":"components/schemas/api.dsp.v1.DSP.UpdateInsertionOrderBody","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.DSP.UpdateInsertionOrderBody"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation completed successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.InsertionOrder"}},"schemaId":"components/schemas/api.dsp.v1.InsertionOrder"},{"code":"400","description":"Bad request. The request contains invalid syntax or encoding.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/400/content/application~1json/examples/response"]},{"code":"401","description":"Not authorized. Authentication is required to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/401/content/application~1json/examples/response"]},{"code":"403","description":"Not authenticated. Re-authenticate to access the API.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/403/content/application~1json/examples/response"]},{"code":"404","description":"Not found. The requested resource doesn't exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/404/content/application~1json/examples/response"]},{"code":"422","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1insertion_orders~1{id}/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.InsertionOrder","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.InsertionOrder"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1insertion_orders~1{id}/patch/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/insertion-orders/dsp_updateinsertionorder"}],"panels":[]}]},"httpPath":"/insertion_orders/{id}"}],"content":{"contentType":"group","meta":{"name":"Insertion Orders"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Insertion Orders","showPageActions":true},{"nodeType":"markdoc","content":"Insertion orders represent a contractual agreement between the buyer and the media owner. Each insertion order is associated with a single advertiser and contains one or more campaigns (line items). These campaigns divide the insertion order budget and define targeting and other business rules. Using this API, you can list, view, create, and update insertion orders."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/insertion_orders","summary":"List Insertion Orders","prefix":{"name":"get","color":"get"},"badges":[],"link":"/insertion-orders/dsp_listinsertionorders","deprecated":false},{"title":"/insertion_orders","summary":"Create Insertion Orders","prefix":{"name":"post","color":"post"},"badges":[],"link":"/insertion-orders/dsp_createinsertionorders","deprecated":false},{"title":"/insertion_orders","summary":"Update Insertion Orders","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/insertion-orders/dsp_updateinsertionorders","deprecated":false},{"title":"/insertion_orders/{id}","summary":"Get Insertion Order by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/insertion-orders/dsp_getinsertionorder","deprecated":false},{"title":"/insertion_orders/{id}","summary":"Update Insertion Order by ID","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/insertion-orders/dsp_updateinsertionorder","deprecated":false}]}]}]}]}},{"type":"group","label":"Campaigns","link":"/apis/dsp/campaigns","routeSlug":"/apis/dsp/campaigns","items":[{"label":"List Campaigns","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/campaigns/dsp_listcampaigns","routeSlug":"/apis/dsp/campaigns/dsp_listcampaigns","metadata":{"seo":{"title":"List Campaigns","description":"Returns a list of the seat's campaigns, optionally with progress information."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_ListCampaigns","name":"List Campaigns","isWebhook":false,"pointer":"/paths/~1campaigns/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List Campaigns","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns a list of the seat's campaigns, optionally with progress information."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page_size","in":"query","schemaId":"schema_54","description":"The maximum number of results to return per page."},{"name":"page","in":"query","schemaId":"schema_54","description":"The zero-based page offset (page number ) to return. For example, 0 returns the first page, 1 returns the second page, and so on."},{"name":"order","in":"query","schemaId":"schema_55","description":"The field to sort the results by."},{"name":"asc","in":"query","schemaId":"schema_56","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Specifies the sort direction. Set to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for ascending order or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"false"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for descending order."},"children":[]}]}]}]},{"name":"filter","in":"query","schemaId":"schema_57","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The field to filter by. You can specify multiple filter parameters."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"When you apply filters to different fields, the results include only records that match all specified field values (AND logic). When you apply multiple filters to the same field, the results include records that match any of the specified values in that field (OR logic)."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported Fields: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"archived"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"insertion_order_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"region_code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"active"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"pacing"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"buy_type"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Special Filters: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"in_flight"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": When "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", limits results to campaigns where the current time falls between "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"start_time"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"end_time"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"example":"in_flight:true"},{"name":"search","in":"query","schemaId":"schema_57","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Performs a substring search on a specified field. The search is case-insensitive."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported Fields: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"name"},"children":[]}]}]}],"example":"name:quarter"},{"name":"view","in":"query","schemaId":"components/schemas/api.dsp.v1.Campaign.CampaignView","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Specifies which fields are returned in the response."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Available Views:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"BASIC"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Returns campaign metadata  only."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"PROGRESS"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Returns campaign metadata and current campaign progress information."},"children":[]}]}]}]}]}],"pointer":"/paths/~1campaigns/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/campaigns","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[],"query":[{"name":"page_size","in":"query","required":false,"schemaId":"schema_54"},{"name":"page","in":"query","required":false,"schemaId":"schema_54"},{"name":"order","in":"query","required":false,"schemaId":"schema_55"},{"name":"asc","in":"query","required":false,"schemaId":"schema_56"},{"name":"filter","in":"query","required":false,"example":"in_flight:true","schemaId":"schema_57","explode":true},{"name":"search","in":"query","required":false,"example":"name:quarter","schemaId":"schema_57","explode":true},{"name":"view","in":"query","required":false,"schemaId":"components/schemas/api.dsp.v1.Campaign.CampaignView"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/campaigns","href":"campaigns/dsp_listcampaigns","openApiOperationId":"DSP_ListCampaigns","summary":"List Campaigns"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation completed successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.ListCampaignsResponse"}},"schemaId":"components/schemas/api.dsp.v1.ListCampaignsResponse"},{"code":"400","description":"Bad request. The request contains invalid syntax or encoding.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/400/content/application~1json/examples/response"]},{"code":"401","description":"Not authorized. Authentication is required to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/401/content/application~1json/examples/response"]},{"code":"403","description":"Not authenticated. Re-authenticate to access the API.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/403/content/application~1json/examples/response"]},{"code":"404","description":"Not found. The requested resource doesn't exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/404/content/application~1json/examples/response"]},{"code":"422","description":"Invalid request. One or more request parameters are invalid. See the response for more details.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1campaigns/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.ListCampaignsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.ListCampaignsResponse"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/get/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/campaigns/dsp_listcampaigns"}],"panels":[]}]},"httpPath":"/campaigns"},{"label":"Create Campaigns","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/campaigns/dsp_createcampaigns","routeSlug":"/apis/dsp/campaigns/dsp_createcampaigns","metadata":{"seo":{"title":"Create Campaigns","description":"Create up to 100 new campaigns in a single request. Campaigns must be associated with insertion orders, so create the insertion orders first."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_CreateCampaigns","name":"Create Campaigns","isWebhook":false,"pointer":"/paths/~1campaigns/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create Campaigns","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Create up to 100 new campaigns in a single request. Campaigns must be associated with insertion orders, so create the insertion orders first.\n\nThis endpoint is transactional. If the request succeeds, all campaigns are created. If the request fails, no campaigns are created."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateCampaignsRequest"}},"schemaId":"components/schemas/api.dsp.v1.CreateCampaignsRequest","pointer":"/paths/~1campaigns/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/campaigns","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateCampaignsRequest"}},"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/campaigns","href":"campaigns/dsp_createcampaigns","openApiOperationId":"DSP_CreateCampaigns","summary":"Create Campaigns"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"schemaId":"components/schemas/api.dsp.v1.CreateCampaignsRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateCampaignsRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateCampaignsResponse"}},"schemaId":"components/schemas/api.dsp.v1.CreateCampaignsResponse"},{"code":"400","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/400/content/application~1json/examples/response"]},{"code":"401","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/401/content/application~1json/examples/response"]},{"code":"403","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/403/content/application~1json/examples/response"]},{"code":"404","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/404/content/application~1json/examples/response"]},{"code":"422","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1campaigns/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.CreateCampaignsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateCampaignsResponse"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/post/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/campaigns/dsp_createcampaigns"}],"panels":[]}]},"httpPath":"/campaigns"},{"label":"Update Campaigns","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/campaigns/dsp_updatecampaigns","routeSlug":"/apis/dsp/campaigns/dsp_updatecampaigns","metadata":{"seo":{"title":"Update Campaigns","description":"Update up to 100 campaigns in a single request. Specify only the properties you want to update. Properties you omit remain unchanged."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_UpdateCampaigns","name":"Update Campaigns","isWebhook":false,"pointer":"/paths/~1campaigns/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update Campaigns","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Update up to 100 campaigns in a single request. Specify only the properties you want to update. Properties you omit remain unchanged.\n\nThis endpoint is transactional. If the request succeeds, all campaigns are updated. If the request fails, no campaigns are updated."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.UpdateCampaignsRequest"}},"schemaId":"components/schemas/api.dsp.v1.UpdateCampaignsRequest","pointer":"/paths/~1campaigns/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/campaigns","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.UpdateCampaignsRequest"}},"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/campaigns","href":"campaigns/dsp_updatecampaigns","openApiOperationId":"DSP_UpdateCampaigns","summary":"Update Campaigns"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"schemaId":"components/schemas/api.dsp.v1.UpdateCampaignsRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.UpdateCampaignsRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation completed successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateCampaignsResponse"}},"schemaId":"components/schemas/api.dsp.v1.CreateCampaignsResponse"},{"code":"400","description":"Bad request. The request contains invalid syntax or encoding.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/400/content/application~1json/examples/response"]},{"code":"401","description":"Not authorized. Authentication is required to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/401/content/application~1json/examples/response"]},{"code":"403","description":"Not authenticated. Re-authenticate to access the API.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/403/content/application~1json/examples/response"]},{"code":"404","description":"Not found. The requested resource doesn't exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/404/content/application~1json/examples/response"]},{"code":"422","description":"Invalid request. One or more request parameters are invalid. See the response for more details.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1campaigns/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.CreateCampaignsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateCampaignsResponse"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns/patch/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/campaigns/dsp_updatecampaigns"}],"panels":[]}]},"httpPath":"/campaigns"},{"label":"Get Campaign by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/campaigns/dsp_getcampaign","routeSlug":"/apis/dsp/campaigns/dsp_getcampaign","metadata":{"seo":{"title":"Get Campaign by ID","description":"Returns an individual campaign, optionally with progress information."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_GetCampaign","name":"Get Campaign by ID","isWebhook":false,"pointer":"/paths/~1campaigns~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Campaign by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns an individual campaign, optionally with progress information."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_55","required":true}],"pointer":"/paths/~1campaigns~1{id}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"view","in":"query","schemaId":"components/schemas/api.dsp.v1.Campaign.CampaignView","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Specifies which fields are returned in the response."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Available Views:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"BASIC"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Returns campaign metadata  only."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"PROGRESS"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Returns campaign metadata and current campaign progress information."},"children":[]}]}]}]}]}],"pointer":"/paths/~1campaigns~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/campaigns/{id}","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_55"}],"query":[{"name":"view","in":"query","required":false,"schemaId":"components/schemas/api.dsp.v1.Campaign.CampaignView"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/campaigns/{id}","href":"campaigns/dsp_getcampaign","openApiOperationId":"DSP_GetCampaign","summary":"Get Campaign by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation completed successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.Campaign"}},"schemaId":"components/schemas/api.dsp.v1.Campaign"},{"code":"400","description":"Bad request. The request contains invalid syntax or encoding.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/400/content/application~1json/examples/response"]},{"code":"401","description":"Not authorized. Authentication is required to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/401/content/application~1json/examples/response"]},{"code":"403","description":"Not authenticated. Re-authenticate to access the API.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/403/content/application~1json/examples/response"]},{"code":"404","description":"Not found. The requested resource doesn't exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/404/content/application~1json/examples/response"]},{"code":"422","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1campaigns~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.Campaign","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.Campaign"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/get/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/campaigns/dsp_getcampaign"}],"panels":[]}]},"httpPath":"/campaigns/{id}"},{"label":"Update Campaign by ID","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/campaigns/dsp_updatecampaign","routeSlug":"/apis/dsp/campaigns/dsp_updatecampaign","metadata":{"seo":{"title":"Update Campaign by ID","description":"Update an individual campaign. Specify only the properties you want to update. Properties you omit remain unchanged."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_UpdateCampaign","name":"Update Campaign by ID","isWebhook":false,"pointer":"/paths/~1campaigns~1{id}/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update Campaign by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Update an individual campaign. Specify only the properties you want to update. Properties you omit remain unchanged."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_55","required":true}],"pointer":"/paths/~1campaigns~1{id}/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.DSP.UpdateCampaignBody"}},"schemaId":"components/schemas/api.dsp.v1.DSP.UpdateCampaignBody","pointer":"/paths/~1campaigns~1{id}/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/campaigns/{id}","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_55"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.DSP.UpdateCampaignBody"}},"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/campaigns/{id}","href":"campaigns/dsp_updatecampaign","openApiOperationId":"DSP_UpdateCampaign","summary":"Update Campaign by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"schemaId":"components/schemas/api.dsp.v1.DSP.UpdateCampaignBody","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.DSP.UpdateCampaignBody"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation completed successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.Campaign"}},"schemaId":"components/schemas/api.dsp.v1.Campaign"},{"code":"400","description":"Bad request. The request contains invalid syntax or encoding.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/400/content/application~1json/examples/response"]},{"code":"401","description":"Not authorized. Authentication is required to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/401/content/application~1json/examples/response"]},{"code":"403","description":"Not authenticated. Re-authenticate to access the API.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/403/content/application~1json/examples/response"]},{"code":"404","description":"Not found. The requested resource doesn't exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/404/content/application~1json/examples/response"]},{"code":"422","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1campaigns~1{id}/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.Campaign","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.Campaign"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{id}/patch/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/campaigns/dsp_updatecampaign"}],"panels":[]}]},"httpPath":"/campaigns/{id}"}],"content":{"contentType":"group","meta":{"name":"Campaigns"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Campaigns","showPageActions":true},{"nodeType":"markdoc","content":"Campaigns  are the individual line items that belong to an insertion order. You can apply targeting and associate creatives with campaigns. Each creative is associated with a single creative category. Using this API, you can list, view, create, modify, and activate campaigns."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/campaigns","summary":"List Campaigns","prefix":{"name":"get","color":"get"},"badges":[],"link":"/campaigns/dsp_listcampaigns","deprecated":false},{"title":"/campaigns","summary":"Create Campaigns","prefix":{"name":"post","color":"post"},"badges":[],"link":"/campaigns/dsp_createcampaigns","deprecated":false},{"title":"/campaigns","summary":"Update Campaigns","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/campaigns/dsp_updatecampaigns","deprecated":false},{"title":"/campaigns/{id}","summary":"Get Campaign by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/campaigns/dsp_getcampaign","deprecated":false},{"title":"/campaigns/{id}","summary":"Update Campaign by ID","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/campaigns/dsp_updatecampaign","deprecated":false}]}]}]}]}},{"type":"group","label":"Targeting","link":"/apis/dsp/targeting","routeSlug":"/apis/dsp/targeting","items":[{"type":"link","label":"Targeting Options","link":"/apis/dsp/targeting/api.dsp.v1.setcampaigntargetingsrequest.targeting","routeSlug":"/apis/dsp/targeting/api.dsp.v1.setcampaigntargetingsrequest.targeting","httpVerb":"schema","content":{"contentType":"item","itemVariant":"schema","meta":{"name":"api.dsp.v1.SetCampaignTargetingsRequest.Targeting"},"seo":{"title":"Targeting Options"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Targeting Options","showPageActions":true}],"panels":[]},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"tag","tag":"schemaDefinition","attributes":{"showWriteOnly":true,"schemaRef":"#/components/schemas/api.dsp.v1.SetCampaignTargetingsRequest.Targeting"},"children":[]}]}]}},{"label":"Get Campaign Targetings","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/targeting/dsp_getcampaigntargetings","routeSlug":"/apis/dsp/targeting/dsp_getcampaigntargetings","metadata":{"seo":{"title":"Get Campaign Targetings","description":"Returns a list of a campaign's active targetings. For targetings that the DSP API supports, the response includes full details in the appropriate options field. For unsupported targetings, the response includes only a targeting_type, with no details."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_GetCampaignTargetings","name":"Get Campaign Targetings","isWebhook":false,"pointer":"/paths/~1campaigns~1{campaign_id}~1targetings/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Campaign Targetings","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Returns a list of a campaign's active targetings. For targetings that the DSP API supports, the response includes full details in the appropriate options field. For unsupported targetings, the response includes only a targeting_type, with no details."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"To view these details, log in to the Vistar DSP at "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://trafficking.vistarmedia.com/"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"trafficking.vistarmedia.com"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"campaign_id","in":"path","schemaId":"schema_55","required":true}],"pointer":"/paths/~1campaigns~1{campaign_id}~1targetings/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/campaigns/{campaign_id}/targetings","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[{"name":"campaign_id","in":"path","required":true,"schemaId":"schema_55"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/campaigns/{campaign_id}/targetings","href":"targeting/dsp_getcampaigntargetings","openApiOperationId":"DSP_GetCampaignTargetings","summary":"Get Campaign Targetings"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CampaignTargetings"}},"schemaId":"components/schemas/api.dsp.v1.CampaignTargetings"},{"code":"400","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/400/content/application~1json/examples/response"]},{"code":"401","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/401/content/application~1json/examples/response"]},{"code":"403","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/403/content/application~1json/examples/response"]},{"code":"404","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/404/content/application~1json/examples/response"]},{"code":"422","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1campaigns~1{campaign_id}~1targetings/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.CampaignTargetings","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CampaignTargetings"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/get/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/targeting/dsp_getcampaigntargetings"}],"panels":[]}]},"httpPath":"/campaigns/{campaign_id}/targetings"},{"label":"Set Campaign Targetings","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/targeting/dsp_setcampaigntargetings","routeSlug":"/apis/dsp/targeting/dsp_setcampaigntargetings","metadata":{"seo":{"title":"Set Campaign Targetings","description":"Set targetings on a campaign."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_SetCampaignTargetings","name":"Set Campaign Targetings","isWebhook":false,"pointer":"/paths/~1campaigns~1{campaign_id}~1targetings/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set Campaign Targetings","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Set targetings on a campaign."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"To set targetings, provide a list of targeting option objects in the targetings field. Each object represents a single targeting type. When you set a campaign's targetings using this API, the new values replace all existing targetings."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"In each option, a venue is targeted when it meets any of the conditions (OR logic). When you include multiple targeting options, a venue is targeted only when it meets the conditions of all the options (AND logic)."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Example:"},"children":[]}]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"{\n  \"targetings\": [\n    {\n      \"deal_targeting_option\": {\n        \"deal_ids\": [\n          \"OaQqQrsnSIS89FkQFzrR3w\",\n          \"w7_lwxwiSl6Kwg_tUxIXkA\",\n          \"4LLHNrnvTTWD4I3XG0TNHw\"\n        ]\n      }\n    },\n    {\n      \"venue_type_targeting_option\": {\n        \"venue_type_ids\": [\n          \"1\",\n          \"3\"\n        ],\n        \"exclude\": false\n      }\n    },\n    {\n      \"venue_targeting_option\": {\n        \"venue_targeting_ids\": [\n          \"tVcQWUFuTJ2OAr88vwi-Dg-XN3GJTIIOI\",\n          \"tVcQWUFuTJ2OAr88vwi-Dg-MHIYWB5RHX\",\n          \"7rLsD2w8SfmOwNGotS4o_g-NYC9093RD\"\n        ],\n        \"exclude\": true\n      }\n    }\n  ]\n}\n","language":"json"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"{\n  \"targetings\": [\n    {\n      \"deal_targeting_option\": {\n        \"deal_ids\": [\n          \"OaQqQrsnSIS89FkQFzrR3w\",\n          \"w7_lwxwiSl6Kwg_tUxIXkA\",\n          \"4LLHNrnvTTWD4I3XG0TNHw\"\n        ]\n      }\n    },\n    {\n      \"venue_type_targeting_option\": {\n        \"venue_type_ids\": [\n          \"1\",\n          \"3\"\n        ],\n        \"exclude\": false\n      }\n    },\n    {\n      \"venue_targeting_option\": {\n        \"venue_targeting_ids\": [\n          \"tVcQWUFuTJ2OAr88vwi-Dg-XN3GJTIIOI\",\n          \"tVcQWUFuTJ2OAr88vwi-Dg-MHIYWB5RHX\",\n          \"7rLsD2w8SfmOwNGotS4o_g-NYC9093RD\"\n        ],\n        \"exclude\": true\n      }\n    }\n  ]\n}\n"},"children":[]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"In this example, the campaign will target venues that are:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"included in any of the three deal IDs"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"AND are in the Transit (1) OR Outdoor (3) venue type categories"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"AND is NOT any of the two specific venues specified"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"To remove all of a campaign’s targetings, send an empty list in the targetings field:"},"children":[]}]}]},{"$$mdtype":"Node","type":"fence","attributes":{"content":"{\n  \"targetings\": []\n}\n","language":"json"},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"{\n  \"targetings\": []\n}\n"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Note:"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" You can't remove targetings from an activated campaign."},"children":[]}]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"campaign_id","in":"path","schemaId":"schema_55","required":true}],"pointer":"/paths/~1campaigns~1{campaign_id}~1targetings/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.DSP.SetCampaignTargetingsBody"}},"schemaId":"components/schemas/api.dsp.v1.DSP.SetCampaignTargetingsBody","pointer":"/paths/~1campaigns~1{campaign_id}~1targetings/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/campaigns/{campaign_id}/targetings","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[{"name":"campaign_id","in":"path","required":true,"schemaId":"schema_55"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.DSP.SetCampaignTargetingsBody"}},"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/campaigns/{campaign_id}/targetings","href":"targeting/dsp_setcampaigntargetings","openApiOperationId":"DSP_SetCampaignTargetings","summary":"Set Campaign Targetings"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"schemaId":"components/schemas/api.dsp.v1.DSP.SetCampaignTargetingsBody","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.DSP.SetCampaignTargetingsBody"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CampaignTargetings"}},"schemaId":"components/schemas/api.dsp.v1.CampaignTargetings"},{"code":"400","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/400/content/application~1json/examples/response"]},{"code":"401","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/401/content/application~1json/examples/response"]},{"code":"403","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/403/content/application~1json/examples/response"]},{"code":"404","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/404/content/application~1json/examples/response"]},{"code":"422","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1campaigns~1{campaign_id}~1targetings/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.CampaignTargetings","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CampaignTargetings"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1campaigns~1{campaign_id}~1targetings/put/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/targeting/dsp_setcampaigntargetings"}],"panels":[]}]},"httpPath":"/campaigns/{campaign_id}/targetings"}],"content":{"contentType":"group","meta":{"name":"Targeting"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Targeting","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"In Vistar’s DSP, you can add targeting to run your campaigns on different formats and locations of DOOH (digital out-of-home) inventory. You can layer multiple targeting options on your campaigns to reach specific inventory."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Targeting using the DSP API currently supports only venue, venue type, publisher, and deal targeting. Other targeting options will follow."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"You can see a campaign’s current targeting using the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/apis/dsp/targeting/dsp_getcampaigntargetings"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Get Campaign Targetings API"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and set targetings on a campaign using the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/apis/dsp/targeting/dsp_setcampaigntargetings"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Set Campaign Targetings API"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"group-items","title":"Schemas","titleTranslationKey":"schemas","items":[{"title":"Targeting Options","link":"/targeting/api.dsp.v1.setcampaigntargetingsrequest.targeting","deprecated":false}]},{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/campaigns/{campaign_id}/targetings","summary":"Get Campaign Targetings","prefix":{"name":"get","color":"get"},"badges":[],"link":"/targeting/dsp_getcampaigntargetings","deprecated":false},{"title":"/campaigns/{campaign_id}/targetings","summary":"Set Campaign Targetings","prefix":{"name":"put","color":"put"},"badges":[],"link":"/targeting/dsp_setcampaigntargetings","deprecated":false}]}]}]}]}},{"type":"group","label":"Advertisers","link":"/apis/dsp/advertisers","routeSlug":"/apis/dsp/advertisers","items":[{"label":"List Advertisers","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/advertisers/dsp_listadvertisers","routeSlug":"/apis/dsp/advertisers/dsp_listadvertisers","metadata":{"seo":{"title":"List Advertisers","description":"Returns the global list of advertisers available to all seats in the DSP."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_ListAdvertisers","name":"List Advertisers","isWebhook":false,"pointer":"/paths/~1advertisers/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List Advertisers","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns the global list of advertisers available to all seats in the DSP."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page_size","in":"query","schemaId":"schema_58","description":"The maximum number of results to return per page."},{"name":"page","in":"query","schemaId":"schema_59","description":"The zero-based page offset (page number ) to return. For example, 0 returns the first page, 1 returns the second page, and so on."},{"name":"order","in":"query","schemaId":"schema_55","description":"The field to sort the results by."},{"name":"asc","in":"query","schemaId":"schema_60","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Specifies the sort direction. Set to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for ascending order or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"false"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for descending order."},"children":[]}]}]}]},{"name":"filter","in":"query","schemaId":"schema_57","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The field to filter by. You can specify multiple filter parameters."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"When you apply filters to different fields, the results include only records that match all specified field values (AND logic). When you apply multiple filters to the same field, the results include records that match any of the specified values in that field (OR logic)."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported Fields: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"example":"id:000lYW0SSFSPuV32udyVpA"},{"name":"search","in":"query","schemaId":"schema_57","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Perform a substring search on the specified field. Searches are case-insensitive."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported Fields: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"name"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"example":"name:duff"}],"pointer":"/paths/~1advertisers/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/advertisers","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[],"query":[{"name":"page_size","in":"query","required":false,"schemaId":"schema_58"},{"name":"page","in":"query","required":false,"schemaId":"schema_59"},{"name":"order","in":"query","required":false,"schemaId":"schema_55"},{"name":"asc","in":"query","required":false,"schemaId":"schema_60"},{"name":"filter","in":"query","required":false,"example":"id:000lYW0SSFSPuV32udyVpA","schemaId":"schema_57","explode":true},{"name":"search","in":"query","required":false,"example":"name:duff","schemaId":"schema_57","explode":true}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/advertisers","href":"advertisers/dsp_listadvertisers","openApiOperationId":"DSP_ListAdvertisers","summary":"List Advertisers"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation completed successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.ListAdvertisersResponse"}},"schemaId":"components/schemas/api.dsp.v1.ListAdvertisersResponse"},{"code":"400","description":"Bad request. The request contains invalid syntax or encoding.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/400/content/application~1json/examples/response"]},{"code":"401","description":"Not authorized. Authentication is required to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/401/content/application~1json/examples/response"]},{"code":"403","description":"Not authenticated. Re-authenticate to access the API.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/403/content/application~1json/examples/response"]},{"code":"404","description":"Not found. The requested resource doesn't exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/404/content/application~1json/examples/response"]},{"code":"422","description":"Invalid request. One or more request parameters are invalid. See the response for more details.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1advertisers/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.ListAdvertisersResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.ListAdvertisersResponse"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/get/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/advertisers/dsp_listadvertisers"}],"panels":[]}]},"httpPath":"/advertisers"},{"label":"Create Advertiser","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/advertisers/dsp_createadvertiser","routeSlug":"/apis/dsp/advertisers/dsp_createadvertiser","metadata":{"seo":{"title":"Create Advertiser","description":"Create a new Advertiser"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_CreateAdvertiser","name":"Create Advertiser","isWebhook":false,"pointer":"/paths/~1advertisers/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create Advertiser","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Create a new Advertiser"},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateAdvertiserRequest"}},"schemaId":"components/schemas/api.dsp.v1.CreateAdvertiserRequest","pointer":"/paths/~1advertisers/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/advertisers","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateAdvertiserRequest"}},"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/advertisers","href":"advertisers/dsp_createadvertiser","openApiOperationId":"DSP_CreateAdvertiser","summary":"Create Advertiser"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"schemaId":"components/schemas/api.dsp.v1.CreateAdvertiserRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateAdvertiserRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.Advertiser"}},"schemaId":"components/schemas/api.dsp.v1.Advertiser"},{"code":"400","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/400/content/application~1json/examples/response"]},{"code":"401","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/401/content/application~1json/examples/response"]},{"code":"403","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/403/content/application~1json/examples/response"]},{"code":"404","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/404/content/application~1json/examples/response"]},{"code":"422","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1advertisers/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.Advertiser","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.Advertiser"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers/post/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/advertisers/dsp_createadvertiser"}],"panels":[]}]},"httpPath":"/advertisers"},{"label":"Get Advertiser by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/advertisers/dsp_getadvertiser","routeSlug":"/apis/dsp/advertisers/dsp_getadvertiser","metadata":{"seo":{"title":"Get Advertiser by ID","description":"Returns an individual advertiser."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_GetAdvertiser","name":"Get Advertiser by ID","isWebhook":false,"pointer":"/paths/~1advertisers~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Advertiser by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns an individual advertiser."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_55","required":true}],"pointer":"/paths/~1advertisers~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/advertisers/{id}","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_55"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/advertisers/{id}","href":"advertisers/dsp_getadvertiser","openApiOperationId":"DSP_GetAdvertiser","summary":"Get Advertiser by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation completed successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.Advertiser"}},"schemaId":"components/schemas/api.dsp.v1.Advertiser"},{"code":"400","description":"Bad request. The request contains invalid syntax or encoding.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/400/content/application~1json/examples/response"]},{"code":"401","description":"Not authorized. Authentication is required to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/401/content/application~1json/examples/response"]},{"code":"403","description":"Not authenticated. Re-authenticate to access the API.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/403/content/application~1json/examples/response"]},{"code":"404","description":"Not found. The requested resource doesn't exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/404/content/application~1json/examples/response"]},{"code":"422","description":"Invalid request. One or more request parameters are invalid. See the response for more details.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1advertisers~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.Advertiser","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.Advertiser"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1advertisers~1{id}/get/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/advertisers/dsp_getadvertiser"}],"panels":[]}]},"httpPath":"/advertisers/{id}"}],"content":{"contentType":"group","meta":{"name":"Advertisers"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Advertisers","showPageActions":true},{"nodeType":"markdoc","content":"An advertiser identifies the brand or organization associated with an insertion order or creative. Using this API, you can list and create advertisers.\n\nAdvertisers in the Vistar DSP are global and shared across all seats and users."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/advertisers","summary":"List Advertisers","prefix":{"name":"get","color":"get"},"badges":[],"link":"/advertisers/dsp_listadvertisers","deprecated":false},{"title":"/advertisers","summary":"Create Advertiser","prefix":{"name":"post","color":"post"},"badges":[],"link":"/advertisers/dsp_createadvertiser","deprecated":false},{"title":"/advertisers/{id}","summary":"Get Advertiser by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/advertisers/dsp_getadvertiser","deprecated":false}]}]}]}]}},{"type":"group","label":"Creatives","link":"/apis/dsp/creatives","routeSlug":"/apis/dsp/creatives","items":[{"label":"List Creative Categories","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/creatives/dsp_listcreativecategories","routeSlug":"/apis/dsp/creatives/dsp_listcreativecategories","metadata":{"seo":{"title":"List Creative Categories","description":"Returns a list of creative categories available on the DSP."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_ListCreativeCategories","name":"List Creative Categories","isWebhook":false,"pointer":"/paths/~1creative_categories/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List Creative Categories","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns a list of creative categories available on the DSP."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page_size","in":"query","schemaId":"schema_58","description":"The maximum number of results to return per page."},{"name":"page","in":"query","schemaId":"schema_54","description":"The zero-based page offset (page number ) to return. For example, 0 returns the first page, 1 returns the second page, and so on."},{"name":"order","in":"query","schemaId":"schema_55"},{"name":"asc","in":"query","schemaId":"schema_56"},{"name":"filter","in":"query","schemaId":"schema_57","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The field to filter by. You can specify multiple filter parameters."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"When you apply filters to different fields, the results include only records that match all specified field values (AND logic). When you apply multiple filters to the same field, the results include records that match any of the specified values in that field (OR logic)."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported Fields: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"id"},"children":[]}]}]}],"example":"id:000lYW0SSFSPuV32udyVpA"},{"name":"search","in":"query","schemaId":"schema_57","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Performs a substring search on a specified field. The search is case-insensitive."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported Fields: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"name"},"children":[]}]}]}],"example":"name:cosmetics"}],"pointer":"/paths/~1creative_categories/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/creative_categories","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[],"query":[{"name":"page_size","in":"query","required":false,"schemaId":"schema_58"},{"name":"page","in":"query","required":false,"schemaId":"schema_54"},{"name":"order","in":"query","required":false,"schemaId":"schema_55"},{"name":"asc","in":"query","required":false,"schemaId":"schema_56"},{"name":"filter","in":"query","required":false,"example":"id:000lYW0SSFSPuV32udyVpA","schemaId":"schema_57","explode":true},{"name":"search","in":"query","required":false,"example":"name:cosmetics","schemaId":"schema_57","explode":true}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/creative_categories","href":"creatives/dsp_listcreativecategories","openApiOperationId":"DSP_ListCreativeCategories","summary":"List Creative Categories"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation completed successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.ListCreativeCategoriesResponse"}},"schemaId":"components/schemas/api.dsp.v1.ListCreativeCategoriesResponse"},{"code":"400","description":"Bad request. The request contains invalid syntax or encoding.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/400/content/application~1json/examples/response"]},{"code":"401","description":"Not authorized. Authentication is required to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/401/content/application~1json/examples/response"]},{"code":"403","description":"Not authenticated. Re-authenticate to access the API.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/403/content/application~1json/examples/response"]},{"code":"404","description":"Not found. The requested resource doesn't exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/404/content/application~1json/examples/response"]},{"code":"422","description":"Invalid request. One or more request parameters are invalid. See the response for more details.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1creative_categories/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.ListCreativeCategoriesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.ListCreativeCategoriesResponse"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories/get/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/creatives/dsp_listcreativecategories"}],"panels":[]}]},"httpPath":"/creative_categories"},{"label":"Get Creative Category by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/creatives/dsp_getcreativecategory","routeSlug":"/apis/dsp/creatives/dsp_getcreativecategory","metadata":{"seo":{"title":"Get Creative Category by ID","description":"Retrieves an individual creative category."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_GetCreativeCategory","name":"Get Creative Category by ID","isWebhook":false,"pointer":"/paths/~1creative_categories~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Creative Category by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieves an individual creative category."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_55","required":true}],"pointer":"/paths/~1creative_categories~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/creative_categories/{id}","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_55"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/creative_categories/{id}","href":"creatives/dsp_getcreativecategory","openApiOperationId":"DSP_GetCreativeCategory","summary":"Get Creative Category by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation completed successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreativeCategory"}},"schemaId":"components/schemas/api.dsp.v1.CreativeCategory"},{"code":"400","description":"Bad request. The request contains invalid syntax or encoding.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/400/content/application~1json/examples/response"]},{"code":"401","description":"Not authorized. Authentication is required to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/401/content/application~1json/examples/response"]},{"code":"403","description":"Not authenticated. Re-authenticate to access the API.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/403/content/application~1json/examples/response"]},{"code":"404","description":"Not found. The requested resource doesn't exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/404/content/application~1json/examples/response"]},{"code":"422","description":"Invalid request. One or more request parameters are invalid. See the response for more details.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1creative_categories~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.CreativeCategory","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreativeCategory"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creative_categories~1{id}/get/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/creatives/dsp_getcreativecategory"}],"panels":[]}]},"httpPath":"/creative_categories/{id}"},{"label":"List Creatives","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/creatives/dsp_listcreatives","routeSlug":"/apis/dsp/creatives/dsp_listcreatives","metadata":{"seo":{"title":"List Creatives","description":"Returns the list of creatives available for the current DSP seat."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_ListCreatives","name":"List Creatives","isWebhook":false,"pointer":"/paths/~1creatives/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List Creatives","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns the list of creatives available for the current DSP seat."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page_size","in":"query","schemaId":"schema_61","description":"The maximum number of results to return per page."},{"name":"page","in":"query","schemaId":"schema_59","description":"The zero-based page offset (page number ) to return. For example, 0 returns the first page, 1 returns the second page, and so on."},{"name":"order","in":"query","schemaId":"schema_55","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The field to sort the results by."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported fields: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"create_time"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"name"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"name":"asc","in":"query","schemaId":"schema_56","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Specifies the sort direction. Set to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for ascending order or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"false"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for descending order."},"children":[]}]}]}]},{"name":"filter","in":"query","schemaId":"schema_57","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The field to filter by. You can specify multiple filter parameters."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"When you apply filters to different fields, the results include only records that match all specified field values (AND logic). When you apply multiple filters to the same field, the results include records that match any of the specified values in that field (OR logic)."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported fields: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"archived"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"campaign_ids"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"insertion_order_ids"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"advertiser_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"example":"advertiser_id:SjZn7_mdSxyReVarigUV9g"},{"name":"search","in":"query","schemaId":"schema_57","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Performs a substring search on a specified field. The search is case-insensitive."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported fields: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"name"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"example":"name:my_asset.jpg"},{"name":"view","in":"query","schemaId":"components/schemas/api.dsp.v1.Creative.CreativeView","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Specifies which fields are returned in the response."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Available views:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"BASIC"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Returns creative metadata only."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"AUDIT"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Returns creative metadata and approval status."},"children":[]}]}]}]}]}],"pointer":"/paths/~1creatives/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/creatives","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[],"query":[{"name":"page_size","in":"query","required":false,"schemaId":"schema_61"},{"name":"page","in":"query","required":false,"schemaId":"schema_59"},{"name":"order","in":"query","required":false,"schemaId":"schema_55"},{"name":"asc","in":"query","required":false,"schemaId":"schema_56"},{"name":"filter","in":"query","required":false,"example":"advertiser_id:SjZn7_mdSxyReVarigUV9g","schemaId":"schema_57","explode":true},{"name":"search","in":"query","required":false,"example":"name:my_asset.jpg","schemaId":"schema_57","explode":true},{"name":"view","in":"query","required":false,"schemaId":"components/schemas/api.dsp.v1.Creative.CreativeView"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/creatives","href":"creatives/dsp_listcreatives","openApiOperationId":"DSP_ListCreatives","summary":"List Creatives"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation completed successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.ListCreativesResponse"}},"schemaId":"components/schemas/api.dsp.v1.ListCreativesResponse"},{"code":"400","description":"Bad request. The request contains invalid syntax or encoding.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/400/content/application~1json/examples/response"]},{"code":"401","description":"Not authorized. Authentication is required to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/401/content/application~1json/examples/response"]},{"code":"403","description":"Not authenticated. Re-authenticate to access the API.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/403/content/application~1json/examples/response"]},{"code":"404","description":"Not found. The requested resource doesn't exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/404/content/application~1json/examples/response"]},{"code":"422","description":"Invalid request. One or more request parameters are invalid. See the response for more details.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/422/content/application~1json/examples/response"]},{"code":"429","description":"Too many requests. Your API call frequency has exceeded limits.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1creatives/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.ListCreativesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.ListCreativesResponse"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/get/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/creatives/dsp_listcreatives"}],"panels":[]}]},"httpPath":"/creatives"},{"label":"Create Creatives","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/creatives/dsp_createcreatives","routeSlug":"/apis/dsp/creatives/dsp_createcreatives","metadata":{"seo":{"title":"Create Creatives","description":"Create Creatives"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_CreateCreatives","name":"Create Creatives","isWebhook":false,"pointer":"/paths/~1creatives/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create Creatives","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Create Creatives"},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateCreativesRequest"}},"schemaId":"components/schemas/api.dsp.v1.CreateCreativesRequest","pointer":"/paths/~1creatives/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/creatives","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateCreativesRequest"}},"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/creatives","href":"creatives/dsp_createcreatives","openApiOperationId":"DSP_CreateCreatives","summary":"Create Creatives"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"schemaId":"components/schemas/api.dsp.v1.CreateCreativesRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateCreativesRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A successful response.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateCreativesResponse"}},"schemaId":"components/schemas/api.dsp.v1.CreateCreativesResponse"},{"code":"400","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/400/content/application~1json/examples/response"]},{"code":"401","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/401/content/application~1json/examples/response"]},{"code":"403","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/403/content/application~1json/examples/response"]},{"code":"404","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/404/content/application~1json/examples/response"]},{"code":"422","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/422/content/application~1json/examples/response"]},{"code":"429","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1creatives/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.CreateCreativesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateCreativesResponse"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/post/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/creatives/dsp_createcreatives"}],"panels":[]}]},"httpPath":"/creatives"},{"label":"Update Creatives","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/creatives/dsp_updatecreatives","routeSlug":"/apis/dsp/creatives/dsp_updatecreatives","metadata":{"seo":{"title":"Update Creatives","description":"Update up to 100 creatives in a single request. Specify only the properties you want to update. Properties you omit remain unchanged."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_UpdateCreatives","name":"Update Creatives","isWebhook":false,"pointer":"/paths/~1creatives/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update Creatives","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Update up to 100 creatives in a single request. Specify only the properties you want to update. Properties you omit remain unchanged.\n\nThis endpoint is transactional. If the request succeeds, all creatives are updated. If the request fails, no creatives are updated."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.UpdateCreativesRequest"}},"schemaId":"components/schemas/api.dsp.v1.UpdateCreativesRequest","pointer":"/paths/~1creatives/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/creatives","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.UpdateCreativesRequest"}},"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/creatives","href":"creatives/dsp_updatecreatives","openApiOperationId":"DSP_UpdateCreatives","summary":"Update Creatives"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"schemaId":"components/schemas/api.dsp.v1.UpdateCreativesRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.UpdateCreativesRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation completed successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateCreativesResponse"}},"schemaId":"components/schemas/api.dsp.v1.CreateCreativesResponse"},{"code":"400","description":"Bad request. The request contains invalid syntax or encoding.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/400/content/application~1json/examples/response"]},{"code":"401","description":"Not authorized. Authentication is required to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/401/content/application~1json/examples/response"]},{"code":"403","description":"Not authenticated. Re-authenticate to access the API.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/403/content/application~1json/examples/response"]},{"code":"404","description":"Not found. The requested resource doesn't exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/404/content/application~1json/examples/response"]},{"code":"422","description":"Invalid request. One or more request parameters are invalid. See the response for more details.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/422/content/application~1json/examples/response"]},{"code":"429","description":"Too many requests. Your API call frequency has exceeded limits.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1creatives/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.CreateCreativesResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.CreateCreativesResponse"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives/patch/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/creatives/dsp_updatecreatives"}],"panels":[]}]},"httpPath":"/creatives"},{"label":"Get Creative by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/creatives/dsp_getcreative","routeSlug":"/apis/dsp/creatives/dsp_getcreative","metadata":{"seo":{"title":"Get Creative by ID","description":"Returns an individual creative."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_GetCreative","name":"Get Creative by ID","isWebhook":false,"pointer":"/paths/~1creatives~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get Creative by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns an individual creative."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_55","required":true}],"pointer":"/paths/~1creatives~1{id}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"view","in":"query","schemaId":"components/schemas/api.dsp.v1.Creative.CreativeView"}],"pointer":"/paths/~1creatives~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/creatives/{id}","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_55"}],"query":[{"name":"view","in":"query","required":false,"schemaId":"components/schemas/api.dsp.v1.Creative.CreativeView"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/creatives/{id}","href":"creatives/dsp_getcreative","openApiOperationId":"DSP_GetCreative","summary":"Get Creative by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation completed successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.Creative"}},"schemaId":"components/schemas/api.dsp.v1.Creative"},{"code":"400","description":"Bad request. The request contains invalid syntax or encoding.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/400/content/application~1json/examples/response"]},{"code":"401","description":"Not authorized. Authentication is required to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/401/content/application~1json/examples/response"]},{"code":"403","description":"Not authenticated. Re-authenticate to access the API.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/403/content/application~1json/examples/response"]},{"code":"404","description":"Not found. The requested resource doesn't exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/404/content/application~1json/examples/response"]},{"code":"422","description":"Invalid request. One or more request parameters are invalid. See the response for more details.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/422/content/application~1json/examples/response"]},{"code":"429","description":"Too many requests. Your API call frequency has exceeded limits.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1creatives~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.Creative","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.Creative"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/get/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/creatives/dsp_getcreative"}],"panels":[]}]},"httpPath":"/creatives/{id}"},{"label":"Update Creative by ID","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/dsp/creatives/dsp_updatecreative","routeSlug":"/apis/dsp/creatives/dsp_updatecreative","metadata":{"seo":{"title":"Update Creative by ID","description":"Update an individual creative. Specify only the properties you want to update. Properties you omit remain unchanged."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"DSP_UpdateCreative","name":"Update Creative by ID","isWebhook":false,"pointer":"/paths/~1creatives~1{id}/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update Creative by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Update an individual creative. Specify only the properties you want to update. Properties you omit remain unchanged."},{"nodeType":"security","requirements":[{"schemes":[{"name":"SessionCookie","scopes":[],"type":"apiKey","in":"header","paramName":"Cookie"}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_55","required":true}],"pointer":"/paths/~1creatives~1{id}/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.DSP.UpdateCreativeBody"}},"schemaId":"components/schemas/api.dsp.v1.DSP.UpdateCreativeBody","pointer":"/paths/~1creatives~1{id}/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/creatives/{id}","servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_55"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"SessionCookie","type":"apiKey","name":"Cookie","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.DSP.UpdateCreativeBody"}},"responseCodes":["200","400","401","403","404","422","429"],"pointer":"/creatives/{id}","href":"creatives/dsp_updatecreative","openApiOperationId":"DSP_UpdateCreative","summary":"Update Creative by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"schemaId":"components/schemas/api.dsp.v1.DSP.UpdateCreativeBody","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.DSP.UpdateCreativeBody"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Operation completed successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.Creative"}},"schemaId":"components/schemas/api.dsp.v1.Creative"},{"code":"400","description":"Bad request. The request contains invalid syntax or encoding.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/400/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/400/content/application~1json/examples/response"]},{"code":"401","description":"Not authorized. Authentication is required to access the requested resource.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/401/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/401/content/application~1json/examples/response"]},{"code":"403","description":"Not authenticated. Re-authenticate to access the API.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/403/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/403/content/application~1json/examples/response"]},{"code":"404","description":"Not found. The requested resource doesn't exist.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/404/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/404/content/application~1json/examples/response"]},{"code":"422","description":"Invalid request. One or more request parameters are invalid. See the response for more details.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/422/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/422/content/application~1json/examples/response"]},{"code":"429","description":"Too many requests. Your API call frequency has exceeded limits.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/429/content/application~1json/examples/response"]}},"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/429/content/application~1json/examples/response"]}],"pointer":"/paths/~1creatives~1{id}/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/api.dsp.v1.Creative","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.dsp.v1.Creative"}}},{"code":"400","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/400/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/400/content/application~1json/examples/response"]}}},{"code":"401","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/401/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/401/content/application~1json/examples/response"]}}},{"code":"403","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/403/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/403/content/application~1json/examples/response"]}}},{"code":"404","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/404/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/404/content/application~1json/examples/response"]}}},{"code":"422","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/422/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/422/content/application~1json/examples/response"]}}},{"code":"429","schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/429/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/api.external.lib.v1.Error","exampleIds":["paths/~1creatives~1{id}/patch/responses/429/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/creatives/dsp_updatecreative"}],"panels":[]}]},"httpPath":"/creatives/{id}"}],"content":{"contentType":"group","meta":{"name":"Creatives"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Creatives","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Creatives are the images, videos, audio, and dynamic assets that make up your campaign. Using the DSP API, you can view creatives, update creative metadata, and associate existing creatives with campaigns and insertion orders."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Creatives are specific to each DSP seat. Each creative can be associated with multiple campaigns across multiple insertion orders. When a creative is associated with a campaign, it must also be associated with the campaign’s parent insertion order. The API automatically creates this association if needed."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Each creative is associated with an advertiser and assigned a creative category. Use the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/apis/dsp/advertisers"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Advertiser"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/apis/dsp/creatives/dsp_listcreativecategories"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Creative Category"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" APIs to find the applicable advertiser and creative category IDs. The creative’s advertiser ID must match the campaign and insertion order during association."},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/creative_categories","summary":"List Creative Categories","prefix":{"name":"get","color":"get"},"badges":[],"link":"/creatives/dsp_listcreativecategories","deprecated":false},{"title":"/creative_categories/{id}","summary":"Get Creative Category by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/creatives/dsp_getcreativecategory","deprecated":false},{"title":"/creatives","summary":"List Creatives","prefix":{"name":"get","color":"get"},"badges":[],"link":"/creatives/dsp_listcreatives","deprecated":false},{"title":"/creatives","summary":"Create Creatives","prefix":{"name":"post","color":"post"},"badges":[],"link":"/creatives/dsp_createcreatives","deprecated":false},{"title":"/creatives","summary":"Update Creatives","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/creatives/dsp_updatecreatives","deprecated":false},{"title":"/creatives/{id}","summary":"Get Creative by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/creatives/dsp_getcreative","deprecated":false},{"title":"/creatives/{id}","summary":"Update Creative by ID","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/creatives/dsp_updatecreative","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/api.dsp.v1.Advertiser":{"id":"components/schemas/api.dsp.v1.Advertiser","kind":"json-schema","title":"api.dsp.v1.Advertiser","data":{"type":"object","properties":{"id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA"},"name":{"type":"string","example":"T-Mobile","description":"The advertiser name. It must be globally unique."}},"description":"An advertiser identifies the brand or organization associated with an insertion order or creative.\n\nAdvertisers in the Vistar DSP are global and shared across all seats and users."}},"components/schemas/api.dsp.v1.Campaign":{"id":"components/schemas/api.dsp.v1.Campaign","kind":"json-schema","title":"api.dsp.v1.Campaign","data":{"type":"object","properties":{"id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA"},"create_time":{"type":"string","format":"date-time","example":"2025-07-03T21:30:40Z","description":"The date and time the campaign was created."},"update_time":{"type":"string","format":"date-time","example":"2025-07-03T21:30:40Z","description":"The date and time the campaign was last updated."},"archived":{"type":"boolean","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Indicates whether the campaign is archived. If "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", the campaign is archived and isn't returned by the API or displayed in the DSP user interface by default."},"children":[]}]}]}]},"insertion_order_id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA","description":"The ID of the parent insertion order."},"name":{"type":"string","example":"A really good ad campaign","description":"The customer-specified campaign name."},"region_code":{"type":"string","example":"US","title":"Uses ISO_3166-1_alpha-2 as the region code","description":"The country or territory where the campaign will run. Specify the value using an ISO 3166-1 alpha-2 two-letter country code (for example, US, CA, or GB)."},"active":{"type":"boolean","description":"Indicates whether the campaign is enabled to serve. A campaign serves only when it's enabled and its flight dates and targeting parameters are met.\n\nAfter enabling a campaign, it can take up to 20 minutes before it begins serving."},"start_time":{"type":"string","format":"date-time","example":"2025-07-03T21:30:40Z","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The campaign flight start time. It must be on or after the parent insertion order's "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"start_time"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},"end_time":{"type":"string","format":"date-time","example":"2025-07-03T22:30:40Z","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The campaign flight end time. This value must be on or before the parent insertion order's "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"end_time"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},"activation_time":{"type":"string","format":"date-time","example":"2025-07-03T21:35:40Z","description":"The time the campaign was last set to active."},"budget_impressions":{"type":"string","format":"uint64","example":"8412","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The target impression budget for the campaign. Required when the parent insertion order uses impression budgeting and is mutually exclusive with the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"budget_money"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field."},"children":[]}]}]}]},"budget_money":{"$ref":"#/components/schemas/google.type.Money","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The target spend budget for the campaign. Required when the parent insertion order uses spend budgeting and is mutually exclusive with the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"budget_impressions"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field."},"children":[]}]}]}]},"cpm":{"$ref":"#/components/schemas/google.type.Money","description":"The campaign bid CPM."},"pacing":{"$ref":"#/components/schemas/api.dsp.v1.Campaign.PacingOption","description":"The campaign pacing strategy. This determines how the campaign budget is spent over the course of its flight."},"pixel_url":{"type":"string","example":"https://apixelurl.com","description":"An optional tracking pixel URL to call when the ad is displayed. This must be a valid HTTPS URL."},"creatives":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.Campaign.Creative"},"description":"The list of creatives associated with the campaign, including their flight dates and weights. Retrieve each creative separately to view its details."},"progress":{"$ref":"#/components/schemas/api.dsp.v1.Progress","description":"The campaign delivery progress information."},"buy_type":{"$ref":"#/components/schemas/api.dsp.v1.Campaign.BuyType"},"deal_bid_strategy":{"$ref":"#/components/schemas/api.dsp.v1.Campaign.BidStrategy"}},"description":"Campaigns are the individual line items that belong to an insertion order. They specify a budget, pacing strategy, bidding strategy, targeting parameters and have associated creatives."}},"components/schemas/api.dsp.v1.Campaign.BidStrategy":{"id":"components/schemas/api.dsp.v1.Campaign.BidStrategy","kind":"json-schema","title":"api.dsp.v1.Campaign.BidStrategy","data":{"type":"string","enum":["OPEN","FLOOR"],"default":"OPEN","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The strategy used to determine campaign bid CPMs for campaigns targeting PMP (Private Marketplace) deals and curations."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported Values:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"OPEN"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Uses standard bid behavior."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"FLOOR"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Always bids the floor price of targeted deals. The CPM you set is the maximum CPM you'll pay for a deal."},"children":[]}]}]}]}]}},"components/schemas/api.dsp.v1.Campaign.BuyType":{"id":"components/schemas/api.dsp.v1.Campaign.BuyType","kind":"json-schema","title":"api.dsp.v1.Campaign.BuyType","data":{"type":"string","enum":["OPEN_EXCHANGE","DEAL","PROGRAMMATIC_GUARANTEED"],"default":"OPEN_EXCHANGE","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Indicates whether the campaign is buying inventory on the open exchange, through PMP deals and curations, or as Programmatic Guaranteed. This value is set automatically by the platform."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supported Values:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"OPEN_EXCHANGE"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"DEAL"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (Private Marketplace or curation)"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"PROGRAMMATIC_GUARANTEED"},"children":[]}]}]}]}]}},"components/schemas/api.dsp.v1.Campaign.CampaignView":{"id":"components/schemas/api.dsp.v1.Campaign.CampaignView","kind":"json-schema","title":"api.dsp.v1.Campaign.CampaignView","data":{"type":"string","enum":["BASIC","PROGRESS"],"default":"BASIC"}},"components/schemas/api.dsp.v1.Campaign.Creative":{"id":"components/schemas/api.dsp.v1.Campaign.Creative","kind":"json-schema","title":"api.dsp.v1.Campaign.Creative","data":{"type":"object","properties":{"creative_id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA","description":"The ID of the creative."},"start_time":{"type":"string","format":"date-time","example":"2025-07-03T21:30:40Z","description":"The campaign creative flight start time."},"end_time":{"type":"string","format":"date-time","example":"2025-07-03T22:30:40Z","description":"The campaign creative flight end time."},"weight":{"type":"string","format":"int64","example":"120","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Weight determines how often a creative will serve. Creatives with higher weights serve more often than creatives with lower weights. Weighting is proportional. For example, if you give creative “A” a weight of 2 and creative “B” a weight of 1. Creative “A” serves twice as often as Creative “B” (2:1). By default, all creative weights are set at 1."},"children":[]}]}]}]}}}},"components/schemas/api.dsp.v1.Campaign.PacingOption":{"id":"components/schemas/api.dsp.v1.Campaign.PacingOption","kind":"json-schema","title":"api.dsp.v1.Campaign.PacingOption","data":{"type":"string","enum":["EVEN","AHEAD","ASAP"],"default":"EVEN","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The pacing strategy of the campaign. Pacing controls how quickly the campaign spends its budget over the course of its flight dates."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"EVEN"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Attempts to spend the budget evenly throughout the flight. Even pacing is recommended if your priority is to spend a consistent amount of your budget each day."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"AHEAD"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Front-loads delivery, aiming to spend approximately 75% of the budget by the midpoint of the flight. Line item delivery start off fasts and slows down over the course of the flight dates until the line item spends in full. Ahead pacing is recommended for line items where you want to front-load your delivery."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"ASAP"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Prioritizes spending the budget as quickly as possible. Here the only goal of the line item is to spend the budget over the course of the flight dates."},"children":[]}]}]}]}]}},"components/schemas/api.dsp.v1.CampaignTargetings":{"id":"components/schemas/api.dsp.v1.CampaignTargetings","kind":"json-schema","title":"api.dsp.v1.CampaignTargetings","data":{"type":"object","properties":{"targetings":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.Targeting"}}},"example":{"targetings":[{"deal_targeting_option":{"deal_ids":["OaQqQrsnSIS89FkQFzrR3w","w7_lwxwiSl6Kwg_tUxIXkA","4LLHNrnvTTWD4I3XG0TNHw"]}},{"venue_type_targeting_option":{"venue_type_ids":["1","3"],"exclude":false}},{"venue_targeting_option":{"venue_targeting_ids":["tVcQWUFuTJ2OAr88vwi-Dg-XN3GJTIIOI","tVcQWUFuTJ2OAr88vwi-Dg-MHIYWB5RHX","7rLsD2w8SfmOwNGotS4o_g-NYC9093RD"],"exclude":true}}]}}},"components/schemas/api.dsp.v1.CreateAdvertiserRequest":{"id":"components/schemas/api.dsp.v1.CreateAdvertiserRequest","kind":"json-schema","title":"api.dsp.v1.CreateAdvertiserRequest","data":{"type":"object","properties":{"name":{"type":"string","example":"A New Advertiser"}}}},"components/schemas/api.dsp.v1.CreateCampaignRequest":{"id":"components/schemas/api.dsp.v1.CreateCampaignRequest","kind":"json-schema","title":"api.dsp.v1.CreateCampaignRequest","data":{"type":"object","properties":{"insertion_order_id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA","description":"The ID of the parent insertion order."},"name":{"type":"string","example":"Insertion Order Name","description":"The customer-specified campaign name."},"start_time":{"type":"string","format":"date-time","example":"2004-09-22T16:16:42Z","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The campaign flight start time. It must be on or after the parent insertion order's "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"start_time"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},"end_time":{"type":"string","format":"date-time","example":"2004-09-22T16:16:42Z","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The campaign flight end time. This value must be on or before the parent insertion order's "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"end_time"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},"cpm":{"$ref":"#/components/schemas/google.type.Money","description":"The campaign bid CPM."},"pacing":{"$ref":"#/components/schemas/api.dsp.v1.Campaign.PacingOption","description":"The campaign pacing strategy. This determines how the campaign budget is spent over the course of its flight."},"budget_impressions":{"type":"string","format":"uint64","example":"10000","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The target impression budget for the campaign. Required when the parent insertion order uses impression budgeting and is mutually exclusive with the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"budget_money"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field."},"children":[]}]}]}]},"budget_money":{"$ref":"#/components/schemas/google.type.Money","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The target spend budget for the campaign. Required when the parent insertion order uses spend budgeting and is mutually exclusive with the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"budget_impressions"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field."},"children":[]}]}]}]},"region_code":{"type":"string","example":"US","title":"Uses ISO_3166-1_alpha-2 as the region code","description":"The country or territory where the campaign will run. Specify the value using an ISO 3166-1 alpha-2 two-letter country code (for example, US, CA, or GB)."},"pixel_url":{"type":"string","example":"https://apixelurl.com","description":"An optional tracking pixel URL to call when the ad is displayed. This must be a valid HTTPS URL."}}}},"components/schemas/api.dsp.v1.CreateCampaignsRequest":{"id":"components/schemas/api.dsp.v1.CreateCampaignsRequest","kind":"json-schema","title":"api.dsp.v1.CreateCampaignsRequest","data":{"type":"object","properties":{"campaigns":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.CreateCampaignRequest"}}}}},"components/schemas/api.dsp.v1.CreateCampaignsResponse":{"id":"components/schemas/api.dsp.v1.CreateCampaignsResponse","kind":"json-schema","title":"api.dsp.v1.CreateCampaignsResponse","data":{"type":"object","properties":{"campaigns":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.Campaign"}}}}},"components/schemas/api.dsp.v1.CreateCreativeRequest":{"id":"components/schemas/api.dsp.v1.CreateCreativeRequest","kind":"json-schema","title":"api.dsp.v1.CreateCreativeRequest","data":{"type":"object","properties":{"asset_upload_id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA"},"campaign_ids":{"type":"array","example":["juIGaOygS0CBBqtmXHamqA"],"items":{"type":"string"}},"name":{"type":"string","example":"Some-Advertising-Campaign-2025.jpg"},"pixel_url":{"type":"string","example":"https://apixelurl.com"},"category_ids":{"type":"array","example":["juIGaOygS0CBBqtmXHamqA"],"items":{"type":"string"}},"insertion_order_ids":{"type":"array","example":["juIGaOygS0CBBqtmXHamqA"],"items":{"type":"string"}},"advertiser_id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA"}}}},"components/schemas/api.dsp.v1.CreateCreativesRequest":{"id":"components/schemas/api.dsp.v1.CreateCreativesRequest","kind":"json-schema","title":"api.dsp.v1.CreateCreativesRequest","data":{"type":"object","properties":{"creatives":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.CreateCreativeRequest"}}}}},"components/schemas/api.dsp.v1.CreateCreativesResponse":{"id":"components/schemas/api.dsp.v1.CreateCreativesResponse","kind":"json-schema","title":"api.dsp.v1.CreateCreativesResponse","data":{"type":"object","properties":{"creatives":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.Creative"}}}}},"components/schemas/api.dsp.v1.CreateInsertionOrderRequest":{"id":"components/schemas/api.dsp.v1.CreateInsertionOrderRequest","kind":"json-schema","title":"api.dsp.v1.CreateInsertionOrderRequest","data":{"type":"object","properties":{"advertiser_id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA","description":"The ID of the insertion order's advertiser. You can set the advertiser only when you create the insertion order."},"name":{"type":"string","example":"My Insertion Order Name","description":"The insertion order's name for display purposes."},"start_time":{"type":"string","format":"date-time","example":"2004-09-22T16:16:42Z","description":"The insertion order's flight start time."},"end_time":{"type":"string","format":"date-time","example":"2004-09-22T16:16:42Z","description":"The insertion order's flight end time."},"contract_number":{"type":"string","example":"C-102930","description":"A contract number associated with the insertion order. Contract numbers are for the buyer's use and aren't used by the DSP."},"budget_impressions":{"type":"string","format":"uint64","example":"10000","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The target impression budget for the insertion order. This field is mutually exclusive with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"budget_money"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},"budget_money":{"$ref":"#/components/schemas/google.type.Money","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The target spend budget for the insertion order. This field is mutually exclusive with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"budget_impressions"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Specify the budget in the seat's billing currency."},"children":[]}]}]}]}}}},"components/schemas/api.dsp.v1.CreateInsertionOrdersRequest":{"id":"components/schemas/api.dsp.v1.CreateInsertionOrdersRequest","kind":"json-schema","title":"api.dsp.v1.CreateInsertionOrdersRequest","data":{"type":"object","properties":{"insertion_orders":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.CreateInsertionOrderRequest"}}}}},"components/schemas/api.dsp.v1.CreateInsertionOrdersResponse":{"id":"components/schemas/api.dsp.v1.CreateInsertionOrdersResponse","kind":"json-schema","title":"api.dsp.v1.CreateInsertionOrdersResponse","data":{"type":"object","properties":{"insertion_orders":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.InsertionOrder"}}}}},"components/schemas/api.dsp.v1.Creative":{"id":"components/schemas/api.dsp.v1.Creative","kind":"json-schema","title":"api.dsp.v1.Creative","data":{"type":"object","properties":{"id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA"},"campaign_ids":{"type":"array","example":["juIGaOygS0CBBqtmXHamqA"],"items":{"type":"string"}},"create_time":{"type":"string","format":"date-time","example":"2004-09-22T16:16:42Z"},"name":{"type":"string","example":"Some-Advertising-Campaign-2025.jpg"},"thumbnail_url":{"type":"string","example":"https://transcodes.vistarmedia.com.s3.amazonaws.com/abc123/thumb.png"},"pixel_url":{"type":"string","example":"https://apixelurl.com"},"duration_ms":{"type":"integer","format":"int32","example":1500},"category_ids":{"type":"array","example":["juIGaOygS0CBBqtmXHamqA"],"items":{"type":"string"}},"archived":{"type":"boolean","example":false},"type":{"$ref":"#/components/schemas/api.dsp.v1.Creative.CreativeType"},"requires_audio":{"type":"boolean","example":true},"processing_status":{"$ref":"#/components/schemas/api.dsp.v1.Creative.CreativeStatus"},"asset":{"$ref":"#/components/schemas/api.dsp.v1.Creative.Asset"},"audits":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.Creative.Audit"}},"advertiser_id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA"},"insertion_order_ids":{"type":"array","example":["juIGaOygS0CBBqtmXHamqA"],"items":{"type":"string"}}}}},"components/schemas/api.dsp.v1.Creative.Asset":{"id":"components/schemas/api.dsp.v1.Creative.Asset","kind":"json-schema","title":"api.dsp.v1.Creative.Asset","data":{"type":"object","properties":{"url":{"type":"string","example":"https://transcodes.vistarmedia.com.s3.amazonaws.com/abc123/abc123-1920x1080.png"},"height":{"type":"integer","format":"int32","example":1080},"width":{"type":"integer","format":"int32","example":1920},"format":{"type":"string","example":"video/mp4"},"file_size_bytes":{"type":"integer","format":"int32","example":1024}}}},"components/schemas/api.dsp.v1.Creative.Audit":{"id":"components/schemas/api.dsp.v1.Creative.Audit","kind":"json-schema","title":"api.dsp.v1.Creative.Audit","data":{"type":"object","properties":{"publisher_id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA","description":"The ID of the media owner that must approve the creative."},"publisher_name":{"type":"string","example":"Some Publisher Name","description":"The name of the media owner that must approve the creative."},"status":{"$ref":"#/components/schemas/api.dsp.v1.Creative.Audit.AuditStatus"},"message":{"type":"string","example":"Looks good to me!","description":"An optional message from the media owner that may explain why the creative was approved or denied or provide other relevant information."},"last_reviewed":{"type":"string","format":"date-time","example":"2004-09-22T16:16:42Z","description":"The time of the most recent approval or denial."}},"description":"Before Vistar's DSP serves an ad to a screen, the screen's media owner must approve the creative. Each media owner approval has a separate audit object. A media owner can have multiple approvals for the same creative, depending on how their screens are configured in Vistar's DSP."}},"components/schemas/api.dsp.v1.Creative.Audit.AuditStatus":{"id":"components/schemas/api.dsp.v1.Creative.Audit.AuditStatus","kind":"json-schema","title":"api.dsp.v1.Creative.Audit.AuditStatus","data":{"type":"string","enum":["PENDING","APPROVED","DENIED"],"default":"PENDING","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The approval status. Possible values include:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"PENDING"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The audit is in the media owner's queue awaiting review."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"APPROVED"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The creative is approved for display."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"DENIED"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The creative is denied and won't serve to the media owner. Check the audit's "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"message"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" property for more information."},"children":[]}]}]}]}]}},"components/schemas/api.dsp.v1.Creative.CreativeStatus":{"id":"components/schemas/api.dsp.v1.Creative.CreativeStatus","kind":"json-schema","title":"api.dsp.v1.Creative.CreativeStatus","data":{"type":"string","enum":["PROCESSING","PROCESSED","FAILED"],"default":"PROCESSING"}},"components/schemas/api.dsp.v1.Creative.CreativeType":{"id":"components/schemas/api.dsp.v1.Creative.CreativeType","kind":"json-schema","title":"api.dsp.v1.Creative.CreativeType","data":{"type":"string","enum":["NONE","DYNAMIC","SAGE_AND_ARCHER_DYNAMIC","IMAGE","VIDEO","AUDIO","UNKNOWN"],"default":"NONE"}},"components/schemas/api.dsp.v1.Creative.CreativeView":{"id":"components/schemas/api.dsp.v1.Creative.CreativeView","kind":"json-schema","title":"api.dsp.v1.Creative.CreativeView","data":{"type":"string","enum":["BASIC","AUDIT"],"default":"BASIC"}},"components/schemas/api.dsp.v1.CreativeCategory":{"id":"components/schemas/api.dsp.v1.CreativeCategory","kind":"json-schema","title":"api.dsp.v1.CreativeCategory","data":{"type":"object","properties":{"id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA"},"name":{"type":"string","example":"Food & Groceries"}}}},"components/schemas/api.dsp.v1.DSP.SetCampaignTargetingsBody":{"id":"components/schemas/api.dsp.v1.DSP.SetCampaignTargetingsBody","kind":"json-schema","title":"api.dsp.v1.DSP.SetCampaignTargetingsBody","data":{"type":"object","properties":{"targetings":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.SetCampaignTargetingsRequest.Targeting"}}}}},"components/schemas/api.dsp.v1.DSP.UpdateCampaignBody":{"id":"components/schemas/api.dsp.v1.DSP.UpdateCampaignBody","kind":"json-schema","title":"api.dsp.v1.DSP.UpdateCampaignBody","data":{"type":"object","properties":{"name":{"type":"string","example":"A really good ad campaign"},"active":{"type":"boolean"},"start_time":{"type":"string","format":"date-time","example":"2025-07-03T21:30:40Z"},"end_time":{"type":"string","format":"date-time","example":"2025-07-03T22:30:40Z"},"budget_impressions":{"type":"string","format":"uint64","example":"8412"},"budget_money":{"$ref":"#/components/schemas/google.type.Money"},"cpm":{"$ref":"#/components/schemas/google.type.Money"},"pacing":{"$ref":"#/components/schemas/api.dsp.v1.Campaign.PacingOption"},"pixel_url":{"type":"string","example":"https://apixelurl.com"},"deal_bid_strategy":{"$ref":"#/components/schemas/api.dsp.v1.Campaign.BidStrategy"}}}},"components/schemas/api.dsp.v1.DSP.UpdateCreativeBody":{"id":"components/schemas/api.dsp.v1.DSP.UpdateCreativeBody","kind":"json-schema","title":"api.dsp.v1.DSP.UpdateCreativeBody","data":{"type":"object","properties":{"pixel_url":{"type":"string","example":"https://apixelurl.com"},"campaign_ids":{"type":"array","example":["juIGaOygS0CBBqtmXHamqA"],"items":{"type":"string"}},"category_ids":{"type":"array","example":["juIGaOygS0CBBqtmXHamqA"],"items":{"type":"string"}},"insertion_order_ids":{"type":"array","example":["juIGaOygS0CBBqtmXHamqA"],"items":{"type":"string"}}}}},"components/schemas/api.dsp.v1.DSP.UpdateInsertionOrderBody":{"id":"components/schemas/api.dsp.v1.DSP.UpdateInsertionOrderBody","kind":"json-schema","title":"api.dsp.v1.DSP.UpdateInsertionOrderBody","data":{"type":"object","properties":{"contract_number":{"type":"string","example":"C-102930","description":"A contract number associated with the insertion order. Contract numbers are for the buyer's use and aren't used by the DSP."},"name":{"type":"string","example":"A really good ad campaign","description":"The insertion order's name for display purposes."},"start_time":{"type":"string","format":"date-time","example":"2004-09-22T16:16:42Z","description":"The insertion order's flight start time."},"end_time":{"type":"string","format":"date-time","example":"2004-09-22T17:16:42Z","description":"The insertion order's flight end time."},"budget_impressions":{"type":"string","format":"uint64","example":"8412","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The target impression budget for the insertion order. This field is mutually exclusive with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"budget_money"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},"budget_money":{"$ref":"#/components/schemas/google.type.Money"}}}},"components/schemas/api.dsp.v1.DealTargetingOption":{"id":"components/schemas/api.dsp.v1.DealTargetingOption","kind":"json-schema","title":"api.dsp.v1.DealTargetingOption","data":{"type":"object","properties":{"deal_ids":{"type":"array","example":["xuh_zhjLQX2XrJRCNbd4OQ"],"items":{"type":"string"}}}}},"components/schemas/api.dsp.v1.InsertionOrder":{"id":"components/schemas/api.dsp.v1.InsertionOrder","kind":"json-schema","title":"api.dsp.v1.InsertionOrder","data":{"type":"object","properties":{"id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA"},"create_time":{"type":"string","format":"date-time","example":"2004-09-22T16:16:42Z","description":"The date and time the insertion order was created."},"update_time":{"type":"string","format":"date-time","example":"2004-09-22T16:16:42Z","description":"The date and time the insertion order was last updated."},"archived":{"type":"boolean","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Shows whether the insertion order is archived. If "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"true"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", the insertion order is archived and isn't returned by the API or displayed in the DSP by default."},"children":[]}]}]}]},"advertiser_id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA","description":"The ID of the insertion order's advertiser. You can set the advertiser only when you create the insertion order."},"contract_number":{"type":"string","example":"C-102930","description":"A contract number associated with the insertion order. Contract numbers are for the buyer's use and aren't used by the DSP."},"name":{"type":"string","example":"My Insertion Order Name","description":"The insertion order's name for display purposes."},"start_time":{"type":"string","format":"date-time","example":"2004-09-22T16:16:42Z","description":"The insertion order's flight start time."},"end_time":{"type":"string","format":"date-time","example":"2004-09-22T17:16:42Z","description":"The insertion order's flight end time."},"budget_impressions":{"type":"string","format":"uint64","example":"10000","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The target impression budget for the insertion order. This field is mutually exclusive with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"budget_money"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},"budget_money":{"$ref":"#/components/schemas/google.type.Money","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The target spend budget for the insertion order. This field is mutually exclusive with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"budget_impressions"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Specify the budget in the seat's billing currency."},"children":[]}]}]}]},"progress":{"$ref":"#/components/schemas/api.dsp.v1.Progress","description":"The insertion order's delivery progress information."},"creative_ids":{"type":"array","items":{"type":"string"}}}}},"components/schemas/api.dsp.v1.InsertionOrder.InsertionOrderView":{"id":"components/schemas/api.dsp.v1.InsertionOrder.InsertionOrderView","kind":"json-schema","title":"api.dsp.v1.InsertionOrder.InsertionOrderView","data":{"type":"string","enum":["BASIC","PROGRESS"],"default":"BASIC"}},"components/schemas/api.dsp.v1.ListAdvertisersResponse":{"id":"components/schemas/api.dsp.v1.ListAdvertisersResponse","kind":"json-schema","title":"api.dsp.v1.ListAdvertisersResponse","data":{"type":"object","properties":{"advertisers":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.Advertiser"}},"total_size":{"type":"integer","format":"int64","example":1}}}},"components/schemas/api.dsp.v1.ListCampaignsResponse":{"id":"components/schemas/api.dsp.v1.ListCampaignsResponse","kind":"json-schema","title":"api.dsp.v1.ListCampaignsResponse","data":{"type":"object","properties":{"campaigns":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.Campaign"}},"total_size":{"type":"integer","format":"int64","example":1}}}},"components/schemas/api.dsp.v1.ListCreativeCategoriesResponse":{"id":"components/schemas/api.dsp.v1.ListCreativeCategoriesResponse","kind":"json-schema","title":"api.dsp.v1.ListCreativeCategoriesResponse","data":{"type":"object","properties":{"creative_categories":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.CreativeCategory"}},"total_size":{"type":"integer","format":"int64"}}}},"components/schemas/api.dsp.v1.ListCreativesResponse":{"id":"components/schemas/api.dsp.v1.ListCreativesResponse","kind":"json-schema","title":"api.dsp.v1.ListCreativesResponse","data":{"type":"object","properties":{"creatives":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.Creative"}},"total_size":{"type":"integer","format":"int64","example":1}}}},"components/schemas/api.dsp.v1.ListInsertionOrdersResponse":{"id":"components/schemas/api.dsp.v1.ListInsertionOrdersResponse","kind":"json-schema","title":"api.dsp.v1.ListInsertionOrdersResponse","data":{"type":"object","properties":{"insertion_orders":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.InsertionOrder"}},"total_size":{"type":"integer","format":"int64","example":1}}}},"components/schemas/api.dsp.v1.ListPublishersResponse":{"id":"components/schemas/api.dsp.v1.ListPublishersResponse","kind":"json-schema","title":"api.dsp.v1.ListPublishersResponse","data":{"type":"object","properties":{"publishers":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.Publisher"}},"total_size":{"type":"integer","format":"int64"}}}},"components/schemas/api.dsp.v1.ListVenueTypesResponse":{"id":"components/schemas/api.dsp.v1.ListVenueTypesResponse","kind":"json-schema","title":"api.dsp.v1.ListVenueTypesResponse","data":{"type":"object","properties":{"venue_types":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.VenueType"}},"total_size":{"type":"integer","format":"int64"}}}},"components/schemas/api.dsp.v1.Progress":{"id":"components/schemas/api.dsp.v1.Progress","kind":"json-schema","title":"api.dsp.v1.Progress","data":{"type":"object","properties":{"impressions_delivered":{"type":"string","format":"uint64","description":"The number of impressions delivered so far.","example":"10000"},"money_spent":{"$ref":"#/components/schemas/google.type.Money","description":"The total amount spent so far."}}}},"components/schemas/api.dsp.v1.Publisher":{"id":"components/schemas/api.dsp.v1.Publisher","kind":"json-schema","title":"api.dsp.v1.Publisher","data":{"type":"object","properties":{"id":{"type":"string","example":"kxYItBGFSsCtRbK6j0usXw"},"name":{"type":"string","example":"Some Publisher Name"},"region_code":{"type":"string","example":"US"},"targeting_eligible":{"type":"boolean"}}}},"components/schemas/api.dsp.v1.PublisherTargetingOption":{"id":"components/schemas/api.dsp.v1.PublisherTargetingOption","kind":"json-schema","title":"api.dsp.v1.PublisherTargetingOption","data":{"type":"object","properties":{"publisher_ids":{"type":"array","example":["kxYItBGFSsCtRbK6j0usXw"],"items":{"type":"string"}},"exclude":{"type":"boolean","example":false}}}},"components/schemas/api.dsp.v1.SetCampaignTargetingsRequest.Targeting":{"id":"components/schemas/api.dsp.v1.SetCampaignTargetingsRequest.Targeting","kind":"json-schema","title":"Targeting Options","data":{"x-tags":["Targeting"],"title":"Targeting Options","type":"object","properties":{"venue_targeting_option":{"$ref":"#/components/schemas/api.dsp.v1.SetCampaignTargetingsRequest.Targeting.VenueTargetingOption"},"deal_targeting_option":{"$ref":"#/components/schemas/api.dsp.v1.SetCampaignTargetingsRequest.Targeting.DealTargetingOption"},"publisher_targeting_option":{"$ref":"#/components/schemas/api.dsp.v1.SetCampaignTargetingsRequest.Targeting.PublisherTargetingOption"},"venue_type_targeting_option":{"$ref":"#/components/schemas/api.dsp.v1.SetCampaignTargetingsRequest.Targeting.VenueTypeTargetingOption"}}}},"components/schemas/api.dsp.v1.SetCampaignTargetingsRequest.Targeting.DealTargetingOption":{"id":"components/schemas/api.dsp.v1.SetCampaignTargetingsRequest.Targeting.DealTargetingOption","kind":"json-schema","title":"Deal Targeting","data":{"type":"object","properties":{"deal_ids":{"type":"array","example":["xuh_zhjLQX2XrJRCNbd4OQ"],"items":{"type":"string"}}},"title":"Deal Targeting","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Target deals and curations."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Use the Vistar deal ID."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"You can target public deals and one-to-one deals."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"You can target up to 100 deals."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"You can't add or remove deal targeting after a campaign is activated."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Adding deal targeting automatically sets a campaign’s "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deal_bid_strategy"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"FLOOR"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". The campaign then always bids the floor price of targeted deals and uses the configured CPM as the maximum CPM. To change this behavior, update the campaign’s "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"deal_bid_strategy"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"OPEN"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Adding deal targeting doesn't adjust the campaign’s CPM, so be mindful of the deal’s pricing and set your CPM accordingly."},"children":[]}]}]}]}],"example":{"deal_ids":["OaQqQrsnSIS89FkQFzrR3w","w7_lwxwiSl6Kwg_tUxIXkA","4LLHNrnvTTWD4I3XG0TNHw"]}}},"components/schemas/api.dsp.v1.SetCampaignTargetingsRequest.Targeting.PublisherTargetingOption":{"id":"components/schemas/api.dsp.v1.SetCampaignTargetingsRequest.Targeting.PublisherTargetingOption","kind":"json-schema","title":"Publisher Targeting","data":{"type":"object","properties":{"publisher_ids":{"type":"array","example":["kxYItBGFSsCtRbK6j0usXw"],"items":{"type":"string"}},"exclude":{"type":"boolean","example":false}},"title":"Publisher Targeting","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Target specific publishers (media owners)."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Use the Vistar publisher id (also known account id or media owner id)."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Publishers must be in the same country as the campaign."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"You can include or exclude publishers."},"children":[]}]}]}]}]}},"components/schemas/api.dsp.v1.SetCampaignTargetingsRequest.Targeting.VenueTargetingOption":{"id":"components/schemas/api.dsp.v1.SetCampaignTargetingsRequest.Targeting.VenueTargetingOption","kind":"json-schema","title":"Venue Targeting","data":{"type":"object","properties":{"venue_targeting_ids":{"type":"array","example":["juIGaOygS0CBBqtmXHamqA-Venue007"],"items":{"type":"string"}},"exclude":{"type":"boolean","example":false}},"title":"Venue Targeting","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Target specific venues (screens)."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"You can include or exclude venues."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Use the venue’s targeting ID. This ID is available from the Vistar SSP platform and the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://help.vistarmedia.com/hc/en-us/articles/360045126551-Access-Vistar-s-SSP-venue-drop"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"venue drop"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" file."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"You can target up to 2,500 venues."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Venues must be in the same country as the campaign."},"children":[]}]}]}]}],"example":{"venue_targeting_ids":["tVcQWUFuTJ2OAr88vwi-Dg-XN3GJTIIOI","tVcQWUFuTJ2OAr88vwi-Dg-MHIYWB5RHX","k6BCwQDOTJmcZYhgTV_9wA-FL056FMCCS01","k6BCwQDOTJmcZYhgTV_9wA-AZ120AACLD01","4500pvspR3SlFLXP0iU17A-BAR-112617","7rLsD2w8SfmOwNGotS4o_g-NYC9093RD"],"exclude":false}}},"components/schemas/api.dsp.v1.SetCampaignTargetingsRequest.Targeting.VenueTypeTargetingOption":{"id":"components/schemas/api.dsp.v1.SetCampaignTargetingsRequest.Targeting.VenueTypeTargetingOption","kind":"json-schema","title":"Venue Type Targeting","data":{"type":"object","properties":{"venue_type_ids":{"type":"array","example":["804"],"items":{"type":"string"}},"exclude":{"type":"boolean","example":false}},"title":"Venue Type Targeting","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Target specific venue types."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Media owners define their screen venue types."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Use "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://github.com/openooh/venue-taxonomy/blob/main/specification-1.0.md"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"OpenOOH Venue Taxonomy 1.0 Category IDs"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Parent and child categories are supported. Grandchild categories aren't supported."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"You can include or exclude venue types."},"children":[]}]}]}]}],"example":{"venue_type_ids":["3","105","801"],"exclude":false}}},"components/schemas/api.dsp.v1.Targeting":{"id":"components/schemas/api.dsp.v1.Targeting","kind":"json-schema","title":"api.dsp.v1.Targeting","data":{"type":"object","properties":{"id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA"},"targeting_type":{"$ref":"#/components/schemas/api.dsp.v1.TargetingType"},"venue_targeting_option":{"$ref":"#/components/schemas/api.dsp.v1.VenueTargetingOption"},"deal_targeting_option":{"$ref":"#/components/schemas/api.dsp.v1.DealTargetingOption"},"publisher_targeting_option":{"$ref":"#/components/schemas/api.dsp.v1.PublisherTargetingOption"},"venue_type_targeting_option":{"$ref":"#/components/schemas/api.dsp.v1.VenueTypeTargetingOption"}}}},"components/schemas/api.dsp.v1.TargetingType":{"id":"components/schemas/api.dsp.v1.TargetingType","kind":"json-schema","title":"api.dsp.v1.TargetingType","data":{"type":"string","enum":["TARGETING_TYPE_UNSPECIFIED","TARGETING_TYPE_VENUE","TARGETING_TYPE_PUBLISHER","TARGETING_TYPE_DEAL","TARGETING_TYPE_DAY_PART","TARGETING_TYPE_AUDIENCE","TARGETING_TYPE_CURRENT_WEATHER","TARGETING_TYPE_GEOGRAPHY","TARGETING_TYPE_POI","TARGETING_TYPE_CREATIVE_CATEGORY","TARGETING_TYPE_NETWORK","TARGETING_TYPE_VENUE_TYPE"],"default":"TARGETING_TYPE_UNSPECIFIED"}},"components/schemas/api.dsp.v1.UpdateCampaignRequest":{"id":"components/schemas/api.dsp.v1.UpdateCampaignRequest","kind":"json-schema","title":"api.dsp.v1.UpdateCampaignRequest","data":{"type":"object","properties":{"id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA","description":"The ID of the campaign to update."},"name":{"type":"string","example":"A really good ad campaign","description":"The customer-specified campaign name."},"active":{"type":"boolean","description":"Indicates whether the campaign is enabled to serve. A campaign serves only when it's enabled and its flight dates and targeting parameters are met.\n\nAfter enabling a campaign, it can take up to 20 minutes before it begins serving."},"start_time":{"type":"string","format":"date-time","example":"2025-07-03T21:30:40Z","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The campaign flight start time. It must be on or after the parent insertion order's "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"start_time"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},"end_time":{"type":"string","format":"date-time","example":"2025-07-03T22:30:40Z","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The campaign flight end time. This value must be on or before the parent insertion order's "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"end_time"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},"budget_impressions":{"type":"string","format":"uint64","example":"10000","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The target impression budget for the campaign. Required when the parent insertion order uses impression budgeting and is mutually exclusive with the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"budget_money"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field."},"children":[]}]}]}]},"budget_money":{"$ref":"#/components/schemas/google.type.Money","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The target spend budget for the campaign. Required when the parent insertion order uses spend budgeting and is mutually exclusive with the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"budget_impressions"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field."},"children":[]}]}]}]},"cpm":{"$ref":"#/components/schemas/google.type.Money","description":"The campaign bid CPM."},"pacing":{"$ref":"#/components/schemas/api.dsp.v1.Campaign.PacingOption","description":"The campaign pacing strategy. This determines how the campaign budget is spent over the course of its flight."},"pixel_url":{"type":"string","example":"https://apixelurl.com","description":"An optional tracking pixel URL to call when the ad is displayed. This must be a valid HTTPS URL."},"deal_bid_strategy":{"$ref":"#/components/schemas/api.dsp.v1.Campaign.BidStrategy"}}}},"components/schemas/api.dsp.v1.UpdateCampaignsRequest":{"id":"components/schemas/api.dsp.v1.UpdateCampaignsRequest","kind":"json-schema","title":"api.dsp.v1.UpdateCampaignsRequest","data":{"type":"object","properties":{"campaigns":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.UpdateCampaignRequest"}}}}},"components/schemas/api.dsp.v1.UpdateCampaignsResponse":{"id":"components/schemas/api.dsp.v1.UpdateCampaignsResponse","kind":"json-schema","title":"api.dsp.v1.UpdateCampaignsResponse","data":{"type":"object","properties":{"campaigns":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.Campaign"}}}}},"components/schemas/api.dsp.v1.UpdateCreativeRequest":{"id":"components/schemas/api.dsp.v1.UpdateCreativeRequest","kind":"json-schema","title":"api.dsp.v1.UpdateCreativeRequest","data":{"type":"object","properties":{"id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA"},"pixel_url":{"type":"string","example":"https://apixelurl.com"},"campaign_ids":{"type":"array","example":["juIGaOygS0CBBqtmXHamqA"],"items":{"type":"string"}},"category_ids":{"type":"array","example":["juIGaOygS0CBBqtmXHamqA"],"items":{"type":"string"}},"insertion_order_ids":{"type":"array","example":["juIGaOygS0CBBqtmXHamqA"],"items":{"type":"string"}}}}},"components/schemas/api.dsp.v1.UpdateCreativesRequest":{"id":"components/schemas/api.dsp.v1.UpdateCreativesRequest","kind":"json-schema","title":"api.dsp.v1.UpdateCreativesRequest","data":{"type":"object","properties":{"creatives":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.UpdateCreativeRequest"}}}}},"components/schemas/api.dsp.v1.UpdateCreativesResponse":{"id":"components/schemas/api.dsp.v1.UpdateCreativesResponse","kind":"json-schema","title":"api.dsp.v1.UpdateCreativesResponse","data":{"type":"object","properties":{"creatives":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.Creative"}}}}},"components/schemas/api.dsp.v1.UpdateInsertionOrderRequest":{"id":"components/schemas/api.dsp.v1.UpdateInsertionOrderRequest","kind":"json-schema","title":"api.dsp.v1.UpdateInsertionOrderRequest","data":{"type":"object","properties":{"id":{"type":"string","example":"juIGaOygS0CBBqtmXHamqA","description":"The ID of the insertion order to update."},"contract_number":{"type":"string","example":"C-102930","description":"A contract number associated with the insertion order. Contract numbers are for the buyer's use and aren't used by the DSP."},"name":{"type":"string","example":"My Insertion Order Name","description":"The insertion order's name for display purposes."},"start_time":{"type":"string","format":"date-time","example":"2004-09-22T16:16:42Z","description":"The insertion order's flight start time."},"end_time":{"type":"string","format":"date-time","example":"2004-09-22T17:16:42Z","description":"The insertion order's flight end time."},"budget_impressions":{"type":"string","format":"uint64","example":"10000","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The target impression budget for the insertion order. This field is mutually exclusive with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"budget_money"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},"budget_money":{"$ref":"#/components/schemas/google.type.Money","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The target spend budget for the insertion order. This field is mutually exclusive with "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"budget_impressions"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Specify the budget in the seat's billing currency."},"children":[]}]}]}]}}}},"components/schemas/api.dsp.v1.UpdateInsertionOrdersRequest":{"id":"components/schemas/api.dsp.v1.UpdateInsertionOrdersRequest","kind":"json-schema","title":"api.dsp.v1.UpdateInsertionOrdersRequest","data":{"type":"object","properties":{"insertion_orders":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.UpdateInsertionOrderRequest"}}}}},"components/schemas/api.dsp.v1.UpdateInsertionOrdersResponse":{"id":"components/schemas/api.dsp.v1.UpdateInsertionOrdersResponse","kind":"json-schema","title":"api.dsp.v1.UpdateInsertionOrdersResponse","data":{"type":"object","properties":{"insertion_orders":{"type":"array","items":{"$ref":"#/components/schemas/api.dsp.v1.InsertionOrder"}}}}},"components/schemas/api.dsp.v1.VenueTargetingOption":{"id":"components/schemas/api.dsp.v1.VenueTargetingOption","kind":"json-schema","title":"api.dsp.v1.VenueTargetingOption","data":{"type":"object","properties":{"exclude":{"type":"boolean","example":false},"venue_ids":{"type":"array","example":["juIGaOygS0CBBqtmXHamqA"],"items":{"type":"string"}}}}},"components/schemas/api.dsp.v1.VenueType":{"id":"components/schemas/api.dsp.v1.VenueType","kind":"json-schema","title":"api.dsp.v1.VenueType","data":{"type":"object","properties":{"id":{"type":"string","example":"101"},"name":{"type":"string","example":"Airports"}}}},"components/schemas/api.dsp.v1.VenueTypeTargetingOption":{"id":"components/schemas/api.dsp.v1.VenueTypeTargetingOption","kind":"json-schema","title":"api.dsp.v1.VenueTypeTargetingOption","data":{"type":"object","properties":{"venue_type_ids":{"type":"array","example":["804"],"items":{"type":"string"}},"exclude":{"type":"boolean","example":false}}}},"components/schemas/api.external.lib.v1.Error":{"id":"components/schemas/api.external.lib.v1.Error","kind":"json-schema","title":"api.external.lib.v1.Error","data":{"type":"object","properties":{"message":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/api.external.lib.v1.Error.FieldError"}}}}},"components/schemas/api.external.lib.v1.Error.FieldError":{"id":"components/schemas/api.external.lib.v1.Error.FieldError","kind":"json-schema","title":"api.external.lib.v1.Error.FieldError","data":{"type":"object","properties":{"field":{"type":"string"},"messages":{"type":"array","items":{"type":"string"}}}}},"components/schemas/google.type.Money":{"id":"components/schemas/google.type.Money","kind":"json-schema","title":"google.type.Money","data":{"type":"object","properties":{"currency_code":{"type":"string","description":"The three-letter currency code defined in ISO 4217.","example":"USD"},"units":{"type":"string","format":"int64","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The whole units of the amount."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For example if "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"currencyCode"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"\"USD\""},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", then 1 unit is one US dollar."},"children":[]}]}]}],"example":"1"},"nanos":{"type":"integer","format":"int32","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Number of nano (10^-9) units of the amount."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The value must be between -999,999,999 and +999,999,999 inclusive."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"If "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"units"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is positive, "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"nanos"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" must be positive or zero."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"If "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"units"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is zero, "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"nanos"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" can be positive, zero, or negative."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"If "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"units"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is negative, "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"nanos"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" must be negative or zero."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For example $-1.75 is represented as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"units"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"=-1 and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"nanos"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"=-750,000,000."},"children":[]}]}]}],"example":750000000}},"description":"Represents an amount of money with its currency type."}},"schema_54":{"kind":"json-schema","data":{"type":"integer","format":"int64"},"id":"schema_54"},"schema_55":{"kind":"json-schema","data":{"type":"string"},"id":"schema_55"},"schema_56":{"kind":"json-schema","data":{"type":"boolean"},"id":"schema_56"},"schema_57":{"kind":"json-schema","data":{"type":"array","items":{"type":"string"}},"id":"schema_57"},"schema_58":{"kind":"json-schema","data":{"type":"integer","format":"int64","minimum":0,"maximum":100,"default":25},"id":"schema_58"},"schema_59":{"kind":"json-schema","data":{"type":"integer","format":"int64","minimum":0,"default":0},"id":"schema_59"},"schema_60":{"kind":"json-schema","data":{"type":"boolean","default":false},"id":"schema_60"},"schema_61":{"kind":"json-schema","data":{"type":"integer","format":"int64","default":10,"minimum":0,"maximum":100},"id":"schema_61"}},"exampleStore":{"paths/~1insertion_orders/get/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1insertion_orders/get/responses/400/content/application~1json/examples/response"},"paths/~1insertion_orders/get/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1insertion_orders/get/responses/401/content/application~1json/examples/response"},"paths/~1insertion_orders/get/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1insertion_orders/get/responses/403/content/application~1json/examples/response"},"paths/~1insertion_orders/get/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1insertion_orders/get/responses/404/content/application~1json/examples/response"},"paths/~1insertion_orders/get/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1insertion_orders/get/responses/422/content/application~1json/examples/response"},"paths/~1insertion_orders/get/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1insertion_orders/get/responses/429/content/application~1json/examples/response"},"paths/~1insertion_orders/post/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1insertion_orders/post/responses/400/content/application~1json/examples/response"},"paths/~1insertion_orders/post/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1insertion_orders/post/responses/401/content/application~1json/examples/response"},"paths/~1insertion_orders/post/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1insertion_orders/post/responses/403/content/application~1json/examples/response"},"paths/~1insertion_orders/post/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1insertion_orders/post/responses/404/content/application~1json/examples/response"},"paths/~1insertion_orders/post/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1insertion_orders/post/responses/422/content/application~1json/examples/response"},"paths/~1insertion_orders/post/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1insertion_orders/post/responses/429/content/application~1json/examples/response"},"paths/~1insertion_orders/patch/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1insertion_orders/patch/responses/400/content/application~1json/examples/response"},"paths/~1insertion_orders/patch/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1insertion_orders/patch/responses/401/content/application~1json/examples/response"},"paths/~1insertion_orders/patch/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1insertion_orders/patch/responses/403/content/application~1json/examples/response"},"paths/~1insertion_orders/patch/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1insertion_orders/patch/responses/404/content/application~1json/examples/response"},"paths/~1insertion_orders/patch/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1insertion_orders/patch/responses/422/content/application~1json/examples/response"},"paths/~1insertion_orders/patch/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1insertion_orders/patch/responses/429/content/application~1json/examples/response"},"paths/~1insertion_orders~1{id}/get/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1insertion_orders~1{id}/get/responses/400/content/application~1json/examples/response"},"paths/~1insertion_orders~1{id}/get/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1insertion_orders~1{id}/get/responses/401/content/application~1json/examples/response"},"paths/~1insertion_orders~1{id}/get/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1insertion_orders~1{id}/get/responses/403/content/application~1json/examples/response"},"paths/~1insertion_orders~1{id}/get/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1insertion_orders~1{id}/get/responses/404/content/application~1json/examples/response"},"paths/~1insertion_orders~1{id}/get/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1insertion_orders~1{id}/get/responses/422/content/application~1json/examples/response"},"paths/~1insertion_orders~1{id}/get/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1insertion_orders~1{id}/get/responses/429/content/application~1json/examples/response"},"paths/~1insertion_orders~1{id}/patch/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1insertion_orders~1{id}/patch/responses/400/content/application~1json/examples/response"},"paths/~1insertion_orders~1{id}/patch/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1insertion_orders~1{id}/patch/responses/401/content/application~1json/examples/response"},"paths/~1insertion_orders~1{id}/patch/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1insertion_orders~1{id}/patch/responses/403/content/application~1json/examples/response"},"paths/~1insertion_orders~1{id}/patch/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1insertion_orders~1{id}/patch/responses/404/content/application~1json/examples/response"},"paths/~1insertion_orders~1{id}/patch/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1insertion_orders~1{id}/patch/responses/422/content/application~1json/examples/response"},"paths/~1insertion_orders~1{id}/patch/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1insertion_orders~1{id}/patch/responses/429/content/application~1json/examples/response"},"paths/~1campaigns/get/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1campaigns/get/responses/400/content/application~1json/examples/response"},"paths/~1campaigns/get/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1campaigns/get/responses/401/content/application~1json/examples/response"},"paths/~1campaigns/get/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1campaigns/get/responses/403/content/application~1json/examples/response"},"paths/~1campaigns/get/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1campaigns/get/responses/404/content/application~1json/examples/response"},"paths/~1campaigns/get/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1campaigns/get/responses/422/content/application~1json/examples/response"},"paths/~1campaigns/get/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1campaigns/get/responses/429/content/application~1json/examples/response"},"paths/~1campaigns/post/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1campaigns/post/responses/400/content/application~1json/examples/response"},"paths/~1campaigns/post/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1campaigns/post/responses/401/content/application~1json/examples/response"},"paths/~1campaigns/post/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1campaigns/post/responses/403/content/application~1json/examples/response"},"paths/~1campaigns/post/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1campaigns/post/responses/404/content/application~1json/examples/response"},"paths/~1campaigns/post/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1campaigns/post/responses/422/content/application~1json/examples/response"},"paths/~1campaigns/post/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1campaigns/post/responses/429/content/application~1json/examples/response"},"paths/~1campaigns/patch/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1campaigns/patch/responses/400/content/application~1json/examples/response"},"paths/~1campaigns/patch/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1campaigns/patch/responses/401/content/application~1json/examples/response"},"paths/~1campaigns/patch/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1campaigns/patch/responses/403/content/application~1json/examples/response"},"paths/~1campaigns/patch/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1campaigns/patch/responses/404/content/application~1json/examples/response"},"paths/~1campaigns/patch/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1campaigns/patch/responses/422/content/application~1json/examples/response"},"paths/~1campaigns/patch/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1campaigns/patch/responses/429/content/application~1json/examples/response"},"paths/~1campaigns~1{id}/get/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1campaigns~1{id}/get/responses/400/content/application~1json/examples/response"},"paths/~1campaigns~1{id}/get/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1campaigns~1{id}/get/responses/401/content/application~1json/examples/response"},"paths/~1campaigns~1{id}/get/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1campaigns~1{id}/get/responses/403/content/application~1json/examples/response"},"paths/~1campaigns~1{id}/get/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1campaigns~1{id}/get/responses/404/content/application~1json/examples/response"},"paths/~1campaigns~1{id}/get/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1campaigns~1{id}/get/responses/422/content/application~1json/examples/response"},"paths/~1campaigns~1{id}/get/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1campaigns~1{id}/get/responses/429/content/application~1json/examples/response"},"paths/~1campaigns~1{id}/patch/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1campaigns~1{id}/patch/responses/400/content/application~1json/examples/response"},"paths/~1campaigns~1{id}/patch/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1campaigns~1{id}/patch/responses/401/content/application~1json/examples/response"},"paths/~1campaigns~1{id}/patch/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1campaigns~1{id}/patch/responses/403/content/application~1json/examples/response"},"paths/~1campaigns~1{id}/patch/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1campaigns~1{id}/patch/responses/404/content/application~1json/examples/response"},"paths/~1campaigns~1{id}/patch/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1campaigns~1{id}/patch/responses/422/content/application~1json/examples/response"},"paths/~1campaigns~1{id}/patch/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1campaigns~1{id}/patch/responses/429/content/application~1json/examples/response"},"paths/~1campaigns~1{campaign_id}~1targetings/get/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1campaigns~1{campaign_id}~1targetings/get/responses/400/content/application~1json/examples/response"},"paths/~1campaigns~1{campaign_id}~1targetings/get/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1campaigns~1{campaign_id}~1targetings/get/responses/401/content/application~1json/examples/response"},"paths/~1campaigns~1{campaign_id}~1targetings/get/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1campaigns~1{campaign_id}~1targetings/get/responses/403/content/application~1json/examples/response"},"paths/~1campaigns~1{campaign_id}~1targetings/get/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1campaigns~1{campaign_id}~1targetings/get/responses/404/content/application~1json/examples/response"},"paths/~1campaigns~1{campaign_id}~1targetings/get/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1campaigns~1{campaign_id}~1targetings/get/responses/422/content/application~1json/examples/response"},"paths/~1campaigns~1{campaign_id}~1targetings/get/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1campaigns~1{campaign_id}~1targetings/get/responses/429/content/application~1json/examples/response"},"paths/~1campaigns~1{campaign_id}~1targetings/put/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1campaigns~1{campaign_id}~1targetings/put/responses/400/content/application~1json/examples/response"},"paths/~1campaigns~1{campaign_id}~1targetings/put/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1campaigns~1{campaign_id}~1targetings/put/responses/401/content/application~1json/examples/response"},"paths/~1campaigns~1{campaign_id}~1targetings/put/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1campaigns~1{campaign_id}~1targetings/put/responses/403/content/application~1json/examples/response"},"paths/~1campaigns~1{campaign_id}~1targetings/put/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1campaigns~1{campaign_id}~1targetings/put/responses/404/content/application~1json/examples/response"},"paths/~1campaigns~1{campaign_id}~1targetings/put/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1campaigns~1{campaign_id}~1targetings/put/responses/422/content/application~1json/examples/response"},"paths/~1campaigns~1{campaign_id}~1targetings/put/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1campaigns~1{campaign_id}~1targetings/put/responses/429/content/application~1json/examples/response"},"paths/~1advertisers/get/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1advertisers/get/responses/400/content/application~1json/examples/response"},"paths/~1advertisers/get/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1advertisers/get/responses/401/content/application~1json/examples/response"},"paths/~1advertisers/get/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1advertisers/get/responses/403/content/application~1json/examples/response"},"paths/~1advertisers/get/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1advertisers/get/responses/404/content/application~1json/examples/response"},"paths/~1advertisers/get/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1advertisers/get/responses/422/content/application~1json/examples/response"},"paths/~1advertisers/get/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1advertisers/get/responses/429/content/application~1json/examples/response"},"paths/~1advertisers/post/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1advertisers/post/responses/400/content/application~1json/examples/response"},"paths/~1advertisers/post/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1advertisers/post/responses/401/content/application~1json/examples/response"},"paths/~1advertisers/post/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1advertisers/post/responses/403/content/application~1json/examples/response"},"paths/~1advertisers/post/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1advertisers/post/responses/404/content/application~1json/examples/response"},"paths/~1advertisers/post/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1advertisers/post/responses/422/content/application~1json/examples/response"},"paths/~1advertisers/post/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1advertisers/post/responses/429/content/application~1json/examples/response"},"paths/~1advertisers~1{id}/get/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1advertisers~1{id}/get/responses/400/content/application~1json/examples/response"},"paths/~1advertisers~1{id}/get/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1advertisers~1{id}/get/responses/401/content/application~1json/examples/response"},"paths/~1advertisers~1{id}/get/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1advertisers~1{id}/get/responses/403/content/application~1json/examples/response"},"paths/~1advertisers~1{id}/get/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1advertisers~1{id}/get/responses/404/content/application~1json/examples/response"},"paths/~1advertisers~1{id}/get/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1advertisers~1{id}/get/responses/422/content/application~1json/examples/response"},"paths/~1advertisers~1{id}/get/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1advertisers~1{id}/get/responses/429/content/application~1json/examples/response"},"paths/~1creative_categories/get/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1creative_categories/get/responses/400/content/application~1json/examples/response"},"paths/~1creative_categories/get/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1creative_categories/get/responses/401/content/application~1json/examples/response"},"paths/~1creative_categories/get/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1creative_categories/get/responses/403/content/application~1json/examples/response"},"paths/~1creative_categories/get/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1creative_categories/get/responses/404/content/application~1json/examples/response"},"paths/~1creative_categories/get/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1creative_categories/get/responses/422/content/application~1json/examples/response"},"paths/~1creative_categories/get/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1creative_categories/get/responses/429/content/application~1json/examples/response"},"paths/~1creative_categories~1{id}/get/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1creative_categories~1{id}/get/responses/400/content/application~1json/examples/response"},"paths/~1creative_categories~1{id}/get/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1creative_categories~1{id}/get/responses/401/content/application~1json/examples/response"},"paths/~1creative_categories~1{id}/get/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1creative_categories~1{id}/get/responses/403/content/application~1json/examples/response"},"paths/~1creative_categories~1{id}/get/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1creative_categories~1{id}/get/responses/404/content/application~1json/examples/response"},"paths/~1creative_categories~1{id}/get/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1creative_categories~1{id}/get/responses/422/content/application~1json/examples/response"},"paths/~1creative_categories~1{id}/get/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1creative_categories~1{id}/get/responses/429/content/application~1json/examples/response"},"paths/~1creatives/get/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1creatives/get/responses/400/content/application~1json/examples/response"},"paths/~1creatives/get/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1creatives/get/responses/401/content/application~1json/examples/response"},"paths/~1creatives/get/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1creatives/get/responses/403/content/application~1json/examples/response"},"paths/~1creatives/get/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1creatives/get/responses/404/content/application~1json/examples/response"},"paths/~1creatives/get/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1creatives/get/responses/422/content/application~1json/examples/response"},"paths/~1creatives/get/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1creatives/get/responses/429/content/application~1json/examples/response"},"paths/~1creatives/post/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1creatives/post/responses/400/content/application~1json/examples/response"},"paths/~1creatives/post/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1creatives/post/responses/401/content/application~1json/examples/response"},"paths/~1creatives/post/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1creatives/post/responses/403/content/application~1json/examples/response"},"paths/~1creatives/post/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1creatives/post/responses/404/content/application~1json/examples/response"},"paths/~1creatives/post/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1creatives/post/responses/422/content/application~1json/examples/response"},"paths/~1creatives/post/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1creatives/post/responses/429/content/application~1json/examples/response"},"paths/~1creatives/patch/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1creatives/patch/responses/400/content/application~1json/examples/response"},"paths/~1creatives/patch/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1creatives/patch/responses/401/content/application~1json/examples/response"},"paths/~1creatives/patch/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1creatives/patch/responses/403/content/application~1json/examples/response"},"paths/~1creatives/patch/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1creatives/patch/responses/404/content/application~1json/examples/response"},"paths/~1creatives/patch/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1creatives/patch/responses/422/content/application~1json/examples/response"},"paths/~1creatives/patch/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1creatives/patch/responses/429/content/application~1json/examples/response"},"paths/~1creatives~1{id}/get/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1creatives~1{id}/get/responses/400/content/application~1json/examples/response"},"paths/~1creatives~1{id}/get/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1creatives~1{id}/get/responses/401/content/application~1json/examples/response"},"paths/~1creatives~1{id}/get/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1creatives~1{id}/get/responses/403/content/application~1json/examples/response"},"paths/~1creatives~1{id}/get/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1creatives~1{id}/get/responses/404/content/application~1json/examples/response"},"paths/~1creatives~1{id}/get/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1creatives~1{id}/get/responses/422/content/application~1json/examples/response"},"paths/~1creatives~1{id}/get/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1creatives~1{id}/get/responses/429/content/application~1json/examples/response"},"paths/~1creatives~1{id}/patch/responses/400/content/application~1json/examples/response":{"value":{"message":"Invalid JSON"},"key":"response","summary":"response","id":"paths/~1creatives~1{id}/patch/responses/400/content/application~1json/examples/response"},"paths/~1creatives~1{id}/patch/responses/401/content/application~1json/examples/response":{"value":{"message":"Not Authorized"},"key":"response","summary":"response","id":"paths/~1creatives~1{id}/patch/responses/401/content/application~1json/examples/response"},"paths/~1creatives~1{id}/patch/responses/403/content/application~1json/examples/response":{"value":{"message":"Not Authenticated"},"key":"response","summary":"response","id":"paths/~1creatives~1{id}/patch/responses/403/content/application~1json/examples/response"},"paths/~1creatives~1{id}/patch/responses/404/content/application~1json/examples/response":{"value":{"message":"Not Found"},"key":"response","summary":"response","id":"paths/~1creatives~1{id}/patch/responses/404/content/application~1json/examples/response"},"paths/~1creatives~1{id}/patch/responses/422/content/application~1json/examples/response":{"value":{"message":"Invalid Request","data":[{"field":"page","messages":["Is not less than or equal to 100"]}]},"key":"response","summary":"response","id":"paths/~1creatives~1{id}/patch/responses/422/content/application~1json/examples/response"},"paths/~1creatives~1{id}/patch/responses/429/content/application~1json/examples/response":{"value":{"message":"Too Many Requests"},"key":"response","summary":"response","id":"paths/~1creatives~1{id}/patch/responses/429/content/application~1json/examples/response"}},"securitySchemeStore":{"SessionCookie":{"id":"SessionCookie","type":"apiKey","in":"header","paramName":"Cookie"}},"servers":[{"url":"https://platform-api.vistarmedia.com/api/dsp/v1"}],"specType":"openapi"},"options":{"hideReplay":true,"codeSamples":{"languages":[{"lang":"curl"},{"lang":"JavaScript"},{"lang":"Node.js"}]},"mockServer":{"off":true},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/apis/dsp/index.json?download"},{"url":"/_bundle/apis/dsp/index.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Vistar Media Marketplace DSP API","description":"The DSP (Demand Side Platform) API lets you view, create, and update insertion orders, campaigns, and related data."}},"baseSlug":"/apis/dsp","routesMapping":{}}