{"info":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","description":"<html><head></head><body><h1 id=\"audiencereport-api\">AudienceReport API</h1>\n<p>The AudienceReport API allows you to programmatically access data stored in AudienceReport account with ease.</p>\n<h2 id=\"overview\">Overview</h2>\n<ol>\n<li><p>You need valid <code>client_id</code> and <code>client_secret</code> to send requests to the API endpoints. You can get these fields on <a href=\"https://admin.audienceproject.com/\">admin.audienceproject.com</a> portal.</p>\n</li>\n<li><p>The AudienceReport API will only respond to secured communication done over HTTPS. HTTP requests will be sent a <code>301</code> redirect to corresponding HTTPS resources.</p>\n</li>\n<li><p>Response to every request is sent in <a href=\"https://en.wikipedia.org/wiki/JSON\">JSON format</a>. In case the API request results in an error, it is represented by <code>\"errorType\": \"\"</code> and <code>\"errorMessage\": \"\"</code> keys in the JSON response.</p>\n</li>\n<li><p>The request method (verb) determines the nature of action you intend to perform. A request made using the <code>GET</code> method implies that you want to fetch something from AudienceReport, and <code>POST</code> implies you want to create something new to AudienceReport.</p>\n</li>\n<li><p>The API calls will respond with appropriate HTTP status codes for all requests. A <code>2XX</code> indicates all went well, while <code>4XX</code> or <code>5XX</code> response codes indicate an error from the requesting client or our API servers respectively.</p>\n</li>\n</ol>\n<h2 id=\"authentication\">Authentication</h2>\n<p>An Access token is required to be sent as part of every request to AudienceReport API, in a form of an <code>Authorization</code> request reader with <code>Bearer</code> prefix.</p>\n<blockquote>\n<p>Authorization: Bearer eyJhbGciOiJIUzI1NicCI6IkpXVCJ9.eyJzdWNTE2MjM5MDIyfQ.SflKxwJf36POk6yJV_adQssw5c </p>\n</blockquote>\n<p>You should have <code>client_id</code> and <code>client_secret</code> to get this access token. You can generate these secrets on <a href=\"https://admin.audienceproject.com/\">admin.audienceproject.com</a> portal (API kes tab). Please contact your client success manager if you don't have this tab.</p>\n<p>When you have your credentials ready you can exchange them to an access token. The <a href=\"https://api.audienceproject.com/oauth/swagger/ui/index.html#/Token\">AudienceProject OAuth</a> server should be used for that. The following example shows how an access token should be received. The authorization header string is <a href=\"https://en.wikipedia.org/wiki/Basic_access_authentication#Client_side\">Basic</a> Base64Encode(client_id:client_secret).</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl --location --request POST 'https://api.audienceproject.com/oauth/v1/token' \\\n--header 'Accept: application/json' \\\n--header 'Authorization: Basic bXlfY2xpZW50X2lkOm15X2NsaWVudF9zZWNyZXQ==' \\\n--header 'Content-Type: application/x-www-form-urlencoded' \\\n--data-urlencode 'grant_type=client_credentials'\n\n</code></pre>\n<p>For more details please find <strong>AudienceProject OAuth API References</strong> Postman collection.</p>\n<p>For ease of use inside Postman, you could store your client_id and client_secret in an collection variables called <code>client_id</code> and <code>client_secret</code> and this Collection will automatically use it to make API calls.</p>\n<h3 id=\"access-token-related-error-response\">Access token related error response</h3>\n<p>If an access token is missing, malformed, or invalid, you will receive a <code>401 Unauthorized</code> response code and the following JSON response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"errorType\": \"AuthenticationException\",\n  \"errorMessage\": \"The application is not authorized to access this resource.\"\n}\n\n</code></pre>\n<p>If you try to get resources you don't have access to you will receive a <code>403 Forbidden</code> response code.</p>\n<h2 id=\"support\">Support</h2>\n<p>For help regarding accessing the AudienceReport API, feel free to discuss it with your Client success manager. You can also drop in a line at <a href=\"https://mailto:support@audienceproject.com\">support@audienceproject.com</a>.</p>\n<p>In the event you receive a <code>503</code> response from our servers, it implies that we have hit an unexpected spike in API access traffic and would usually be operational within the next 5 minutes. If the outage persists, or your receive any other form of <code>5XX</code> error, kindly let us know.</p>\n<h2 id=\"terms-of-use\">Terms of Use</h2>\n<p>For information on API terms of use and privacy, refer to our terms at <a href=\"https://privacy.audienceproject.com/en-GB/for-clients/terms-and-conditions\">https://privacy.audienceproject.com/en-GB/for-clients/terms-and-conditions</a> and our privacy policy at <a href=\"https://privacy.audienceproject.com/en-GB/for-clients/privacy-policy\">https://privacy.audienceproject.com/en-GB/for-clients/privacy-policy</a>.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"AudienceReport API","slug":"audiencereport-api"}],"owner":"3068533","collectionId":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","publishedId":"2s7YYsdQPT","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-09-15T07:44:27.000Z"},"item":[{"name":"Account","item":[{"name":"Returns list of the AudienceReport's accounts.","id":"dfeb96c5-f453-468b-aba9-63a646aecea6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts?accountIds=<integer>&accountIds=<integer>","description":"<p>Gets information about all AudienceReport accounts you have access to. If you need to get several accounts by theirs ids you have to specify each id to the same <code>accountIds</code> url parameter.</p>\n<blockquote>\n<p>/accounts?accountIds=1&amp;accountIds=2</p>\n</blockquote>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts"],"host":["https://api.audienceproject.com"],"query":[{"disabled":true,"description":{"content":"<p>The number of items in one page. Default value is 50.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"disabled":true,"description":{"content":"<p>A cursor to specify where to start pagination.</p>\n","type":"text/plain"},"key":"cursor","value":"<string>"},{"disabled":true,"description":{"content":"<p>Sorting string. It contains a name of the field and sorting mode. Field name and sorting mode should be separated by a comma. By default sorting mode is \"asc\". For example: name,asc</p>\n","type":"text/plain"},"key":"orderBy","value":"<string>"},{"description":{"content":"<p>The list of AudienceReport account ids.</p>\n","type":"text/plain"},"key":"accountIds","value":"<integer>"},{"description":{"content":"<p>The list of AudienceReport account ids.</p>\n","type":"text/plain"},"key":"accountIds","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Agency account id.</p>\n","type":"text/plain"},"key":"agencyAccountId","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Account's type. Can be client or agency.</p>\n","type":"text/plain"},"key":"type","value":"<string>"},{"disabled":true,"description":{"content":"<p>Only active accounts.</p>\n","type":"text/plain"},"key":"isActive","value":"<boolean>"},{"disabled":true,"description":{"content":"<p>Search query string.</p>\n","type":"text/plain"},"key":"q","value":"<string>"}],"variable":[]}},"response":[{"id":"a1409b78-a507-4550-b495-3e5cdc60ccd2","name":"200 OK","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts?accountIds=<integer>","protocol":"https","host":["api","audienceproject","com"],"path":["audiencereport","v2","accounts"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"accountIds","value":"<integer>"},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"type","value":"<string>","disabled":true},{"key":"isActive","value":"<boolean>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"accountId\": 0,\n      \"name\": \"string\",\n      \"cid\": \"string\",\n      \"type\": \"Client\",\n      \"agencyAccountId\": 0,\n      \"availableCids\": [\n        \"string\"\n      ],\n      \"isActive\": true\n    }\n  ],\n  \"pagination\": {\n    \"hasNextPage\": true,\n    \"nextCursor\": \"string\",\n    \"totalCount\": 0\n  }\n}"},{"id":"42469029-f840-4616-a886-07011d9838c7","name":"400 Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"accountIds","value":"<integer>","disabled":true},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"type","value":"<string>","disabled":true},{"key":"isActive","value":"<boolean>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"ModelValidationException\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"949d46ca-af45-4e7c-a03b-d319a85dfdb5","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"accountIds","value":"<integer>","disabled":true},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"type","value":"<string>","disabled":true},{"key":"isActive","value":"<boolean>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"AuthenticationException\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"a3eea1e2-ed9f-41f1-866f-09e64ae243ce","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts?accountIds=<integer>","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"accountIds","value":"<integer>"},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"type","value":"<string>","disabled":true},{"key":"isActive","value":"<boolean>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"2b468f13-d1e4-4e6e-96c4-faabc7fe4b1e","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts?accountIds=<integer>","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"accountIds","value":"<integer>"},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"type","value":"<string>","disabled":true},{"key":"isActive","value":"<boolean>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"}],"_postman_id":"dfeb96c5-f453-468b-aba9-63a646aecea6"}],"id":"5181fc81-ade7-47f2-8c76-cc1df1ce311a","description":"<p>The <code>/accounts</code> endpoint lets you fetch your AudienceReport accounts.</p>\n","_postman_id":"5181fc81-ade7-47f2-8c76-cc1df1ce311a","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}}},{"name":"Channel","item":[{"name":"Returns list of the channels.","id":"ee2d1dcc-bc01-496a-91e4-5870243cacb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/channels?clientAccountId=<integer>","description":"<p>Get information about all channels.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts","channels"],"host":["https://api.audienceproject.com"],"query":[{"disabled":true,"description":{"content":"<p>The number of items in one page. Default value is 50.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"disabled":true,"description":{"content":"<p>A cursor to specify where to start pagination.</p>\n","type":"text/plain"},"key":"cursor","value":"<string>"},{"disabled":true,"description":{"content":"<p>Sorting string. It contains a name of the field and sorting mode. Field name and sorting mode should be separated by a comma. By default sorting mode is \"asc\". For example: name,asc</p>\n","type":"text/plain"},"key":"orderBy","value":"<string>"},{"description":{"content":"<p>Search by client account id.</p>\n","type":"text/plain"},"key":"clientAccountId","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Search by agency account id.</p>\n","type":"text/plain"},"key":"agencyAccountId","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Search by list of the channel ids.</p>\n","type":"text/plain"},"key":"channelIds","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Search by list of the channel ids.</p>\n","type":"text/plain"},"key":"channelIds","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Search by platform code.</p>\n","type":"text/plain"},"key":"platformCode","value":"<string>"},{"disabled":true,"description":{"content":"<p>Search query string.</p>\n","type":"text/plain"},"key":"q","value":"<string>"}],"variable":[]}},"response":[{"id":"78728c04-ef24-4500-9177-5faac9236394","name":"200 OK","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/channels?clientAccountId=<integer>","protocol":"https","host":["api","audienceproject","com"],"path":["audiencereport","v2","accounts","channels"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"clientAccountId","value":"<integer>"},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"channelIds","value":"<integer>","disabled":true},{"key":"channelIds","value":"<integer>","disabled":true},{"key":"platformCode","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"data\": [\r\n    {\r\n      \"clientAccountId\": 0,\r\n      \"id\": 0,\r\n      \"platformCode\": \"string\",\r\n      \"name\": \"string\",\r\n      \"internalChannelId\": \"string\",\r\n      \"isEditable\": true,\r\n      \"createdAt\": \"2022-09-12T08:57:51.072Z\",\r\n      \"updatedAt\": \"2022-09-12T08:57:51.072Z\"\r\n    }\r\n  ],\r\n  \"pagination\": {\r\n    \"hasNextPage\": true,\r\n    \"nextCursor\": \"string\",\r\n    \"totalCount\": 0\r\n  }\r\n}"},{"id":"b545acc7-3f98-4a8c-91ca-d4cff6f41e6a","name":"400 Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/channels?clientAccountId=<integer>","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","channels"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"clientAccountId","value":"<integer>"},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"channelIds","value":"<integer>","disabled":true},{"key":"channelIds","value":"<integer>","disabled":true},{"key":"platformCode","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"ModelValidationException\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"ce7daac8-6fb7-4d91-ad84-6a8659bd5af5","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/channels?clientAccountId=<integer>","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","channels"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"clientAccountId","value":"<integer>"},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"channelIds","value":"<integer>","disabled":true},{"key":"channelIds","value":"<integer>","disabled":true},{"key":"platformCode","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"AuthenticationException\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"d2f5ade8-5a7f-49a2-916e-f5442f7f675a","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/channels?clientAccountId=<integer>","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","channels"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"clientAccountId","value":"<integer>"},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"channelIds","value":"<integer>","disabled":true},{"key":"channelIds","value":"<integer>","disabled":true},{"key":"platformCode","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"9f7a5055-9da0-4255-9f19-cb04d5a2a605","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/channels?clientAccountId=<integer>","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","channels"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"clientAccountId","value":"<integer>"},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"channelIds","value":"<integer>","disabled":true},{"key":"channelIds","value":"<integer>","disabled":true},{"key":"platformCode","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n\t\"errorType\": \"RouteNotFound\"\n}"}],"_postman_id":"ee2d1dcc-bc01-496a-91e4-5870243cacb0"},{"name":"Creates a new channel.","id":"a847d793-e60d-4087-9069-178d577f0c1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"platformCode\": \"<string>\",\n  \"internalChannelId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels","description":"<p>Creates a new channel. Include an object in the request body that contains the following required properties:</p>\n<ul>\n<li><code>name</code> - The name of the channel.</li>\n<li><code>platformCode</code> - The code of the platform. It can be taken from <code>GET /platforms</code> endpoint</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts","1","channels"],"host":["https://api.audienceproject.com"],"query":[],"variable":[]}},"response":[{"id":"3a1e4078-a7e5-4804-8203-1c91c6231157","name":"201 Created","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"platformCode\": \"<string>\",\n  \"internalChannelId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"data\": {\r\n    \"id\": 0\r\n  }\r\n}"},{"id":"9368da3d-7ef3-4bcd-818e-fc0e76f3edb7","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"platformCode\": \"<string>\",\n  \"internalChannelId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"ModelValidationException\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"07c9cecb-ef7a-44e0-859a-8444f8d486bd","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"platformCode\": \"<string>\",\n  \"internalChannelId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"AuthenticationException\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"013c1d08-cf6d-411c-ac97-c6a3c5e206dd","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"platformCode\": \"<string>\",\n  \"internalChannelId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"bd111846-7d70-475f-9d6c-5a577c6800a4","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"platformCode\": \"<string>\",\n  \"internalChannelId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n\t\"errorType\": \"RouteNotFound\"\n}"}],"_postman_id":"a847d793-e60d-4087-9069-178d577f0c1c"},{"name":"Updates an existing channel.","id":"5fc9e4cc-440d-4035-8ff5-f2e7cbcc782c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"internalChannelId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels/0","description":"<p>Updates an existing channel. Include an object in the request body that contains one of the following properties:</p>\n<ul>\n<li><code>name</code> - A string that contains the name of the channel.</li>\n<li><code>internalChannelId</code> - A string that contains internal id.</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts","1","channels","0"],"host":["https://api.audienceproject.com"],"query":[],"variable":[]}},"response":[{"id":"05369f30-d9a4-422b-b949-354686886ded","name":"204 No Content","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"internalChannelId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels/0"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain","enabled":true}],"cookie":[],"responseTime":null,"body":""},{"id":"e2a9f6ed-b4c5-4461-a6d3-1e9ba579c5de","name":"400 Bad Request","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"internalChannelId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels/0"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"ModelValidationException\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"c7c410a1-d62e-4851-b10d-ccec32d66ca5","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"internalChannelId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels/0"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"AuthenticationException\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"c676b07b-714e-46a5-a860-3f6f28d282b6","name":"403 Forbidden","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"internalChannelId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels/0"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"73d3d841-c83a-46cf-b88b-efb368ea3c22","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"internalChannelId\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels/0"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n\t\"errorType\": \"RouteNotFound\"\n}"}],"_postman_id":"5fc9e4cc-440d-4035-8ff5-f2e7cbcc782c"},{"name":"Deletes a channel.","id":"37cdcebf-4956-4c97-941c-b21644c1618d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels/0","description":"<p>Deletes an specified channel.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts","1","channels","0"],"host":["https://api.audienceproject.com"],"query":[],"variable":[]}},"response":[{"id":"5a181a80-f7f3-4750-b79f-ee731a108aee","name":"204 No Content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels/0"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain","enabled":true}],"cookie":[],"responseTime":null,"body":""},{"id":"849930ea-8f31-44f3-bb10-409cc98ff9cd","name":"400 Bad Request","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels/0"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"ModelValidationException\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"54bd803d-9768-495c-9500-8fc1b28583b4","name":"401 Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels/0"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"AuthenticationException\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"6af52218-3f09-4b62-908c-be081a9b3273","name":"403 Forbidden","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels/0"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"69dbe9c9-e258-48dc-97cb-945fb7fc2262","name":"404 Not Found","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/channels/0"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n\t\"errorType\": \"RouteNotFound\"\n}"}],"_postman_id":"37cdcebf-4956-4c97-941c-b21644c1618d"}],"id":"77f9b045-e6e8-4f4c-8a6b-500e2f1ad0eb","description":"<p>The <code>/channels</code> endpoints let you manage your channels.</p>\n","_postman_id":"77f9b045-e6e8-4f4c-8a6b-500e2f1ad0eb","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}}},{"name":"Country","item":[{"name":"Returns list of the countries.","id":"bb73578e-f2d9-442b-977a-85e3fa49d17e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/countries","description":"<p>Gets information about all countries.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts","countries"],"host":["https://api.audienceproject.com"],"query":[{"disabled":true,"description":{"content":"<p>The number of items in one page. Default value is 50.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"disabled":true,"description":{"content":"<p>A cursor to specify where to start pagination.</p>\n","type":"text/plain"},"key":"cursor","value":"<string>"},{"disabled":true,"description":{"content":"<p>Sorting string. It contains a name of the field and sorting mode. Field name and sorting mode should be separated by a comma. By default sorting mode is \"asc\". For example: name,asc</p>\n","type":"text/plain"},"key":"orderBy","value":"<string>"},{"disabled":true,"description":{"content":"<p>Search query string.</p>\n","type":"text/plain"},"key":"q","value":"<string>"}],"variable":[]}},"response":[{"id":"f31f41ac-a668-426f-9221-81489a367b1f","name":"200 OK","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/countries","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","countries"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"data\": [\r\n    {\r\n      \"countryCode\": \"string\",\r\n      \"name\": \"string\",\r\n      \"currencyCode\": \"string\",\r\n      \"currencySuffix\": \"string\",\r\n      \"incomeBrackets\": [\r\n        0\r\n      ]\r\n    }\r\n  ],\r\n  \"pagination\": {\r\n    \"hasNextPage\": true,\r\n    \"nextCursor\": \"string\",\r\n    \"totalCount\": 0\r\n  }\r\n}"},{"id":"f0e43b3d-56ec-4766-852d-a9a33ad3044c","name":"400 Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/countries","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","countries"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"ModelValidationException\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"c59c4afc-5fa0-49eb-a172-fb154402c73e","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/countries","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","countries"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"AuthenticationException\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"9954c87d-17cc-4c8a-ad8f-948189f3bf58","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/countries","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","countries"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"481d9e95-ae99-4c80-a6c9-d019c5dd97ac","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/countries","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","countries"],"query":[{"description":"The number of items in one page. Default value is 50.","key":"pageSize","value":"<integer>","disabled":true},{"description":"A cursor to specify where to start pagination.","key":"cursor","value":"<string>","disabled":true},{"description":"Sorting string. It contains a name of the field and sorting mode. Field name and sorting mode should be separated by a comma. By default sorting mode is \"asc\". For example: name,asc","key":"orderBy","value":"<string>","disabled":true},{"description":"Search query string.","key":"q","value":"<string>","disabled":true}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 15 Sep 2022 11:55:32 GMT"},{"key":"Server","value":"Kestrel"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 0af050b863ec46156a524df4e5d86692.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD55-P4"},{"key":"X-Amz-Cf-Id","value":"VrSsh98huGdEYeUkQ4N1fruJ0LWq-caNhBmi0G2jn5MAv-Lmtt3yDw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errorType\": \"RouteNotFound\"\n}"}],"_postman_id":"bb73578e-f2d9-442b-977a-85e3fa49d17e"}],"id":"8118ec11-8769-486d-88dc-df8fa0443742","description":"<p>The /country endpoint lets you fetch country specific information.</p>\n","_postman_id":"8118ec11-8769-486d-88dc-df8fa0443742","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}}},{"name":"Item","item":[{"name":"Returns list of the items.","id":"c4a53f19-c781-49f2-bdc8-85ab3f950559","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/items","description":"<p>Gets information about items.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts","items"],"host":["https://api.audienceproject.com"],"query":[{"disabled":true,"description":{"content":"<p>The number of items in one page. Default value is 50.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"disabled":true,"description":{"content":"<p>A cursor to specify where to start pagination.</p>\n","type":"text/plain"},"key":"cursor","value":"<string>"},{"disabled":true,"description":{"content":"<p>Sorting string. It contains a name of the field and sorting mode. Field name and sorting mode should be separated by a comma. By default sorting mode is \"asc\". For example: name,asc</p>\n","type":"text/plain"},"key":"orderBy","value":"<string>"},{"disabled":true,"description":{"content":"<p>Search by agency account id.</p>\n","type":"text/plain"},"key":"agencyAccountId","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Search by list of the item ids.</p>\n","type":"text/plain"},"key":"itemIds","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Search by parent id.</p>\n","type":"text/plain"},"key":"parentId","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Search by channel id.</p>\n","type":"text/plain"},"key":"channelId","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Search by hierarchy level.</p>\n","type":"text/plain"},"key":"level","value":"<string>"},{"disabled":true,"description":{"content":"<p>Search by platform code.</p>\n","type":"text/plain"},"key":"platformCode","value":"<string>"},{"disabled":true,"description":{"content":"<p>Search by external id.</p>\n","type":"text/plain"},"key":"externalId","value":"<string>"},{"disabled":true,"description":{"content":"<p>Search query string.</p>\n","type":"text/plain"},"key":"q","value":"<string>"}],"variable":[]}},"response":[{"id":"20a011ff-e442-4187-8900-b2ea62be3583","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"<token>","description":"Added as a part of security scheme: oauth2"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/items","protocol":"https","host":["api","audienceproject","com"],"path":["audiencereport","v2","accounts","items"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"itemIds","value":"<integer>","disabled":true},{"key":"parentId","value":"<integer>","disabled":true},{"key":"channelId","value":"<integer>","disabled":true},{"key":"level","value":"<string>","disabled":true},{"key":"platformCode","value":"<string>","disabled":true},{"key":"externalId","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"data\": [\r\n    {\r\n      \"id\": 0,\r\n      \"clientAccountId\": 0,\r\n      \"platformCode\": \"string\",\r\n      \"platform\": {\r\n        \"code\": \"string\",\r\n        \"name\": \"string\"\r\n      },\r\n      \"name\": \"string\",\r\n      \"level\": \"Campaign\",\r\n      \"externalId\": \"string\",\r\n      \"type\": \"Atomic\",\r\n      \"channelId\": 0,\r\n      \"channel\": {\r\n        \"id\": 0,\r\n        \"clientAccountId\": 0,\r\n        \"platformCode\": \"string\",\r\n        \"name\": \"string\",\r\n        \"internalChannelId\": \"string\",\r\n        \"isEditable\": true,\r\n        \"createdAt\": \"2024-06-11T09:37:54.070Z\",\r\n        \"updatedAt\": \"2024-06-11T09:37:54.070Z\"\r\n      },\r\n      \"trackpoint\": {\r\n        \"cid\": \"string\",\r\n        \"tailcode\": \"string\"\r\n      },\r\n      \"trackpointAmendments\": [\r\n        {\r\n          \"cid\": \"string\",\r\n          \"tailcode\": \"string\"\r\n        }\r\n      ],\r\n      \"events\": [\r\n        \"Impression\"\r\n      ],\r\n      \"parentId\": 0,\r\n      \"subItems\": [\r\n        \"string\"\r\n      ],\r\n      \"eventHistory\": {\r\n        \"events\": 0,\r\n        \"deviceBreakdown\": [\r\n          {\r\n            \"deviceType\": \"string\",\r\n            \"events\": 0,\r\n            \"subtypeBreakdown\": [\r\n              {\r\n                \"deviceSubtype\": \"string\",\r\n                \"events\": 0\r\n              }\r\n            ]\r\n          }\r\n        ],\r\n        \"totalsByEventType\": [\r\n          {\r\n            \"eventType\": \"Impression\",\r\n            \"events\": 0\r\n          }\r\n        ],\r\n        \"totalsByDate\": [\r\n          {\r\n            \"date\": \"2024-06-11T09:37:54.070Z\",\r\n            \"events\": 0,\r\n            \"totalsByEventType\": [\r\n              {\r\n                \"eventType\": \"Impression\",\r\n                \"events\": 0\r\n              }\r\n            ]\r\n          }\r\n        ]\r\n      },\r\n      \"createdAt\": \"2022-09-12T11:08:20.959Z\",\r\n      \"updatedAt\": \"2022-09-12T11:08:20.959Z\"\r\n    }\r\n  ],\r\n  \"pagination\": {\r\n    \"hasNextPage\": true,\r\n    \"nextCursor\": \"string\",\r\n    \"totalCount\": 0\r\n  }\r\n}"},{"id":"25dc929d-6d0d-440a-9d06-87c63dac2f58","name":"400 Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/items","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","items"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"itemIds","value":"<integer>","disabled":true},{"key":"parentId","value":"<integer>","disabled":true},{"key":"channelId","value":"<integer>","disabled":true},{"key":"level","value":"<string>","disabled":true},{"key":"platformCode","value":"<string>","disabled":true},{"key":"externalId","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"ModelValidationException\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"17011e5a-fa9e-42e3-8a10-e30fbc273d50","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/items","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","items"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"itemIds","value":"<integer>","disabled":true},{"key":"parentId","value":"<integer>","disabled":true},{"key":"channelId","value":"<integer>","disabled":true},{"key":"level","value":"<string>","disabled":true},{"key":"platformCode","value":"<string>","disabled":true},{"key":"externalId","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"AuthenticationException\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"575c5ae2-e934-42fe-9487-a9ae2828922c","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/items","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","items"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"itemIds","value":"<integer>","disabled":true},{"key":"parentId","value":"<integer>","disabled":true},{"key":"channelId","value":"<integer>","disabled":true},{"key":"level","value":"<string>","disabled":true},{"key":"platformCode","value":"<string>","disabled":true},{"key":"externalId","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"f1a6de6c-5df1-47d3-a84d-777215cbc2eb","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/items","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","items"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"itemIds","value":"<integer>","disabled":true},{"key":"parentId","value":"<integer>","disabled":true},{"key":"channelId","value":"<integer>","disabled":true},{"key":"level","value":"<string>","disabled":true},{"key":"platformCode","value":"<string>","disabled":true},{"key":"externalId","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n\t\"errorType\": \"RouteNotFound\"\n}"}],"_postman_id":"c4a53f19-c781-49f2-bdc8-85ab3f950559"},{"name":"Creates a new item.","id":"74083ed6-061d-4eb1-a11f-e69d037646ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"<string>\",\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"parentId\": \"<integer>\",\n  \"externalId\": \"<string>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"trackpoint\": {\n    \"cid\": \"<string>\",\n    \"tailcode\": \"<string>\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items","description":"<p>Creates new item in <code>accountId</code> AudienceReport account. Include an object in the request body that contains the following properties:</p>\n<ul>\n<li><p><code>name</code> - Required. A string that contains the item's name.</p>\n</li>\n<li><p><code>type</code> - Required. A string value that contains the item's type. One of:</p>\n<ul>\n<li><p><code>Atomic</code></p>\n</li>\n<li><p><code>Composite</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>level</code> - A string value that contains one of:</p>\n<ul>\n<li><p><code>Campaign</code></p>\n</li>\n<li><p><code>InsertionOrder</code></p>\n</li>\n<li><p><code>LineItem</code></p>\n</li>\n<li><p><code>Site</code></p>\n</li>\n<li><p><code>Placement</code></p>\n</li>\n<li><p><code>Creative</code></p>\n</li>\n<li><p><code>Opportunity</code></p>\n</li>\n<li><p><code>BuyLine</code></p>\n</li>\n<li><p><code>Order</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>events</code> - A string array that contains several of:</p>\n<ul>\n<li><p><code>Impression</code></p>\n</li>\n<li><p><code>VideoStart</code></p>\n</li>\n<li><p><code>Video25Pct</code></p>\n</li>\n<li><p><code>Video50Pct</code></p>\n</li>\n<li><p><code>Video75Pct</code></p>\n</li>\n<li><p><code>VideoComplete</code></p>\n</li>\n<li><p><code>Click</code></p>\n</li>\n<li><p><code>IvSupported</code></p>\n</li>\n<li><p><code>IvInView</code></p>\n</li>\n<li><p><code>MrcCmv</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>parentId</code> - A parent item's id.</p>\n</li>\n<li><p><code>channelId</code> - A channel's id.</p>\n</li>\n<li><p><code>trackpoint</code> - An object that contains:</p>\n<ul>\n<li><p><code>cid</code> - A customer id</p>\n</li>\n<li><p><code>tailcode</code> - A tail code.</p>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts","1","items"],"host":["https://api.audienceproject.com"],"query":[],"variable":[]}},"response":[{"id":"039bdbaa-5e6f-44e6-a649-484d872f1887","name":"204 Created","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"<string>\",\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"parentId\": \"<integer>\",\n  \"externalId\": \"<string>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"trackpoint\": {\n    \"cid\": \"<string>\",\n    \"tailcode\": \"<string>\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"data\": {\r\n    \"id\": 0\r\n  }\r\n}"},{"id":"74ecdbd2-99e6-4274-9a62-4c9ccf4b0a06","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"<string>\",\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"parentId\": \"<integer>\",\n  \"externalId\": \"<string>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"trackpoint\": {\n    \"cid\": \"<string>\",\n    \"tailcode\": \"<string>\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"ModelValidationException\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"d57847d8-037e-4429-967d-4dfa6a06bd59","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"<string>\",\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"parentId\": \"<integer>\",\n  \"externalId\": \"<string>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"trackpoint\": {\n    \"cid\": \"<string>\",\n    \"tailcode\": \"<string>\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"AuthenticationException\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"c1f26c0c-ee78-461a-8a85-ed7dc5b0bc54","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"<string>\",\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"parentId\": \"<integer>\",\n  \"externalId\": \"<string>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"trackpoint\": {\n    \"cid\": \"<string>\",\n    \"tailcode\": \"<string>\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"bb73c78d-9094-4ce7-bffe-1dc81b9f0e2b","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"<string>\",\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"parentId\": \"<integer>\",\n  \"externalId\": \"<string>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"trackpoint\": {\n    \"cid\": \"<string>\",\n    \"tailcode\": \"<string>\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n\t\"errorType\": \"RouteNotFound\"\n}"}],"_postman_id":"74083ed6-061d-4eb1-a11f-e69d037646ba"},{"name":"Updates an existing item.","id":"769b1ab3-830b-4109-9647-b6edf7dd183e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"externalId\": \"<string>\",\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"parentId\": \"<integer>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items/1","description":"<p>Updates an existing item. Include an object in the request body that contains the following properties:</p>\n<ul>\n<li><p><code>level</code> - A string value that contains one of:</p>\n<ul>\n<li><p><code>Campaign</code></p>\n</li>\n<li><p><code>InsertionOrder</code></p>\n</li>\n<li><p><code>LineItem</code></p>\n</li>\n<li><p><code>Site</code></p>\n</li>\n<li><p><code>Placement</code></p>\n</li>\n<li><p><code>Creative</code></p>\n</li>\n<li><p><code>Opportunity</code></p>\n</li>\n<li><p><code>BuyLine</code></p>\n</li>\n<li><p><code>Oder</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>events</code> - A string array that contains several of:</p>\n<ul>\n<li><p><code>Impression</code></p>\n</li>\n<li><p><code>VideoStart</code></p>\n</li>\n<li><p><code>Video25Pct</code></p>\n</li>\n<li><p><code>Video50Pct</code></p>\n</li>\n<li><p><code>Video75Pct</code></p>\n</li>\n<li><p><code>VideoComplete</code></p>\n</li>\n<li><p><code>Click</code></p>\n</li>\n<li><p><code>IvSupported</code></p>\n</li>\n<li><p><code>IvInView</code></p>\n</li>\n<li><p><code>MrcCmv</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>parentId</code> - A parent item's id.</p>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts","1","items","1"],"host":["https://api.audienceproject.com"],"query":[],"variable":[]}},"response":[{"id":"0db5fcd2-c70c-4b41-a60b-9d4f9bf8e515","name":"204 No Content","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"externalId\": \"<string>\",\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"parentId\": \"<integer>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items/1"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain","enabled":true}],"cookie":[],"responseTime":null,"body":""},{"id":"6f230bdc-c30e-4030-a2d5-37caf25d3de0","name":"400 Bad Request","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"externalId\": \"<string>\",\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"parentId\": \"<integer>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items/1"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"string\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"0e9cc043-5dea-4938-8c3a-0c639dc8fdd1","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"externalId\": \"<string>\",\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"parentId\": \"<integer>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items/1"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"df8bfecb-f30c-40ba-a3f2-9272371561ac","name":"403 Forbidden","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"externalId\": \"<string>\",\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"parentId\": \"<integer>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items/1"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"ff083924-31da-4f11-85f9-4c2fa8d5db30","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"externalId\": \"<string>\",\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"parentId\": \"<integer>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items/1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n\t\"errorType\": \"RouteNotFound\"\n}"}],"_postman_id":"769b1ab3-830b-4109-9647-b6edf7dd183e"},{"name":"Deletes an item.","id":"2033810d-ca06-4fa9-9871-540054a47018","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items/1","description":"<p>Deletes an specified item.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts","1","items","1"],"host":["https://api.audienceproject.com"],"query":[],"variable":[]}},"response":[{"id":"0bc630e8-c2a8-47c9-8f0f-096d3ccb8122","name":"204 No Content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items/1"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain","enabled":true}],"cookie":[],"responseTime":null,"body":""},{"id":"df4dec6c-bccd-4ca0-b0e3-af886d62c2a5","name":"400 Bad Request","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items/1"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"ModelValidationException\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"2d12fcf6-0172-4c0f-a55d-d3514f77075c","name":"401 Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items/1"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"AuthenticationException\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"4d56f463-82b0-4ec3-b1de-f6461c4cb161","name":"403 Forbidden","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items/1"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"4a889119-3c61-4d4a-9e7f-48d11a617bdd","name":"404 Not Found","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/items/1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n\t\"errorType\": \"RouteNotFound\"\n}"}],"_postman_id":"2033810d-ca06-4fa9-9871-540054a47018"},{"name":"Replaces whole items hierarchy.","id":"ac44da35-5265-4310-9924-16b288e3ea73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"<string>\",\n    \"level\": \"<string>\",\n    \"externalId\": \"<string>\",\n    \"type\": \"<string>\",\n    \"channelId\": \"<integer>\",\n    \"events\": [\n        \"<string>\",\n        \"<string>\"\n    ],\n    \"trackpoint\": {\n        \"cid\": \"<string>\",\n        \"tailcode\": \"<string>\"\n    },\n    \"subItems\": [\n        {\n            \"name\": \"<string>\",\n            \"level\": \"<string>\",\n            \"externalId\": \"<string>\",\n            \"type\": \"<string>\",\n            \"channelId\": \"<integer>\",\n            \"events\": [\n                \"<string>\",\n                \"<string>\"\n            ],\n            \"trackpoint\": {\n                \"cid\": \"<string>\",\n                \"tailcode\": \"<string>\"\n            },\n            \"subItems\": []\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/{accountId}/items/hierarchy","description":"<p>Replaces whole items hierarchy. Include an object in the request body that contains the following properties:</p>\n<ul>\n<li><code>name</code> - A string that contains the item's name.</li>\n<li><code>level</code> - A string value that contains one of:  <ul>\n<li><code>Campaign</code></li>\n<li><code>InsertionOrder</code></li>\n<li><code>LineItem</code></li>\n<li><code>Site</code></li>\n<li><code>Placement</code></li>\n<li><code>Creative</code></li>\n<li><code>Opportunity</code></li>\n<li><code>BuyLine</code></li>\n</ul>\n</li>\n<li><code>externalId</code> - A string that contains the external item's id.</li>\n<li><code>type</code> - Required. A string value that contains the item's type. One of:<ul>\n<li><code>Atomic</code></li>\n<li><code>Composite</code></li>\n</ul>\n</li>\n<li><code>channelId</code> - A channel's id.</li>\n<li><code>events</code> - A string array that contains several of:  <ul>\n<li><code>Impression</code></li>\n<li><code>VideoStart</code></li>\n<li><code>Video25Pct</code></li>\n<li><code>Video50Pct</code></li>\n<li><code>Video75Pct</code></li>\n<li><code>VideoComplete</code></li>\n<li><code>Click</code></li>\n<li><code>IvSupported</code></li>\n<li><code>IvInView</code></li>\n</ul>\n</li>\n<li><code>trackpoint</code> - An object that contains:<ul>\n<li><code>cid</code> - A customer id</li>\n<li><code>tailcode</code> - A tail code.</li>\n</ul>\n</li>\n<li><code>subItems</code> - An array of the objects with same structure as root object of this request.</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts","{accountId}","items","hierarchy"],"host":["https://api.audienceproject.com"],"query":[],"variable":[]}},"response":[{"id":"797d1267-7d9c-400c-9470-e3aafb417ff2","name":"204 No Content","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"externalId\": \"<string>\",\n  \"type\": \"<string>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"trackpoint\": {\n    \"cid\": \"<string>\",\n    \"tailcode\": \"<string>\"\n  },\n  \"subItems\": [\n    {\n      \"value\": \"<Circular reference to #/components/schemas/UpsertItemHierarchyModel detected>\"\n    },\n    {\n      \"value\": \"<Circular reference to #/components/schemas/UpsertItemHierarchyModel detected>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/{accountId}/items/hierarchy"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain","enabled":true}],"cookie":[],"responseTime":null,"body":""},{"id":"40bb03bd-edd6-49e1-b3bb-b37aca7ec515","name":"400 Bad Request","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"externalId\": \"<string>\",\n  \"type\": \"<string>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"trackpoint\": {\n    \"cid\": \"<string>\",\n    \"tailcode\": \"<string>\"\n  },\n  \"subItems\": [\n    {\n      \"value\": \"<Circular reference to #/components/schemas/UpsertItemHierarchyModel detected>\"\n    },\n    {\n      \"value\": \"<Circular reference to #/components/schemas/UpsertItemHierarchyModel detected>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/{accountId}/items/hierarchy"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"ModelValidationException\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"a9c56b39-f5f1-4f00-ad1c-e1d1e27e9da3","name":"401 Unauthorized","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"externalId\": \"<string>\",\n  \"type\": \"<string>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"trackpoint\": {\n    \"cid\": \"<string>\",\n    \"tailcode\": \"<string>\"\n  },\n  \"subItems\": [\n    {\n      \"value\": \"<Circular reference to #/components/schemas/UpsertItemHierarchyModel detected>\"\n    },\n    {\n      \"value\": \"<Circular reference to #/components/schemas/UpsertItemHierarchyModel detected>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/{accountId}/items/hierarchy"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"AuthenticationException\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"ed046fb8-4592-447d-be04-8b679738bf09","name":"403 Forbidden","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"externalId\": \"<string>\",\n  \"type\": \"<string>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"trackpoint\": {\n    \"cid\": \"<string>\",\n    \"tailcode\": \"<string>\"\n  },\n  \"subItems\": [\n    {\n      \"value\": \"<Circular reference to #/components/schemas/UpsertItemHierarchyModel detected>\"\n    },\n    {\n      \"value\": \"<Circular reference to #/components/schemas/UpsertItemHierarchyModel detected>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/{accountId}/items/hierarchy"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"fe0f4839-d002-4a71-88da-15eee559925b","name":"404 Not Found","originalRequest":{"method":"PUT","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"level\": \"<string>\",\n  \"externalId\": \"<string>\",\n  \"type\": \"<string>\",\n  \"channelId\": \"<integer>\",\n  \"events\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"trackpoint\": {\n    \"cid\": \"<string>\",\n    \"tailcode\": \"<string>\"\n  },\n  \"subItems\": [\n    {\n      \"value\": \"<Circular reference to #/components/schemas/UpsertItemHierarchyModel detected>\"\n    },\n    {\n      \"value\": \"<Circular reference to #/components/schemas/UpsertItemHierarchyModel detected>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/{accountId}/items/hierarchy"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n\t\"errorType\": \"RouteNotFound\"\n}"}],"_postman_id":"ac44da35-5265-4310-9924-16b288e3ea73"}],"id":"d61249f1-fd92-4438-85f6-74b127bf24c1","description":"<p>The <code>/items</code> endpoints let you manage your item.</p>\n","_postman_id":"d61249f1-fd92-4438-85f6-74b127bf24c1","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}}},{"name":"Platform","item":[{"name":"Returns list of the platforms.","id":"0b8d75b0-e6b7-47d1-9a23-c3d60bd2f988","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/platforms","description":"<p>Get information about all platforms.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts","platforms"],"host":["https://api.audienceproject.com"],"query":[{"disabled":true,"description":{"content":"<p>The number of items in one page. Default value is 50.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"disabled":true,"description":{"content":"<p>A cursor to specify where to start pagination.</p>\n","type":"text/plain"},"key":"cursor","value":"<string>"},{"disabled":true,"description":{"content":"<p>Sorting string. It contains a name of the field and sorting mode. Field name and sorting mode should be separated by a comma. By default sorting mode is \"asc\". For example: name,asc</p>\n","type":"text/plain"},"key":"orderBy","value":"<string>"},{"disabled":true,"description":{"content":"<p>Search by account id.</p>\n","type":"text/plain"},"key":"clientAccountId","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Search by agency account id.</p>\n","type":"text/plain"},"key":"agencyAccountId","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Search query string.</p>\n","type":"text/plain"},"key":"q","value":"<string>"}],"variable":[]}},"response":[{"id":"76507ff4-f959-4697-8271-f33b15a658e2","name":"200 OK","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/platforms","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","platforms"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"data\": [\r\n    {\r\n      \"code\": \"string\",\r\n      \"name\": \"string\"\r\n    }\r\n  ],\r\n  \"pagination\": {\r\n    \"hasNextPage\": true,\r\n    \"nextCursor\": \"string\",\r\n    \"totalCount\": 0\r\n  }\r\n}"},{"id":"1975d610-e398-4f9e-b5be-94acb1f7b345","name":"400 Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/platforms","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","platforms"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"ModelValidationException\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"07647f48-b8f3-4eaf-ac21-5ca52edd6c29","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/platforms","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","platforms"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"AuthenticationException\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"224082a0-44af-4148-9234-b8522a2db4c3","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/platforms","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","platforms"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"b0c33f2d-70d1-4ed6-bf22-2ba7663bcfe9","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/platforms","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","platforms"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n\t\"errorType\": \"RouteNotFound\"\n}"}],"_postman_id":"0b8d75b0-e6b7-47d1-9a23-c3d60bd2f988"}],"id":"8a17aa3f-88a3-4b55-961c-637bc632d365","description":"<p>The <code>/platforms</code> endpoint lets fetch your platforms.</p>\n","_postman_id":"8a17aa3f-88a3-4b55-961c-637bc632d365","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}}},{"name":"Report","item":[{"name":"Returns list of the reports.","id":"62bff062-ac15-44c6-aa21-36ae1516b8fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/reports?clientAccountId=<integer>","description":"<p>Gets information about all reports.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts","reports"],"host":["https://api.audienceproject.com"],"query":[{"disabled":true,"description":{"content":"<p>The number of items in one page. Default value is 50.</p>\n","type":"text/plain"},"key":"pageSize","value":"<integer>"},{"disabled":true,"description":{"content":"<p>A cursor to specify where to start pagination.</p>\n","type":"text/plain"},"key":"cursor","value":"<string>"},{"disabled":true,"description":{"content":"<p>Sorting string. It contains a name of the field and sorting mode. Field name and sorting mode should be separated by a comma. By default sorting mode is \"asc\". For example: name,asc</p>\n","type":"text/plain"},"key":"orderBy","value":"<string>"},{"description":{"content":"<p>Search by client account id. </p>\n","type":"text/plain"},"key":"clientAccountId","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Search by agency account id</p>\n","type":"text/plain"},"key":"agencyAccountId","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Search by list of the report ids.</p>\n","type":"text/plain"},"key":"reportIds","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Search by item id.</p>\n","type":"text/plain"},"key":"itemId","value":"<integer>"},{"disabled":true,"description":{"content":"<p>Search only archived reports.</p>\n","type":"text/plain"},"key":"isArchived","value":"<boolean>"},{"disabled":true,"description":{"content":"<p>Search by labels.</p>\n","type":"text/plain"},"key":"label","value":"<string>"},{"disabled":true,"description":{"content":"<p>Search query string.</p>\n","type":"text/plain"},"key":"q","value":"<string>"}],"variable":[]}},"response":[{"id":"efe80e6d-97b6-4cfb-b4a9-9eca351597e9","name":"200 OK","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"<token>","description":"Added as a part of security scheme: oauth2"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/reports?clientAccountId=<integer>","protocol":"https","host":["api","audienceproject","com"],"path":["audiencereport","v2","accounts","reports"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"clientAccountId","value":"<integer>"},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"reportIds","value":"<integer>","disabled":true},{"key":"itemId","value":"<integer>","disabled":true},{"key":"isArchived","value":"<boolean>","disabled":true},{"key":"label","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"clientAccountId\": 0,\n      \"id\": 0,\n      \"name\": \"string\",\n      \"isArchived\": true,\n      \"targetGroup\": {\n        \"countryCode\": \"string\",\n        \"period\": {\n          \"startDate\": \"2024-06-11T10:33:12.455Z\",\n          \"endDate\": \"2024-06-11T10:33:12.455Z\"\n        },\n        \"demographics\": {\n          \"gender\": [\n            \"Male\"\n          ],\n          \"age\": {\n            \"minimum\": 0,\n            \"maximum\": 0\n          },\n          \"education\": [\n            \"PrimarySchool\"\n          ],\n          \"employment\": [\n            \"Employed\"\n          ],\n          \"income\": [\n            \"VeryLow\"\n          ],\n          \"children\": [\n            \"Yes\"\n          ],\n          \"householdSize\": {\n            \"minimum\": 0,\n            \"maximum\": 0\n          }\n        },\n        \"country\": {\n          \"countryCode\": \"string\",\n          \"name\": \"string\",\n          \"currencyCode\": \"string\",\n          \"currencySuffix\": \"string\",\n          \"incomeBrackets\": [\n            0\n          ]\n        }\n      },\n      \"labels\": [\n        \"string\"\n      ],\n      \"configuredItems\": [\n        {\n          \"itemId\": 0,\n          \"displayName\": \"string\",\n          \"isIncluded\": true\n        }\n      ],\n      \"reportedItems\": [\n        {\n          \"itemId\": 0,\n          \"item\": {\n            \"id\": 0,\n            \"clientAccountId\": 0,\n            \"platformCode\": \"string\",\n            \"platform\": {\n              \"code\": \"string\",\n              \"name\": \"string\"\n            },\n            \"name\": \"string\",\n            \"level\": \"Campaign\",\n            \"externalId\": \"string\",\n            \"type\": \"Atomic\",\n            \"channelId\": 0,\n            \"channel\": {\n              \"id\": 0,\n              \"clientAccountId\": 0,\n              \"platformCode\": \"string\",\n              \"name\": \"string\",\n              \"internalChannelId\": \"string\",\n              \"isEditable\": true,\n              \"createdAt\": \"2024-06-11T10:33:12.455Z\",\n              \"updatedAt\": \"2024-06-11T10:33:12.455Z\"\n            },\n            \"trackpoint\": {\n              \"cid\": \"string\",\n              \"tailcode\": \"string\"\n            },\n            \"trackpointAmendments\": [\n              {\n                \"cid\": \"string\",\n                \"tailcode\": \"string\"\n              }\n            ],\n            \"events\": [\n              \"Impression\"\n            ],\n            \"parentId\": 0,\n            \"subItems\": [\n              \"string\"\n            ],\n            \"eventHistory\": {\n              \"events\": 0,\n              \"deviceBreakdown\": [\n                {\n                  \"deviceType\": \"string\",\n                  \"events\": 0,\n                  \"subtypeBreakdown\": [\n                    {\n                      \"deviceSubtype\": \"string\",\n                      \"events\": 0\n                    }\n                  ]\n                }\n              ],\n              \"totalsByEventType\": [\n                {\n                  \"eventType\": \"Impression\",\n                  \"events\": 0\n                }\n              ],\n              \"totalsByDate\": [\n                {\n                  \"date\": \"2024-06-11T10:33:12.455Z\",\n                  \"events\": 0,\n                  \"totalsByEventType\": [\n                    {\n                      \"eventType\": \"Impression\",\n                      \"events\": 0\n                    }\n                  ]\n                }\n              ]\n            },\n            \"createdAt\": \"2024-06-11T10:33:12.455Z\",\n            \"updatedAt\": \"2024-06-11T10:33:12.455Z\"\n          },\n          \"displayName\": \"string\",\n          \"reachBuildingEvent\": \"Impression\"\n        }\n      ],\n      \"channelReachBuildingEvents\": [\n        {\n          \"id\": \"string\",\n          \"reachBuildingEvent\": \"Impression\"\n        }\n      ],\n      \"costCurrency\": \"string\",\n      \"costReportingEnabled\": true,\n      \"reportChannelCosts\": [\n        {\n          \"id\": \"string\",\n          \"impressionsPurchased\": 0,\n          \"totalSpend\": 0\n        }\n      ],\n      \"output\": {\n        \"status\": \"NotReady\",\n        \"latestExecutionDate\": \"2024-06-11T10:33:12.455Z\",\n        \"executionIssues\": [\n          {\n            \"issueCategoryCode\": \"string\",\n            \"issueCode\": \"string\",\n            \"issueDetails\": [\n              {\n                \"key\": \"string\",\n                \"value\": \"string\"\n              }\n            ]\n          }\n        ],\n        \"totals\": {\n          \"reach\": 0,\n          \"reachPersons\": 0,\n          \"reachPersonsInTargetGroup\": 0,\n          \"reachInTargetGroup\": 0,\n          \"targetGroupSize\": 0,\n          \"populationSize\": 0,\n          \"shareInTargetGroup\": 0,\n          \"targetRatingPoints\": 0,\n          \"personsHitrate\": 0,\n          \"frequency\": 0,\n          \"eventsInTargetGroup\": 0,\n          \"events\": 0\n        },\n        \"weekly\": [\n          {\n            \"weekStart\": \"2024-06-11T10:33:12.455Z\",\n            \"personsHitrate\": 0,\n            \"reach\": 0,\n            \"reachInTargetGroup\": 0,\n            \"incrementalReachInTargetGroup\": 0,\n            \"shareInTargetGroup\": 0,\n            \"frequency\": 0,\n            \"costs\": {\n              \"investment\": 0,\n              \"costPerEventsInTargetGroup\": 0,\n              \"costPerReachInTargetGroup\": 0,\n              \"costPerIncrementalReachInTargetGroup\": 0\n            }\n          }\n        ],\n        \"totalsByDemographics\": {\n          \"ageCategory\": [\n            {\n              \"category\": \"string\",\n              \"share\": 0,\n              \"personsHitrate\": 0\n            }\n          ],\n          \"gender\": [\n            {\n              \"category\": \"string\",\n              \"share\": 0,\n              \"personsHitrate\": 0\n            }\n          ],\n          \"income\": [\n            {\n              \"category\": \"string\",\n              \"share\": 0,\n              \"personsHitrate\": 0\n            }\n          ],\n          \"education\": [\n            {\n              \"category\": \"string\",\n              \"share\": 0,\n              \"personsHitrate\": 0\n            }\n          ],\n          \"employment\": [\n            {\n              \"category\": \"string\",\n              \"share\": 0,\n              \"personsHitrate\": 0\n            }\n          ],\n          \"children\": [\n            {\n              \"category\": \"string\",\n              \"share\": 0,\n              \"personsHitrate\": 0\n            }\n          ],\n          \"householdSize\": [\n            {\n              \"category\": \"string\",\n              \"share\": 0,\n              \"personsHitrate\": 0\n            }\n          ]\n        },\n        \"totalsByEventType\": [\n          {\n            \"eventType\": \"Impression\",\n            \"events\": 0,\n            \"eventsInTargetGroup\": 0,\n            \"reach\": 0,\n            \"reachInTargetGroup\": 0\n          }\n        ],\n        \"totalsByChannel\": [\n          {\n            \"id\": \"string\",\n            \"name\": \"string\",\n            \"reach\": 0,\n            \"reachInTargetGroup\": 0,\n            \"reachPersons\": 0,\n            \"reachPersonsInTargetGroup\": 0,\n            \"shareInTargetGroup\": 0,\n            \"frequency\": 0,\n            \"events\": 0,\n            \"eventsInTargetGroup\": 0,\n            \"personsHitrate\": 0,\n            \"reachContribution\": 0,\n            \"targetRatingPoints\": 0,\n            \"incrementalReachInTargetGroupV2\": 0,\n            \"incrementalReachPersonsInTargetGroupV2\": 0,\n            \"subItems\": [\n              {\n                \"id\": 0,\n                \"name\": \"string\",\n                \"reach\": 0,\n                \"reachInTargetGroup\": 0,\n                \"reachPersons\": 0,\n                \"reachPersonsInTargetGroup\": 0,\n                \"shareInTargetGroup\": 0,\n                \"frequency\": 0,\n                \"events\": 0,\n                \"eventsInTargetGroup\": 0,\n                \"personsHitrate\": 0,\n                \"reachContribution\": 0,\n                \"targetRatingPoints\": 0,\n                \"incrementalReachInTargetGroupV2\": 0,\n                \"incrementalReachPersonsInTargetGroupV2\": 0,\n                \"subItems\": [\n                  \"string\"\n                ],\n                \"weekly\": [\n                  {\n                    \"weekStart\": \"2024-06-11T10:33:12.455Z\",\n                    \"personsHitrate\": 0,\n                    \"reach\": 0,\n                    \"reachInTargetGroup\": 0,\n                    \"incrementalReachInTargetGroup\": 0,\n                    \"shareInTargetGroup\": 0,\n                    \"frequency\": 0,\n                    \"costs\": {\n                      \"investment\": 0,\n                      \"costPerEventsInTargetGroup\": 0,\n                      \"costPerReachInTargetGroup\": 0,\n                      \"costPerIncrementalReachInTargetGroup\": 0\n                    },\n                    \"incrementalReachInTargetGroupV2\": 0,\n                    \"incrementalReachPersonsInTargetGroupV2\": 0\n                  }\n                ],\n                \"totalsByDemographics\": {\n                  \"ageCategory\": [\n                    {\n                      \"category\": \"string\",\n                      \"share\": 0,\n                      \"personsHitrate\": 0\n                    }\n                  ],\n                  \"gender\": [\n                    {\n                      \"category\": \"string\",\n                      \"share\": 0,\n                      \"personsHitrate\": 0\n                    }\n                  ],\n                  \"income\": [\n                    {\n                      \"category\": \"string\",\n                      \"share\": 0,\n                      \"personsHitrate\": 0\n                    }\n                  ],\n                  \"education\": [\n                    {\n                      \"category\": \"string\",\n                      \"share\": 0,\n                      \"personsHitrate\": 0\n                    }\n                  ],\n                  \"employment\": [\n                    {\n                      \"category\": \"string\",\n                      \"share\": 0,\n                      \"personsHitrate\": 0\n                    }\n                  ],\n                  \"children\": [\n                    {\n                      \"category\": \"string\",\n                      \"share\": 0,\n                      \"personsHitrate\": 0\n                    }\n                  ],\n                  \"householdSize\": [\n                    {\n                      \"category\": \"string\",\n                      \"share\": 0,\n                      \"personsHitrate\": 0\n                    }\n                  ]\n                },\n                \"totalsByEventType\": [\n                  {\n                    \"eventType\": \"Impression\",\n                    \"events\": 0,\n                    \"eventsInTargetGroup\": 0,\n                    \"reach\": 0,\n                    \"reachInTargetGroup\": 0\n                  }\n                ],\n                \"costs\": {\n                  \"investment\": 0,\n                  \"costPerEventsInTargetGroup\": 0,\n                  \"costPerReachInTargetGroup\": 0,\n                  \"costPerIncrementalReachInTargetGroup\": 0\n                }\n              }\n            ],\n            \"weekly\": [\n              {\n                \"weekStart\": \"2024-06-11T10:33:12.455Z\",\n                \"personsHitrate\": 0,\n                \"reach\": 0,\n                \"reachInTargetGroup\": 0,\n                \"incrementalReachInTargetGroup\": 0,\n                \"shareInTargetGroup\": 0,\n                \"frequency\": 0,\n                \"costs\": {\n                  \"investment\": 0,\n                  \"costPerEventsInTargetGroup\": 0,\n                  \"costPerReachInTargetGroup\": 0,\n                  \"costPerIncrementalReachInTargetGroup\": 0\n                },\n                \"incrementalReachInTargetGroupV2\": 0,\n                \"incrementalReachPersonsInTargetGroupV2\": 0\n              }\n            ],\n            \"totalsByDemographics\": {\n              \"ageCategory\": [\n                {\n                  \"category\": \"string\",\n                  \"share\": 0,\n                  \"personsHitrate\": 0\n                }\n              ],\n              \"gender\": [\n                {\n                  \"category\": \"string\",\n                  \"share\": 0,\n                  \"personsHitrate\": 0\n                }\n              ],\n              \"income\": [\n                {\n                  \"category\": \"string\",\n                  \"share\": 0,\n                  \"personsHitrate\": 0\n                }\n              ],\n              \"education\": [\n                {\n                  \"category\": \"string\",\n                  \"share\": 0,\n                  \"personsHitrate\": 0\n                }\n              ],\n              \"employment\": [\n                {\n                  \"category\": \"string\",\n                  \"share\": 0,\n                  \"personsHitrate\": 0\n                }\n              ],\n              \"children\": [\n                {\n                  \"category\": \"string\",\n                  \"share\": 0,\n                  \"personsHitrate\": 0\n                }\n              ],\n              \"householdSize\": [\n                {\n                  \"category\": \"string\",\n                  \"share\": 0,\n                  \"personsHitrate\": 0\n                }\n              ]\n            },\n            \"totalsByEventType\": [\n              {\n                \"eventType\": \"Impression\",\n                \"events\": 0,\n                \"eventsInTargetGroup\": 0,\n                \"reach\": 0,\n                \"reachInTargetGroup\": 0\n              }\n            ],\n            \"costs\": {\n              \"investment\": 0,\n              \"costPerEventsInTargetGroup\": 0,\n              \"costPerReachInTargetGroup\": 0,\n              \"costPerIncrementalReachInTargetGroup\": 0\n            }\n          }\n        ],\n        \"sources\": [\n          {\n            \"overlap\": [\n              {\n                \"source\": {\n                  \"code\": \"string\",\n                  \"name\": \"string\"\n                },\n                \"exclusiveReachInTargetGroup\": 0\n              }\n            ],\n            \"source\": {\n              \"code\": \"string\",\n              \"name\": \"string\"\n            },\n            \"reachInTargetGroup\": 0\n          }\n        ]\n      },\n      \"creator\": {\n        \"id\": \"string\",\n        \"name\": \"string\"\n      },\n      \"createdAt\": \"2024-06-11T10:33:12.455Z\",\n      \"updatedAt\": \"2024-06-11T10:33:12.455Z\"\n    }\n  ],\n  \"pagination\": {\n    \"hasNextPage\": true,\n    \"nextCursor\": \"string\",\n    \"totalCount\": 0\n  }\n}"},{"id":"fe90241a-9b34-4418-be15-8beae5dd7f35","name":"400 Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/reports?clientAccountId=<integer>","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","reports"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"clientAccountId","value":"<integer>"},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"reportIds","value":"<integer>","disabled":true},{"key":"itemId","value":"<integer>","disabled":true},{"key":"isArchived","value":"<boolean>","disabled":true},{"key":"label","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"ModelValidationException\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"b7101862-4773-4ac5-aaf7-0d4b092c7fc9","name":"401 Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/reports?clientAccountId=<integer>","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","reports"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"clientAccountId","value":"<integer>"},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"reportIds","value":"<integer>","disabled":true},{"key":"itemId","value":"<integer>","disabled":true},{"key":"isArchived","value":"<boolean>","disabled":true},{"key":"label","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"7a2e6497-ce92-41e7-b15f-039ee4cf7bc6","name":"403 Forbidden","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/reports?clientAccountId=<integer>","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","reports"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"clientAccountId","value":"<integer>"},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"reportIds","value":"<integer>","disabled":true},{"key":"itemId","value":"<integer>","disabled":true},{"key":"isArchived","value":"<boolean>","disabled":true},{"key":"label","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"15f8377a-6c97-4552-9dda-8b326d8aec6a","name":"404 Not Found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"https://api.audienceproject.com/audiencereport/v2/accounts/reports?clientAccountId=<integer>","host":["https://api.audienceproject.com"],"path":["audiencereport","v2","accounts","reports"],"query":[{"key":"pageSize","value":"<integer>","disabled":true},{"key":"cursor","value":"<string>","disabled":true},{"key":"orderBy","value":"<string>","disabled":true},{"key":"clientAccountId","value":"<integer>"},{"key":"agencyAccountId","value":"<integer>","disabled":true},{"key":"reportIds","value":"<integer>","disabled":true},{"key":"itemId","value":"<integer>","disabled":true},{"key":"isArchived","value":"<boolean>","disabled":true},{"key":"label","value":"<string>","disabled":true},{"key":"q","value":"<string>","disabled":true}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n\t\"errorType\": \"RouteNotFound\"\n}"}],"_postman_id":"62bff062-ac15-44c6-aa21-36ae1516b8fd"},{"name":"Creates a new report.","id":"f0e9e21f-b984-484e-94eb-004796fa931f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"targetGroup\": {\n    \"countryCode\": \"<string>\",\n    \"period\": {\n      \"startDate\": \"<dateTime>\",\n      \"endDate\": \"<dateTime>\"\n    },\n    \"demographics\": {\n      \"gender\": [\n        \"Male\",\n        \"Female\"\n      ],\n      \"age\": {\n        \"minimum\": 35,\n        \"maximum\": 55\n      },\n      \"education\": [\n        \"PrimarySchool\",\n        \"HighSchool\",\n        \"SecondarySchoolTechnicalVocationalType\",\n        \"SecondarySchoolUniversityPreparatoryType\",\n        \"UniversityOrCollegeLevelEducation \"\n      ],\n      \"employment\": [\n        \"Employed\",\n        \"CurrentlyUnemployed\",\n        \"RetiredPensioner\",\n        \"Homemaker\",\n        \"Student\",\n        \"Other\"\n      ],\n      \"income\": [\n        \"VeryLow\",\n        \"Low\",\n        \"Medium\",\n        \"High\",\n        \"VeryHigh\"\n      ],\n      \"children\": [\n        \"Yes\",\n        \"No\"\n      ],\n      \"householdSize\": {\n        \"minimum\": 1,\n        \"maximum\": 5\n      }\n    }\n  },\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"items\": [\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    },\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    }\n  ],\n  \"channelReachBuildingEvents\": [\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    }\n  ],\n  \"costCurrency\": \"USD\",\n  \"costReportingEnabled\": true,\n  \"channelCosts\": [\n    {\n      \"id\": \"string\",\n      \"impressionsPurchased\": 0,\n      \"totalSpend\": 0\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports","description":"<p>Creates a new report. Include an object in the request body that contains the following properties:</p>\n<ul>\n<li><p><code>name</code> - Required. A string that contains the report's name.</p>\n</li>\n<li><p><code>targetGroup</code> - An object contains following properties:</p>\n<ul>\n<li><p><code>countryCode</code> - A two-letter country code defined in ISO 3166-1.</p>\n</li>\n<li><p><code>period</code> - An object represents a report period in time</p>\n<ul>\n<li><p><code>startDate</code> - A string value contains start date of the period in ISO 8601 format (yyyy-MM-dd).</p>\n</li>\n<li><p><code>endDate</code> - A string value contains end date or the period in ISO 8601 format (yyyy-MM-dd).</p>\n</li>\n</ul>\n</li>\n<li><p><code>demographics</code> - An object contains following properties:</p>\n<ul>\n<li><p><code>gender</code> - A string array that contains several of:</p>\n<ul>\n<li><p><code>Male</code></p>\n</li>\n<li><p><code>Female</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>age</code> - An object represents range of the age.</p>\n</li>\n<li><p><code>education</code>- A string array that contains several of:</p>\n<ul>\n<li><p><code>PrimarySchool</code></p>\n</li>\n<li><p><code>HighSchool</code></p>\n</li>\n<li><p><code>SecondarySchoolTechnicalVocationalType</code></p>\n</li>\n<li><p><code>SecondarySchoolUniversityPreparatoryType</code></p>\n</li>\n<li><p><code>UniversityOrCollegeLevelEducation</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>employment</code>- A string array that contains several of:</p>\n<ul>\n<li><p><code>Employed</code></p>\n</li>\n<li><p><code>CurrentlyUnemployed</code></p>\n</li>\n<li><p><code>RetiredPensioner</code></p>\n</li>\n<li><p><code>Homemaker</code></p>\n</li>\n<li><p><code>Student</code></p>\n</li>\n<li><p><code>Other</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>income</code> - A string array that contains several of:</p>\n<ul>\n<li><p><code>VeryLow</code></p>\n</li>\n<li><p><code>Low</code></p>\n</li>\n<li><p><code>Medium</code></p>\n</li>\n<li><p><code>High</code></p>\n</li>\n<li><p><code>VeryHigh</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>children</code> - - A string array that contains several of:</p>\n<ul>\n<li><p><code>Yes</code></p>\n</li>\n<li><p><code>No</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>householdSize</code> - An object represents range of the household size. The minimum value can be 1. The maximum value can be 5.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><code>labels</code> - An string array. Can have any values.</p>\n</li>\n<li><p><code>items</code> - An object array that contains items for a report.</p>\n</li>\n<li><p><code>channelReachBuildingEvents</code> - An array of the objects with following required properties:</p>\n<ul>\n<li><p><code>id</code> - A string that contains the id of the channel.</p>\n</li>\n<li><p><code>reachBuildingEvent</code> - A string value that contains the event's type. One of:</p>\n<ul>\n<li><p><code>Impression</code></p>\n</li>\n<li><p><code>VideoStart</code></p>\n</li>\n<li><p><code>Video25Pct</code></p>\n</li>\n<li><p><code>Video50Pct</code></p>\n</li>\n<li><p><code>Video75Pct</code></p>\n</li>\n<li><p><code>VideoComplete</code></p>\n</li>\n<li><p><code>Click</code></p>\n</li>\n<li><p><code>IvSupported</code></p>\n</li>\n<li><p><code>IvInView</code></p>\n</li>\n<li><p><code>MrcCmv</code></p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><code>costCurrency</code> - The currency to define const reporting.</p>\n</li>\n<li><p><code>costReportingEnabled</code> The flag to enagle const reporting. Understand which channels are most cost-efficient at reaching and engaging your audience</p>\n</li>\n<li><p><code>channelCosts</code> - An object contains following properties:</p>\n<ul>\n<li><p><code>id</code> - The string than contains the id of the channel.</p>\n</li>\n<li><p><code>impressionsPurchased</code> - The amount of purchased impressions.</p>\n</li>\n<li><p><code>totalSpend</code> - The total spend.</p>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts","1","reports"],"host":["https://api.audienceproject.com"],"query":[],"variable":[]}},"response":[{"id":"06697a0f-7a43-4ea5-8420-7b8cf9004718","name":"201 Created","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"targetGroup\": {\n    \"countryCode\": \"<string>\",\n    \"period\": {\n      \"startDate\": \"<dateTime>\",\n      \"endDate\": \"<dateTime>\"\n    },\n    \"demographics\": {\n      \"gender\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"age\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"education\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"employment\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"income\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"children\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"householdSize\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  },\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"items\": [\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    },\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    }\n  ],\n  \"channelReachBuildingEvents\": [\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"data\": {\r\n    \"id\": 0\r\n  }\r\n}"},{"id":"b0278a6f-4343-4d7f-8505-b4294182fe87","name":"400 Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"targetGroup\": {\n    \"countryCode\": \"<string>\",\n    \"period\": {\n      \"startDate\": \"<dateTime>\",\n      \"endDate\": \"<dateTime>\"\n    },\n    \"demographics\": {\n      \"gender\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"age\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"education\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"employment\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"income\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"children\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"householdSize\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  },\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"items\": [\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    },\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    }\n  ],\n  \"channelReachBuildingEvents\": [\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"ModelValidationException\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"bc569218-9115-4d61-8873-8f824e1db104","name":"401 Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"targetGroup\": {\n    \"countryCode\": \"<string>\",\n    \"period\": {\n      \"startDate\": \"<dateTime>\",\n      \"endDate\": \"<dateTime>\"\n    },\n    \"demographics\": {\n      \"gender\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"age\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"education\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"employment\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"income\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"children\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"householdSize\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  },\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"items\": [\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    },\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    }\n  ],\n  \"channelReachBuildingEvents\": [\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"AuthenticationException\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"cc262e79-b56b-4da4-9ee4-207a8c501ca8","name":"403 Forbidden","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"targetGroup\": {\n    \"countryCode\": \"<string>\",\n    \"period\": {\n      \"startDate\": \"<dateTime>\",\n      \"endDate\": \"<dateTime>\"\n    },\n    \"demographics\": {\n      \"gender\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"age\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"education\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"employment\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"income\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"children\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"householdSize\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  },\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"items\": [\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    },\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    }\n  ],\n  \"channelReachBuildingEvents\": [\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"de8e348b-a4d1-42af-9509-bd313311e8d7","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"targetGroup\": {\n    \"countryCode\": \"<string>\",\n    \"period\": {\n      \"startDate\": \"<dateTime>\",\n      \"endDate\": \"<dateTime>\"\n    },\n    \"demographics\": {\n      \"gender\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"age\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"education\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"employment\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"income\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"children\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"householdSize\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  },\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"items\": [\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    },\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    }\n  ],\n  \"channelReachBuildingEvents\": [\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n\t\"errorType\": \"RouteNotFound\"\n}"},{"id":"67a4dacc-4c33-492d-9e5f-91f1c1236fd4","name":"429 Too Many Requests","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"<token>","description":"Added as a part of security scheme: oauth2"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"targetGroup\": {\n    \"countryCode\": \"<string>\",\n    \"period\": {\n      \"startDate\": \"<dateTime>\",\n      \"endDate\": \"<dateTime>\"\n    },\n    \"demographics\": {\n      \"gender\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"age\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"education\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"employment\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"income\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"children\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"householdSize\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  },\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"items\": [\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    },\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    }\n  ],\n  \"channelReachBuildingEvents\": [\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"string\",\n  \"errorMessage\": \"string\",\n  \"quotas\": [\n    {\n      \"product\": \"string\",\n      \"operation\": \"string\",\n      \"periodInSeconds\": 0,\n      \"operationLimit\": 0\n    }\n  ]\n}"}],"_postman_id":"f0e9e21f-b984-484e-94eb-004796fa931f"},{"name":"Updates an existing report.","id":"308fa7e2-44d5-448a-9b68-26e166427d1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"targetGroup\": {\n    \"countryCode\": \"<string>\",\n    \"period\": {\n      \"startDate\": \"<dateTime>\",\n      \"endDate\": \"<dateTime>\"\n    },\n    \"demographics\": {\n      \"gender\": [\n        \"Male\",\n        \"Female\"\n      ],\n      \"age\": {\n        \"minimum\": 35,\n        \"maximum\": 55\n      },\n      \"education\": [\n        \"PrimarySchool\",\n        \"HighSchool\",\n        \"SecondarySchoolTechnicalVocationalType\",\n        \"SecondarySchoolUniversityPreparatoryType\",\n        \"UniversityOrCollegeLevelEducation \"\n      ],\n      \"employment\": [\n        \"Employed\",\n        \"CurrentlyUnemployed\",\n        \"RetiredPensioner\",\n        \"Homemaker\",\n        \"Student\",\n        \"Other\"\n      ],\n      \"income\": [\n        \"VeryLow\",\n        \"Low\",\n        \"Medium\",\n        \"High\",\n        \"VeryHigh\"\n      ],\n      \"children\": [\n        \"Yes\",\n        \"No\"\n      ],\n      \"householdSize\": {\n        \"minimum\": 1,\n        \"maximum\": 5\n      }\n    }\n  },\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"items\": [\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    },\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    }\n  ],\n  \"channelReachBuildingEvents\": [\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    }\n  ],\n  \"costCurrency\": \"USD\",\n  \"costReportingEnabled\": true,\n  \"channelCosts\": [\n    {\n      \"id\": \"string\",\n      \"impressionsPurchased\": 0,\n      \"totalSpend\": 0\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1","description":"<p>Updates a specified report. Include an object in the request body that contains the following properties:</p>\n<ul>\n<li><p><code>name</code> - Required. A string that contains the report's name.</p>\n</li>\n<li><p><code>targetGroup</code> - An object contains following properties:</p>\n<ul>\n<li><p><code>countryCode</code> - A two-letter country code defined in ISO 3166-1.</p>\n</li>\n<li><p><code>period</code> - An object represents a report period in time</p>\n<ul>\n<li><p><code>startDate</code> - A string value contains start date of the period in ISO 8601 format (yyyy-MM-dd).</p>\n</li>\n<li><p><code>endDate</code> - A string value contains end date or the period in ISO 8601 format (yyyy-MM-dd).</p>\n</li>\n</ul>\n</li>\n<li><p><code>demographics</code> - An object contains following properties:</p>\n<ul>\n<li><p><code>gender</code> - A string array that contains several of:</p>\n<ul>\n<li><p><code>Male</code></p>\n</li>\n<li><p><code>Female</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>age</code> - An object represents range of the age.</p>\n</li>\n<li><p><code>education</code>- A string array that contains several of:</p>\n<ul>\n<li><p><code>PrimarySchool</code></p>\n</li>\n<li><p><code>HighSchool</code></p>\n</li>\n<li><p><code>SecondarySchoolTechnicalVocationalType</code></p>\n</li>\n<li><p><code>SecondarySchoolUniversityPreparatoryType</code></p>\n</li>\n<li><p><code>UniversityOrCollegeLevelEducation</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>employment</code>- A string array that contains several of:</p>\n<ul>\n<li><p><code>Employed</code></p>\n</li>\n<li><p><code>CurrentlyUnemployed</code></p>\n</li>\n<li><p><code>RetiredPensioner</code></p>\n</li>\n<li><p><code>Homemaker</code></p>\n</li>\n<li><p><code>Student</code></p>\n</li>\n<li><p><code>Other</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>income</code> - A string array that contains several of:</p>\n<ul>\n<li><p><code>VeryLow</code></p>\n</li>\n<li><p><code>Low</code></p>\n</li>\n<li><p><code>Medium</code></p>\n</li>\n<li><p><code>High</code></p>\n</li>\n<li><p><code>VeryHigh</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>children</code> - - A string array that contains several of:</p>\n<ul>\n<li><p><code>Yes</code></p>\n</li>\n<li><p><code>No</code></p>\n</li>\n</ul>\n</li>\n<li><p><code>householdSize</code> - An object represents range of the household size. The minimum value can be 1. The maximum value can be 5.</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><code>labels</code> - An string array. Can have any values.</p>\n</li>\n<li><p><code>items</code> - An object array that contains items for a report.</p>\n</li>\n<li><p><code>channelReachBuildingEvents</code> - An array of the objects with following required properties:</p>\n<ul>\n<li><p><code>id</code> - A string that contains the id of the channel.</p>\n</li>\n<li><p><code>reachBuildingEvent</code> - A string value that contains the event's type. One of:</p>\n<ul>\n<li><p><code>Impression</code></p>\n</li>\n<li><p><code>VideoStart</code></p>\n</li>\n<li><p><code>Video25Pct</code></p>\n</li>\n<li><p><code>Video50Pct</code></p>\n</li>\n<li><p><code>Video75Pct</code></p>\n</li>\n<li><p><code>VideoComplete</code></p>\n</li>\n<li><p><code>Click</code></p>\n</li>\n<li><p><code>IvSupported</code></p>\n</li>\n<li><p><code>IvInView</code></p>\n</li>\n<li><p><code>MrcCmv</code></p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n<li><p><code>costCurrency</code> - The currency to define const reporting.</p>\n</li>\n<li><p><code>costReportingEnabled</code> The flag to enagle const reporting. Understand which channels are most cost-efficient at reaching and engaging your audience</p>\n</li>\n<li><p><code>channelCosts</code> - An object contains following properties:</p>\n<ul>\n<li><p><code>id</code> - The string than contains the id of the channel.</p>\n</li>\n<li><p><code>impressionsPurchased</code> - The amount of purchased impressions.</p>\n</li>\n<li><p><code>totalSpend</code> - The total spend.</p>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts","1","reports","1"],"host":["https://api.audienceproject.com"],"query":[],"variable":[]}},"response":[{"id":"9c5bfbdf-6e12-46bb-a116-6b3fec0092c2","name":"204 No Content","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"targetGroup\": {\n    \"countryCode\": \"<string>\",\n    \"period\": {\n      \"startDate\": \"<dateTime>\",\n      \"endDate\": \"<dateTime>\"\n    },\n    \"demographics\": {\n      \"gender\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"age\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"education\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"employment\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"income\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"children\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"householdSize\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  },\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"items\": [\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    },\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    }\n  ],\n  \"channelReachBuildingEvents\": [\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain","enabled":true}],"cookie":[],"responseTime":null,"body":""},{"id":"851f87ee-f284-4077-aa8c-f1718ef911cb","name":"400 Bad Request","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"targetGroup\": {\n    \"countryCode\": \"<string>\",\n    \"period\": {\n      \"startDate\": \"<dateTime>\",\n      \"endDate\": \"<dateTime>\"\n    },\n    \"demographics\": {\n      \"gender\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"age\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"education\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"employment\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"income\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"children\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"householdSize\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  },\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"items\": [\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    },\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    }\n  ],\n  \"channelReachBuildingEvents\": [\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"ModelValidationException\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"2ed56e14-b3ee-4605-b7f3-ca048e3f17e5","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"targetGroup\": {\n    \"countryCode\": \"<string>\",\n    \"period\": {\n      \"startDate\": \"<dateTime>\",\n      \"endDate\": \"<dateTime>\"\n    },\n    \"demographics\": {\n      \"gender\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"age\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"education\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"employment\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"income\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"children\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"householdSize\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  },\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"items\": [\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    },\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    }\n  ],\n  \"channelReachBuildingEvents\": [\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"AuthenticationException\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"a2bdeb27-84eb-4b96-ab89-41698e91a4d6","name":"403 Forbidden","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"targetGroup\": {\n    \"countryCode\": \"<string>\",\n    \"period\": {\n      \"startDate\": \"<dateTime>\",\n      \"endDate\": \"<dateTime>\"\n    },\n    \"demographics\": {\n      \"gender\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"age\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"education\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"employment\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"income\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"children\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"householdSize\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  },\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"items\": [\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    },\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    }\n  ],\n  \"channelReachBuildingEvents\": [\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"fc8c4fd8-2c90-4f69-bec9-ad9777ecf5d7","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"targetGroup\": {\n    \"countryCode\": \"<string>\",\n    \"period\": {\n      \"startDate\": \"<dateTime>\",\n      \"endDate\": \"<dateTime>\"\n    },\n    \"demographics\": {\n      \"gender\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"age\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      },\n      \"education\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"employment\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"income\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"children\": [\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      ],\n      \"householdSize\": {\n        \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n      }\n    }\n  },\n  \"labels\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"items\": [\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    },\n    {\n      \"itemId\": \"<integer>\",\n      \"displayName\": \"<string>\",\n      \"isIncluded\": \"<boolean>\"\n    }\n  ],\n  \"channelReachBuildingEvents\": [\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"reachBuildingEvent\": \"<string>\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n\t\"errorType\": \"RouteNotFound\"\n}"}],"_postman_id":"308fa7e2-44d5-448a-9b68-26e166427d1f"},{"name":"Deletes a report.","id":"dc8e8393-7000-4a71-b745-37a6f7e75999","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1","description":"<p>Deletes an specified report.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts","1","reports","1"],"host":["https://api.audienceproject.com"],"query":[],"variable":[]}},"response":[{"id":"8d23e10c-a807-4ad6-91e9-6c651aedf404","name":"204 No Content","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain","enabled":true}],"cookie":[],"responseTime":null,"body":""},{"id":"cf62f287-3bce-4c1b-8d3f-fa9a5d142704","name":"400 Bad Request","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"ModelValidationException\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"5dc7dbbb-3d96-4374-a0f6-ba4c62fc4cd8","name":"401 Unauthorized","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"AuthenticationException\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"0751dee4-12d7-46ec-91fa-10428fdced74","name":"403 Forbidden","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"9a162fe0-e440-4941-b9e7-363e055f95cb","name":"404 Not Found","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n\t\"errorType\": \"RouteNotFound\"\n}"}],"_postman_id":"dc8e8393-7000-4a71-b745-37a6f7e75999"},{"name":"Calculates a report.","id":"b9354459-1514-4f70-bd7e-0d3912d7b9d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1/calculate","description":"<p>Invokes recalculation process for specified report.</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}},"urlObject":{"path":["audiencereport","v2","accounts","1","reports","1","calculate"],"host":["https://api.audienceproject.com"],"query":[],"variable":[]}},"response":[{"id":"ed9168da-9226-4620-a9c3-606c10b45095","name":"204 No Content","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1/calculate"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain","enabled":true}],"cookie":[],"responseTime":null,"body":""},{"id":"892610e9-57ed-43d7-9368-308fc0eb5c80","name":"400 Bad Request","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1/calculate"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\r\n  \"errorType\": \"ModelValidationException\",\r\n  \"errorMessage\": \"string\",\r\n  \"errors\": [\r\n    {\r\n      \"key\": \"string\",\r\n      \"value\": \"string\"\r\n    }\r\n  ]\r\n}"},{"id":"0672f96c-b1f2-42fe-abc9-89cdaafbf8d8","name":"401 Unauthorized","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1/calculate"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"AuthenticationException\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"1adecfd3-1334-4c81-8926-c7617856ddf2","name":"403 Forbidden","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1/calculate"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n  \"errorType\": \"<string>\",\n  \"errorMessage\": \"<string>\"\n}"},{"id":"6841824b-c897-4b05-a752-ffb94a15a0be","name":"404 Not Found","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":"https://api.audienceproject.com/audiencereport/v2/accounts/1/reports/1/calculate"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","enabled":true}],"cookie":[],"responseTime":null,"body":"{\n\t\"errorType\": \"RouteNotFound\"\n}"}],"_postman_id":"b9354459-1514-4f70-bd7e-0d3912d7b9d5"}],"id":"8a61351a-21fd-4934-9888-e555a317df2e","description":"<p>The <code>/reports</code> endpoints let you manage your reports.</p>\n","_postman_id":"8a61351a-21fd-4934-9888-e555a317df2e","auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]},"isInherited":true,"source":{"_postman_id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","id":"ff20d260-dd6f-46da-970d-1cf9fe64a00d","name":"AudienceReport API Reference","type":"collection"}}}],"auth":{"type":"oauth2","oauth2":{"basicConfig":[],"advancedConfig":[{"key":"clientSecret","value":"no key"},{"key":"clientId","value":"no key"},{"key":"accessTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"grant_type","value":"<grant_type>"}]}},"event":[{"listen":"prerequest","script":{"id":"6401770c-dcfb-4433-9277-338769d2ef6e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"734573ab-b538-470b-94e1-ad1522490514","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.audienceproject.com"},{"key":"oauthTokenUrl","value":"https://api.audienceproject.com/oauth/v1/token"},{"key":"client_id","value":"no key"},{"key":"client_secret","value":"no key"},{"key":"accountId","value":"1","type":"string"},{"key":"channelId","value":"0"},{"key":"itemId","value":"1"},{"key":"reportId","value":"1"}]}