{"info":{"_postman_id":"bbdde92f-6383-4267-968d-77f42ff5eb97","name":"Impact Measurement API (Beta)","description":"<html><head></head><body><p>This document will help guide you through how to use Impact Measurement API.</p>\n<p>Impact Measurement uses the scale and speed of Lucid’s Marketplace to provide unmatched insight into the effectiveness of digital ad campaigns. The Impact Measurement API provides a simple way to create both a brand lift study and retrieve brand performance metrics for a campaign.</p>\n<p>Survey data and lift calculation are refreshed on a daily basis, so please keep that in mind when considering frequency of API calls.</p>\n<h2 id=\"nuts-and-bolts\">Nuts and bolts</h2>\n<h3 id=\"https\">HTTPS</h3>\n<p>All API calls have to be made over HTTPS. Calls made over plain HTTP will redirect to HTTPS.</p>\n<h3 id=\"plain-json\">Plain JSON</h3>\n<p>The API runs over HTTP/1.1 and communicates using plain <code>application/json</code> (Except specific raw data export endpoints, but these are detailed in this documentation).</p>\n<h3 id=\"trailing-\">Trailing /</h3>\n<p>Trailing slash is optional for all API endpoints, feel free to use it or not.</p>\n<h3 id=\"datetime-format\">Date/Time format</h3>\n<p>Date and Datetime are always presented in ISO 8601 format.</p>\n<h3 id=\"caching\">Caching</h3>\n<p>The API doesn't include any additional caching features, besides what is implied by the protocol layer.</p>\n<h3 id=\"rate-limiting\">Rate limiting</h3>\n<p>We want to encourage innovation with minimal limits. We ask that you please be practical and considerate when determining call frequencies. We rate limit when needed to protect the system and ensure the highest level of service to all of our clients.</p>\n<h2 id=\"pagination\">Pagination</h2>\n<p>Some endpoints, like <code>/api/impact-measurement/v1/campaigns/</code>, employ pagination with the use of the <code>page_size</code> and <code>page</code> parameters. Each paginated<br>endpoint response has these fields:</p>\n<ul>\n<li><code>page</code> - current page number</li>\n<li><code>page_size</code> - number of items included in the current page</li>\n<li><code>total_items</code> - total number of items</li>\n</ul>\n<p>We recommend you always explicitly set the <code>page_size</code> parameter to ensure you know how many results, per page, you'll get.<br>If you omit <code>page_size</code>, the page will contain 10 items, at most.</p>\n<h3 id=\"setting-the-page_size-parameter\">Setting the page_size parameter</h3>\n<p>Let’s say you need to request all your campaigns, but only want 5 results at a time. Your <code>GET</code> would look<br>something like this:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>$ curl -H 'Authorization: Bearer ' -X GET 'https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/?page_size=5'\n\n</code></pre><p>Note the <code>page_size</code> parameter in this call is set to 5, so the response shows items 0 through 4.</p>\n<h3 id=\"get-the-next-page-of-results\">GET the next page of results</h3>\n<p>Next, let’s say you want to make a call to return the next page from the previous example. As you’ll see below, the<br><code>page</code> parameter in the following sample link is 2, so the next page of results will show items 5 through 9:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>$ curl -H 'Authorization: Bearer ' -X GET 'https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/?page_size=5&amp;page=2'\n\n</code></pre><h1 id=\"quick-start\">Quick Start</h1>\n<p>Here is a quick overview of how to get started with <a href=\"https://luc.id/audience/impactmeasurement/\">Lucid's Impact Measurement</a> API.</p>\n<p>Following these steps will allow you to easily create campaigns and retrieve brand lift metrics from the Impact Measurement API:</p>\n<ol>\n<li>Obtain OAuth2 access token with client credentials</li>\n<li>Create and launch campaign measurement</li>\n<li>Retrieve lift results</li>\n</ol>\n<h3 id=\"step-1-obtain-access-token\">Step 1: Obtain Access Token</h3>\n<p>API requests must include a valid access token in order to pass <a href=\"#section/Authentication/OAuth2\">authentication</a>. Access tokens are retrieved from Lucid's authentication service by using your Lucid-provided client credentials (client_id, client_secret) in the following request:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>$ curl -X POST 'https://auth.lucidhq.com/oauth/token' -H 'Content-type: application/json' -d '{\"grant_type\": \"client_credentials\", \"client_id\": \"YOUR-CLIENT-ID\", \"client_secret\": \"YOUR-CLIENT-SECRET\", \"audience\": \"https://api.luc.id\", \"lucid_scopes\": \"app:imt\"}'\n\n</code></pre><p>Your access token is valid for 10 hours; upon expiration, a new access token will need to be generated with the aforementioned process in order to submit API requests.</p>\n<p><strong>See Authentication section for information around configuring the Postman pre-request script</strong></p>\n<h3 id=\"obtaining-your-oauth2-client-id-and-client-secret\">Obtaining your OAuth2 Client ID and Client Secret</h3>\n<p>To obtain credentials for using OAuth2 please reach out to <a href=\"https://support.lucidhq.com\">support</a>.</p>\n<h3 id=\"step-2-create-impact-measurement-campaigns\">Step 2: Create Impact Measurement campaigns</h3>\n<p>The first request in the campaign creation process is [Create Campaign Draft](#operation/Create Campaign Draft). This will allow you to communicate key details to Lucid such as the campaign flight dates, expected impressions and brand study questions. You may continue to update the Campaign Draft until you have completed all setup requirements. Among the required campaign details are <code>industry_id</code> and <code>country_language_id</code> - the mapping values to populate these two fields can be retrieved with [List Industries](#operation/List Industries) and [List Country Languages](#operation/List Country Languages). The survey questions for the campaign should be inserted in the <code>draft_settings</code> field - example templates for each brand lift survey question and KPI type can be found here.</p>\n<p>Upon submitting [Create Campaign Draft](#operation/Create Campaign Draft), the response will include the <code>campaign_id</code>. This campaign ID should be inserted into the Lucid tracking tag for implementation on the campaign's creatives.</p>\n<p>If any changes need to be made after draft creation, the [Update Campaign Draft](#operation/Update Campaign Draft) request should be used with the <code>campaign_id</code>.</p>\n<p>After the campaign and survey question details have been finalized, use the [Launch Campaign](#operation/Launch Campaign) request to activate your campaign. Please note that no changes can be made to the campaign's survey after launch. <strong>Note</strong> Campaigns launched will be logged in the system with the submission time in UTC.</p>\n<h3 id=\"step-3-retrieve-lift-metrics\">Step 3: Retrieve lift metrics</h3>\n<p>Once a launched campaign reaches its start date, Lucid will automatically begin recruiting respondents into the survey. You can monitor how the survey is pacing by checking the <code>total_count</code>. In order to ensure accuracy, certain metrics such as Lift will only be available once the <code>total_count</code> is greater than 50.</p>\n<p>Use the <code>campaign_id</code> to retrieve the lift results for all of the campaign's brand lift KPI questions with the [Calculate Lift for All Questions](#operation/Calculate Lift For All Questions) request. This will return all calculated metrics and sampling statistics for the survey based on the in-target answers indicated.</p>\n<p>To dive deeper into a specific question, first obtain the question IDs with [List Questions for a Specific Campaign](#operation/List Questions For A Specific Campaign) and once you've identified the question of interest, you can use the Lift endpoints to generate a breakdown by [site](#operation/Calculate Question Lift Breakdown by Site), [placement](#operation/Calculate Question Lift Breakdown by Placement), [creative](/Calculate Question Lift Breakdown by Creative), and [ad channel](#operation/Calculate Question Lift Breakdown by Ad Channel).</p>\n<p>Lucid calculates Lift daily until the campaign has reached its stated end date. To extend the length of a campaign, you must update the end date and the total impression count prior to completion.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>For OAuth2 we currently support the client_credentials Grant Type. In order to request your Access Token (that must be sent in all API calls through Authorization: Bearer header) you need to make a request to our Authentication &amp; Authorization service, like the following example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>$ curl -X POST 'https://auth.lucidhq.com/oauth/token' -H 'Content-type: application/json' -d '{\"grant_type\": \"client_credentials\", \"client_id\": \"YOUR-CLIENT-ID\", \"client_secret\": \"YOUR-CLIENT-SECRET\", \"audience\": \"https://api.luc.id\", \"lucid_scopes\": \"app:imt\"}'\n\n</code></pre><p>What you need to change in the example above is:</p>\n<p>-client_id</p>\n<p>-client_secret</p>\n<h2 id=\"postman-pre-request-script\">Postman pre-request script</h2>\n<p>Once you have obtained your credentials, you can then set an environment variable for your credentials, audience, and token url. This will allow a seamless authorization process when using the Impact Measurement collection. Head to the Pre-request Script tab under the Impact Measurement parent collection to learn more!</p>\n<p>Environment Variables for Authentication (OAuth2):<br>-<code>clientId</code> (your client ID)<br>-<code>clientSecret</code> (your client secret)<br>-<code>currentAccessToken</code> (token variable that will be created automatically after successful retrieval. Will be set under 'Authorization: Bearer' header for each request)</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Quick Start","slug":"quick-start"},{"content":"Authentication","slug":"authentication"}],"owner":"27271744","collectionId":"bbdde92f-6383-4267-968d-77f42ff5eb97","publishedId":"2s93z87NWq","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-06-26T15:50:33.000Z"},"item":[{"name":"Campaign Setup","item":[{"name":"Create Campaign Draft","id":"90a060f2-546e-4e80-a6f8-aa480520f0fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/","description":"<p>Create a campaign draft with required campaign details and survey question information under \"draft_settings\"</p>\n<p><strong>Required fields:</strong></p>\n<ul>\n<li>campaign_name</li>\n<li>start_date</li>\n<li>end_date</li>\n<li>draft_settings<ul>\n<li>questions</li>\n<li>baseline_questions</li>\n<li>expected_impressions_count</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",""],"host":["audience","lucidhq","com"],"query":[],"variable":[]}},"response":[{"id":"2c902658-7671-4e01-a100-3f2f7b9de752","name":"Request Sample","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"campaign_name\": \"string\",\n    \"start_date\": \"2019-08-24T14:15:22Z\",\n    \"end_date\": \"2019-08-24T14:15:22Z\",\n    \"client_name\": \"string\",\n    \"country_language_id\": 0,\n    \"industry_id\": 0,\n    \"draft_settings\": {\n        \"questions\": [\n            {\n                \"question_text\": \"string\",\n                \"question_name\": \"string\",\n                \"kpi_type\": \"string\",\n                \"custom_question_text\": \"string\",\n                \"is_custom_question_text\": false,\n                \"max_sel\": 0,\n                \"answers\": [\n                    \"string\"\n                ],\n                \"none_of_the_above_answer\": \"string\",\n                \"anchored_answer\": \"string\",\n                \"randomize\": false,\n                \"order\": 0,\n                \"default\": false,\n                \"question_type\": \"\",\n                \"columns\": [\n                    {\n                        \"text\": \"string\",\n                        \"title\": \"string\",\n                        \"order\": 0,\n                        \"none_of_the_above\": true\n                    }\n                ],\n                \"rows\": [\n                    {\n                        \"text\": \"string\",\n                        \"title\": \"string\",\n                        \"order\": 0,\n                        \"none_of_the_above\": true\n                    }\n                ],\n                \"target_option_index\": 0,\n                \"multi_target_option_index\": [\n                    0\n                ],\n                \"multi_level_target_option_index\": {}\n            }\n        ],\n        \"baseline_questions\": [\n            {\n                \"question_text\": \"string\",\n                \"question_name\": \"string\",\n                \"kpi_type\": \"string\",\n                \"custom_question_text\": \"string\",\n                \"is_custom_question_text\": false,\n                \"max_sel\": 0,\n                \"answers\": [\n                    \"string\"\n                ],\n                \"none_of_the_above_answer\": \"string\",\n                \"anchored_answer\": \"string\",\n                \"randomize\": false,\n                \"order\": 0,\n                \"default\": false,\n                \"question_type\": \"\",\n                \"columns\": [\n                    {\n                        \"text\": \"string\",\n                        \"title\": \"string\",\n                        \"order\": 0,\n                        \"none_of_the_above\": true\n                    }\n                ],\n                \"rows\": [\n                    {\n                        \"text\": \"string\",\n                        \"title\": \"string\",\n                        \"order\": 0,\n                        \"none_of_the_above\": true\n                    }\n                ],\n                \"target_option_index\": 0,\n                \"multi_target_option_index\": [\n                    0\n                ],\n                \"multi_level_target_option_index\": {}\n            }\n        ],\n        \"allow_ip\": false,\n        \"expected_impressions_count\": 1,\n        \"target_audiences\": [\n            {\n                \"target_name\": \"string\",\n                \"is_default\": false,\n                \"qualifications\": [\n                    {\n                        \"marketplace_question_id\": 1,\n                        \"qual_name\": \"string\",\n                        \"answer_type\": \"contains\",\n                        \"precodes\": [\n                            \"string\"\n                        ]\n                    }\n                ]\n            }\n        ]\n    }\n}"},{"id":"481d6f82-a11f-466b-b276-82ea1c04bfdd","name":"Response Sample","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"lucid_scopes","value":"app:imt","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"campaign_id\": \"78614b6c-fe7c-41e2-8e25-c9b3a3c91904\",\n    \"campaign_name\": \"string\",\n    \"status\": \"complete\",\n    \"control_survey_id\": 2147483647,\n    \"exposed_survey_id\": 2147483647,\n    \"errors\": [\n        \"string\"\n    ],\n    \"start_date\": \"2019-08-24T14:15:22Z\",\n    \"end_date\": \"2019-08-24T14:15:22Z\",\n    \"client_name\": \"string\",\n    \"country_language_id\": 0,\n    \"industry_id\": 0,\n    \"channels\": [\n        \"digital\"\n    ],\n    \"default_question_id\": 2147483647,\n    \"default_question_name\": \"string\",\n    \"account_id\": \"449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65\",\n    \"project_manager_user_id\": -2147483648,\n    \"draft_settings\": {},\n    \"created_at\": \"2019-08-24T14:15:22Z\",\n    \"updated_at\": \"2019-08-24T14:15:22Z\",\n    \"permission_id\": 0,\n    \"campaign_data_updated_at\": \"2019-08-24T14:15:22Z\"\n}"}],"_postman_id":"90a060f2-546e-4e80-a6f8-aa480520f0fc"},{"name":"Update Campaign Draft","id":"532c7804-a2c0-4e03-b208-a43ec308ebf8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:id/","description":"<p>Updates all expected campaign draft fields for the specified campaign ID</p>\n","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":id",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"d3fabac7-b9d0-4daf-996f-7f22be963af3","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"id"}]}},"response":[{"id":"065d3c82-f061-4e02-a761-909e2e762d46","name":"Request Sample","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{id}/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"campaign_id\": \"78614b6c-fe7c-41e2-8e25-c9b3a3c91904\",\n    \"campaign_name\": \"string\",\n    \"start_date\": \"2019-08-24T14:15:22Z\",\n    \"end_date\": \"2019-08-24T14:15:22Z\",\n    \"client_name\": \"string\",\n    \"country_language_id\": 0,\n    \"draft_settings\": {\n        \"questions\": [\n            {\n                \"question_text\": \"string\",\n                \"question_name\": \"string\",\n                \"kpi_type\": \"string\",\n                \"custom_question_text\": \"string\",\n                \"is_custom_question_text\": false,\n                \"max_sel\": 0,\n                \"answers\": [\n                    \"string\"\n                ],\n                \"none_of_the_above_answer\": \"string\",\n                \"anchored_answer\": \"string\",\n                \"randomize\": false,\n                \"order\": 0,\n                \"default\": false,\n                \"question_type\": \"\",\n                \"columns\": [\n                    {\n                        \"text\": \"string\",\n                        \"title\": \"string\",\n                        \"order\": 0,\n                        \"none_of_the_above\": true\n                    }\n                ],\n                \"rows\": [\n                    {\n                        \"text\": \"string\",\n                        \"title\": \"string\",\n                        \"order\": 0,\n                        \"none_of_the_above\": true\n                    }\n                ],\n                \"target_option_index\": 0,\n                \"multi_target_option_index\": [\n                    0\n                ],\n                \"multi_level_target_option_index\": {}\n            }\n        ],\n        \"baseline_questions\": [\n            {\n                \"question_text\": \"string\",\n                \"question_name\": \"string\",\n                \"kpi_type\": \"string\",\n                \"custom_question_text\": \"string\",\n                \"is_custom_question_text\": false,\n                \"max_sel\": 0,\n                \"answers\": [\n                    \"string\"\n                ],\n                \"none_of_the_above_answer\": \"string\",\n                \"anchored_answer\": \"string\",\n                \"randomize\": false,\n                \"order\": 0,\n                \"default\": false,\n                \"question_type\": \"\",\n                \"columns\": [\n                    {\n                        \"text\": \"string\",\n                        \"title\": \"string\",\n                        \"order\": 0,\n                        \"none_of_the_above\": true\n                    }\n                ],\n                \"rows\": [\n                    {\n                        \"text\": \"string\",\n                        \"title\": \"string\",\n                        \"order\": 0,\n                        \"none_of_the_above\": true\n                    }\n                ],\n                \"target_option_index\": 0,\n                \"multi_target_option_index\": [\n                    0\n                ],\n                \"multi_level_target_option_index\": {}\n            }\n        ],\n        \"allow_ip\": false,\n        \"expected_impressions_count\": 1,\n        \"target_audiences\": [\n            {\n                \"target_name\": \"string\",\n                \"is_default\": false,\n                \"qualifications\": [\n                    {\n                        \"marketplace_question_id\": 1,\n                        \"qual_name\": \"string\",\n                        \"answer_type\": \"contains\",\n                        \"precodes\": [\n                            \"string\"\n                        ]\n                    }\n                ]\n            }\n        ]\n    }\n}"},{"id":"a9a79eeb-a9a6-4969-a9d2-30bc69dba439","name":"Response Sample","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{id}/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"campaign_id\": \"78614b6c-fe7c-41e2-8e25-c9b3a3c91904\",\n    \"campaign_name\": \"string\",\n    \"status\": \"complete\",\n    \"control_survey_id\": 2147483647,\n    \"exposed_survey_id\": 2147483647,\n    \"errors\": [\n        \"string\"\n    ],\n    \"start_date\": \"2019-08-24T14:15:22Z\",\n    \"end_date\": \"2019-08-24T14:15:22Z\",\n    \"client_name\": \"string\",\n    \"country_language_id\": 0,\n    \"industry_id\": 0,\n    \"channels\": [\n        \"digital\"\n    ],\n    \"default_question_id\": 2147483647,\n    \"default_question_name\": \"string\",\n    \"account_id\": \"449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65\",\n    \"project_manager_user_id\": -2147483648,\n    \"draft_settings\": {},\n    \"created_at\": \"2019-08-24T14:15:22Z\",\n    \"updated_at\": \"2019-08-24T14:15:22Z\",\n    \"permission_id\": 0,\n    \"campaign_data_updated_at\": \"2019-08-24T14:15:22Z\"\n}"}],"_postman_id":"532c7804-a2c0-4e03-b208-a43ec308ebf8"},{"name":"Delete Campaign Draft","id":"514b2979-9c52-4bb2-889d-a6fc9f85383b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:id/","description":"<p>Deletes the draft for the specified campaign ID</p>\n","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":id",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"ed9309d9-6345-44cf-bdee-a0313bbc932f","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"id"}]}},"response":[{"id":"ddb8f031-57c9-4883-9574-3d6e2934a933","name":"Response Sample","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{id}/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"514b2979-9c52-4bb2-889d-a6fc9f85383b"},{"name":"Launch Campaign","id":"15a14409-d06f-411d-82fa-9aff24208750","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:id/launch/","description":"<p>Confirms campaign creation and triggers Lucid survey creation.</p>\n<p><strong>Important:</strong> Please note that no changes can be made to the campaign's survey after launch.</p>\n","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":id","launch",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"511d4aad-78e7-47af-ad69-6b945e9e8990","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":"{{campaign_id}}","key":"id"}]}},"response":[{"id":"0c6635e9-1e7b-44ba-acb5-120179256b0f","name":"Response Sample","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{id}/launch/?id","protocol":"https","host":["audience","lucidhq","com"],"path":["api","impact-measurement","v1","campaigns","{id}","launch",""],"query":[{"key":"id","value":null,"description":"string"}]}},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": \"string\"\n}"},{"id":"29f211e3-65c8-4ad4-9877-51490aae7915","name":"Response Sample","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"lucid_scopes","value":"app:imt","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{id}/extend/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"campaign_name\": \"string\",\n    \"client_name\": \"string\",\n    \"end_date\": \"2019-08-24T14:15:22Z\",\n    \"expected_impressions_count\": \"string\",\n    \"status\": \"complete\",\n    \"job_schedule_utc\": \"string\"\n}"}],"_postman_id":"15a14409-d06f-411d-82fa-9aff24208750"},{"name":"Extend Campaign","id":"c009794d-d712-44c0-91e5-de7ab459cfa8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\"campaign_name\": \"string\",\n\"end_date\": \"2019-08-24T14:15:22Z\",\n\"client_name\": \"string\",\n\"expected_impressions_count\": 0\n}"},"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:id/extend/","description":"<p>Extends the campaign end date and expected impression count and sets the campaign name, and client name. </p>\n<ul>\n<li>The campaign status must be either live or complete. </li>\n<li>The campaign will be set to live status if the end_date or expected_impressions_count is set and it is in complete status. </li>\n<li>The campaign must have at least 1 day remaining when increasing the impression count. The campaign expected_impressions_count must be increased by 1000000 at minimum. </li>\n<li>The campaign end_date cannot be extended to less than a day out. \n*When the expected_impressions_count or the end_date is extended the survey quotas will be updated on a scheduled backend process that currently run at [6, 18] UTC.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":id","extend",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"11785980-1dc1-4bbc-a87f-afa297712434","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"id"}]}},"response":[{"id":"ef8ab2cc-4b4b-453f-aab3-0802f5ec067e","name":"Request Sample","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{id}/extend/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"campaign_name\": \"string\",\n    \"end_date\": \"2019-08-24T14:15:22Z\",\n    \"client_name\": \"string\",\n    \"expected_impressions_count\": 0\n}"}],"_postman_id":"c009794d-d712-44c0-91e5-de7ab459cfa8"}],"id":"e7a46248-555f-4465-911b-1ad9f61e7926","description":"<p>All endpoints to help create your campaign</p>\n<p><strong>Note</strong> when updating a live campaign end_date, use the Extend Campaign request and not Update Campaign</p>\n","auth":{"type":"noauth","isInherited":false},"_postman_id":"e7a46248-555f-4465-911b-1ad9f61e7926"},{"name":"Campaign Info","item":[{"name":"List Campaigns","event":[{"listen":"test","script":{"exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","id":"4bdf0608-3fae-4c4b-8ddf-2b2deaab6237"}},{"listen":"prerequest","script":{"exec":[""],"type":"text/javascript","id":"d1ae987f-a8f6-49d5-bff1-695fb8d9bf17"}}],"id":"139b2e28-4908-4cfb-b6eb-7103e121e461","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/","description":"<p>This request provides the name, start_end dates, status, country language, and key KPI’s for all of your Lucid campaigns</p>\n","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",""],"host":["audience","lucidhq","com"],"query":[{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"status","value":""},{"disabled":true,"description":{"content":"<p>array of strings</p>\n","type":"text/plain"},"key":"status_in","value":null},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"campaign_name_contains","value":null},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"campaign_name_icontains","value":null},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"client_name_contains","value":""},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"start_date","value":null},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"start_date_lte","value":null},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"start_date_gte","value":null},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"end_date","value":null},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"end_date_lte","value":null},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"end_date_gte","value":null},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"keyword","value":""},{"disabled":true,"description":{"content":"<p>integer</p>\n","type":"text/plain"},"key":"page","value":null},{"disabled":true,"description":{"content":"<p>integer</p>\n","type":"text/plain"},"key":"page_size","value":null},{"disabled":true,"description":{"content":"<p>Enum: \"status\" \"status__in\" \"campaign_name__contains\" \"campaign_name__icontains\" \"client_name__contains\" \"client_name__icontains\" \"start_date\" \"start_date__lte\" \"start_date__gte\" \"end_date\" \"end_date__lte\" \"end_date__gte\"\nField to sort by when returning campaigns</p>\n","type":"text/plain"},"key":"sort_by","value":null},{"disabled":true,"description":{"content":"<p>string\nEnum: \"asc\" \"desc\"\nOrder in which to sort campaigns returned specified by sort_by query param</p>\n","type":"text/plain"},"key":"sort_order","value":null},{"disabled":true,"description":{"content":"<p>string\nOptionally filter list by permission_id</p>\n","type":"text/plain"},"key":"permission_id","value":null},{"disabled":true,"description":{"content":"<p>string\nOptional comma delimited string of permission_id's. The permission_id parameter supersedes the permission_id_in parameter</p>\n","type":"text/plain"},"key":"permission_id_in","value":null}],"variable":[]}},"response":[{"id":"b7ac5f29-62f7-4fcf-8ce6-5ba448f8a007","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/?page_size=1","protocol":"https","host":["audience","lucidhq","com"],"path":["api","impact-measurement","v1","campaigns",""],"query":[{"key":"page_size","value":"1"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"campaign_id\": \"78614b6c-fe7c-41e2-8e25-c9b3a3c91904\",\n            \"campaign_name\": \"string\",\n            \"status\": \"complete\",\n            \"control_survey_id\": 2147483647,\n            \"exposed_survey_id\": 2147483647,\n            \"errors\": [\n                \"string\"\n            ],\n            \"start_date\": \"2019-08-24T14:15:22Z\",\n            \"end_date\": \"2019-08-24T14:15:22Z\",\n            \"client_name\": \"string\",\n            \"country_language_id\": 0,\n            \"industry_id\": 0,\n            \"default_question_id\": 2147483647,\n            \"default_question_name\": \"string\",\n            \"account_id\": \"449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65\",\n            \"project_manager_user_id\": -2147483648,\n            \"draft_settings\": {},\n            \"created_at\": \"2019-08-24T14:15:22Z\",\n            \"updated_at\": \"2019-08-24T14:15:22Z\",\n            \"permission_id\": 0,\n            \"campaign_data_updated_at\": \"2019-08-24T14:15:22Z\"\n        }\n    ],\n    \"page\": 0,\n    \"page_size\": 0,\n    \"total_items\": 0,\n    \"sort_by\": \"string\",\n    \"sort_order\": \"string\"\n}"}],"_postman_id":"139b2e28-4908-4cfb-b6eb-7103e121e461"},{"name":"Retrieve Campaign","id":"45231c79-8a59-46ed-a8ed-d9cd866463d2","protocolProfileBehavior":{"disabledSystemHeaders":{"accept":true},"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:id/","description":"<p>Complete campaign details for specified campaign IDs</p>\n","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":id",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"bad3c784-eec6-4b3c-9174-5c159b8eeab1","type":"any","value":"","key":"id"}]}},"response":[{"id":"79ab3bc9-e68f-4583-adf6-3ccd24dc5c64","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"lucid_scopes","value":"app:imt","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{id}/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"campaign_id\": \"78614b6c-fe7c-41e2-8e25-c9b3a3c91904\",\n    \"campaign_name\": \"string\",\n    \"status\": \"complete\",\n    \"control_survey_id\": 2147483647,\n    \"exposed_survey_id\": 2147483647,\n    \"errors\": [\n        \"string\"\n    ],\n    \"start_date\": \"2019-08-24T14:15:22Z\",\n    \"end_date\": \"2019-08-24T14:15:22Z\",\n    \"client_name\": \"string\",\n    \"country_language_id\": 0,\n    \"industry_id\": 0,\n    \"default_question_id\": 2147483647,\n    \"default_question_name\": \"string\",\n    \"account_id\": \"449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65\",\n    \"project_manager_user_id\": -2147483648,\n    \"draft_settings\": {},\n    \"created_at\": \"2019-08-24T14:15:22Z\",\n    \"updated_at\": \"2019-08-24T14:15:22Z\",\n    \"permission_id\": 0,\n    \"campaign_data_updated_at\": \"2019-08-24T14:15:22Z\"\n}"}],"_postman_id":"45231c79-8a59-46ed-a8ed-d9cd866463d2"},{"name":"Retrieve Campaign Summary","event":[{"listen":"test","script":{"exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","id":"b6111602-86de-4231-9b77-ac5336a27a84"}}],"id":"e3dcb81a-c2ac-404d-8755-e0d8301ddc7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/summary/","description":"<p>Summary metrics for all of your Lucid campaigns, including total impressions and average lift</p>\n","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns","summary",""],"host":["audience","lucidhq","com"],"query":[{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"status","value":null},{"disabled":true,"description":{"content":"<p>array of strings</p>\n","type":"text/plain"},"key":"status_in","value":""},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"campaign_name_contains","value":null},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"campaign_name_icontains","value":null},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"client_name_contains","value":null},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"client_name_icontains","value":null},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"start_date","value":null},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"start_date_lte","value":null},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"start_date_gte","value":null},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"end_date","value":null},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"end_date_lte","value":null},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"end_date_gte","value":null},{"disabled":true,"description":{"content":"<p>string\nOptionally filter list by permission_id</p>\n","type":"text/plain"},"key":"permission_id","value":null},{"disabled":true,"description":{"content":"<p>string\nOptional comma delimited string of permission_id's. The permission_id parameter supersedes the permission_id_in parameter.</p>\n","type":"text/plain"},"key":"permission_id_in","value":null}],"variable":[]}},"response":[{"id":"6b9e276c-fb7d-4ce8-ac63-1829549f5178","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{OAuth_Token}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/summary/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"live_campaigns\": 0,\n    \"pending_campaigns\": 0,\n    \"completed_campaigns\": 0\n}"}],"_postman_id":"e3dcb81a-c2ac-404d-8755-e0d8301ddc7d"},{"name":"Retrieve Question by ID","id":"f58345e7-25a9-4bcd-adf3-f4fcf334ea70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:campaigns_pk/questions/:id/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":campaigns_pk","questions",":id",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"2d517b24-918f-4a8a-8dfc-96d9d270bfe0","description":{"content":"<p>string  (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"campaigns_pk"},{"id":"4b16e571-5b2d-444b-8683-c347b3b623a6","description":{"content":"<p>integer\nunique integer value identifying this question</p>\n","type":"text/plain"},"type":"any","value":null,"key":"id"}]}},"response":[{"id":"ba086512-5112-46fd-bdad-3a9ede17c6af","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"lucid_scopes","value":"app:imt","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{campaigns_pk}/questions/{id}/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"question\": {\n    \"id\": 0,\n    \"question_id\": 2147483647,\n    \"question_name\": \"string\",\n    \"question_text\": \"string\",\n    \"question_type\": \"demographic\",\n    \"in_target_answers\": [\n      2147483647\n    ],\n    \"question_has_predefined_answers\": true\n  },\n  \"answers\": [\n    {\n      \"answer_id\": -2147483648,\n      \"answer_text\": \"string\"\n    }\n  ]\n}"}],"_postman_id":"f58345e7-25a9-4bcd-adf3-f4fcf334ea70"},{"name":"List Demographic Filters for a Campaign","id":"14adead9-6bce-4c7e-98d7-a02f98077513","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:campaigns_pk/demographics/","description":"<p>This request lists the demographic filters for a campaign</p>\n","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":campaigns_pk","demographics",""],"host":["audience","lucidhq","com"],"query":[{"disabled":true,"description":{"content":"<p>string\nEnum: \"base\" \"taq\"\nComma seperated values - default = base</p>\n","type":"text/plain"},"key":"demo_type","value":"base"}],"variable":[{"id":"0391cf34-2023-4416-b973-da0a0d798cbf","type":"any","value":"","key":"campaigns_pk"}]}},"response":[{"id":"8db31764-0039-46ac-991a-04306bae1da8","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{OAuth_Token}}","type":"text","disabled":true}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{campaigns_pk}/demographics/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"label\": \"string\",\n            \"filter_name\": \"string\",\n            \"marketplace_name\": \"string\",\n            \"marketplace_question_type\": \"string\",\n            \"values\": [\n                {\n                    \"label\": \"string\",\n                    \"type\": \"string\",\n                    \"value\": \"string\"\n                }\n            ],\n            \"country_language_id\": \"string\",\n            \"demo_type\": \"none\",\n            \"bucket_map\": \"string\",\n            \"bucket_enabled\": true\n        }\n    ]\n}"}],"_postman_id":"14adead9-6bce-4c7e-98d7-a02f98077513"},{"name":"List Target Audience for a Campaign","id":"f51bc7a9-2a8a-48f0-9f92-3a6e0b9976d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:campaigns_pk/target-audiences/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":campaigns_pk","target-audiences",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"5dd67abe-9152-468f-aa28-d9bdad69d06e","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"campaigns_pk"}]}},"response":[{"id":"78c27c99-845f-429d-8cf3-4b66386e2bfb","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{OAuth_Token}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{campaigns_pk}/target-audiences/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"target_audiences\": [\n        {\n            \"id\": 0,\n            \"target_name\": \"string\",\n            \"is_default\": true,\n            \"qualifications\": [\n                {\n                    \"question_name\": \"string\",\n                    \"question_text\": \"string\",\n                    \"marketplace_question_type\": \"string\",\n                    \"answer_type\": \"contains\",\n                    \"filter_name\": \"string\",\n                    \"options\": [\n                        {\n                            \"precode\": 0,\n                            \"text\": \"string\"\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"f51bc7a9-2a8a-48f0-9f92-3a6e0b9976d4"},{"name":"List Questions for a Campaign","event":[{"listen":"test","script":{"exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","id":"f0f73a53-398e-4ce0-9d9a-4bb241c51199"}}],"id":"e3ad10f8-54b4-4c45-b982-6f258c11acf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:campaigns_pk/questions/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":campaigns_pk","questions",""],"host":["audience","lucidhq","com"],"query":[{"disabled":true,"description":{"content":"<p>integer</p>\n","type":"text/plain"},"key":"question_id","value":""},{"disabled":true,"description":{"content":"<p>array of integers</p>\n","type":"text/plain"},"key":"question_id_in","value":""},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"question_type","value":""},{"disabled":true,"description":{"content":"<p>array of strings</p>\n","type":"text/plain"},"key":"question_type_in","value":""}],"variable":[{"id":"64baceae-16ac-48f1-9074-3fabef771892","type":"any","value":null,"key":"campaigns_pk"}]}},"response":[{"id":"b0390e8e-7806-471e-a100-d3c8765ebce0","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{OAuth_Token}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{campaigns_pk}/questions/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"items\": [\n    {\n      \"question\": {\n        \"id\": 0,\n        \"question_id\": 2147483647,\n        \"question_name\": \"string\",\n        \"question_text\": \"string\",\n        \"question_type\": \"demographic\",\n        \"in_target_answers\": [\n          2147483647\n        ],\n        \"question_has_predefined_answers\": true\n      },\n      \"answers\": [\n        {\n          \"answer_id\": -2147483648,\n          \"answer_text\": \"string\"\n        }\n      ]\n    }\n  ]\n}"}],"_postman_id":"e3ad10f8-54b4-4c45-b982-6f258c11acf4"},{"name":"List mappings by SPC type","id":"de9e87eb-8f95-40e3-89c2-f65351908795","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:id/spca-mappings/:spca_type/","description":"<p>Publisher, placement, and creative names associated to IDs tracked by Lucid</p>\n","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":id","spca-mappings",":spca_type",""],"host":["audience","lucidhq","com"],"query":[{"disabled":true,"description":{"content":"<p>integer</p>\n","type":"text/plain"},"key":"page","value":null},{"disabled":true,"description":{"content":"<p>integer</p>\n","type":"text/plain"},"key":"page_size","value":null},{"disabled":true,"description":{"content":"<p>integer</p>\n","type":"text/plain"},"key":"group_id","value":null},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"name_like","value":null}],"variable":[{"id":"fd5d1763-8238-4dfd-b443-a8ae790656d9","description":{"content":"<p>string  \"campaign_id\" (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"id"},{"id":"beddbabb-ae12-4bdb-98b8-14560f575d85","description":{"content":"<p>string (required)\nEnum: \"creative\" \"publisher\" \"placement\"</p>\n","type":"text/plain"},"type":"any","value":null,"key":"spca_type"}]}},"response":[{"id":"ecd0f7dc-4717-45e2-b6ab-203f9f95369d","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{OAuth_Token}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{id}/spca-mappings/{spca_type}/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"items\": [\n            {\n                \"id\": \"string\",\n                \"name\": \"string\"\n            }\n        ],\n        \"group_id\": \"string\",\n        \"page\": 0,\n        \"page_size\": 0,\n        \"total_items\": 0\n    }\n]"}],"_postman_id":"de9e87eb-8f95-40e3-89c2-f65351908795"}],"id":"4bd14924-3dab-4a4d-975a-333d5bbf16cd","auth":{"type":"noauth","isInherited":false},"_postman_id":"4bd14924-3dab-4a4d-975a-333d5bbf16cd","description":""},{"name":"Campaign Data","item":[{"name":"Retrieve Campaign Stats","event":[{"listen":"test","script":{"exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","id":"a6f04a05-3606-4372-b8a3-2eb16090f741"}}],"id":"0e12d783-c1fa-44ee-badc-f91830307865","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:id/stats/","description":"<p>Provides total impressions, lift for key KPI, statistical significance status, and days remaining for a specified campaign</p>\n","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":id","stats",""],"host":["audience","lucidhq","com"],"query":[{"disabled":true,"description":{"content":"<p>string\nComma Separated Values of Target Audience IDs...\nIf present, will apply requested target audiences to lift calculation for target ids that belong to campaign. If query parameter is not present and campaign has a default target audience set, then lift will be calculated with the default target audience for the campaign. To opt out of having default target audience applied to lift calculation, send the value for this query param as 0</p>\n","type":"text/plain"},"key":"target_audience_id_in","value":null}],"variable":[{"id":"5ccb5e61-f5aa-471b-8c44-7a2f89586d8b","description":{"content":"<p>string  \"campaign_id\" (required)</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"6d43edcd-0457-49e1-a51e-891fc95a05d2","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{OAuth_Token}}","type":"text"}],"url":"https://audience.lucidhq.com/#section/Quick-Start/api/impact-measurement/v1/campaigns/{id}/stats/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"avg_lift\": 0,\n  \"statistically_significant\": true,\n  \"default_question_lift\": {\n    \"question\": {\n      \"id\": 0,\n      \"question_id\": 2147483647,\n      \"question_name\": \"string\",\n      \"question_text\": \"string\",\n      \"question_type\": \"demographic\",\n      \"in_target_answers\": [\n        2147483647\n      ],\n      \"question_has_predefined_answers\": true\n    },\n    \"enough_sample_size\": true,\n    \"exposed_count\": 0,\n    \"control_count\": 0,\n    \"in_target_exposed_count\": 0,\n    \"in_target_control_count\": 0,\n    \"total_count\": 0,\n    \"confidence_level\": 0,\n    \"margin_of_error\": 0,\n    \"exposed_percentage\": 0,\n    \"control_percentage\": 0,\n    \"lift_percentage\": 0,\n    \"statistically_significant\": true\n  },\n  \"days_completed\": 0,\n  \"days_left\": 0,\n  \"total_impressions\": 0\n}"}],"_postman_id":"0e12d783-c1fa-44ee-badc-f91830307865"},{"name":"Calculate Question Lift","event":[{"listen":"test","script":{"exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","id":"fd06d5ff-9d1d-4091-b72a-6b52fc65dae0"}}],"id":"b450cd1a-0d33-44df-a1b5-cc9a0b657f6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:campaigns_pk/questions/:questions_pk/lift/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":campaigns_pk","questions",":questions_pk","lift",""],"host":["audience","lucidhq","com"],"query":[{"disabled":true,"description":{"content":"<p>number (Default: 0.9)</p>\n","type":"text/plain"},"key":"confidence_level","value":null},{"disabled":true,"description":{"content":"<p>string (CSV)\nIf present, will apply requested target audiences to lift calculation for target ids that belong to campaign. If query parameter is not present and campaign has a default target audience set, then lift will be calculated with the default target audience for the campaign. To opt out of having default target audience applied to lift calculation, send the value for this query param as 0</p>\n","type":"text/plain"},"key":"target_audience_id_in","value":null},{"disabled":true,"description":{"content":"<p>string\ndemo_age_range=18,35\nThe demo filter_name varies per country language. The demographics endpoint will list the possible demo filter_name's for a country language.</p>\n","type":"text/plain"},"key":"demo_filter_name [__range|__gte|__lte|__in]","value":null},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"publisher_id","value":null},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"placement_id","value":null},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"creative_id","value":null},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"ad_channel","value":null},{"disabled":true,"description":{"content":"<p>object</p>\n","type":"text/plain"},"key":"custom_variables__c1","value":null},{"disabled":true,"description":{"content":"<p>object</p>\n","type":"text/plain"},"key":"custom_variables__c2","value":null},{"disabled":true,"description":{"content":"<p>object</p>\n","type":"text/plain"},"key":"custom_variables__c3","value":null},{"disabled":true,"description":{"content":"<p>object</p>\n","type":"text/plain"},"key":"custom_variables__c4","value":null},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"respondent_id","value":null},{"disabled":true,"description":{"content":"<p>array of integers</p>\n","type":"text/plain"},"key":"answer_ids","value":null},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"timestamp_lte","value":null},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"timestamp_gte","value":null}],"variable":[{"id":"dc2eb79e-14f0-479b-8e0a-251aa11786cc","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":"","key":"campaigns_pk"},{"id":"aa4ee4a0-bbfb-4747-a9f3-7ad80dd1ad51","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":"10499","key":"questions_pk"}]}},"response":[{"id":"516412c2-94dc-4506-a345-ba7639518fb3","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"lucid_scopes","value":"app:imt","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{campaigns_pk}/questions/{questions_pk}/lift/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"question\": {\n        \"id\": 0,\n        \"question_id\": 2147483647,\n        \"question_name\": \"string\",\n        \"question_text\": \"string\",\n        \"question_type\": \"demographic\",\n        \"in_target_answers\": [\n            2147483647\n        ],\n        \"question_has_predefined_answers\": true\n    },\n    \"enough_sample_size\": true,\n    \"exposed_count\": 0,\n    \"control_count\": 0,\n    \"in_target_exposed_count\": 0,\n    \"in_target_control_count\": 0,\n    \"total_count\": 0,\n    \"confidence_level\": 0,\n    \"margin_of_error\": 0,\n    \"exposed_percentage\": 0,\n    \"control_percentage\": 0,\n    \"lift_percentage\": 0,\n    \"statistically_significant\": true\n}"}],"_postman_id":"b450cd1a-0d33-44df-a1b5-cc9a0b657f6e"},{"name":"Lift Breakdown by Ad Channel","event":[{"listen":"test","script":{"exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","id":"15718644-5a75-4d1e-820b-21dd468d7d5b"}}],"id":"62a7f38d-7b94-4892-bb3a-4519f2dd2351","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:campaigns_pk/questions/:questions_pk/lift/by-ad-channel/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":campaigns_pk","questions",":questions_pk","lift","by-ad-channel",""],"host":["audience","lucidhq","com"],"query":[{"disabled":true,"description":{"content":"<p>number: default (0.9)</p>\n","type":"text/plain"},"key":"confidence_level","value":""},{"disabled":true,"description":{"content":"<p>string (CSV)\nIf present, will apply requested target audiences to lift calculation for target ids that belong to campaign. If query parameter is not present and campaign has a default target audience set, then lift will be calculated with the default target audience for the campaign. To opt out of having default target audience applied to lift calculation, send the value for this query param as 0</p>\n","type":"text/plain"},"key":"target_audience_id_in","value":""},{"disabled":true,"description":{"content":"<p>string\ndemo_age__range=18,35\nThe demo filter_name varies per country language. The demographics endpoint will list the possible demo filter_name's for a country language.</p>\n","type":"text/plain"},"key":"demo_filter_name [__range|__gte|__lte|__in]","value":""},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"publisher_id","value":""},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"placement_id","value":""},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"creative_id","value":""},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"ad_channel","value":""},{"disabled":true,"description":{"content":"<p>object</p>\n","type":"text/plain"},"key":"custom_variables__c1","value":""},{"disabled":true,"description":{"content":"<p>object</p>\n","type":"text/plain"},"key":"custom_variables__c2","value":""},{"disabled":true,"description":{"content":"<p>object</p>\n","type":"text/plain"},"key":"custom_variables__c3","value":""},{"disabled":true,"description":{"content":"<p>object</p>\n","type":"text/plain"},"key":"custom_variables__c4","value":""},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"respondent_id","value":""},{"disabled":true,"description":{"content":"<p>array of integers</p>\n","type":"text/plain"},"key":"answer_ids","value":""},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"timestamp_lte","value":""},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"timestamp_gte","value":""}],"variable":[{"id":"1ba04edb-55cb-4304-a19a-667f30b90b7f","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"campaigns_pk"},{"id":"fddac247-4b67-49dd-bb47-01d2195c9eb8","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"questions_pk"}]}},"response":[{"id":"d1898d02-5fc6-4c6b-bae7-45bbbcf51f2a","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"lucid_scopes","value":"app:imt","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{campaigns_pk}/questions/{questions_pk}/lift/by-ad-channel/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"ad_channel\": \"string\",\n            \"ad_channel_name\": \"string\",\n            \"impression_share_percentage\": 0,\n            \"enough_sample_size\": true,\n            \"lift_percentage\": 0,\n            \"statistically_significant\": true,\n            \"exposed_count\": 0,\n            \"in_target_exposed_count\": 0,\n            \"exposed_percentage\": 0\n        }\n    ]\n}"}],"_postman_id":"62a7f38d-7b94-4892-bb3a-4519f2dd2351"},{"name":"Lift Breakdown by Creative","event":[{"listen":"test","script":{"exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","id":"31b304f2-bc09-421f-afa9-41e06fc4e5f0"}}],"id":"df35e092-2e6e-4f83-a672-f02a5d59a453","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:campaigns_pk/questions/:questions_pk/lift/by-creative/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":campaigns_pk","questions",":questions_pk","lift","by-creative",""],"host":["audience","lucidhq","com"],"query":[{"disabled":true,"description":{"content":"<p>number: default (0.9)</p>\n","type":"text/plain"},"key":"confidence_level","value":""},{"disabled":true,"description":{"content":"<p>string\nComma Separated Values of Target Audience IDs...\nIf present, will apply requested target audiences to lift calculation for target ids that belong to campaign. If query parameter is not present and campaign has a default target audience set, then lift will be calculated with the default target audience for the campaign. To opt out of having default target audience applied to lift calculation, send the value for this query param as 0</p>\n","type":"text/plain"},"key":"target_audience_id_in","value":""},{"disabled":true,"description":{"content":"<p>stringdemo_age__range=18,35\nThe demo filter_name varies per country language. The demographics endpoint will list the possible demo filter_name's for a country language.</p>\n","type":"text/plain"},"key":"demo_filter_name [__range|__gte|__lte|__in]","value":""},{"disabled":true,"description":{"content":"<p>integer</p>\n","type":"text/plain"},"key":"publisher_id","value":""},{"disabled":true,"description":{"content":"<p>integer</p>\n","type":"text/plain"},"key":"placement_id","value":""},{"disabled":true,"description":{"content":"<p>integer</p>\n","type":"text/plain"},"key":"creative_id","value":""},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"ad_channel","value":""},{"disabled":true,"description":{"content":"<p>object</p>\n","type":"text/plain"},"key":"custom_variables__c1","value":""},{"disabled":true,"description":{"content":"<p>object</p>\n","type":"text/plain"},"key":"custom_variables__c2","value":""},{"disabled":true,"description":{"content":"<p>object</p>\n","type":"text/plain"},"key":"custom_variables__c3","value":""},{"disabled":true,"description":{"content":"<p>object</p>\n","type":"text/plain"},"key":"custom_variables__c4","value":""},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"respondent_id","value":""},{"disabled":true,"description":{"content":"<p>array of integers</p>\n","type":"text/plain"},"key":"answer_ids","value":""},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"timestamp_lte","value":""},{"disabled":true,"description":{"content":"<p>string </p>\n","type":"text/plain"},"key":"timestamp_gte","value":""}],"variable":[{"id":"5e1450b6-ec88-479e-b95d-363f8f3ebafc","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"campaigns_pk"},{"id":"3d048d46-05d0-4e0e-ae52-0542a6f295da","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"questions_pk"}]}},"response":[{"id":"57a5436a-c4c3-4bdb-8698-1306e9f4b57f","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"lucid_scopes","value":"app:imt","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{campaigns_pk}/questions/{questions_pk}/lift/by-creative/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"items\": [\n    {\n      \"creative_id\": \"string\",\n      \"creative_group_id\": 0,\n      \"creative_name\": \"string\",\n      \"impression_share_percentage\": 0,\n      \"enough_sample_size\": true,\n      \"lift_percentage\": 0,\n      \"statistically_significant\": true,\n      \"exposed_count\": 0,\n      \"in_target_exposed_count\": 0,\n      \"impression_count\": 0,\n      \"exposed_percentage\": 0\n    }\n  ]\n}"}],"_postman_id":"df35e092-2e6e-4f83-a672-f02a5d59a453"},{"name":"Lift Breakdown by Custom Variable","id":"8a264eaf-0508-4ca1-a6c4-7f4adf6c3da1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:campaigns_pk/questions/:questions_pk/lift/by-custom-var/:custom_var/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":campaigns_pk","questions",":questions_pk","lift","by-custom-var",":custom_var",""],"host":["audience","lucidhq","com"],"query":[{"disabled":true,"key":"confidence_level","value":""},{"disabled":true,"key":"target_audience_id_in","value":""},{"disabled":true,"key":"demo_filter_name [__range|__gte|__lte|__in]","value":""},{"disabled":true,"key":"publisher_id","value":""},{"disabled":true,"key":"placement_id","value":""},{"disabled":true,"key":"creative_id","value":""},{"disabled":true,"key":"ad_channel","value":""},{"disabled":true,"key":"custom_variables__c1","value":""},{"disabled":true,"key":"custom_variables__c2","value":""},{"disabled":true,"key":"custom_variables__c3","value":""},{"disabled":true,"key":"custom_variables__c4","value":""},{"disabled":true,"key":"respondent_id","value":""},{"disabled":true,"key":"answer_ids","value":""},{"disabled":true,"key":"timestamp_lte","value":""},{"disabled":true,"key":"timestamp_gte","value":""}],"variable":[{"id":"38dda073-a3cc-4183-b976-b4f4a66c4e8e","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"campaigns_pk"},{"id":"4f73f73c-e72c-4bde-9bc5-08ed66cb2895","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"questions_pk"},{"id":"4ced7f7f-1d9d-4de6-9d5e-aa76dad00cf2","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"custom_var"}]}},"response":[{"id":"5bf7e740-405d-4842-939d-47b8900b3b2e","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":{"raw":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:campaigns_pk/questions/:questions_pk/lift/by-custom-var/:custom_var/","protocol":"https","host":["audience","lucidhq","com"],"path":["api","impact-measurement","v1","campaigns",":campaigns_pk","questions",":questions_pk","lift","by-custom-var",":custom_var",""],"query":[{"key":"confidence_level","value":"","disabled":true},{"key":"target_audience_id_in","value":"","disabled":true},{"key":"demo_filter_name [__range|__gte|__lte|__in]","value":"","disabled":true},{"key":"publisher_id","value":"","disabled":true},{"key":"placement_id","value":"","disabled":true},{"key":"creative_id","value":"","disabled":true},{"key":"ad_channel","value":"","disabled":true},{"key":"custom_variables__c1","value":"","disabled":true},{"key":"custom_variables__c2","value":"","disabled":true},{"key":"custom_variables__c3","value":"","disabled":true},{"key":"custom_variables__c4","value":"","disabled":true},{"key":"respondent_id","value":"","disabled":true},{"key":"answer_ids","value":"","disabled":true},{"key":"timestamp_lte","value":"","disabled":true},{"key":"timestamp_gte","value":"","disabled":true}],"variable":[{"key":"campaigns_pk","value":null,"description":"string (required)"},{"key":"questions_pk","value":null,"description":"string (required)"},{"key":"custom_var","value":null,"description":"string (required)"}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"8a264eaf-0508-4ca1-a6c4-7f4adf6c3da1"},{"name":"Lift in Demographic Buckets","id":"3f52a6ae-e2de-4c2a-959e-ffc842b41517","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:campaigns_pk/questions/:questions_pk/lift/by-demo/:demo_filter_name/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":campaigns_pk","questions",":questions_pk","lift","by-demo",":demo_filter_name",""],"host":["audience","lucidhq","com"],"query":[{"disabled":true,"key":"confidence_level","value":""},{"disabled":true,"key":"target_audience_id_in","value":""},{"disabled":true,"key":"demo_filter_name [__range|__gte|__lte|__in]","value":""},{"disabled":true,"key":"publisher_id","value":""},{"disabled":true,"key":"placement_id","value":""},{"disabled":true,"key":"creative_id","value":""},{"disabled":true,"key":"ad_channel","value":""},{"disabled":true,"key":"custom_variables__c1","value":""},{"disabled":true,"key":"custom_variables__c2","value":""},{"disabled":true,"key":"custom_variables__c3","value":""},{"disabled":true,"key":"custom_variables__c4","value":""},{"disabled":true,"key":"respondent_id","value":""},{"disabled":true,"key":"answer_ids","value":""},{"disabled":true,"key":"timestamp_lte","value":""},{"disabled":true,"key":"timestamp_gte","value":""}],"variable":[{"id":"b539f4d3-f84a-4796-8ee7-03606d14327d","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"campaigns_pk"},{"id":"74b06074-5dd6-40d5-b9c6-286e18512e4a","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"questions_pk"},{"id":"82e89394-d62f-40b9-a229-4c0dab020b09","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"demo_filter_name"}]}},"response":[{"id":"4a2dfb0a-052e-4b8a-ad75-4034a8649f47","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"lucid_scopes","value":"app:imt","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{campaigns_pk}/questions/{questions_pk}/lift/by-demo/{demo_filter_name}/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"items\": [\n    {\n      \"question\": {\n        \"id\": 0,\n        \"question_id\": 2147483647,\n        \"question_name\": \"string\",\n        \"question_text\": \"string\",\n        \"question_type\": \"demographic\",\n        \"in_target_answers\": [\n          2147483647\n        ],\n        \"question_has_predefined_answers\": true\n      },\n      \"enough_sample_size\": true,\n      \"exposed_count\": 0,\n      \"control_count\": 0,\n      \"in_target_exposed_count\": 0,\n      \"in_target_control_count\": 0,\n      \"total_count\": 0,\n      \"confidence_level\": 0,\n      \"margin_of_error\": 0,\n      \"exposed_percentage\": 0,\n      \"control_percentage\": 0,\n      \"lift_percentage\": 0,\n      \"statistically_significant\": true,\n      \"bucket_name\": \"string\",\n      \"bucket_order\": 0\n    }\n  ]\n}"}],"_postman_id":"3f52a6ae-e2de-4c2a-959e-ffc842b41517"},{"name":"Lift by Question Frequency","id":"e9622fc5-53d3-434f-baff-645c8b195250","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:campaigns_pk/questions/:questions_pk/lift/by-frequency/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":campaigns_pk","questions",":questions_pk","lift","by-frequency",""],"host":["audience","lucidhq","com"],"query":[{"disabled":true,"key":"confidence_level","value":""},{"disabled":true,"key":"target_audience_id_in","value":""},{"disabled":true,"key":"demo_filter_name [__range|__gte|__lte|__in]","value":""},{"disabled":true,"key":"publisher_id","value":""},{"disabled":true,"key":"placement_id","value":""},{"disabled":true,"key":"creative_id","value":""},{"disabled":true,"key":"ad_channel","value":""},{"disabled":true,"key":"custom_variables__c1","value":""},{"disabled":true,"key":"custom_variables__c2","value":""},{"disabled":true,"key":"custom_variables__c3","value":""},{"disabled":true,"key":"custom_variables__c4","value":""},{"disabled":true,"key":"respondent_id","value":""},{"disabled":true,"key":"answer_ids","value":""},{"disabled":true,"key":"timestamp_lte","value":""},{"disabled":true,"key":"timestamp_gte","value":""}],"variable":[{"id":"6c9f308f-6522-4602-b2b4-f4c8cc6b796f","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":"","key":"campaigns_pk"},{"id":"f456e85c-daf5-4d02-a2cc-5f26e1cd3dd7","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":"","key":"questions_pk"}]}},"response":[{"id":"5132d070-853d-45bc-bda3-e462b164e182","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"lucid_scopes","value":"app:imt","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{campaigns_pk}/questions/{questions_pk}/lift/by-frequency/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"items\": [\n    {\n      \"question\": {\n        \"id\": 0,\n        \"question_id\": 2147483647,\n        \"question_name\": \"string\",\n        \"question_text\": \"string\",\n        \"question_type\": \"demographic\",\n        \"in_target_answers\": [\n          2147483647\n        ],\n        \"question_has_predefined_answers\": true\n      },\n      \"enough_sample_size\": true,\n      \"exposed_count\": 0,\n      \"control_count\": 0,\n      \"in_target_exposed_count\": 0,\n      \"in_target_control_count\": 0,\n      \"total_count\": 0,\n      \"confidence_level\": 0,\n      \"margin_of_error\": 0,\n      \"exposed_percentage\": 0,\n      \"control_percentage\": 0,\n      \"lift_percentage\": 0,\n      \"statistically_significant\": true,\n      \"frequency_bucket_name\": \"string\",\n      \"frequency_bucket_order\": 0\n    }\n  ]\n}"}],"_postman_id":"e9622fc5-53d3-434f-baff-645c8b195250"},{"name":"Lift by Placement ID","event":[{"listen":"test","script":{"exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","id":"906176b7-08e6-41fa-bd3b-5fee572be235"}}],"id":"e69736eb-8cec-407e-a07e-5de620b72cc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:campaigns_pk/questions/:questions_pk/lift/by-placement/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":campaigns_pk","questions",":questions_pk","lift","by-placement",""],"host":["audience","lucidhq","com"],"query":[{"disabled":true,"key":"confidence_level","value":""},{"disabled":true,"key":"target_audience_id_in","value":""},{"disabled":true,"key":"demo_filter_name [__range|__gte|__lte|__in]","value":""},{"disabled":true,"key":"publisher_id","value":""},{"disabled":true,"key":"placement_id","value":""},{"disabled":true,"key":"creative_id","value":""},{"disabled":true,"key":"ad_channel","value":""},{"disabled":true,"key":"custom_variables__c1","value":""},{"disabled":true,"key":"custom_variables__c2","value":""},{"disabled":true,"key":"custom_variables__c3","value":""},{"disabled":true,"key":"custom_variables__c4","value":""},{"disabled":true,"key":"respondent_id","value":""},{"disabled":true,"key":"answer_ids","value":""},{"disabled":true,"key":"timestamp_lte","value":""},{"disabled":true,"key":"timestamp_gte","value":""}],"variable":[{"id":"0c62d858-d845-46b0-be73-851956274ce9","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"campaigns_pk"},{"id":"78f0ac09-2955-41f7-8c03-7f4d97195432","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"questions_pk"}]}},"response":[{"id":"d1b35376-f84b-4641-bb4e-5c03af75028d","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"lucid_scopes","value":"app:imt","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{campaigns_pk}/questions/{questions_pk}/lift/by-placement/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"placement_id\": \"string\",\n            \"placement_group_id\": 0,\n            \"placement_name\": \"string\",\n            \"impression_share_percentage\": 0,\n            \"enough_sample_size\": true,\n            \"lift_percentage\": 0,\n            \"statistically_significant\": true,\n            \"exposed_count\": 0,\n            \"in_target_exposed_count\": 0,\n            \"impression_count\": 0,\n            \"exposed_percentage\": 0\n        }\n    ]\n}"}],"_postman_id":"e69736eb-8cec-407e-a07e-5de620b72cc6"},{"name":"Lift Breakdown by Site (Publisher ID)","id":"c9d95127-f194-4faf-9075-ed03d51bdb25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:campaigns_pk/questions/:questions_pk/lift/by-publisher/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":campaigns_pk","questions",":questions_pk","lift","by-publisher",""],"host":["audience","lucidhq","com"],"query":[{"disabled":true,"key":"confidence_level","value":""},{"disabled":true,"key":"target_audience_id_in","value":""},{"disabled":true,"key":"demo_filter_name [__range|__gte|__lte|__in]","value":""},{"disabled":true,"key":"publisher_id","value":""},{"disabled":true,"key":"placement_id","value":""},{"disabled":true,"key":"creative_id","value":""},{"disabled":true,"key":"ad_channel","value":""},{"disabled":true,"key":"custom_variables__c1","value":""},{"disabled":true,"key":"custom_variables__c2","value":""},{"disabled":true,"key":"custom_variables__c3","value":""},{"disabled":true,"key":"custom_variables__c4","value":""},{"disabled":true,"key":"respondent_id","value":""},{"disabled":true,"key":"answer_ids","value":""},{"disabled":true,"key":"timestamp_lte","value":""},{"disabled":true,"key":"timestamp_gte","value":""}],"variable":[{"id":"50fefcfa-eb39-40b5-8a2f-a3c9d0605335","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"campaigns_pk"},{"id":"a9813150-f05f-4933-891c-4ec60db3489d","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"questions_pk"}]}},"response":[{"id":"7c78e01f-da10-4908-84ce-995026415e37","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"lucid_scopes","value":"app:imt","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{campaigns_pk}/questions/{questions_pk}/lift/by-publisher/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"publisher_id\": \"string\",\n            \"publisher_group_id\": 0,\n            \"publisher_name\": \"string\",\n            \"impression_share_percentage\": 0,\n            \"enough_sample_size\": true,\n            \"lift_percentage\": 0,\n            \"statistically_significant\": true,\n            \"exposed_count\": 0,\n            \"in_target_exposed_count\": 0,\n            \"impression_count\": 0,\n            \"exposed_percentage\": 0\n        }\n    ]\n}"}],"_postman_id":"c9d95127-f194-4faf-9075-ed03d51bdb25"},{"name":"Lift for all Questions","id":"0a39f215-cdf2-4d64-8117-7f5efae362a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:id/lift/?timestamp_lte=2022-01-26T00:00:00Z&timestamp_gte=2022-02-25T23:59:59Z","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":id","lift",""],"host":["audience","lucidhq","com"],"query":[{"disabled":true,"key":"confidence_level","value":""},{"disabled":true,"key":"target_audience_id_in","value":""},{"disabled":true,"key":"demo_filter_name [__range|__gte|__lte|__in]","value":""},{"disabled":true,"key":"publisher_id","value":""},{"disabled":true,"key":"placement_id","value":""},{"disabled":true,"key":"creative_id","value":""},{"disabled":true,"key":"ad_channel","value":""},{"disabled":true,"key":"custom_variables__c1","value":""},{"disabled":true,"key":"custom_variables__c2","value":""},{"disabled":true,"key":"custom_variables__c3","value":""},{"disabled":true,"key":"custom_variables__c4","value":""},{"disabled":true,"key":"respondent_id","value":""},{"disabled":true,"key":"answer_ids","value":""},{"key":"timestamp_lte","value":"2022-01-26T00:00:00Z"},{"key":"timestamp_gte","value":"2022-02-25T23:59:59Z"}],"variable":[{"id":"5eef35b8-98f3-49fc-adc6-fb9738806a65","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"76cffd45-c676-41d0-aa8c-0e5d8599fb28","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"lucid_scopes","value":"app:imt","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{id}/lift/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"question\": {\n                \"id\": 0,\n                \"question_id\": 2147483647,\n                \"question_name\": \"string\",\n                \"question_text\": \"string\",\n                \"question_type\": \"demographic\",\n                \"in_target_answers\": [\n                    2147483647\n                ],\n                \"question_has_predefined_answers\": true\n            },\n            \"enough_sample_size\": true,\n            \"exposed_count\": 0,\n            \"control_count\": 0,\n            \"in_target_exposed_count\": 0,\n            \"in_target_control_count\": 0,\n            \"total_count\": 0,\n            \"confidence_level\": 0,\n            \"margin_of_error\": 0,\n            \"exposed_percentage\": 0,\n            \"control_percentage\": 0,\n            \"lift_percentage\": 0,\n            \"statistically_significant\": true\n        }\n    ]\n}"}],"_postman_id":"0a39f215-cdf2-4d64-8117-7f5efae362a7"},{"name":"List Supported Lift Confidence Levels","event":[{"listen":"test","script":{"exec":["pm.test(\"Status test\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript","id":"eb46a805-68eb-449e-a67c-87dd649cde5d"}}],"id":"12de320d-3a18-4213-8d27-6a994285a9d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/lift/confidence-levels/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","lift","confidence-levels",""],"host":["audience","lucidhq","com"],"query":[],"variable":[]}},"response":[{"id":"277bbf5e-dcb8-4947-9c24-629a42095693","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"lucid_scopes","value":"app:imt","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/lift/confidence-levels/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"confidence_level\": [\n        0\n    ]\n}"}],"_postman_id":"12de320d-3a18-4213-8d27-6a994285a9d7"},{"name":"Get Lift Insights","id":"442102cc-e72d-46c0-b69e-dd4aa19bc65a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:id/lift-insights/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":id","lift-insights",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"e532e5a2-ee78-4d99-b2a0-41f7625fcce1","description":{"content":"<p>string (required)</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[{"id":"a72c0b55-380d-44fb-9627-7379d55f93ee","name":"Response Sample","originalRequest":{"method":"GET","header":[],"url":"https://audience.lucidhq.com/#operation/Calculate%20Lift%20for%20all%20Questions/api/impact-measurement/v1/campaigns/{id}/lift-insights/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"overview\": {\n        \"media\": [\n            {\n                \"question_id\": 0,\n                \"question_name\": \"string\",\n                \"lift_category\": \"string\",\n                \"lift_percentage\": 0,\n                \"insight_name\": \"string\",\n                \"insight_value\": \"string\"\n            }\n        ],\n        \"audience\": [\n            {\n                \"question_id\": 0,\n                \"question_name\": \"string\",\n                \"lift_category\": \"string\",\n                \"lift_percentage\": 0,\n                \"insight_name\": \"string\",\n                \"insight_value\": \"string\"\n            }\n        ]\n    },\n    \"questions\": [\n        {\n            \"id\": 0,\n            \"question_id\": 0,\n            \"question_name\": \"string\",\n            \"question_text\": \"string\",\n            \"question_type\": \"string\",\n            \"in_target_answers\": [\n                0\n            ],\n            \"media\": [\n                {\n                    \"lift_category\": \"string\",\n                    \"lift_percentage\": 0,\n                    \"insight_name\": \"string\",\n                    \"insight_value\": \"string\"\n                }\n            ],\n            \"audience\": [\n                {\n                    \"lift_category\": \"string\",\n                    \"lift_percentage\": 0,\n                    \"insight_name\": \"string\",\n                    \"insight_value\": \"string\"\n                }\n            ]\n        }\n    ],\n    \"insight_processing_state\": \"string\"\n}"}],"_postman_id":"442102cc-e72d-46c0-b69e-dd4aa19bc65a"},{"name":"List Respondents for a Campaign","id":"cd994228-91de-4f59-8841-048c875e9bc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:campaigns_pk/respondents/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":campaigns_pk","respondents",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"9f583b9f-0e1c-4616-8e81-5a664f278c53","description":{"content":"<p>string  (required)</p>\n","type":"text/plain"},"type":"any","value":"","key":"campaigns_pk"}]}},"response":[{"id":"479bef1b-bd32-4b2d-969c-b25358cbd0ff","name":"Response Sample","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/{campaigns_pk}/respondents/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"respondent\": {\n                \"respondent_id\": \"6d01e502-f485-4825-af5b-9a68de29d083\",\n                \"group\": \"exposed\",\n                \"weight\": 0,\n                \"frequency\": -2147483648\n            },\n            \"responses\": [\n                {\n                    \"question_id\": 2147483647,\n                    \"timestamp\": \"2019-08-24T14:15:22Z\",\n                    \"answer_ids\": [\n                        2147483647\n                    ],\n                    \"answer_texts\": [\n                        \"string\"\n                    ]\n                }\n            ],\n            \"impressions\": [\n                {\n                    \"impression_id\": \"ea0dc0a2-14e1-4b2c-abec-17d010e26e6c\",\n                    \"visitor_id\": \"1b5d452e-2897-4f21-ac74-1b59f820ba97\",\n                    \"timestamp\": \"2019-08-24T14:15:22Z\",\n                    \"publisher_id\": \"string\",\n                    \"placement_id\": \"string\",\n                    \"creative_id\": \"string\",\n                    \"ad_channel\": \"string\",\n                    \"custom_variables\": {}\n                }\n            ],\n            \"demographic_responses\": [\n                {\n                    \"question_id\": \"string\",\n                    \"filter_name\": \"string\",\n                    \"answer_ints\": [\n                        -2147483648\n                    ]\n                }\n            ]\n        }\n    ],\n    \"page\": 0,\n    \"page_size\": 0,\n    \"total_items\": 0\n}"}],"_postman_id":"cd994228-91de-4f59-8841-048c875e9bc9"},{"name":"Export Raw Results (CSV) of a Campaign","id":"4fe6794d-f3a9-4d20-96bf-fad54729785d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:campaigns_pk/export/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":campaigns_pk","export",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"c8f47f2c-bbeb-4ac1-884a-01a0650246bc","description":{"content":"<p>string  (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"campaigns_pk"}]}},"response":[],"_postman_id":"4fe6794d-f3a9-4d20-96bf-fad54729785d"},{"name":"Export Campaign Results in Excel (xls)","id":"2b6b4fbe-2168-4fc5-b224-4b582f68aa3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/campaigns/:campaigns_pk/export/excel/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","campaigns",":campaigns_pk","export","excel",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"1383f40e-e5fc-48cb-99a9-e4784ad36732","description":{"content":"<p>string  (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"campaigns_pk"}]}},"response":[],"_postman_id":"2b6b4fbe-2168-4fc5-b224-4b582f68aa3b"}],"id":"7eeac35f-44e9-41dc-a0b4-47ec854cdce4","auth":{"type":"noauth","isInherited":false},"_postman_id":"7eeac35f-44e9-41dc-a0b4-47ec854cdce4","description":""},{"name":"Lookups","item":[{"name":"List Country Languages","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"16644de4-7db5-4f3b-9b61-0d0aa4dd823f"}}],"id":"dee1c110-3c40-4b61-98de-069ccdac5fa3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/country-languages/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","country-languages",""],"host":["audience","lucidhq","com"],"query":[],"variable":[]}},"response":[{"id":"2e25407b-6e23-47c5-8297-eda600079a19","name":"Response Sample","originalRequest":{"method":"GET","header":[],"url":"https://audience.lucidhq.com/#operation/Calculate%20Lift%20for%20all%20Questions/api/impact-measurement/v1/admin/country-languages/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": 0,\n            \"country_id\": -2147483648,\n            \"country_name\": \"string\",\n            \"language_id\": 2147483647,\n            \"language_name\": \"string\",\n            \"locale\": \"string\",\n            \"weighting_targets_baseline_id\": \"8d899c7c-01e1-4c22-b7ae-b9d0c78972f3\"\n        }\n    ]\n}"}],"_postman_id":"dee1c110-3c40-4b61-98de-069ccdac5fa3"},{"name":"List Industries","id":"b743024b-5c75-4e32-92f1-4eea05f322c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/industries/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","industries",""],"host":["audience","lucidhq","com"],"query":[],"variable":[]}},"response":[{"id":"b6fbc6f1-c3da-44e2-bdad-6bb7e2e12a4e","name":"Response Sample","originalRequest":{"method":"GET","header":[],"url":"https://audience.lucidhq.com/#operation/Calculate%20Lift%20for%20all%20Questions/api/impact-measurement/v1/admin/industries/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": 0,\n            \"industry_name\": \"string\"\n        }\n    ]\n}"}],"_postman_id":"b743024b-5c75-4e32-92f1-4eea05f322c6"},{"name":"List Template Questions","id":"eb29c19e-4dc2-46a6-8aa9-e08ed5ab8397","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/templates/questions/:usage/:country_language_id/:industry_id/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","templates","questions",":usage",":country_language_id",":industry_id",""],"host":["audience","lucidhq","com"],"query":[{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"question_name","value":null},{"disabled":true,"description":{"content":"<p>array of strings</p>\n","type":"text/plain"},"key":"question_name__in","value":null},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"question_name__contains","value":null},{"disabled":true,"description":{"content":"<p>string</p>\n","type":"text/plain"},"key":"question_name__icontains","value":null}],"variable":[{"id":"9372dd26-bf32-4215-9ec1-68602c80320e","description":{"content":"<p>string\nEnum: \"lift\" \"baseline\"\nWhether returned questions are to be used as lift or baseline questions</p>\n","type":"text/plain"},"type":"any","value":"lift","key":"usage"},{"id":"43bf53ee-390b-44c0-aa75-7ae6ee761144","description":{"content":"<p>integer</p>\n","type":"text/plain"},"type":"any","value":"1","key":"country_language_id"},{"id":"6b8bf1c2-f58b-4ffc-84ae-24b53cc28438","description":{"content":"<p>integer</p>\n","type":"text/plain"},"type":"any","value":"2","key":"industry_id"}]}},"response":[{"id":"bb729241-b1f2-487c-8a4f-80ee18656448","name":"Response Sample","originalRequest":{"method":"GET","header":[],"url":"https://audience.lucidhq.com/#operation/Calculate%20Lift%20for%20all%20Questions/api/impact-measurement/v1/admin/templates/questions/{usage}/{country_language_id}/{industry_id}/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"question_name\": \"string\",\n            \"question_text\": \"string\",\n            \"kpi_type\": \"string\",\n            \"custom_question_text\": \"string\",\n            \"is_custom_question_text\": true,\n            \"max_sel\": -2147483648,\n            \"answers\": [\n                \"string\"\n            ],\n            \"anchored_answer\": \"string\",\n            \"none_of_the_above_answer\": \"string\",\n            \"randomize\": true,\n            \"order\": -2147483648,\n            \"default\": true,\n            \"question_type\": \"radio\",\n            \"target_option_index\": -2147483648,\n            \"multi_target_option_index\": [\n                -2147483648\n            ],\n            \"fields\": [\n                {\n                    \"name\": \"string\",\n                    \"label\": \"string\",\n                    \"value\": \"string\"\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"eb29c19e-4dc2-46a6-8aa9-e08ed5ab8397"},{"name":"Retrieve Industry","id":"1f87d8c8-8bb2-4430-8dc0-030e84bd602d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/industries/:id/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","industries",":id",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"521eabfb-0498-4107-a063-636fc30bcd83","description":{"content":"<p>integer (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"id"}]}},"response":[{"id":"13664f01-9c0e-4e14-a217-783310d56d66","name":"Sample Response","originalRequest":{"method":"GET","header":[],"url":"https://audience.lucidhq.com/#operation/Calculate%20Lift%20for%20all%20Questions/api/impact-measurement/v1/admin/industries/{id}/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 0,\n    \"industry_name\": \"string\"\n}"}],"_postman_id":"1f87d8c8-8bb2-4430-8dc0-030e84bd602d"},{"name":"Retrieve Country Language","id":"b8d031e0-bf75-479b-bceb-146904ca3dbb","protocolProfileBehavior":{"disabledSystemHeaders":{"accept":true},"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/country-languages/:id","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","country-languages",":id"],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"64d4642a-0792-4698-b890-459cf4410723","description":{"content":"<p>integer (required)</p>\n","type":"text/plain"},"type":"any","value":"9","key":"id"}]}},"response":[{"id":"f8ed6ae4-8dd0-42e7-8e81-e06b5df9bd23","name":"Response Sample","originalRequest":{"method":"GET","header":[],"url":"https://audience.lucidhq.com/#operation/Calculate%20Lift%20for%20all%20Questions/api/impact-measurement/v1/admin/country-languages/{id}/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 0,\n    \"country_id\": -2147483648,\n    \"country_name\": \"string\",\n    \"language_id\": 2147483647,\n    \"language_name\": \"string\",\n    \"locale\": \"string\",\n    \"weighting_targets_baseline_id\": \"8d899c7c-01e1-4c22-b7ae-b9d0c78972f3\"\n}"}],"_postman_id":"b8d031e0-bf75-479b-bceb-146904ca3dbb"},{"name":"Retrieve Country Language Questions","id":"0a99d071-1eb2-4c5e-ac7d-9248d5739ee7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/country-languages/:id/questions/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","country-languages",":id","questions",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"b2b4d2ea-b75d-4eb9-a8cb-e93f9b1ce924","description":{"content":"<p>integer (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"id"}]}},"response":[{"id":"abe3d26e-6015-42ff-be85-1268e0f10bf6","name":"Response Sample","originalRequest":{"method":"GET","header":[],"url":"https://audience.lucidhq.com/#operation/Calculate%20Lift%20for%20all%20Questions/api/impact-measurement/v1/admin/country-languages/{id}/questions/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"questions\": [\n    {\n      \"name\": \"string\",\n      \"question_id\": 0,\n      \"question_text\": \"string\",\n      \"question_type\": \"string\"\n    }\n  ]\n}"}],"_postman_id":"0a99d071-1eb2-4c5e-ac7d-9248d5739ee7"},{"name":"Retrieve Country Language Question Options","id":"badf24cf-6bdf-435b-b59d-484be1944341","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/country-languages/:id/questions/:question_id/options/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","country-languages",":id","questions",":question_id","options",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"eae40dab-102b-49b0-a02b-0468b66dedbb","description":{"content":"<p>integer (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"id"},{"id":"a3cd5308-05a9-454d-97a3-134bc3d507ea","description":{"content":"<p>integer (required)</p>\n","type":"text/plain"},"type":"any","value":null,"key":"question_id"}]}},"response":[{"id":"2fd6244e-787d-42e5-8b96-4f9b51b2ffb7","name":"Response Sample","originalRequest":{"method":"GET","header":[],"url":"https://audience.lucidhq.com/#operation/Calculate%20Lift%20for%20all%20Questions/api/impact-measurement/v1/admin/country-languages/{id}/questions/{question_id}/options/"},"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"question_options\": [\n        {\n            \"option_text\": \"string\",\n            \"precode\": \"string\",\n            \"question_id\": 0\n        }\n    ]\n}"}],"_postman_id":"badf24cf-6bdf-435b-b59d-484be1944341"}],"id":"7e5d6e42-f4ae-442f-8d84-ef8398aeb87a","description":"<p>Endpoints to help retrieve questions, templates, languages, industries</p>\n","auth":{"type":"noauth","isInherited":false},"_postman_id":"7e5d6e42-f4ae-442f-8d84-ef8398aeb87a"},{"name":"Admin","item":[{"name":"List SPC Groupings for a Campaign","id":"71cde40e-8fc0-422d-928b-45a61ec200b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/campaigns/:id/spca-groupings/:spca_type/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","campaigns",":id","spca-groupings",":spca_type",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"65c2ab82-81dd-44a8-a749-1e9bd8be3537","type":"any","value":"","key":"id"},{"id":"da82649b-a068-4625-bbd9-68ab2e38e3cb","type":"any","value":"placement","key":"spca_type"}]}},"response":[],"_postman_id":"71cde40e-8fc0-422d-928b-45a61ec200b0"},{"name":"Create/Update SPC Groupings for Campaign by SPCA type","id":"8b0f969f-7b2d-45e3-a647-807fe39fd6ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/campaigns/:id/spca-groupings/:spca_type/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","campaigns",":id","spca-groupings",":spca_type",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"458d1174-dbfc-44d5-9bc3-041aee7ae25e","type":"any","value":null,"key":"id"},{"id":"9d8d0139-8111-4f5b-a4ed-67d80fa3db3f","type":"any","value":null,"key":"spca_type"}]}},"response":[],"_postman_id":"8b0f969f-7b2d-45e3-a647-807fe39fd6ca"},{"name":"Delete SPC Grouping for Campaign and by SPCA type","id":"1e5fe4d7-b5a0-4d88-9f94-df3dc50afa93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/campaigns/:id/spca-groupings/:spca_type/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","campaigns",":id","spca-groupings",":spca_type",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"2841fd3c-15a5-4e72-8b80-67d79eb7bf23","type":"any","value":null,"key":"id"},{"id":"f1010ee1-c7f4-44db-80e4-a36484e65132","type":"any","value":null,"key":"spca_type"}]}},"response":[],"_postman_id":"1e5fe4d7-b5a0-4d88-9f94-df3dc50afa93"},{"name":"List Mappings for Campaign","id":"1b750245-cb69-4b16-9cf9-dd131ceb176b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/campaigns/:id/spca-mappings/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","campaigns",":id","spca-mappings",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"f8614eb7-fdab-4db4-a34a-3c8eebf14598","type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"1b750245-cb69-4b16-9cf9-dd131ceb176b"},{"name":"Update/Create Mappings for a Campaign","id":"16d9752b-c6c2-4b88-aae9-fdcd7e0c5bdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/campaigns/:id/spca-mappings/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","campaigns",":id","spca-mappings",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"23761b82-6de7-4895-95f6-96902422205d","type":"any","value":null,"key":"id"}]}},"response":[],"_postman_id":"16d9752b-c6c2-4b88-aae9-fdcd7e0c5bdd"},{"name":"List Mappings by SPC type and optionally by group_id for a Campaign","id":"4b946acb-e6b3-4982-a847-1b54c45e6dca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/campaigns/:id/spca-mappings/:spca_type/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","campaigns",":id","spca-mappings",":spca_type",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"ca200fc2-496b-4245-b242-0006b165217d","type":"any","value":null,"key":"id"},{"id":"69ea4da9-97b4-4e5b-a5d8-4479efbcef4e","type":"any","value":null,"key":"spca_type"}]}},"response":[],"_postman_id":"4b946acb-e6b3-4982-a847-1b54c45e6dca"},{"name":"Update/Create SPC Mappings for Campaign","id":"1e65ad7e-05bb-4f17-a298-87dc0e40e31e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/campaigns/:id/spca-mappings/:spca_type/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","campaigns",":id","spca-mappings",":spca_type",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"077fca5c-d511-4bdb-b2ce-7c788e65346d","type":"any","value":null,"key":"id"},{"id":"a8343532-03d3-49b3-a693-0043eb240733","type":"any","value":null,"key":"spca_type"}]}},"response":[],"_postman_id":"1e65ad7e-05bb-4f17-a298-87dc0e40e31e"},{"name":"List frequency reports","id":"3843ffbd-2e15-4c35-97a2-f7de7af4f2c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/campaigns/:campaigns_pk/frequency-report/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","campaigns",":campaigns_pk","frequency-report",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"de03db90-5488-41cd-b70a-ede31b94b6e2","type":"any","value":null,"key":"campaigns_pk"}]}},"response":[],"_postman_id":"3843ffbd-2e15-4c35-97a2-f7de7af4f2c5"},{"name":"List Ad Servers","id":"756b2af7-5bf9-4a8a-95bc-7839bb8cec05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/ad-servers/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","ad-servers",""],"host":["audience","lucidhq","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"756b2af7-5bf9-4a8a-95bc-7839bb8cec05"},{"name":"List Ad Server Query Params","id":"d70d10dd-750a-4b08-b50b-952136cea06f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/ad-servers/:id/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","ad-servers",":id",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"a6969794-0714-4a59-a55b-dcd073fc62c4","type":"any","value":"23","key":"id"}]}},"response":[],"_postman_id":"d70d10dd-750a-4b08-b50b-952136cea06f"},{"name":"Get URL of Pixel Tracker","id":"e7287ee9-9de7-49f7-b5bd-423c68f86823","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/campaigns/:campaigns_pk/pixel-base-url/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","campaigns",":campaigns_pk","pixel-base-url",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"39c1c2e0-9620-4519-bd3b-b8723a9d1a9c","type":"any","value":"","key":"campaigns_pk"}]}},"response":[],"_postman_id":"e7287ee9-9de7-49f7-b5bd-423c68f86823"},{"name":"Benchmarks","id":"c0ae548d-2216-44a8-b936-74dbd7e3fe37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://audience-qa.lucidhq.com/api/impact-measurement/v1/lift/benchmarks/by-region/:id/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","lift","benchmarks","by-region",":id",""],"host":["audience-qa","lucidhq","com"],"query":[],"variable":[{"id":"62005f0a-1ba1-4f39-a9dc-af8b4c0a2076","type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"c0ae548d-2216-44a8-b936-74dbd7e3fe37"},{"name":"List Campaign Pixel Groups","id":"96261f58-6064-4837-9a5b-d8e8271507dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/campaigns/:campaigns_pk/pixel-groups/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","campaigns",":campaigns_pk","pixel-groups",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"a505d62b-311d-4260-a5a3-46fe33545dfc","type":"any","value":"","key":"campaigns_pk"}]}},"response":[],"_postman_id":"96261f58-6064-4837-9a5b-d8e8271507dd"},{"name":"Create Campaign Pixels","id":"05c5a15d-67b3-46bf-babe-0fcc87d2a745","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/campaigns/:campaigns_pk/pixel-groups/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","campaigns",":campaigns_pk","pixel-groups",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"7e226e96-2dc9-4860-8b35-fb810d9b26b8","type":"any","value":null,"key":"campaigns_pk"}]}},"response":[],"_postman_id":"05c5a15d-67b3-46bf-babe-0fcc87d2a745"},{"name":"Retrieve Campaign Group Pixels","id":"736de3a0-e008-47c8-a346-be042055e19a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Bearer {{currentAccessToken}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"https://audience.lucidhq.com/api/impact-measurement/v1/admin/campaigns/:campaigns_pk/pixel-groups/:id/","urlObject":{"protocol":"https","path":["api","impact-measurement","v1","admin","campaigns",":campaigns_pk","pixel-groups",":id",""],"host":["audience","lucidhq","com"],"query":[],"variable":[{"id":"5e4e49a9-491d-48f4-9463-67866fdb8eda","type":"any","value":null,"key":"campaigns_pk"},{"id":"0a50552e-cb28-4c2e-ab67-783fe486de93","type":"any","value":null,"key":"id"}]}},"response":[],"_postman_id":"736de3a0-e008-47c8-a346-be042055e19a"}],"id":"6b79fcfc-0da1-48c0-b3a2-2183ca3b1079","_postman_id":"6b79fcfc-0da1-48c0-b3a2-2183ca3b1079","description":""}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["const echoPostRequest = {","  url: 'https://auth.lucidhq.com/oauth/token',","  method: 'POST',","  header: 'Content-Type:application/json',","  body: {","    mode: 'application/json',","    raw: JSON.stringify(","        {","            client_id: pm.environment.get('clientId'),","        \tclient_secret: pm.environment.get('clientSecret'),","        \taudience: 'https://api.luc.id',","        \tgrant_type:'client_credentials',","            lucid_scopes: 'app:imt'","             ","        })","  }","};","","var getToken = true;","","if (!pm.environment.get('accessTokenExpiry') || ","    !pm.environment.get('currentAccessToken')) {","    console.log('Token or expiry date are missing')","} else if (pm.environment.get('accessTokenExpiry') <= (new Date()).getTime()) {","    console.log('Token is expired')","} else {","    getToken = false;","    console.log('Token and expiry date are all good');","}","","if (getToken === true) {","    pm.sendRequest(echoPostRequest, function (err, res) {","    console.log(err ? err : res.json());","        if (err === null) {","            console.log('Saving the token and expiry date')","            var responseJson = res.json();","            pm.environment.set('currentAccessToken', responseJson.access_token)","    ","            var expiryDate = new Date();","            expiryDate.setSeconds(expiryDate.getSeconds() + responseJson.expires_in);","            pm.environment.set('accessTokenExpiry', expiryDate.getTime());","        }","    });","}"],"id":"c444fa11-0f33-4012-b035-92b60bd0a895"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"60199892-5527-4559-992f-8084e92fcc63"}}]}