Nexxen DSP API

REST API for the Nexxen DSP (formerly Amobee / Tremor Video DSP) Campaign Management service — advertisers, insertion orders, packages, line items, ads, creatives, audience segments, retargeting segments, beacons, inventory lists, publisher deals and location groups. OAuth2 client-credentials authentication; a shared JSON envelope of queryTotal / data / errors / links; offset-limit pagination; marketId scoping with a 300 Multiple Choices disambiguation response. Published as a public Postman collection rather than an OpenAPI.

Postman Collection

tremor-video.postman_collection.json Raw ↑
{"info":{"_postman_id":"e59f203f-b2ec-455b-ba4f-f224e913a42d","name":"Nexxen DSP APIs","description":"The **Nexxen DSP APIs** folder is the Postman parent collection that houses all requests and associated documentation for each of the Nexxen DSP API services.\n\n# Getting started\n\nBefore you begin using the APIs, fork the entire **Nexxen DSP APIs** collection, as well as the **External API Client** environment. This creates a copy of 1) all available DSP API requests and 2) an environment exclusive to you and/or your team to test requests in.\n\nOnce you've done this, set the active environment for your forked DSP APIs collection to the forked environment.\n\n<img src=\"https://content.pstmn.io/98efcc76-1cc3-48b0-b526-0ef17a197557/U2NyZWVuIFNob3QgMjAyMy0wMi0yMyBhdCA5LjExLjI5IFBNLnBuZw==\">\n\nThis enables your bearer token—obtained via the **Token Service**—to operate at all levels (i.e., all API services) within the collection.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Token Service","item":[{"name":"New Bearer Token","event":[{"listen":"test","script":{"id":"8dc121fb-a9d7-4db6-8173-3fd5c4199186","exec":["// Check for 200. ","pm.test(\"Status to be 200.\", function () {","    pm.response.to.have.status(200);","});","","// Ends the tests early if there is no access token.","//if (pm.response.status !== 200) {","//    postman.setNextRequest(null);","//    return;","//}","","// Check the token exists.","var data = pm.response.json();","var access_token = data.access_token;","pm.test(\"Access token exists.\", function () {","    pm.expect(access_token).to.not.be.undefined;","});","","// Set the token.","var token = access_token;","pm.environment.set(\"bearer_token\", token);"],"type":"text/javascript"}}],"id":"e353cc79-97fa-4533-a23b-3bcc6d746885","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth"},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"client_id\": \"{{client_id}}\",\n  \"client_secret\": \"{{client_secret}}\",\n  \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/accounts/v1/api/token","description":"## Generate a first-time token\n\nBefore using the **Token Service** for the first time, make sure the active environment is set to your (or your team's) exclusive environment. Then, navigate to this environment via the left-hand panel of your Postman browser and enter the current values for `client_id` (ID of your API service account) and `client_secret` (password to your API service account).\n\nClick `Send` in this `POST` request to generate your access token. The value of this token automatically populates the `bearer_token` environment variable for immediate authentication of all other DSP API calls.\n\n## Replace an expired token\n\nIf you have already generated a bearer token before and your client credentials have not changed, you can replace an expired token by sending this `POST` request without any other changes.\n\nThis will automatically repopulate the `bearer_token` variable across your entire environment so that you won't need to manually update the token value."},"response":[{"id":"da9eec0b-176c-46db-91c9-db2cb7e9be38","name":"Generate Token - Success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"client_id\": \"{{client_id}}\",\n  \"client_secret\": \"{{client_secret}}\",\n  \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}},"url":"https://services.amobee.com/accounts/v1/api/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 02 Aug 2022 23:25:44 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1317"},{"key":"Connection","value":"keep-alive"},{"key":"X-Amobee-Cloud-Gateway-Transaction-ID","value":"336c7a8f-2402716"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"},{"key":"X-Amobee-Cloud-Gateway","value":"true"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Security-Policy","value":"default-src 'self' 'unsafe-inline' www.amobee.com amobee amobee-platform.oktapreview.com amobee-platform.okta.com platform.oktapreview.com global.oktacdn.com data: ;"},{"key":"Permissions-Policy","value":"geolocation=(),midi=(),sync-xhr=(),microphone=(),camera=(),magnetometer=(),gyroscope=(),fullscreen=(self),payment=()"},{"key":"Http-Method","value":"POST"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"REDACTED_EXAMPLE_JWT_ACCESS_TOKEN\",\n    \"token_type\": \"Bearer\",\n    \"expires_in\": 43200\n}"}]}],"id":"06d22824-3922-4659-b69f-9770b4c4faa1","description":"## Purpose of this API\n\nThe **Nexxen Token Service** is used exclusively for obtaining bearer tokens, which can then authorize requests sent to all other Nexxen DSP API services.\n\nWithin the suite of Nexxen DSP APIs, the Token Service is the only service that does not require authorization in the form of an access token. To make an authenticated call to the Token Service, you must provide your client credentials in the `POST` request body.","auth":{"type":"noauth"},"event":[{"listen":"prerequest","script":{"id":"f1aa773f-26b5-4ebc-84f4-24c8e95e43a9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"860f5a6b-74bf-4664-9bb8-f63bb1f0faca","type":"text/javascript","exec":[""]}}]},{"name":"Campaign Management","item":[{"name":"Account Managers","item":[{"name":"List of Account Managers","event":[{"listen":"test","script":{"id":"8c099cd1-8edb-409b-aa6c-4257d1abb52a","exec":["// Check for 200. ","pm.test(\"Status to be 200.\", function () {","    pm.response.to.have.status(200);","});","","","pm.environment.set(\"accountManagerId\", );",""],"type":"text/javascript"}}],"id":"b4455cc8-2d6a-4a81-8d1d-60e323ca5842","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{campaign_url}}/accountManagers?marketId=1","host":["{{campaign_url}}"],"path":["accountManagers"],"query":[{"key":"marketId","value":"1","description":"Numeric ID associated with a given market. Required only if you have access to multiple markets. "}]},"description":"## Retrieve a list of account managers\n\nYou can retrieve all of the account managers within your market by sending this `GET` request.\n\n**Note:** If you have access to multiple markets, you must specify a value for `marketId`. Otherwise (i.e., `marketId` is left unchecked), the request will return a 300 Multiple Choices response containing a list of market IDs that can be passed as `marketId` values.\n\n#### Response Body\n\nYou can manually copy an account manager ID from the response body and paste it into the value cell for the `accountManagerId` variable in your environment. This allows you to create other campaign objects (e.g., advertiser, IO) under the same market manager account."},"response":[{"id":"a9667680-5427-4ac2-a5e8-6765466c57ff","name":"200 Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{campaign_url}}/accountManagers?marketId=1","host":["{{campaign_url}}"],"path":["accountManagers"],"query":[{"key":"marketId","value":"1","description":"Required if client has access to multiple markets (if not provided, request will retur 300 Multiple Choices response). Otherwise optional."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Aug 2022 23:22:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"50379"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-Amobee-Cloud-Gateway-Transaction-ID","value":"8d6b423a-17958"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Amobee-Cloud-Gateway","value":"true"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Content-Security-Policy","value":"default-src 'self' 'unsafe-inline' www.amobee.com amobee amobee-platform.oktapreview.com amobee-platform.okta.com platform.oktapreview.com global.oktacdn.com data: ;"},{"key":"Permissions-Policy","value":"geolocation=(),midi=(),sync-xhr=(),microphone=(),camera=(),magnetometer=(),gyroscope=(),fullscreen=(self),payment=()"},{"key":"Http-Method","value":"GET"}],"cookie":[],"responseTime":null,"body":"{\n    \"queryTotal\": 2,\n    \"data\": [\n        {\n            \"id\": \"1234\",\n            \"resourceType\": \"accountManager\",\n            \"name\": \"pm@amobee.com\"\n        },\n        {\n            \"id\": \"0987\",\n            \"resourceType\": \"accountManager\",\n            \"name\": \"test@amobee.com\"\n        }\n    ],\n    \"errors\": []\n}"},{"id":"1ab58a05-17e6-4d21-863f-7ad5f636c57b","name":"300 Multiple Choices","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{campaign_url}}/accountManagers","host":["{{campaign_url}}"],"path":["accountManagers"],"query":[{"key":"marketId","value":"1","description":"Required if client has access to multiple markets (if not provided, request will retur 300 Multiple Choices response). Otherwise optional.","disabled":true}]}},"status":"Multiple Choices","code":300,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Aug 2022 23:32:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"174455"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-Amobee-Cloud-Gateway-Transaction-ID","value":"d4ddf247-9258"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Amobee-Cloud-Gateway","value":"true"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Content-Security-Policy","value":"default-src 'self' 'unsafe-inline' www.amobee.com amobee amobee-platform.oktapreview.com amobee-platform.okta.com platform.oktapreview.com global.oktacdn.com data: ;"},{"key":"Permissions-Policy","value":"geolocation=(),midi=(),sync-xhr=(),microphone=(),camera=(),magnetometer=(),gyroscope=(),fullscreen=(self),payment=()"},{"key":"Http-Method","value":"GET"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [],\n    \"errors\": [],\n    \"links\": {\n        \"markets\": {\n            \"1\": \"https://services.amobee.com/campaign/v5/api/accountManagers?marketId=1\",\n            \"2\": \"https://services.amobee.com/campaign/v5/api/accountManagers?marketId=2\"\n        }\n    }\n}"}]},{"name":"Existing Account Manager","event":[{"listen":"test","script":{"id":"a964fb1b-9719-4738-ab05-127ebc7c8a52","exec":["// Check for 200. ","pm.test(\"Status to be 200.\", function () {","    pm.response.to.have.status(200);","});","","if (pm.response.code === 200) {","    pm.test(\"Body has 'data'.\", function () {","        pm.expect(pm.response.text()).to.include(\"data\");","    });","","    // Parse the body.","    var jsonData = JSON.parse(responseBody);","    var data = jsonData[\"data\"];","    ","    // Checks length.","    if (data.length > 0) {","        var item = data[0]; ","        pm.test(\"Body has 'resourceType' of 'accountManager'.\", function () {","            pm.expect(item[\"resourceType\"]).to.include(\"accountManager\");","        });","    } else {","        pm.test(\"Failed to have any results.\", function () {","            pm.expect.fail(\"Did not have any items in the response.\");","        });","    }","","}"],"type":"text/javascript"}}],"id":"cf4aac1a-4311-40cc-b563-d65c482a2472","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{campaign_url}}/accountManagers/:id","host":["{{campaign_url}}"],"path":["accountManagers",":id"],"variable":[{"key":"id","value":"{{accountManagerId}}","description":"Numeric ID associated with the account of a market manager; retrievable via GET List of Account Managers. Required."}]},"description":"## Retrieve a single account manager\n\nYou can retrieve an existing account manager in your market by sending this `GET` request."},"response":[{"id":"08822bc5-9d6f-461a-ad03-981a05d0ae9d","name":"200 Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{campaign_url}}/accountManagers/:id","host":["{{campaign_url}}"],"path":["accountManagers",":id"],"variable":[{"key":"id","value":"{{accountManagerId}}","description":"Numeric ID associated with the account of a market manager. \n\nValue variable is automatically populated with a random account manager ID from a GET List of Account Managers request response."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Aug 2022 23:30:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"110"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-Amobee-Cloud-Gateway-Transaction-ID","value":"87fc8bc3-8932"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Amobee-Cloud-Gateway","value":"true"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Content-Security-Policy","value":"default-src 'self' 'unsafe-inline' www.amobee.com amobee amobee-platform.oktapreview.com amobee-platform.okta.com platform.oktapreview.com global.oktacdn.com data: ;"},{"key":"Permissions-Policy","value":"geolocation=(),midi=(),sync-xhr=(),microphone=(),camera=(),magnetometer=(),gyroscope=(),fullscreen=(self),payment=()"},{"key":"Http-Method","value":"GET"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"1234\",\n            \"resourceType\": \"accountManager\",\n            \"name\": \"pm@amobee.com\"\n        }\n    ],\n    \"errors\": []\n}"}]}],"id":"558e2244-d2ae-4391-8390-4cb6b38fa7a0","description":"## Resource overview\n\nAccount managers are users that have been granted permissions to build and manage campaigns within the Nexxen DSP.\n\nDetails for these users can be retrieved from this collection and used within the **Insertion Orders (IOs)** collection for campaign creation."},{"name":"Advertisers","item":[{"name":"New Advertiser","event":[{"listen":"prerequest","script":{"id":"42cd7b1b-0b61-4fc4-ab8b-c86eda1117eb","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"1c6b5110-d63f-41bb-9d0a-300acf61f095","exec":["// Check for 201. ","pm.test(\"Status to be 201.\", function () {","    pm.response.to.have.status(201);","});","","","    var jsonData = JSON.parse(responseBody);","    var data = jsonData.data;","","    pm.environment.set(\"advertiserId\", data[0].id);"],"type":"text/javascript","packages":{}}}],"id":"08d21e0e-4172-4964-8a76-15feeb87b5f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{ \n  \"name\": \"doc team test\",\n  \"primaryUrl\": \"http://amobee.com\",\n  \"currency\": \"usd\",\n  \"language\": \"en\",\n  \"iabCategory\": \"iab2-1\",\n  \"identityPlatformVendor\": \"LiveRamp Identity Link\",\n  \"nielsenCampaignOptIn\": false,\n  \"status\": \"play\",\n  \"thirdPartyAdServer\": {\n    \"provider\": \"doubleClick\",\n    \"advertiserName\": \"Amobee\"\n  },\n  \"thirdPartyAttributionProvider\": {\n    \"service\": \"visualIqMta\",\n    \"advertiserName\": \"Amobee\"\n  },\n  \"viewabilityProviders\": {\n    \"display\": \"doubleVerify\",\n    \"video\": \"doubleVerify\",\n    \"mobile\": \"doubleVerify\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{campaign_url}}/accounts/:accountId/advertisers","host":["{{campaign_url}}"],"path":["accounts",":accountId","advertisers"],"variable":[{"key":"accountId","value":"1049186","description":"Numeric ID associated with your market's financial account (i.e., agency account). Required."}]},"description":"## Create a new advertiser\n\nYou can create a new advertiser by sending this `POST` request. To define settings for your advertiser, open the body tab and edit the JSON object.\n\nFor DTO fields `thirdPartyAdServer`, `thirdPartyAttributionProvider`, and `viewabilityProviders`, see the corresponding DTO tables below to customize the data.\n\n#### Request Body (Definitions)\n\n_\\*Optional element_\n\n| **JSON Object Key** | **Description** | **Type** |\n| --- | --- | --- |\n| name | Name of this advertiser. | string |\n| primaryUrl | Website URL for this advertiser. | string |\n| currency | Currency for bids and other transactions.  <br>  <br>[Allowed values](https://docs.google.com/spreadsheets/d/e/2PACX-1vTTJrsF71iPCwUxhvAps1ooDR1yaoA2D8HadcJZXPulp_iamoE0Q2wSUW8YrL2c4Q/pubhtml) | string |\n| language | Language used by this advertiser.  <br>  <br>[Allowed values](https://docs.google.com/spreadsheets/d/e/2PACX-1vTAUbZIc0QRzNBobcPfBBiROC07qXhUVpU9gebWZDVuWstbk6EeIekt_Eb8-ERdvw/pubhtml) | string |\n| \\*externalAdvertiserId | ID associated with a third-party external advertiser. | string |\n| iabCategory | IAB-defined web content category associated with this advertiser (for targeting purposes).  <br>  <br>[Allowed values](https://docs.google.com/spreadsheets/d/e/2PACX-1vR-9PlTFeBeMpSFytHJF3nDU2F7pdSme_I-7iGdubJpuaNbwd8X6YYg1aVBMc3L1g/pubhtml) | string |\n| identityPlatformVendor | Integrated identity partner for person/household-based targeting purposes.  <br>  <br>[Allowed values](https://docs.google.com/spreadsheets/d/e/2PACX-1vQW_6glr7D4AEZbRkXnELyY_Z6gt_7TzlJ1GNSkV2aRdJZTRcIq7uJF76h-MXjmlxpP5H3069LvEn1R/pubhtml) | string |\n| nielsenCampaignOptIn | Indicates if this advertiser opts in to Nielsen campaign. | boolean |\n| status | Play status of this advertiser.  <br>  <br>Allowed values: _play, pause, stop, archived_ | string |\n| \\*thirdPartyAdServer (DTO) | Third-party ad serving platform for this advertiser. | DTO |\n| \\*thirdPartyAttributionProvider (DTO) | Third-party provider responsible for action attribution (i.e., crediting ads within this advertiser for user actions). | DTO |\n| viewabilityProviders (DTO) | Display, video, and mobile viewability providers for this advertiser. | DTO |\n\n#### `thirdPartyAdServer` DTO\n\n| **Key** | **Description** | **Type** |\n| --- | --- | --- |\n| provider | Name of third-party ad serving platform provider.  <br>  <br>Allowed values: _doubleClick, atlas_ | string |\n| advertiserName | Name of advertiser within third-party provider system. | string |\n\n#### `thirdPartyAttributionProvider` DTO\n\n| **Key** | **Description** | **Type** |\n| --- | --- | --- |\n| service | Name of third-party attribution service provider.  <br>  <br>Allowed values: _adometryMta, doubleClickLta, visualIqMta, clearSaleingMta, atlasLta_ | string |\n| advertiserName | Name of advertiser within third-party provider system. | string |\n\n#### `viewabilityProviders` DTO\n\n| **Key** | **Allowed Values** | **Type** |\n| --- | --- | --- |\n| display | _doubleVerify, ias_ | string |\n| video | _doubleVerify, ias_ | string |\n| mobile | _doubleVerify_ | string |"},"response":[{"id":"f4d351ff-1bb9-45c8-90a8-b6a68df6efa7","name":"201 Created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{ \n  \"name\": \"doc team test\",\n  \"primaryUrl\": \"http://amobee.com\",\n  \"currency\": \"usd\",\n  \"language\": \"en\",\n  \"iabCategory\": \"iab2-1\",\n  \"identityPlatformVendor\": \"LiveRamp Identity Link\",\n  \"nielsenCampaignOptIn\": false,\n  \"status\": \"play\",\n  \"thirdPartyAdServer\": {\n    \"provider\": \"doubleClick\",\n    \"advertiserName\": \"Amobee\"\n  },\n  \"thirdPartyAttributionProvider\": {\n    \"service\": \"visualIqMta\",\n    \"advertiserName\": \"Amobee\"\n  },\n  \"viewabilityProviders\": {\n    \"display\": \"doubleVerify\",\n    \"video\": \"doubleVerify\",\n    \"mobile\": \"doubleVerify\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://services.amobee.com/campaign/v5/api/accounts/:accountId/advertisers","protocol":"https","host":["services","amobee","com"],"path":["campaign","v5","api","accounts",":accountId","advertisers"],"variable":[{"key":"accountId","value":"1049186","description":"Numeric ID associated with your market's financial account (i.e., agency account). Required."}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Sep 2022 05:47:35 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"622"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-Amobee-Cloud-Gateway-Transaction-ID","value":"33ebcd2e-954505"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Amobee-Cloud-Gateway","value":"true"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Content-Security-Policy","value":"default-src 'self' 'unsafe-inline' www.amobee.com amobee amobee-platform.oktapreview.com amobee-platform.okta.com platform.oktapreview.com global.oktacdn.com data: ;"},{"key":"Permissions-Policy","value":"geolocation=(),midi=(),sync-xhr=(),microphone=(),camera=(),magnetometer=(),gyroscope=(),fullscreen=(self),payment=()"},{"key":"Http-Method","value":"POST"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"1608792487\",\n            \"marketId\": \"1\",\n            \"resourceType\": \"advertiser\",\n            \"status\": \"play\",\n            \"accountId\": \"0123456\",\n            \"createdAt\": \"2022-09-01T05:47:34Z\",\n            \"updatedAt\": \"2022-09-01T05:47:34Z\",\n            \"name\": \"doc team test\",\n            \"primaryUrl\": \"http://amobee.com\",\n            \"language\": \"en\",\n            \"iabCategory\": \"iab2-1\",\n            \"currency\": \"usd\",\n            \"thirdPartyAdServer\": {\n                \"provider\": \"doubleClick\",\n                \"advertiserName\": \"Amobee\"\n            },\n            \"viewabilityProviders\": {\n                \"display\": \"doubleVerify\",\n                \"video\": \"doubleVerify\",\n                \"mobile\": \"doubleVerify\"\n            },\n            \"nielsenCampaignOptIn\": false,\n            \"thirdPartyAttributionProvider\": {\n                \"service\": \"visualIqMta\",\n                \"advertiserName\": \"Amobee\"\n            },\n            \"identityPlatformVendor\": \"Probabilistic\"\n        }\n    ],\n    \"errors\": []\n}"}]},{"name":"List of Advertisers","event":[{"listen":"test","script":{"id":"a5b6be6c-2d50-4886-b711-455b44425c85","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","","if (pm.response.code === 200) {","    pm.test(\"Body matches string\", function () {","        pm.expect(pm.response.text()).to.include(\"id\");","    });","    pm.test(\"Body matches string\", function () {","        pm.expect(pm.response.text()).to.include(\"resourceType\");","    });","}"],"type":"text/javascript"}}],"id":"4bcd019e-8251-48e4-98f5-934b36c6a8ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{bearer_token}}"}},"method":"GET","header":[],"url":{"raw":"{{campaign_url}}/advertisers?marketId=1&offset=0&limit=2&sortOrder=asc&sortKey=name","host":["{{campaign_url}}"],"path":["advertisers"],"query":[{"key":"marketId","value":"1","description":"Numeric ID associated with a given market. Required only if you have access to multiple markets. "},{"key":"offset","value":"0","description":"The starting index in the list of advertiser objects."},{"key":"limit","value":"2","description":"The number of advertiser objects to return."},{"key":"sortOrder","value":"asc","description":"Direction by which results should be sorted. \n\nAllowed values: asc, desc"},{"key":"sortKey","value":"name","description":"Field by which results should be sorted. \n\nAllowed values: id, name"}]},"description":"## Retrieve a list of advertisers\n\nYou can retrieve all of the advertisers within your market by sending this `GET` request.\n\n**Note:** If you have access to multiple markets, you must specify a value for `marketId`. Otherwise (i.e., `marketId` is left unchecked), the request will return a 300 Multiple Choices response containing a list of market IDs that can be passed as `marketId` values."},"response":[{"id":"d179012a-44b1-4636-bb66-73d144a3ddca","name":"200 Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://services.amobee.com/campaign/v5/api/advertisers?marketId=1&offset=0&limit=2&sortOrder=asc&sortKey=name","protocol":"https","host":["services","amobee","com"],"path":["campaign","v5","api","advertisers"],"query":[{"key":"marketId","value":"1","description":"Numeric ID associated with a given market. Required only if you have access to multiple markets. "},{"key":"offset","value":"0","description":"The starting index in the list of advertiser objects."},{"key":"limit","value":"2","description":"The number of advertiser objects to return."},{"key":"sortOrder","value":"asc","description":"Direction by which results should be sorted. \n\nAllowed values: asc, desc"},{"key":"sortKey","value":"name","description":"Field by which results should be sorted. \n\nAllowed values: advertiserId, dealName, id, name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 13 Aug 2022 00:30:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1073"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"X-Amobee-Cloud-Gateway-Transaction-ID","value":"78c41a32-42235"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Amobee-Cloud-Gateway","value":"true"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"},{"key":"Referrer-Policy","value":"strict-origin"},{"key":"Content-Security-Policy","value":"default-src 'self' 'unsafe-inline' www.amobee.com amobee amobee-platform.oktapreview.com amobee-platform.okta.com platform.oktapreview.com global.oktacdn.com data: ;"},{"key":"Permissions-Policy","value":"geolocation=(),midi=(),sync-xhr=(),microphone=(),camera=(),magnetometer=(),gyroscope=(),fullscreen=(self),payment=()"},{"key":"Http-Method","value":"GET"}],"cookie":[],"responseTime":null,"body":"{\n    \"queryTotal\": 175,\n    \"data\": [\n        {\n            \"id\": \"1602845563\",\n            \"marketId\": \"1\",\n            \"resourceType\": \"advertiser\",\n            \"status\": \"play\",\n            \"accountId\": \"0908070\",\n            \"createdAt\": \"2016-06-23T19:11:48Z\",\n            \"updatedAt\": \"2021-04-29T10:49:32Z\",\n            \"name\": \"-\",\n            \"primaryUrl\": \"http://www.amobee.com\",\n            \"currency\": \"usd\",\n            \"viewabilityProviders\": {\n                \"display\": \"doubleVerify\",\n                \"video\": \"doubleVerify\",\n                \"mobile\": \"doubleVerify\"\n            },\n            \"nielsenCampaignOptIn\": false,\n            \"identityPlatformVendor\": \"Probabilistic\"\n        },\n        {\n            \"id\": \"1602698669\",\n            \"marketId\": \"1\",\n            \"resourceType\": \"advertiser\",\n            \"status\": \"play\",\n            \"accountId\": \"1918171\",\n            \"createdAt\": \"2016-04-27T19:58:37Z\",\n            \"updatedAt\": \"2021-02-04T00:16:08Z\",\n            \"name\": \"-\",\n            \"primaryUrl\": \"http://amobee.com\",\n            \"currency\": \"usd\",\n            \"viewabilityProviders\": {\n                \"display\": \"doubleVerify\",\n                \"video\": \"doubleVerify\",\n                \"mobile\": \"doubleVerify\"\n            },\n            \"nielsenCampaignOptIn\": false,\n            \"identityPlatformVendor\": \"Probabilistic\"\n        }\n    ],\n    \"errors\": [],\n    \"links\": {\n        \"self\": \"https://services.amobee.com/campaign/v5/api/advertisers?marketId=1&offset=0&limit=2&sortOrder=asc&sortKey=name\",\n        \"next\": \"https://services.amobee.com/campaign/v5/api/advertisers?marketId=1&offset=2&limit=2&sortOrder=asc&sortKey=name\"\n    }\n}"}]},{"name":"Existing Advertiser","event":[{"listen":"test","script":{"id":"abc11831-cc60-4a6f-b0df-2f72719451a3","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});","if (pm.response.code === 200) {","    // Parse the body.","    var jsonData = JSON.parse(responseBody);","    var data = jsonData[\"data\"];","    ","    // Checks length.","    if (data.length > 0) {","        var item = data[0]; ","        pm.test(\"Item has 'resourceType' of 'advertiser'.\", function () {","            pm.expect(item[\"resourceType\"]).to.include(\"advertiser\");","        });","","        pm.test(\"Item has 'name'.\", function () {","            pm.expect(item[\"name\"]).exist;","        });","        pm.test(\"Item has 'currency'.\", function () {","            pm.expect(item[\"currency\"]).exist;","        });","        pm.test(\"Item has 'accountId'.\", function () {","            pm.expect(item[\"accountId\"]).exist;","        });","        pm.test(\"Item has 'language'.\", function () {","            pm.expect(item[\"language\"]).exist;","        });","    } else {","        pm.test(\"Failed to have any results.\", function () {","            pm.expect.fail(\"Did not have any items in the response.\");","        });","    }","}"],"type":"text/javascript"}}],"id":"e181faa9-43e2-4703-a898-854e32d44e6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"{{campaign_url}}/advertisers/:advertiserId","host":["{{campaign_url}}"],"path":["advertisers",":advertiserId"],"variable":[{"key":"advertiserId","value":"{{advertiserId}}","description":"Numeric ID associated with an advertiser. Required. \n\nDefaults to ID associated with the most recent advertiser created using POST New Advertiser."}]},"description":"## Retrieve a single advertiser\n\nYou can retrieve an existing advertiser in your market by sending this `GET` request.\n\nTo retrieve the `advertiserId`, you must first send one of the following:\n\n1.  `POST` New Advertiser request\n2.  `GET` List of Advertisers request\n    \n\n`POST` New Advertiser will automatically populate the `advertiserId` variable with the ID of your newly

# --- truncated at 32 KB (672 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/tremor-video/refs/heads/main/collections/tremor-video.postman_collection.json