{"info":{"_postman_id":"fee43bad-f1a7-4316-ba85-0d647fbf7dbb","name":"Nextdoor Ads API","description":"<html><head></head><body><h1 id=\"overview\">Overview</h1>\n<p>This API is used to create and run ad campaigns on Nextdoor. It consists of one endpoint that supports the GraphQL queries and mutations listed below. All requests are made to this endpoint, and the body of the requests should contain the desired query or mutation to perform. </p>\n<p>To get started:</p>\n<ol>\n<li>Create an ad campaign with the <code>addPartnerCampaign</code> query.</li>\n<li>Add a line item to the campaign with the <code>addPartnerLineItem</code> query.</li>\n<li>Finally, add a creative to the line item with the <code>addPartnerCreative</code> query.</li>\n</ol>\n<p>Once your campaign is approved by an admin, the line items in that campaign should start delivering! </p>\n<h1 id=\"authorization\">Authorization</h1>\n<p>An authorization token must be obtained prior to using the API at the following link: <a href=\"https://ads.nextdoor.com/api_debugger\">https://ads.nextdoor.com/api_debugger</a></p>\n<p>The token will be valid for one week and must be passed as a header in all requests.</p>\n<h1 id=\"obtaining-a-client-id\">Obtaining a Client ID</h1>\n<p>Each client who would like to manage campaigns using this API will be provided with an ID (i.e. a <code>clientId</code>) that must be passed as an argument to each API call.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Overview","slug":"overview"},{"content":"Authorization","slug":"authorization"},{"content":"Obtaining a Client ID","slug":"obtaining-a-client-id"}],"owner":"12046385","collectionId":"fee43bad-f1a7-4316-ba85-0d647fbf7dbb","publishedId":"T1LSAjx1","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-08-18T22:42:01.000Z"},"item":[{"name":"addPartnerCampaign","id":"379f2c8d-9c24-4220-bb68-d0c942178ccf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"<p>Valid token must be passed to use the API</p>\n","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n   addPartnerCampaign(campaignInput: {\n      name: \"Campaign name\", \n      objective: 2\n   }, clientId: \"\"){\n        id\n        name\n        objective\n        status\n   }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Creates a new campaign.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>campaignId</td>\n<td>Campaign ID</td>\n</tr>\n<tr>\n<td>campaignInput</td>\n<td>Properties of the campaign</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"campaigninput-parameters\">campaignInput Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Campaign name</td>\n</tr>\n<tr>\n<td>objective</td>\n<td>The objective of the campaign (ex. build awareness, get conversion, etc.)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-campaign-objective\">Possible values for campaign objective</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Build awareness</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Drive consideration</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Get conversion</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Campaign ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Campaign name</td>\n</tr>\n<tr>\n<td>objective</td>\n<td>The objective of the campaign (ex. build awareness, get conversion, etc.)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The status of the campaign</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-status\">Possible values for status</h4>\n<ol>\n<li><code>Draft</code></li>\n<li><code>Live</code></li>\n<li><code>Paused</code></li>\n<li><code>Deleted</code></li>\n<li><code>Pending Approval</code></li>\n<li><code>Disapproved</code></li>\n<li><code>Completed</code></li>\n<li><code>Inactive</code></li>\n</ol>\n","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[{"id":"ba09cf24-24af-46f2-9349-9e7f86e28e48","name":"Add_Partner_Campaign","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"Valid token must be passed to use the API","type":"text"}],"url":"https://ads.nextdoor-test.com/graphql/api/v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 13 Aug 2020 22:30:13 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Set-Cookie","value":"JSESSIONID=A28DB1F65F78F1E983B8FBA3925E0FF6; Path=/; HttpOnly"},{"key":"Strict-Transport-Security","value":"max-age=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"addPartnerCampaign\": {\n            \"id\": \"5846\",\n            \"name\": \"Campaign name\",\n            \"objective\": \"DRIVE_CONSIDERATION\",\n            \"status\": \"Draft\"\n        }\n    },\n    \"extensions\": null,\n    \"dataPresent\": true\n}"},{"id":"778a4de2-c550-400b-bbaf-de308fe2c542","name":"addPartnerCampaign","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"Valid token must be passed to use the API","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n   addPartnerCampaign(campaignInput: {\n      name: \"Campaign name\", \n      objective: 2\n   }, clientId: \"\"){\n        id\n        name\n        objective\n        status\n   }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"379f2c8d-9c24-4220-bb68-d0c942178ccf"},{"name":"getPartnerCampaign","id":"ecd9210a-583e-4a19-9b7d-19fbe83d4f93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"<p>Valid token must be passed to use the API</p>\n","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\n   getPartnerCampaign(campaignId: \"5846\", clientId: \"\"){\n         id\n         name\n         objective\n         status\n   }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Retrieves a particular ad campaign.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>campaignId</td>\n<td>Campaign ID</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Campaign ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Campaign name</td>\n</tr>\n<tr>\n<td>objective</td>\n<td>The objective of the campaign (ex. build awareness, get conversion, etc.)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The status of the campaign (ex. \"Live\", \"Deleted\", \"Paused\")</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-campaign-objective\">Possible values for campaign objective</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Build awareness</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Drive consideration</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Get conversion</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-status\">Possible values for status</h4>\n<ol>\n<li><code>Draft</code></li>\n<li><code>Live</code></li>\n<li><code>Paused</code></li>\n<li><code>Deleted</code></li>\n<li><code>Pending Approval</code></li>\n<li><code>Disapproved</code></li>\n<li><code>Completed</code></li>\n<li><code>Inactive</code></li>\n</ol>\n","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[{"id":"2d2d986f-d474-4a91-890e-229433419ab2","name":"getPartnerCampaign","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"Valid token must be passed to use the API","type":"text"}],"url":"https://ads.nextdoor-test.com/graphql/api/v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 13 Aug 2020 22:32:26 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Strict-Transport-Security","value":"max-age=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getPartnerCampaign\": {\n            \"id\": \"5846\",\n            \"name\": \"Campaign name\",\n            \"objective\": \"DRIVE_CONSIDERATION\",\n            \"status\": \"Draft\"\n        }\n    },\n    \"extensions\": null,\n    \"dataPresent\": true\n}"}],"_postman_id":"ecd9210a-583e-4a19-9b7d-19fbe83d4f93"},{"name":"updatePartnerCampaign","id":"a9da4040-e86b-4b9c-ac07-06c4225772ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Valid token must be passed to use the API</p>\n","key":"Authorization","type":"text","value":"Bearer <INSERT TOKEN HERE>"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n   updatePartnerCampaign(campaignId: 5846, campaignInput: {\n      name: \"Updated campaign name\",\n      objective: 3\n   }, clientId: \"\"){\n        id\n        name\n        objective\n        status\n   }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Updates a campaign.</p>\n<p><strong>NOTE:</strong> A campaign is not deployed until it contains at least one line item. Therefore, you will receive an error if you try to update a campaign that contains no line items.  </p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>campaignId</td>\n<td>Campaign ID</td>\n</tr>\n<tr>\n<td>campaignInput</td>\n<td>Properties of the campaign</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"campaigninput-parameters\">campaignInput Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Campaign name</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>objective</td>\n<td>The objective of the campaign</td>\n<td>Optional</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-campaign-objective\">Possible values for campaign objective</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Build awareness</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Drive consideration</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Get conversion</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Campaign ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Campaign name</td>\n</tr>\n<tr>\n<td>objective</td>\n<td>The objective of the campaign (ex. build awareness, get conversion, etc.)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The status of the campaign (ex. \"Live\", \"Deleted\", \"Paused\")</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-status\">Possible values for status</h4>\n<ol>\n<li><code>Draft</code></li>\n<li><code>Live</code></li>\n<li><code>Paused</code></li>\n<li><code>Deleted</code></li>\n<li><code>Pending Approval</code></li>\n<li><code>Disapproved</code></li>\n<li><code>Completed</code></li>\n<li><code>Inactive</code></li>\n</ol>\n","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"026d34f4-46b1-49fe-b0e8-6cec7d710244","name":"updatePartnerCampaign","originalRequest":{"method":"GET","header":[{"description":"Valid token must be passed to use the API","key":"Authorization","type":"text","value":"Bearer <INSERT TOKEN HERE>"}],"url":{"raw":"https://ads.nextdoor-test.com/graphql/api/v1","protocol":"https","host":["ads","nextdoor-test","com"],"path":["graphql","api","v1"],"query":[{"key":"","type":"text","value":null,"disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 13 Aug 2020 22:49:18 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Strict-Transport-Security","value":"max-age=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"updatePartnerCampaign\": {\n            \"id\": \"5846\",\n            \"name\": \"Updated campaign name\",\n            \"objective\": \"GET_CONVERSION\",\n            \"status\": \"Draft\"\n        }\n    },\n    \"extensions\": null,\n    \"dataPresent\": true\n}"}],"_postman_id":"a9da4040-e86b-4b9c-ac07-06c4225772ad"},{"name":"deletePartnerCampaign","id":"1bb430cc-221f-4ab2-8383-e5c45a0a552a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"<p>Valid token must be passed to use the API</p>\n","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n   deletePartnerCampaign(campaignId: \"5846\", clientId: \"\"){\n        id\n        name\n        objective\n        status\n   }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Deletes a campaign.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>campaignId</td>\n<td>Campaign ID</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Campaign ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Campaign name</td>\n</tr>\n<tr>\n<td>objective</td>\n<td>The objective of the campaign (ex. build awareness, get conversion, etc.)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The status of the campaign (ex. \"Live\", \"Deleted\", \"Paused\")</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-campaign-objective\">Possible values for campaign objective</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Build awareness</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Drive consideration</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Get conversion</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-status\">Possible values for status</h4>\n<ol>\n<li><code>Draft</code></li>\n<li><code>Live</code></li>\n<li><code>Paused</code></li>\n<li><code>Deleted</code></li>\n<li><code>Pending Approval</code></li>\n<li><code>Disapproved</code></li>\n<li><code>Completed</code></li>\n<li><code>Inactive</code></li>\n</ol>\n","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"1b5bbb7c-e54c-4d1d-b54a-0fb9a4425829","name":"deletePartnerCampaign","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"Valid token must be passed to use the API","type":"text"}],"url":{"raw":"https://ads.nextdoor-test.com/graphql/api/v1","protocol":"https","host":["ads","nextdoor-test","com"],"path":["graphql","api","v1"],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [],\n  \"data\": {\n    \"deletePartnerCampaign\": {\n      \"id\": \"5846\",\n      \"name\": \"Updated campaign name\",\n      \"objective\": \"GET_CONVERSION\",\n      \"status\": \"Draft\"\n    }\n  },\n  \"extensions\": null,\n  \"dataPresent\": true\n}"}],"_postman_id":"1bb430cc-221f-4ab2-8383-e5c45a0a552a"},{"name":"addPartnerLineItem","id":"6810f1a1-4138-4dd3-b39f-142aaf411556","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Valid token must be passed to use the API</p>\n","key":"Authorization","type":"text","value":"Bearer <INSERT TOKEN HERE>"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n   addPartnerLineItem(lineItemInput: {\n       name: \"Line item name\",\n       startTime: \"2020-07-28 22:14:20\",\n       endTime: \"2021-07-18 24:14:20\",\n       timeOfDay: {\n          include: [\n            {\n                time: [\"12:00\", \"00:00\"],\n                days: [\"monday\",\"tuesday\"]\n            },\n            {\n                time: [\"12:00\", \"15:00\"],\n                days: [\"saturday\",\"sunday\"]\n            }\n          ],\n          exclude: [\n            {\n                days: [\"friday\"]\n            }\n          ],\n        },\n       creativeTemplateId: \"11832774\",\n       campaignId: \"5719\",\n       kvTargeting: {\n            CUSTOM_COUNTRY:{\n                include:[\"41729\"],\n                exclude:[]\n            },\n            CUSTOM_DMA: {\n                include:[],\n                exclude:[]\n            },\n            CUSTOM_STATE: {\n                include:[\"41736\"],\n                exclude:[]\n            },\n            CUSTOM_AUD_SEGMENT: {\n                include:[\"75003\", \"75008\"],\n                exclude:[]\n            }\n       },\n       bid: {\n           currency: \"0\",\n           pricingType: \"99\",\n           bidRate: \"0.3\",\n           budgetType: \"8\",\n           budgetAmount: \"1.54\"\n       },\n       modifier: {\n           newsfeed: \"0.3\",\n           fsf: \"0.2\"\n       },\n       timeZone: \"PDT\"\n   }, clientId: \"\"){\n        id\n        name\n        status\n        creativeIds\n        bid {\n            bidStrategy\n            bidMicroValue\n            currency {\n                name\n                code\n            }\n            dailyCap\n            maxCap\n        }\n        modifier {\n            newsfeed\n            fsf\n        }\n        priority\n        campaignId\n        startTime\n        endTime\n        timeCreated\n        timeEdited\n        timeZone\n   }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Creates a new line item.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>lineItemInput</td>\n<td>Properties of the line item</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"lineiteminput-parameters\">lineItemInput Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Line item name</td>\n<td>R</td>\n</tr>\n<tr>\n<td>startTime</td>\n<td>Date &amp; time that line item should start serving</td>\n<td>R</td>\n</tr>\n<tr>\n<td>endTime</td>\n<td>Date &amp; time that line item should stop serving</td>\n<td>R</td>\n</tr>\n<tr>\n<td>creativeTemplateId</td>\n<td>The creative template ID that all creatives in the line item are expected to have</td>\n<td>R</td>\n</tr>\n<tr>\n<td>campaignId</td>\n<td>ID of campaign that line item will be added to</td>\n<td>R</td>\n</tr>\n<tr>\n<td>kvTargeting</td>\n<td>Targeting key-values</td>\n<td>R</td>\n</tr>\n<tr>\n<td>timeOfDay</td>\n<td>Times of day that the line item is permitted to serve</td>\n<td>R</td>\n</tr>\n<tr>\n<td>bid</td>\n<td>The line item's bid</td>\n<td>R</td>\n</tr>\n<tr>\n<td>modifier</td>\n<td>Modifiers (adjustments) to the line item bid</td>\n<td>R</td>\n</tr>\n<tr>\n<td>timeZone</td>\n<td>The time zone used for the <code>startTime</code>, <code>endTime</code>, and <code>timeOfDay</code> parameters</td>\n<td>R</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"important-notes\">Important Notes:</h4>\n<ol>\n<li><code>startTime</code> and <code>endTime</code> must have the following format: <code>YYYY-MM-DD HH:MM:SS</code> </li>\n<li>If an empty object is passed as the <code>timeOfDay</code>, the line item will serve at all times. Please refer to the example below to see how to get line items to run at specific hours and days using the <code>timeOfDay</code> parameter.</li>\n<li>The <code>creativeTemplateId</code> for all creatives added to the line item must be the same as the <code>creativeTemplateId</code> passed as a parameter to the line item. <strong>Any creatives with a different <code>creativeTemplateId</code> from that of the line item will not be served!</strong></li>\n</ol>\n<h4 id=\"possible-values-for-creativetemplateid\">Possible values for creativeTemplateId</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>11832774</td>\n<td>Newsfeed image ads</td>\n</tr>\n<tr>\n<td>11872115</td>\n<td>Ads in the for sale &amp; free section</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"targeting\">Targeting</h4>\n<p><strong>[TARGETING NOT YET READY FOR USE. SUPPORT WILL BE ADDED SOON]</strong></p>\n<p>Line items may be targeted by: state, designated market area (DMA), and/or audience segment. To add targeting, you must list the IDs of the targeting values that you would like to set. Please refer to the example below for more details on how to add targeting to a line item using the <code>kvTargeting</code> parameter.</p>\n<p>For a list of all the targeting key-values, please visit the following <a href=\"https://docs.google.com/spreadsheets/d/1WsasPV_NgdArgYNo6xYPjJ_x8AtCiPKBhv8Lrkb8RkE/edit?usp=sharing\">link</a>. </p>\n<p><strong>NOTE:</strong> We do not yet support targeting by country. All newly created line items are targeted to the U.S. by default. </p>\n<h4 id=\"setting-the-bid\">Setting the bid</h4>\n<p>To set the bid of a line item, an object with the following properties must be provided:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Description</th>\n<th>Possible Values</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currency</td>\n<td>The currency used for bids</td>\n<td>0 (USD)</td>\n</tr>\n<tr>\n<td>pricingType</td>\n<td>The type of pricing used for bids</td>\n<td>99 (CPM), 98 (CPC)</td>\n</tr>\n<tr>\n<td>bidRate</td>\n<td>The maximum bid amount, i.e. the most you are willing to pay per click (if CPC pricingType selected) or per 1,000 impressions (if CPM pricingType selected)</td>\n<td></td>\n</tr>\n<tr>\n<td>budgetType</td>\n<td>The type of budget set for bidding</td>\n<td>8 (Daily budget) or 9 (Lifetime budget)</td>\n</tr>\n<tr>\n<td>budgetAmount</td>\n<td>The budget amount</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"adding-bid-modifiers-adjustments\">Adding bid modifiers (adjustments)</h4>\n<p>You can increase or decrease the bid of a line item depending on whether it is being auctioned for the newsfeed or the for sale &amp; free section. To do so, pass an object with the following properties into the <code>modifier</code> parameter.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Description</th>\n<th>Possible Values</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>newsfeed</td>\n<td>Bid modifier for newsfeed</td>\n<td>-0.5 (decrease by 50%) to 0.5 (increase by 50%)</td>\n</tr>\n<tr>\n<td>fsf</td>\n<td>Bid modifier for the for sale &amp; free section</td>\n<td>-0.5 (decrease by 50%) to 0.5 (increase by 50%)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-timezone\">Possible values for timeZone</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>EDT</td>\n<td>Eastern Daylight Time</td>\n</tr>\n<tr>\n<td>CDT</td>\n<td>Central Daylight Time</td>\n</tr>\n<tr>\n<td>MDT</td>\n<td>Mountain Daylight Time</td>\n</tr>\n<tr>\n<td>AKDT</td>\n<td>Alaska Daylight Time</td>\n</tr>\n<tr>\n<td>HST</td>\n<td>Hawaii Standard Time</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Line item ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Line item name</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The status of the line item (ex. \"Live\", \"Deleted\", \"Paused\")</td>\n</tr>\n<tr>\n<td>creativeIds</td>\n<td>IDs of the creatives associated with line item</td>\n</tr>\n<tr>\n<td>bid</td>\n<td>The line item's bid</td>\n</tr>\n<tr>\n<td>modifier</td>\n<td>Modifiers (adjustments) to the line item bid</td>\n</tr>\n<tr>\n<td>priority</td>\n<td>A number from 4-16 representing the line item's priority (the lower the number, the higher the priority)</td>\n</tr>\n<tr>\n<td>campaignId</td>\n<td>ID of campaign that line item was added to</td>\n</tr>\n<tr>\n<td>startTime</td>\n<td>Date &amp; time that line item should start serving</td>\n</tr>\n<tr>\n<td>endTime</td>\n<td>Date &amp; time that line item should stop serving</td>\n</tr>\n<tr>\n<td>timeCreated</td>\n<td>Date &amp; time that line item was created</td>\n</tr>\n<tr>\n<td>timeEdited</td>\n<td>Date &amp; time that line item was last updated</td>\n</tr>\n<tr>\n<td>timeZone</td>\n<td>Time zone</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-status\">Possible values for status</h4>\n<ol>\n<li><code>Draft</code></li>\n<li><code>Live</code></li>\n<li><code>Paused</code></li>\n<li><code>Deleted</code></li>\n<li><code>Pending Approval</code></li>\n<li><code>Disapproved</code></li>\n<li><code>Completed</code></li>\n<li><code>Inactive</code></li>\n</ol>\n<h4 id=\"bid-response-fields\">Bid Response Fields</h4>\n<p>The <code>bid</code> object that is returned in the response has different fields from the <code>bid</code> object that is provided as input when creating a line item. The following are the fields returned in the <code>bid</code> object contained in the response:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bidMicroValue</td>\n<td>The bid amount (adjusted based on the bid modifier) divided by 1 million</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>The currency for the line item bid</td>\n</tr>\n<tr>\n<td>dailyCap</td>\n<td>If the line item has a daily budget, this field contains the budget amount</td>\n</tr>\n<tr>\n<td>maxCap</td>\n<td>If the line item has a lifetime budget, this field contains the budget amount</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[{"id":"933f7f00-72c7-49b4-95a8-493111c1a381","name":"addPartnerLineItem","originalRequest":{"method":"GET","header":[{"description":"Valid token must be passed to use the API","key":"Authorization","type":"text","value":"Bearer <INSERT TOKEN HERE>"}],"url":"https://ads.nextdoor-test.com/graphql/api/v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 14 Aug 2020 20:48:04 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Set-Cookie","value":"JSESSIONID=EA3609A2DD58267BF5C253FAC2E1D71A; Path=/; HttpOnly"},{"key":"Strict-Transport-Security","value":"max-age=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"addPartnerLineItem\": {\n            \"id\": \"8234\",\n            \"name\": \"Line item name - Newsfeed\",\n            \"status\": \"Pending Approval\",\n            \"creativeIds\": [],\n            \"bid\": {\n                \"bidStrategy\": 99,\n                \"bidMicroValue\": 0.39,\n                \"currency\": {\n                    \"name\": \"US Dollar\",\n                    \"code\": \"USD\"\n                },\n                \"dailyCap\": 0.77,\n                \"maxCap\": 0\n            },\n            \"modifier\": null,\n            \"priority\": 12,\n            \"campaignId\": \"5719\",\n            \"startTime\": \"2020-08-14 21:03:03.0\",\n            \"endTime\": \"2021-07-19 00:14:20.0\",\n            \"timeCreated\": \"2020-08-14 20:48:03.593026311\",\n            \"timeEdited\": \"2020-08-14 20:48:03.593469924\",\n            \"timeZone\": null\n        }\n    },\n    \"extensions\": null,\n    \"dataPresent\": true\n}"}],"_postman_id":"6810f1a1-4138-4dd3-b39f-142aaf411556"},{"name":"getPartnerLineItem","id":"29252533-07cb-45b0-9c37-322f30358f9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"<p>Valid token must be passed to use the API</p>\n","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\n   getPartnerLineItem(lineItemId: \"7948\", clientId: \"\"){\n    id\n    name\n    status\n    creativeIds\n    bid {\n      bidStrategy\n      bidMicroValue\n      currency {\n         name\n         code\n      }\n      dailyCap\n      maxCap\n    }\n    modifier {\n       newsfeed\n       fsf\n    }\n    priority\n    campaignId\n    startTime\n    endTime\n    timeCreated\n    timeEdited\n    timeZone\n   }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Retrieves a particular line item.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>lineItemId</td>\n<td>Line Item ID</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Line item ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Line item name</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The status of the line item (ex. \"Live\", \"Deleted\", \"Paused\")</td>\n</tr>\n<tr>\n<td>creativeIds</td>\n<td>IDs of the creatives associated with line item</td>\n</tr>\n<tr>\n<td>bid</td>\n<td>The line item's bid</td>\n</tr>\n<tr>\n<td>modifier</td>\n<td>Modifiers (adjustments) to the line item bid</td>\n</tr>\n<tr>\n<td>priority</td>\n<td>A number from 4-16 representing the line item's priority (the lower the number, the higher the priority)</td>\n</tr>\n<tr>\n<td>campaignId</td>\n<td>ID of campaign that line item is associated with</td>\n</tr>\n<tr>\n<td>startTime</td>\n<td>Date &amp; time that line item should start serving</td>\n</tr>\n<tr>\n<td>endTime</td>\n<td>Date &amp; time that line item should stop serving</td>\n</tr>\n<tr>\n<td>timeCreated</td>\n<td>Date &amp; time that line item was created</td>\n</tr>\n<tr>\n<td>timeEdited</td>\n<td>Date &amp; time that line item was last updated</td>\n</tr>\n<tr>\n<td>timeZone</td>\n<td>Time zone</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-status\">Possible values for status</h4>\n<ol>\n<li><code>Draft</code></li>\n<li><code>Live</code></li>\n<li><code>Paused</code></li>\n<li><code>Deleted</code></li>\n<li><code>Pending Approval</code></li>\n<li><code>Disapproved</code></li>\n<li><code>Completed</code></li>\n<li><code>Inactive</code></li>\n</ol>\n<h4 id=\"bid-response-fields\">Bid Response Fields</h4>\n<p>The following are the fields returned in the <code>bid</code> object contained in the response:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bidMicroValue</td>\n<td>The bid amount (adjusted based on the bid modifier) divided by 1 million</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>The currency for the line item bid</td>\n</tr>\n<tr>\n<td>dailyCap</td>\n<td>If the line item has a daily budget, this field contains the budget amount</td>\n</tr>\n<tr>\n<td>maxCap</td>\n<td>If the line item has a lifetime budget, this field contains the budget amount</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[{"id":"c85a8cc2-f96e-4a26-831b-4bc9a95b4fa6","name":"getPartnerLineItem","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"Valid token must be passed to use the API","type":"text"}],"url":"https://ads.nextdoor-test.com/graphql/api/v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 13 Aug 2020 23:19:27 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Strict-Transport-Security","value":"max-age=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getPartnerLineItem\": {\n            \"id\": \"7948\",\n            \"name\": \"Ads API - Test Line Item 2 - Newsfeed\",\n            \"status\": \"Pending Approval\",\n            \"creativeIds\": [\n                \"9824\",\n                \"9825\",\n                \"9828\",\n                \"9830\",\n                \"9831\",\n                \"9832\",\n                \"9833\",\n                \"9834\",\n                \"9835\",\n                \"9816\",\n                \"9817\",\n                \"9818\",\n                \"9819\",\n                \"9820\",\n                \"9821\",\n                \"9822\",\n                \"9823\"\n            ],\n            \"bid\": {\n                \"id\": \"2696\",\n                \"bidStrategy\": 99,\n                \"bidMicroValue\": 0.39,\n                \"bidFlags\": 0,\n                \"currency\": {\n                    \"id\": \"334\",\n                    \"name\": \"US Dollar\",\n                    \"code\": \"USD\"\n                },\n                \"dailyCap\": 0.77,\n                \"maxCap\": 0\n            },\n            \"modifier\": null,\n            \"priority\": 12,\n            \"campaignId\": \"5703\",\n            \"startTime\": \"2020-07-31 16:18:00.0\",\n            \"endTime\": \"2021-07-19 00:14:20.0\",\n            \"timeCreated\": \"2020-07-31 16:03:00.911788\",\n            \"timeEdited\": \"2020-07-31 16:03:00.911887\",\n            \"timeZone\": null\n        }\n    },\n    \"extensions\": null,\n    \"dataPresent\": true\n}"}],"_postman_id":"29252533-07cb-45b0-9c37-322f30358f9e"},{"name":"updatePartnerLineItem","id":"5980f242-df20-4ff5-9c87-0b8474ac8f58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Valid token must be passed to use the API</p>\n","key":"Authorization","type":"text","value":"Bearer <INSERT TOKEN HERE>"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n   updatePartnerLineItem(lineItemId: \"8234\", lineItemInput: {\n       name: \"Updated line item name\",\n       endTime: \"2021-07-18 24:14:20\",\n       timeOfDay: {\n          include: [\n            {\n                time: [\"12:00\", \"00:00\"],\n                days: [\"monday\",\"tuesday\"]\n            },\n            {\n                time: [\"12:00\", \"15:00\"],\n                days: [\"saturday\",\"sunday\"]\n            }\n          ],\n          exclude: [\n            {\n                days: [\"friday\"]\n            }\n          ],\n        },\n       timeZone: \"CDT\",\n       kvTargeting: {\n            CUSTOM_COUNTRY:{\n                include:[\"41729\"],\n                exclude:[]\n            },\n            CUSTOM_DMA: {\n                include:[],\n                exclude:[]\n            },\n            CUSTOM_STATE: {\n                include:[\"41736\"],\n                exclude:[]\n            },\n            CUSTOM_AUD_SEGMENT: {\n                include:[\"75003\", \"75008\"],\n                exclude:[]\n            }\n       },\n       bid: {\n           currency: \"0\",\n           bidRate: \"10\",\n           pricingType: \"99\",\n           budgetType: \"8\",\n           budgetAmount: \"100\"\n       },\n       modifier: {\n           newsfeed: \"0.2\",\n           fsf: \"-0.2\"\n       }\n   }, clientId: \"\"){\n        id\n        name\n        status\n        creativeIds\n        bid {\n            bidStrategy\n            bidMicroValue\n            currency {\n                name\n                code\n            }\n            dailyCap\n            maxCap\n        }\n        modifier {\n            newsfeed\n            fsf\n        }\n        priority\n        campaignId\n        startTime\n        endTime\n        timeCreated\n        timeEdited\n        timeZone\n   }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Updates a line item.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>lineItemId</td>\n<td>ID of line item to update</td>\n</tr>\n<tr>\n<td>lineItemInput</td>\n<td>Updated properties of the line item</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"lineiteminput-parameters\">lineItemInput Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Line item name</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>endTime</td>\n<td>Date &amp; time that line item should stop serving</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>timeOfDay</td>\n<td>Times of day that the line item is permitted to serve</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>timeZone</td>\n<td>The time zone used for the <code>startTime</code>, <code>endTime</code>, and <code>timeOfDay</code> parameters</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>kvTargeting</td>\n<td>Targeting key-values</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>bid</td>\n<td>The line item's bid</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>modifier</td>\n<td>Modifiers (adjustments) to the line item bid</td>\n<td>Optional</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"important-notes\">Important Notes:</h4>\n<ol>\n<li><code>endTime</code> must have the following format: <code>YYYY-MM-DD HH:MM:SS</code> </li>\n<li>If an empty object is passed as the <code>timeOfDay</code>, the line item will serve at all times. Please refer to the example below to see how to get line items to run at specific hours and days using the <code>timeOfDay</code> parameter.</li>\n</ol>\n<h4 id=\"targeting\">Targeting</h4>\n<p><strong>[TARGETING NOT YET READY FOR USE. SUPPORT WILL BE ADDED SOON]</strong></p>\n<p>Line items may be targeted by: state, designated market area (DMA), and/or audience segment. To add targeting, you must list the IDs of the targeting values that you would like to set. Please refer to the example below for more details on how to add targeting to a line item using the <code>kvTargeting</code> parameter.</p>\n<p>For a list of all the targeting key-values, please visit the following <a href=\"https://docs.google.com/spreadsheets/d/1WsasPV_NgdArgYNo6xYPjJ_x8AtCiPKBhv8Lrkb8RkE/edit?usp=sharing\">link</a>. </p>\n<p><strong>NOTE:</strong> We do not yet support targeting by country. All newly created line items are targeted to the U.S. by default. </p>\n<h4 id=\"updating-the-bid\">Updating the bid</h4>\n<p>To update the bid of a line item, an object with all of the following properties must be provided:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Description</th>\n<th>Possible Values</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>currency</td>\n<td>The currency used for bids</td>\n<td>0 (USD)</td>\n</tr>\n<tr>\n<td>pricingType</td>\n<td>The type of pricing used for bids</td>\n<td>99 (CPM), 98 (CPC)</td>\n</tr>\n<tr>\n<td>bidRate</td>\n<td>The maximum bid amount, i.e. the most you are willing to pay per click (if CPC pricingType selected) or per 1,000 impressions (if CPM pricingType selected)</td>\n<td></td>\n</tr>\n<tr>\n<td>budgetType</td>\n<td>The type of budget set for bidding</td>\n<td>8 (Daily budget) or 9 (Lifetime budget)</td>\n</tr>\n<tr>\n<td>budgetAmount</td>\n<td>The budget amount</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"adding-bid-modifiers-adjustments\">Adding bid modifiers (adjustments)</h4>\n<p>You can increase or decrease the bid of a line item depending on whether it is being auctioned for the newsfeed or the for sale &amp; free section. To do so, pass an object with the following properties into the <code>modifier</code> parameter.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Description</th>\n<th>Possible Values</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>newsfeed</td>\n<td>Bid modifier for newsfeed</td>\n<td>-0.5 (decrease by 50%) to 0.5 (increase by 50%)</td>\n</tr>\n<tr>\n<td>fsf</td>\n<td>Bid modifier for the for sale &amp; free section</td>\n<td>-0.5 (decrease by 50%) to 0.5 (increase by 50%)</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-timezone\">Possible values for timeZone</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>EDT</td>\n<td>Eastern Daylight Time</td>\n</tr>\n<tr>\n<td>CDT</td>\n<td>Central Daylight Time</td>\n</tr>\n<tr>\n<td>MDT</td>\n<td>Mountain Daylight Time</td>\n</tr>\n<tr>\n<td>AKDT</td>\n<td>Alaska Daylight Time</td>\n</tr>\n<tr>\n<td>HST</td>\n<td>Hawaii Standard Time</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Line item ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Line item name</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The status of the line item (ex. \"Live\", \"Deleted\", \"Paused\")</td>\n</tr>\n<tr>\n<td>creativeIds</td>\n<td>IDs of the creatives associated with line item</td>\n</tr>\n<tr>\n<td>bid</td>\n<td>The line item's bid</td>\n</tr>\n<tr>\n<td>modifier</td>\n<td>Modifiers (adjustments) to the line item bid</td>\n</tr>\n<tr>\n<td>priority</td>\n<td>A number from 4-16 representing the line item's priority (the lower the number, the higher the priority)</td>\n</tr>\n<tr>\n<td>campaignId</td>\n<td>ID of campaign that line item was added to</td>\n</tr>\n<tr>\n<td>startTime</td>\n<td>Date &amp; time that line item should start serving</td>\n</tr>\n<tr>\n<td>endTime</td>\n<td>Date &amp; time that line item should stop serving</td>\n</tr>\n<tr>\n<td>timeCreated</td>\n<td>Date &amp; time that line item was created</td>\n</tr>\n<tr>\n<td>timeEdited</td>\n<td>Date &amp; time that line item was last updated</td>\n</tr>\n<tr>\n<td>timeZone</td>\n<td>Time zone</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-status\">Possible values for status</h4>\n<ol>\n<li><code>Draft</code></li>\n<li><code>Live</code></li>\n<li><code>Paused</code></li>\n<li><code>Deleted</code></li>\n<li><code>Pending Approval</code></li>\n<li><code>Disapproved</code></li>\n<li><code>Completed</code></li>\n<li><code>Inactive</code></li>\n</ol>\n<h4 id=\"bid-response-fields\">Bid Response Fields</h4>\n<p>The <code>bid</code> object that is returned in the response has different fields from the <code>bid</code> object that can be optionally provided as input when updating a line item. The following are the fields returned in the <code>bid</code> object contained in the response:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bidMicroValue</td>\n<td>The bid amount (adjusted based on the bid modifier) divided by 1 million</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>The currency for the line item bid</td>\n</tr>\n<tr>\n<td>dailyCap</td>\n<td>If the line item has a daily budget, this field contains the budget amount</td>\n</tr>\n<tr>\n<td>maxCap</td>\n<td>If the line item has a lifetime budget, this field contains the budget amount</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[{"id":"24b6d7aa-1f67-406b-9ddb-52a872b911fc","name":"updatePartnerLineItem","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"Valid token must be passed to use the API","type":"text"}],"url":"https://ads.nextdoor-test.com/graphql/api/v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 14 Aug 2020 21:55:02 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Strict-Transport-Security","value":"max-age=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"updatePartnerLineItem\": {\n            \"id\": \"8234\",\n            \"name\": \"Updated line item name\",\n            \"status\": \"Pending Approval\",\n            \"creativeIds\": [],\n            \"bid\": {\n                \"bidStrategy\": 99,\n                \"bidMicroValue\": 10.0,\n                \"currency\": {\n                    \"name\": \"US Dollar\",\n                    \"code\": \"USD\"\n                },\n                \"dailyCap\": 100.0,\n                \"maxCap\": 0.0\n            },\n            \"modifier\": null,\n            \"priority\": 12,\n            \"campaignId\": \"5719\",\n            \"startTime\": \"2020-08-14 21:03:03.0\",\n            \"endTime\": \"2021-07-19 00:14:20.0\",\n            \"timeCreated\": \"2020-08-14 20:48:03.593026\",\n            \"timeEdited\": \"2020-08-14 22:45:53.551353851\",\n            \"timeZone\": null\n        }\n    },\n    \"extensions\": null,\n    \"dataPresent\": true\n}"}],"_postman_id":"5980f242-df20-4ff5-9c87-0b8474ac8f58"},{"name":"deletePartnerLineItem","id":"0f05a21a-960b-454f-96c4-ac5e7c61eba3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Valid token must be passed to use the API</p>\n","key":"Authorization","type":"text","value":"Bearer <INSERT TOKEN HERE>"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n   deletePartnerLineItem(lineItemId: \"7948\", clientId: \"\"){\n    id\n    name\n    status\n    creativeIds\n    bid {\n      id\n      bidStrategy\n      bidMicroValue\n      bidFlags\n      currency {\n         id\n         name\n         code\n      }\n      dailyCap\n      maxCap\n    }\n    modifier {\n       newsfeed\n       fsf\n    }\n    priority\n    campaignId\n    startTime\n    endTime\n    timeCreated\n    timeEdited\n    timeZone\n   }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Deletes a line item.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>lineItemId</td>\n<td>Line Item ID</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Line item ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Line item name</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The status of the line item (ex. \"Live\", \"Deleted\", \"Paused\")</td>\n</tr>\n<tr>\n<td>creativeIds</td>\n<td>IDs of the creatives associated with line item</td>\n</tr>\n<tr>\n<td>bid</td>\n<td>The line item's bid</td>\n</tr>\n<tr>\n<td>modifier</td>\n<td>Modifiers (adjustments) to the line item bid</td>\n</tr>\n<tr>\n<td>priority</td>\n<td>A number from 4-16 representing the line item's priority (the lower the number, the higher the priority)</td>\n</tr>\n<tr>\n<td>campaignId</td>\n<td>ID of campaign that line item had been associated with</td>\n</tr>\n<tr>\n<td>startTime</td>\n<td>Date &amp; time that line item should start serving</td>\n</tr>\n<tr>\n<td>endTime</td>\n<td>Date &amp; time that line item should stop serving</td>\n</tr>\n<tr>\n<td>timeCreated</td>\n<td>Date &amp; time that line item was created</td>\n</tr>\n<tr>\n<td>timeEdited</td>\n<td>Date &amp; time that line item was last updated</td>\n</tr>\n<tr>\n<td>timeZone</td>\n<td>Time zone</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-status\">Possible values for status</h4>\n<ol>\n<li><code>Draft</code></li>\n<li><code>Live</code></li>\n<li><code>Paused</code></li>\n<li><code>Deleted</code></li>\n<li><code>Pending Approval</code></li>\n<li><code>Disapproved</code></li>\n<li><code>Completed</code></li>\n<li><code>Inactive</code></li>\n</ol>\n<h4 id=\"bid-response-fields\">Bid Response Fields</h4>\n<p>The following are the fields returned in the <code>bid</code> object contained in the response:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bidMicroValue</td>\n<td>The bid amount (adjusted based on the bid modifier) divided by 1 million</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>The currency for the line item bid</td>\n</tr>\n<tr>\n<td>dailyCap</td>\n<td>If the line item has a daily budget, this field contains the budget amount</td>\n</tr>\n<tr>\n<td>maxCap</td>\n<td>If the line item has a lifetime budget, this field contains the budget amount</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[{"id":"2ad01717-cb08-443c-80a6-73166f9288c5","name":"deletePartnerLineItem","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"Valid token must be passed to use the API","type":"text"}],"url":"https://ads.nextdoor-test.com/graphql/api/v1"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"errors\": [],\n  \"data\": {\n    \"deletePartnerLineItem\": {\n      \"id\": \"7948\",\n      \"name\": \"Ads API - Test Line Item 2 - Newsfeed\",\n      \"status\": \"Pending Approval\",\n      \"creativeIds\": [\n        \"9824\",\n        \"9825\",\n        \"9828\",\n        \"9830\",\n        \"9831\",\n        \"9832\",\n        \"9833\",\n        \"9834\",\n        \"9835\",\n        \"9816\",\n        \"9817\",\n        \"9818\",\n        \"9819\",\n        \"9820\",\n        \"9821\",\n        \"9822\",\n        \"9823\"\n      ],\n      \"bid\": {\n        \"id\": \"2696\",\n        \"bidStrategy\": 99,\n        \"bidMicroValue\": 0.39,\n        \"bidFlags\": 0,\n        \"currency\": {\n          \"id\": \"334\",\n          \"name\": \"US Dollar\",\n          \"code\": \"USD\"\n        },\n        \"dailyCap\": 0.77,\n        \"maxCap\": 0\n      },\n      \"modifier\": null,\n      \"priority\": 12,\n      \"campaignId\": \"5703\",\n      \"startTime\": \"2020-07-31 16:18:00.0\",\n      \"endTime\": \"2021-07-19 00:14:20.0\",\n      \"timeCreated\": \"2020-07-31 16:03:00.911788\",\n      \"timeEdited\": \"2020-07-31 16:03:00.911887\",\n      \"timeZone\": null\n    }\n  },\n  \"extensions\": null,\n  \"dataPresent\": true\n}"}],"_postman_id":"0f05a21a-960b-454f-96c4-ac5e7c61eba3"},{"name":"addPartnerCreative","id":"c38f1fcc-265b-484f-9b1a-60be1a9560df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"<p>Valid token must be passed to use the API</p>\n","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n   addPartnerCreative(creativeInput: {\n       name: \"Creative name\",\n       creativeTemplateId: \"11832774\",\n       creativeJsonScript: {\n           Advertiser_Name: \"Advertiser name\",\n           Headline: \"Headline\",\n           Body_Copy: \"Body copy\",\n           Url: \"https://www.google.com\",\n           Logo_Image: \"https://images.unsplash.com/photo-1494548162494-384bba4ab999?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1400&q=80\",\n           Canvas_Image: \"https://images.unsplash.com/photo-1494548162494-384bba4ab999?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1400&q=80\",\n           Offer_Text: \"Offer text\",\n           CTA: \"CTA\",\n           Price: \"10.99\",\n           Old_Price: \"19.99\"\n       },\n       lineItemId: \"7949\",\n   }, clientId: \"\"){\n      id\n      name\n      timeCreated\n      timeEdited\n      creativeJsonScript\n      creativeTemplateId\n   }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Creates a new creative.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>creativeInput</td>\n<td>Properties of the creative</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"creativeinput-parameters\">creativeInput Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Creative name</td>\n</tr>\n<tr>\n<td>creativeTemplateId</td>\n<td>Creative template ID</td>\n</tr>\n<tr>\n<td>creativeJsonScript</td>\n<td>JSON containing properties of the creative</td>\n</tr>\n<tr>\n<td>lineItemId</td>\n<td>ID of line item that creative will be added to</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-creativetemplateid\">Possible Values for creativeTemplateId</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>11832774</td>\n<td>Newsfeed image ads</td>\n</tr>\n<tr>\n<td>11872115</td>\n<td>Ads in the for sale &amp; free section</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"creativejsonscript-parameters\">creativeJsonScript Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n<th>Required for templates with ID</th>\n<th>Important Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Advertiser_Name</td>\n<td>Advertiser name</td>\n<td>All</td>\n<td></td>\n</tr>\n<tr>\n<td>Headline</td>\n<td>Headline of creative</td>\n<td>All</td>\n<td></td>\n</tr>\n<tr>\n<td>Body_Copy</td>\n<td>Body text of creative</td>\n<td>11832774</td>\n<td>Not rendered in for sale &amp; free ads</td>\n</tr>\n<tr>\n<td>Url</td>\n<td>Landing page url</td>\n<td>All</td>\n<td></td>\n</tr>\n<tr>\n<td>Logo_Image</td>\n<td>Url of advertiser's logo image</td>\n<td>All</td>\n<td>Must link to a valid image!</td>\n</tr>\n<tr>\n<td>Canvas_Image</td>\n<td>Url</td>\n<td>All</td>\n<td>Must link to a valid image!</td>\n</tr>\n<tr>\n<td>Offer_Text</td>\n<td>Describes a special offer</td>\n<td>11832774</td>\n<td>Not rendered in for sale &amp; free ads</td>\n</tr>\n<tr>\n<td>CTA</td>\n<td>Call to action</td>\n<td>11832774</td>\n<td>Not rendered in for sale &amp; free ads</td>\n</tr>\n<tr>\n<td>Price</td>\n<td>Price of advertised item</td>\n<td>Optional</td>\n<td>Only rendered in for sale &amp; free ads</td>\n</tr>\n<tr>\n<td>Old_Price</td>\n<td>If price has been discounted, the original price of advertised item</td>\n<td>Optional</td>\n<td>Only rendered in for sale &amp; free ads</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Creative ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Creative name</td>\n</tr>\n<tr>\n<td>timeCreated</td>\n<td>Date &amp; time that creative was created</td>\n</tr>\n<tr>\n<td>timeEdited</td>\n<td>Date &amp; time that creative was last updated</td>\n</tr>\n<tr>\n<td>creativeJsonScript</td>\n<td>JSON containing properties of the creative</td>\n</tr>\n<tr>\n<td>creativeTemplateId</td>\n<td>Creative template ID</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[{"id":"37ccd794-89f2-4449-bf2d-99af38843117","name":"Add_Partner_Creative","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"Valid token must be passed to use the API","type":"text"}],"url":"https://ads.nextdoor-test.com/graphql/api/v1"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"addPartnerCreative\": {\n            \"id\": \"9828\",\n            \"name\": \"Creative name\",\n            \"timeCreated\": \"2020-08-13 19:20:53.027672221\",\n            \"timeEdited\": \"2020-08-13 19:20:53.027672221\",\n            \"creativeJsonScript\": \"{\\\"Order_Id\\\":\\\"%ebuy!\\\",\\\"Creative_Id\\\":\\\"%ecid!\\\",\\\"Canvas_Image\\\":\\\"https:\\/\\/images.unsplash.com\\/photo-1494548162494-384bba4ab999?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1400&q=80\\\",\\\"Sponsored_Placeholder\\\":\\\"Sponsored\\\",\\\"Url\\\":\\\"https:\\/\\/www.google.com\\\",\\\"Advertiser_Id\\\":\\\"%eadv!\\\",\\\"CTA\\\":\\\"CTA\\\",\\\"Impression_Tracker_5\\\":null,\\\"Impression_Tracker_6\\\":null,\\\"Advertiser_Name\\\":\\\"Advertiser name\\\",\\\"Offer_Text\\\":\\\"Offer text\\\",\\\"Headline\\\":\\\"Headline\\\",\\\"Impression_Tracker_1\\\":null,\\\"Impression_Tracker_2\\\":null,\\\"Body_Copy\\\":\\\"Body copy\\\",\\\"Impression_Tracker_3\\\":null,\\\"Impression_Tracker_4\\\":null,\\\"Logo_Image\\\":\\\"https:\\/\\/images.unsplash.com\\/photo-1494548162494-384bba4ab999?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1400&q=80\\\",\\\"Line_Item_Id\\\":\\\"%eaid!\\\"}\",\n            \"creativeTemplateId\": \"11832774\"\n        }\n    },\n    \"extensions\": null,\n    \"dataPresent\": true\n}"}],"_postman_id":"c38f1fcc-265b-484f-9b1a-60be1a9560df"},{"name":"getPartnerCreative","id":"5f650d75-55bd-4add-bcb5-4515bf12bfc1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"<p>Valid token must be passed to use the API</p>\n","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\n   getPartnerCreative(creativeId: \"9599\", clientId: \"\"){\n      id\n      name\n      timeCreated\n      timeEdited\n      creativeJsonScript\n      creativeTemplateId\n   }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Retrieves a particular creative.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>creativeId</td>\n<td>Creative ID</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Creative ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Creative name</td>\n</tr>\n<tr>\n<td>timeCreated</td>\n<td>Date &amp; time that creative was created</td>\n</tr>\n<tr>\n<td>timeEdited</td>\n<td>Date &amp; time that creative was last updated</td>\n</tr>\n<tr>\n<td>creativeJsonScript</td>\n<td>JSON containing properties of the creative</td>\n</tr>\n<tr>\n<td>creativeTemplateId</td>\n<td>Creative template ID</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[{"id":"b0184a9e-41f7-47b7-8820-877590013459","name":"Get_Partner_Creative","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"Valid token must be passed to use the API","type":"text"}],"url":"https://ads.nextdoor-test.com/graphql/api/v1"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getPartnerCreative\": {\n            \"id\": \"9599\",\n            \"name\": \"Ads API - Test Creative 11\",\n            \"timeCreated\": \"2020-07-31 19:07:15.320193\",\n            \"timeEdited\": \"2020-07-31 19:07:15.320193\",\n            \"creativeJsonScript\": \"{\\\"Order_Id\\\":\\\"%ebuy!\\\",\\\"Creative_Id\\\":\\\"%ecid!\\\",\\\"Canvas_Image\\\":\\\"https:\\/\\/images.unsplash.com\\/photo-1494548162494-384bba4ab999?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1400&q=80\\\",\\\"Sponsored_Placeholder\\\":\\\"Sponsored\\\",\\\"Url\\\":\\\"https:\\/\\/www.google.com\\\",\\\"Advertiser_Id\\\":\\\"%eadv!\\\",\\\"CTA\\\":\\\"Test\\\",\\\"Impression_Tracker_5\\\":null,\\\"Impression_Tracker_6\\\":null,\\\"Advertiser_Name\\\":\\\"Test\\\",\\\"Offer_Text\\\":\\\"Test\\\",\\\"Headline\\\":\\\"Test\\\",\\\"Impression_Tracker_1\\\":null,\\\"Impression_Tracker_2\\\":null,\\\"Body_Copy\\\":\\\"Test\\\",\\\"Impression_Tracker_3\\\":null,\\\"Impression_Tracker_4\\\":null,\\\"Logo_Image\\\":\\\"https:\\/\\/images.unsplash.com\\/photo-1494548162494-384bba4ab999?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1400&q=80\\\",\\\"Line_Item_Id\\\":\\\"%eaid!\\\"}\",\n            \"creativeTemplateId\": \"11832774\"\n        }\n    },\n    \"extensions\": null,\n    \"dataPresent\": true\n}"}],"_postman_id":"5f650d75-55bd-4add-bcb5-4515bf12bfc1"},{"name":"updatePartnerCreative","id":"d17c47ed-b297-4c0c-a572-5dc7c782fc78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"<p>Valid token must be passed to use the API</p>\n","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n   updatePartnerCreative(creativeId: \"9598\", creativeInput: {\n       name: \"Creative name\",\n       creativeJsonScript: {\n           Advertiser_Name: \"Advertiser name\",\n           Headline: \"Headline\",\n           Body_Copy: \"Body copy\",\n           Url: \"https://www.google.com\",\n           Logo_Image: \"https://images.unsplash.com/photo-1494548162494-384bba4ab999?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1400&q=80\",\n           Canvas_Image: \"https://images.unsplash.com/photo-1494548162494-384bba4ab999?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1400&q=80\",\n           Offer_Text: \"Offer text\",\n           CTA: \"CTA\",\n           Price: \"11.99\",\n           Old_Price: \"20.99\"\n       }\n   }, clientId: \"\"){\n\t  id\n      name\n      timeCreated\n      timeEdited\n      creativeJsonScript\n      creativeTemplateId\n   }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Updates a creative.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>creativeId</td>\n<td>Creative ID</td>\n</tr>\n<tr>\n<td>creativeInput</td>\n<td>Properties of the creative</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"creativeinput-parameters\">creativeInput Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>Creative name</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>creativeJsonScript</td>\n<td>JSON containing properties of the creative</td>\n<td>Optional</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"creativejsonscript-parameters\">creativeJsonScript Parameters</h4>\n<p><strong>NOTE:</strong> To update a specific parameter in the creativeJsonScript, all the required parameters must still be passed. </p>\n<p>Ex. Even if you'd only like to update the <code>Advertiser_Name</code> in the creativeJsonScript, you must still pass all the other required parameters. You will receive an error if you pass a creativeJsonScript with only the <code>Advertiser_Name</code> property.     </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n<th>Required for templates with ID</th>\n<th>Important Notes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Advertiser_Name</td>\n<td>Advertiser name</td>\n<td>All</td>\n<td></td>\n</tr>\n<tr>\n<td>Headline</td>\n<td>Headline of creative</td>\n<td>All</td>\n<td></td>\n</tr>\n<tr>\n<td>Body_Copy</td>\n<td>Body text of creative</td>\n<td>11832774</td>\n<td>Not rendered in for sale &amp; free ads</td>\n</tr>\n<tr>\n<td>Url</td>\n<td>Landing page url</td>\n<td>All</td>\n<td></td>\n</tr>\n<tr>\n<td>Logo_Image</td>\n<td>Url of advertiser's logo image</td>\n<td>All</td>\n<td>Must link to a valid image!</td>\n</tr>\n<tr>\n<td>Canvas_Image</td>\n<td>Url</td>\n<td>All</td>\n<td>Must link to a valid image!</td>\n</tr>\n<tr>\n<td>Offer_Text</td>\n<td>Describes a special offer</td>\n<td>11832774</td>\n<td>Not rendered in for sale &amp; free ads</td>\n</tr>\n<tr>\n<td>CTA</td>\n<td>Call to action</td>\n<td>11832774</td>\n<td>Not rendered in for sale &amp; free ads</td>\n</tr>\n<tr>\n<td>Price</td>\n<td>Price of advertised item</td>\n<td>Optional</td>\n<td>Only rendered in for sale &amp; free ads</td>\n</tr>\n<tr>\n<td>Old_Price</td>\n<td>If price has been discounted, the original price of advertised item</td>\n<td>Optional</td>\n<td>Only rendered in for sale &amp; free ads</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Creative ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Creative name</td>\n</tr>\n<tr>\n<td>timeCreated</td>\n<td>Date &amp; time that creative was created</td>\n</tr>\n<tr>\n<td>timeEdited</td>\n<td>Date &amp; time that creative was last updated</td>\n</tr>\n<tr>\n<td>creativeJsonScript</td>\n<td>JSON containing properties of the creative</td>\n</tr>\n<tr>\n<td>creativeTemplateId</td>\n<td>Creative template ID</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[{"id":"f57970ee-f222-45d3-aa16-0d2731572cb1","name":"Update_Partner_Creative","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","type":"text"}],"url":"https://ads.nextdoor-test.com/graphql/api/v1"},"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"updatePartnerCreative\": {\n            \"id\": \"9598\",\n            \"name\": \"Creative name\",\n            \"timeCreated\": \"2020-08-13 21:35:42.311294355\",\n            \"timeEdited\": \"2020-08-13 21:35:44.769585622\",\n            \"creativeJsonScript\": \"{\\\"CTA\\\":\\\"CTA\\\",\\\"Old_Price\\\":\\\"20.99\\\",\\\"Price\\\":\\\"11.99\\\",\\\"Advertiser_Name\\\":\\\"Advertiser name\\\",\\\"Canvas_Image\\\":\\\"https://images.unsplash.com/photo-1494548162494-384bba4ab999?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1400&q=80\\\",\\\"Offer_Text\\\":\\\"Offer text\\\",\\\"Headline\\\":\\\"Headline\\\",\\\"Body_Copy\\\":\\\"Body copy\\\",\\\"Logo_Image\\\":\\\"https://images.unsplash.com/photo-1494548162494-384bba4ab999?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1400&q=80\\\",\\\"Url\\\":\\\"https://www.google.com\\\"}\",\n            \"creativeTemplateId\": \"11832774\"\n        }\n    },\n    \"extensions\": null,\n    \"dataPresent\": true\n}"}],"_postman_id":"d17c47ed-b297-4c0c-a572-5dc7c782fc78"},{"name":"deactivatePartnerCreative","id":"f45b4526-e6ae-41a1-a387-29f2a61b62e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"description":"<p>Valid token must be passed to use the API</p>\n","key":"Authorization","type":"text","value":"Bearer <INSERT TOKEN HERE>"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n   deactivatePartnerCreative(creativeId: \"9598\", clientId: \"\"){\n      id\n      name\n      timeCreated\n      timeEdited\n      creativeJsonScript\n      creativeTemplateId\n   }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Deactivates a particular creative. </p>\n<p><strong>NOTE:</strong> This does not delete a creative. The API does not support deleting creatives.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>creativeId</td>\n<td>Creative ID</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Creative ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Creative name</td>\n</tr>\n<tr>\n<td>timeCreated</td>\n<td>Date &amp; time that creative was created</td>\n</tr>\n<tr>\n<td>timeEdited</td>\n<td>Date &amp; time that creative was last updated</td>\n</tr>\n<tr>\n<td>creativeJsonScript</td>\n<td>JSON containing properties of the creative</td>\n</tr>\n<tr>\n<td>creativeTemplateId</td>\n<td>Creative template ID</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[{"id":"d81cbf96-1931-458e-b87d-d1a8e73bd495","name":"Deactivate_Partner_Creative","originalRequest":{"method":"GET","header":[{"description":"Valid token must be passed to use the API","key":"Authorization","type":"text","value":"Bearer <INSERT TOKEN HERE>"}],"url":"https://ads.nextdoor-test.com/graphql/api/v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 13 Aug 2020 22:03:42 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"Server","value":"nginx/1.14.0 (Ubuntu)"},{"key":"Strict-Transport-Security","value":"max-age=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"deactivatePartnerCreative\": {\n            \"id\": \"9598\",\n            \"name\": \"Creative name\",\n            \"timeCreated\": \"2020-08-13 21:41:40.167359\",\n            \"timeEdited\": \"2020-08-13 21:41:42.737712\",\n            \"creativeJsonScript\": \"{\\\"CTA\\\":\\\"CTA\\\",\\\"Old_Price\\\":\\\"20.99\\\",\\\"Price\\\":\\\"11.99\\\",\\\"Advertiser_Name\\\":\\\"Advertiser name\\\",\\\"Canvas_Image\\\":\\\"https://images.unsplash.com/photo-1494548162494-384bba4ab999?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1400&q=80\\\",\\\"Offer_Text\\\":\\\"Offer text\\\",\\\"Headline\\\":\\\"Headline\\\",\\\"Body_Copy\\\":\\\"Body copy\\\",\\\"Logo_Image\\\":\\\"https://images.unsplash.com/photo-1494548162494-384bba4ab999?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1400&q=80\\\",\\\"Url\\\":\\\"https://www.google.com\\\"}\",\n            \"creativeTemplateId\": \"11832774\"\n        }\n    },\n    \"extensions\": null,\n    \"dataPresent\": true\n}"}],"_postman_id":"f45b4526-e6ae-41a1-a387-29f2a61b62e4"},{"name":"getPartnerCampaignReport","id":"da4d0a93-4a31-4108-bff1-ac4384466e95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"<p>Valid token must be passed to use the API</p>\n","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\n    getPartnerCampaignReport(\n        clientId: \"\", \n        filters: {\n            startDate: \"2018-09-23 22:36:50\",\n            endDate: \"2021-09-23 22:36:50\",\n            name: \"Campaign name\"\n        }\n    ) {\n        campaignId,\n        clientName,\n        campaignName,\n        status,\n        impressions,\n        clicks,\n        ctr,\n        spend,\n        conversions\n    }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Retrieves a report of ad campaigns.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n<td>R</td>\n</tr>\n<tr>\n<td>filters</td>\n<td>Filters applied to the report results</td>\n<td>R</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filters\">Filters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Filter</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>startDate</td>\n<td>All campaigns returned in the report will have a startDate greater than or equal to this filter</td>\n<td>R</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td>All campaigns returned in the report will have an endDate less than or equal to this filter</td>\n<td>R</td>\n</tr>\n<tr>\n<td>name</td>\n<td>All campaigns returned in the report will have the name specified in this filter</td>\n<td>O</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>campaignId</td>\n<td>Campaign ID</td>\n</tr>\n<tr>\n<td>clientName</td>\n<td>Name of client who created the campaign</td>\n</tr>\n<tr>\n<td>campaignName</td>\n<td>Campaign name</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The status of the campaign (ex. \"Live\", \"Deleted\", \"Paused\")</td>\n</tr>\n<tr>\n<td>impressions</td>\n<td>Number of impressions</td>\n</tr>\n<tr>\n<td>clicks</td>\n<td>Number of clicks</td>\n</tr>\n<tr>\n<td>ctr</td>\n<td>Click-through rate</td>\n</tr>\n<tr>\n<td>spend</td>\n<td>Amount spent for the campaign</td>\n</tr>\n<tr>\n<td>conversion</td>\n<td>Number of conversions</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-status\">Possible values for status</h4>\n<ol>\n<li><code>Draft</code></li>\n<li><code>Live</code></li>\n<li><code>Paused</code></li>\n<li><code>Deleted</code></li>\n<li><code>Pending Approval</code></li>\n<li><code>Disapproved</code></li>\n<li><code>Completed</code></li>\n<li><code>Inactive</code></li>\n</ol>\n","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"da4d0a93-4a31-4108-bff1-ac4384466e95"},{"name":"getPartnerLineItemReport","id":"84cf755a-07df-472c-b057-4ba719c03122","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"<p>Valid token must be passed to use the API</p>\n","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\n    getPartnerLineItemReport(\n        clientId: \"\", \n        filters: {\n            startDate: \"2018-09-23 22:36:50\",\n            endDate: \"2021-09-23 22:36:50\",\n            name: \"Line item name\"\n        }\n    ) {\n        campaignId,\n        lineItemId,\n        creativeTemplateId,\n        clientName,\n        lineItemName,\n        status,\n        impressions,\n        clicks,\n        ctr,\n        spend,\n        conversions\n    }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Retrieves a report of line items.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n<td>R</td>\n</tr>\n<tr>\n<td>filters</td>\n<td>Filters applied to the report results</td>\n<td>R</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filters\">Filters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Filter</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>startDate</td>\n<td>All line items returned in the report will have a startDate greater than or equal to this filter</td>\n<td>R</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td>All line items returned in the report will have an endDate less than or equal to this filter</td>\n<td>R</td>\n</tr>\n<tr>\n<td>name</td>\n<td>All line items returned in the report will have the name specified in this filter</td>\n<td>O</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>campaignId</td>\n<td>ID of campaign that line item is associated with</td>\n</tr>\n<tr>\n<td>lineItemId</td>\n<td>Line item ID</td>\n</tr>\n<tr>\n<td>creativeTemplateId</td>\n<td>The creative template ID that all creatives in the line item are expected to have</td>\n</tr>\n<tr>\n<td>clientName</td>\n<td>Name of client who created the campaign</td>\n</tr>\n<tr>\n<td>lineItemName</td>\n<td>Line item name</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The status of the line item (ex. \"Live\", \"Deleted\", \"Paused\")</td>\n</tr>\n<tr>\n<td>impressions</td>\n<td>Number of impressions</td>\n</tr>\n<tr>\n<td>clicks</td>\n<td>Number of clicks</td>\n</tr>\n<tr>\n<td>ctr</td>\n<td>Click-through rate</td>\n</tr>\n<tr>\n<td>spend</td>\n<td>Amount spent for the line item</td>\n</tr>\n<tr>\n<td>conversion</td>\n<td>Number of conversions</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-status\">Possible values for status</h4>\n<ol>\n<li><code>Draft</code></li>\n<li><code>Live</code></li>\n<li><code>Paused</code></li>\n<li><code>Deleted</code></li>\n<li><code>Pending Approval</code></li>\n<li><code>Disapproved</code></li>\n<li><code>Completed</code></li>\n<li><code>Inactive</code></li>\n</ol>\n","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"84cf755a-07df-472c-b057-4ba719c03122"},{"name":"getPartnerCreativeReport","id":"6b9246b2-b54e-4cd7-ae2a-c38938601951","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"<p>Valid token must be passed to use the API</p>\n","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\n    getPartnerCreativeReport(\n        clientId: \"\", \n        filters: {\n            startDate: \"2018-09-23 22:36:50\",\n            endDate: \"2021-09-23 22:36:50\",\n            name: \"Creative name\"\n        }\n    ) {\n        campaignId,\n        lineItemId,\n        creativeId,\n        creativeTemplateId,\n        clientName,\n        creativeName,\n        status,\n        impressions,\n        clicks,\n        ctr,\n        spend,\n        conversions\n    }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Retrieves a report of creatives.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n<td>R</td>\n</tr>\n<tr>\n<td>filters</td>\n<td>Filters applied to the report results</td>\n<td>R</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"filters\">Filters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Filter</th>\n<th>Description</th>\n<th>Required</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>startDate</td>\n<td>All creatives returned in the report will have a startDate greater than or equal to this filter</td>\n<td>R</td>\n</tr>\n<tr>\n<td>endDate</td>\n<td>All creatives returned in the report will have an endDate less than or equal to this filter</td>\n<td>R</td>\n</tr>\n<tr>\n<td>name</td>\n<td>All creatives returned in the report will have the name specified in this filter</td>\n<td>O</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>campaignId</td>\n<td>ID of campaign that creative is associated with</td>\n</tr>\n<tr>\n<td>lineItemId</td>\n<td>ID of line item that creative is associated with</td>\n</tr>\n<tr>\n<td>creativeId</td>\n<td>Creative ID</td>\n</tr>\n<tr>\n<td>creativeTemplateId</td>\n<td>The creative's template ID</td>\n</tr>\n<tr>\n<td>clientName</td>\n<td>Name of client who created the campaign</td>\n</tr>\n<tr>\n<td>creativeName</td>\n<td>Creative name</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The status of the creative</td>\n</tr>\n<tr>\n<td>impressions</td>\n<td>Number of impressions</td>\n</tr>\n<tr>\n<td>clicks</td>\n<td>Number of clicks</td>\n</tr>\n<tr>\n<td>ctr</td>\n<td>Click-through rate</td>\n</tr>\n<tr>\n<td>spend</td>\n<td>Amount spent for the creative</td>\n</tr>\n<tr>\n<td>conversion</td>\n<td>Number of conversions</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-status\">Possible values for status</h4>\n<ol>\n<li><code>Draft</code></li>\n<li><code>Live</code></li>\n<li><code>Paused</code></li>\n<li><code>Deleted</code></li>\n<li><code>Pending Approval</code></li>\n<li><code>Disapproved</code></li>\n<li><code>Completed</code></li>\n<li><code>Inactive</code></li>\n</ol>\n","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b9246b2-b54e-4cd7-ae2a-c38938601951"},{"name":"getAllPartnerCampaigns","id":"be1ca992-8cc9-452d-81be-53295a032534","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","type":"text","description":"<p>Valid token must be passed to use the API</p>\n"}],"body":{"mode":"graphql","graphql":{"query":"query {\n    getAllPartnerCampaigns(clientId: \"\") {\n        id\n        name\n        objective\n        status\n    }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Returns a list of all the campaigns for a particular client.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Campaign ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Campaign name</td>\n</tr>\n<tr>\n<td>objective</td>\n<td>The objective of the campaign (ex. build awareness, get conversion, etc.)</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The status of the campaign (ex. \"Live\", \"Deleted\", \"Paused\")</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-campaign-objective\">Possible values for campaign objective</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Value</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Build awareness</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Drive consideration</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Get conversion</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-status\">Possible values for status</h4>\n<ol>\n<li><code>Draft</code></li>\n<li><code>Live</code></li>\n<li><code>Paused</code></li>\n<li><code>Deleted</code></li>\n<li><code>Pending Approval</code></li>\n<li><code>Disapproved</code></li>\n<li><code>Completed</code></li>\n<li><code>Inactive</code></li>\n</ol>\n","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"be1ca992-8cc9-452d-81be-53295a032534"},{"name":"getAllPartnerLineItems","id":"9d87ecd4-4ff3-4bdd-a14f-89684f891551","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"<p>Valid token must be passed to use the API</p>\n","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\n    getAllPartnerLineItems(clientId: \"\") {\n        id\n        name\n        status\n        creativeIds\n        bid {\n            bidStrategy\n            bidMicroValue\n            currency {\n                name\n                code\n            }\n            dailyCap\n            maxCap\n        }\n        modifier {\n            newsfeed\n            fsf\n        }\n        priority\n        campaignId\n        startTime\n        endTime\n        timeCreated\n        timeEdited\n        timeZone\n    }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Returns a list of all the active line items for a particular client.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Line item ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Line item name</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The status of the line item (ex. \"Live\", \"Deleted\", \"Paused\")</td>\n</tr>\n<tr>\n<td>creativeIds</td>\n<td>IDs of the creatives associated with line item</td>\n</tr>\n<tr>\n<td>bid</td>\n<td>The line item's bid</td>\n</tr>\n<tr>\n<td>modifier</td>\n<td>Modifiers (adjustments) to the line item bid</td>\n</tr>\n<tr>\n<td>priority</td>\n<td>A number from 4-16 representing the line item's priority (the lower the number, the higher the priority)</td>\n</tr>\n<tr>\n<td>campaignId</td>\n<td>ID of campaign that line item is associated with</td>\n</tr>\n<tr>\n<td>startTime</td>\n<td>Date &amp; time that line item should start serving</td>\n</tr>\n<tr>\n<td>endTime</td>\n<td>Date &amp; time that line item should stop serving</td>\n</tr>\n<tr>\n<td>timeCreated</td>\n<td>Date &amp; time that line item was created</td>\n</tr>\n<tr>\n<td>timeEdited</td>\n<td>Date &amp; time that line item was last updated</td>\n</tr>\n<tr>\n<td>timeZone</td>\n<td>Time zone</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-status\">Possible values for status</h4>\n<ol>\n<li><code>Draft</code></li>\n<li><code>Live</code></li>\n<li><code>Paused</code></li>\n<li><code>Deleted</code></li>\n<li><code>Pending Approval</code></li>\n<li><code>Disapproved</code></li>\n<li><code>Completed</code></li>\n<li><code>Inactive</code></li>\n</ol>\n<h4 id=\"bid-response-fields\">Bid Response Fields</h4>\n<p>The following are the fields returned in the <code>bid</code> object contained in the response:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>bidMicroValue</td>\n<td>The bid amount (adjusted based on the bid modifier) divided by 1 million</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>The currency for the line item bid</td>\n</tr>\n<tr>\n<td>dailyCap</td>\n<td>If the line item has a daily budget, this field contains the budget amount</td>\n</tr>\n<tr>\n<td>maxCap</td>\n<td>If the line item has a lifetime budget, this field contains the budget amount</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d87ecd4-4ff3-4bdd-a14f-89684f891551"},{"name":"getAllPartnerCreatives","id":"d24c8066-0e2f-4e3d-ba32-1aa56fc037e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","type":"text","description":"<p>Valid token must be passed to use the API</p>\n"}],"body":{"mode":"graphql","graphql":{"query":"query {\n    getAllPartnerCreatives(clientId: \"\") {\n        id\n        name\n        timeCreated\n        timeEdited\n        creativeJsonScript\n        creativeTemplateId\n    }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Returns a list of all the creatives for a particular client.</p>\n<h4 id=\"request-arguments\">Request Arguments</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Argument</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>clientId</td>\n<td>Client ID</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Creative ID</td>\n</tr>\n<tr>\n<td>name</td>\n<td>Creative name</td>\n</tr>\n<tr>\n<td>timeCreated</td>\n<td>Date &amp; time that creative was created</td>\n</tr>\n<tr>\n<td>timeEdited</td>\n<td>Date &amp; time that creative was last updated</td>\n</tr>\n<tr>\n<td>creativeJsonScript</td>\n<td>JSON containing properties of the creative</td>\n</tr>\n<tr>\n<td>creativeTemplateId</td>\n<td>Creative template ID</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d24c8066-0e2f-4e3d-ba32-1aa56fc037e4"},{"name":"getAccount","id":"580460e0-4932-459d-bd63-83134ede75a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer <INSERT TOKEN HERE>","description":"<p>Valid token must be passed to use the API</p>\n","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\n    getAccount {\n        id\n        userName\n        firstName\n        lastName\n        email\n        status\n        userDetails\n        clientName\n    }\n}","variables":""}},"url":"https://ads.nextdoor-test.com/graphql/api/v1","description":"<p>Returns basic information on the Nextdoor Ads user account that's currently logged in.</p>\n<h4 id=\"response-fields\">Response Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>User ID</td>\n</tr>\n<tr>\n<td>userName</td>\n<td>Username</td>\n</tr>\n<tr>\n<td>firstName</td>\n<td>User's first name</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td>User's last name</td>\n</tr>\n<tr>\n<td>email</td>\n<td>User's email address</td>\n</tr>\n<tr>\n<td>status</td>\n<td>The status of the user account</td>\n</tr>\n<tr>\n<td>userDetails</td>\n<td>JSON string containing the user's business name and industry</td>\n</tr>\n<tr>\n<td>clientName</td>\n<td>Name of advertiser/client associated with user account</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"possible-values-for-status\">Possible values for status</h4>\n<ol>\n<li><code>Live</code></li>\n<li><code>Deleted</code></li>\n<li><code>Pending Approval</code></li>\n</ol>\n","urlObject":{"protocol":"https","path":["graphql","api","v1"],"host":["ads","nextdoor-test","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"580460e0-4932-459d-bd63-83134ede75a1"}]}