{"_id":"5aafbc0989bc360058d024d3","project":"5429beef1163360800ed31fa","version":{"_id":"5429beef1163360800ed31fd","__v":22,"project":"5429beef1163360800ed31fa","createdAt":"2014-09-29T20:19:59.904Z","releaseDate":"2014-09-29T20:19:59.904Z","categories":["5429beef1163360800ed31fe","55e74e1f5d36b32b002563fa","55e7500a73169617001f2e86","55e76b8196131b2f00bf4b72","55e89569cdbb8a350096df9c","55f8935eb089b71700a8364e","55f8a67d3bb4bb0d0022d093","55f9dbefc7ef770d00d9bf6d","5601c21a22ecf60d002b27b3","5601c21ff12aee0d001bb06e","5601c2256c7b610d00280db5","5601c22c22ecf60d002b27b4","5603738d0c78b00d0039af47","5626f70bfcbbc621004ebf52","566f7a1ae144ab0d00e9732f","566f85ca7820960d00c3b93d","56708ce43a32d20d00c45cbf","56708d436995210d003aad8e","5736471abe10a9200030732c","57a82c7aff9bd30e00a6f1c1","591b8500e3992319007190f4","5a3718305c66a60012d960ba"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"55f9dbefc7ef770d00d9bf6d","version":"5429beef1163360800ed31fd","__v":6,"pages":["55f9eec4c7ef770d00d9bf83","55f9fb8daba81f0d00a11566","5601ca6870694e0d00e3c66f","5601cb9b96e0f70d0044b0fd","56157d7af2d81d0d006c895f","5671d738c17bf90d00b95822"],"project":"5429beef1163360800ed31fa","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-09-16T21:15:27.664Z","from_sync":false,"order":4,"slug":"publisher-ui-setup","title":"Trafficking and Inventory"},"user":"59521bff71e9dd0015d8e05e","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-03-19T13:32:57.715Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":true,"order":35,"body":"To bulk select/ unselect/ block/unblock placements, we provide **CSV Upload** feature.\nIt also supports bulk upload of **keyword** targets to campaign\n\nPolymorph UI supports two kinds of CSV upload.\n[block:api-header]\n{\n  \"title\": \"Keywords\"\n}\n[/block]\nUsed to target multiple keywords to campaign without having to edit the campaign manually\nCSV file should have the format **campaign_id,keyword**. The header row is mandatory.\n\n**Follow the below steps to use keyword CSV targeting**\n\n1. Create a csv file in the mentioned format. Sample CSV file is shared below\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Sample Keywords Upload CSV files\",\n  \"body\": \"campaign_id,keyword\\n26130,bigdata\\n26130,power\\n26130,auto\\n25946,auto\"\n}\n[/block]\n2. Click on CSV upload button on the right top corner under campaigns dashboard\n    https://console.getpolymorph.com/campaigns/#/\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/2440fdd-Screen_Shot_2018-03-20_at_12.13.56.png\",\n        \"Screen Shot 2018-03-20 at 12.13.56.png\",\n        928,\n        624,\n        \"#edeff0\"\n      ]\n    }\n  ]\n}\n[/block]\n3. The CSV upload popup appears. Either click on the keyword CSV button or drag and drop the CSV file over the button\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/1026685-Screen_Shot_2018-03-20_at_12.16.46.png\",\n        \"Screen Shot 2018-03-20 at 12.16.46.png\",\n        482,\n        393,\n        \"#d8dce2\"\n      ]\n    }\n  ]\n}\n[/block]\n4. Once the keywords are successfully updated, you can see a notification\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/5106b51-Screen_Shot_2018-03-20_at_12.19.57.png\",\n        \"Screen Shot 2018-03-20 at 12.19.57.png\",\n        1308,\n        24,\n        \"#24ac5c\"\n      ]\n    }\n  ]\n}\n[/block]\n5. If there are any issues while uploading the CSV(if the campaign mentioned doesn't exist), then an error message will be displayed\n6. Keywords targeted to the campaign can be viewed under Campaign Edit -> Campaign Settings->Targeting->Keywords\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/da750bf-Screen_Shot_2018-03-20_at_12.29.29.png\",\n        \"Screen Shot 2018-03-20 at 12.29.29.png\",\n        544,\n        277,\n        \"#148acd\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"title\": \"Placement Targets\"\n}\n[/block]\nUsed to select, deslect, block, unblock placements to campaign without having to edit the campaign manually\nCSV file should have the format **campaign_id,placement_id, action**. The header row is mandatory.\n\n**Follow the below steps to use placement CSV targeting**\n1. Create a csv file in the mentioned format. Sample CSV file is shared below\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"campaign\",\n  \"body\": \"campaign_id,placement_id,action \\n26130,33657,select \\n26130,17843,block \\n26130,18101,select \\n26130,18163,block \\n26130,18306,select \\n26130,18567,block \\n26130,18568,select \\n26130,19384,block \\n26130,21110,select\"\n}\n[/block]\n2. Click on CSV upload button on the right top corner under campaigns dashboard\n    https://console.getpolymorph.com/campaigns/#/\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/416dc3f-2440fdd-Screen_Shot_2018-03-20_at_12.13.56.png\",\n        \"2440fdd-Screen_Shot_2018-03-20_at_12.13.56.png\",\n        928,\n        624,\n        \"#edeff0\"\n      ]\n    }\n  ]\n}\n[/block]\n3. The CSV upload popup appears. Either click on the Placement Targets CSV button or drag and drop the CSV file over the button\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/92d9775-Screen_Shot_2018-03-20_at_12.37.12.png\",\n        \"Screen Shot 2018-03-20 at 12.37.12.png\",\n        476,\n        391,\n        \"#d9dee4\"\n      ]\n    }\n  ]\n}\n[/block]\n4. Once the placements targets are successfully updated, you can see a notification\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/3088dc3-Screen_Shot_2018-03-20_at_12.41.20.png\",\n        \"Screen Shot 2018-03-20 at 12.41.20.png\",\n        937,\n        25,\n        \"#24ac5c\"\n      ]\n    }\n  ]\n}\n[/block]\n5. If there any issues while uploading the csv, error notification is shown\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/47adb46-Screen_Shot_2018-03-20_at_12.45.30.png\",\n        \"Screen Shot 2018-03-20 at 12.45.30.png\",\n        475,\n        26,\n        \"#ec4c3c\"\n      ]\n    }\n  ]\n}\n[/block]\n6. Updated campaign targeting can be viewed under Campaign Edit -> Campaign Settings->Advanced-. From the **Show** dropdown, select **Blocked** option to view blocked placements and **Targeted** option to view selected placements\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/f15d4aa-Screen_Shot_2018-03-20_at_12.50.41.png\",\n        \"Screen Shot 2018-03-20 at 12.50.41.png\",\n        893,\n        377,\n        \"#f2f3f3\"\n      ]\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"csv-upload","type":"basic","title":"CSV Upload"}
To bulk select/ unselect/ block/unblock placements, we provide **CSV Upload** feature. It also supports bulk upload of **keyword** targets to campaign Polymorph UI supports two kinds of CSV upload. [block:api-header] { "title": "Keywords" } [/block] Used to target multiple keywords to campaign without having to edit the campaign manually CSV file should have the format **campaign_id,keyword**. The header row is mandatory. **Follow the below steps to use keyword CSV targeting** 1. Create a csv file in the mentioned format. Sample CSV file is shared below [block:callout] { "type": "info", "title": "Sample Keywords Upload CSV files", "body": "campaign_id,keyword\n26130,bigdata\n26130,power\n26130,auto\n25946,auto" } [/block] 2. Click on CSV upload button on the right top corner under campaigns dashboard https://console.getpolymorph.com/campaigns/#/ [block:image] { "images": [ { "image": [ "https://files.readme.io/2440fdd-Screen_Shot_2018-03-20_at_12.13.56.png", "Screen Shot 2018-03-20 at 12.13.56.png", 928, 624, "#edeff0" ] } ] } [/block] 3. The CSV upload popup appears. Either click on the keyword CSV button or drag and drop the CSV file over the button [block:image] { "images": [ { "image": [ "https://files.readme.io/1026685-Screen_Shot_2018-03-20_at_12.16.46.png", "Screen Shot 2018-03-20 at 12.16.46.png", 482, 393, "#d8dce2" ] } ] } [/block] 4. Once the keywords are successfully updated, you can see a notification [block:image] { "images": [ { "image": [ "https://files.readme.io/5106b51-Screen_Shot_2018-03-20_at_12.19.57.png", "Screen Shot 2018-03-20 at 12.19.57.png", 1308, 24, "#24ac5c" ] } ] } [/block] 5. If there are any issues while uploading the CSV(if the campaign mentioned doesn't exist), then an error message will be displayed 6. Keywords targeted to the campaign can be viewed under Campaign Edit -> Campaign Settings->Targeting->Keywords [block:image] { "images": [ { "image": [ "https://files.readme.io/da750bf-Screen_Shot_2018-03-20_at_12.29.29.png", "Screen Shot 2018-03-20 at 12.29.29.png", 544, 277, "#148acd" ] } ] } [/block] [block:api-header] { "title": "Placement Targets" } [/block] Used to select, deslect, block, unblock placements to campaign without having to edit the campaign manually CSV file should have the format **campaign_id,placement_id, action**. The header row is mandatory. **Follow the below steps to use placement CSV targeting** 1. Create a csv file in the mentioned format. Sample CSV file is shared below [block:callout] { "type": "info", "title": "campaign", "body": "campaign_id,placement_id,action \n26130,33657,select \n26130,17843,block \n26130,18101,select \n26130,18163,block \n26130,18306,select \n26130,18567,block \n26130,18568,select \n26130,19384,block \n26130,21110,select" } [/block] 2. Click on CSV upload button on the right top corner under campaigns dashboard https://console.getpolymorph.com/campaigns/#/ [block:image] { "images": [ { "image": [ "https://files.readme.io/416dc3f-2440fdd-Screen_Shot_2018-03-20_at_12.13.56.png", "2440fdd-Screen_Shot_2018-03-20_at_12.13.56.png", 928, 624, "#edeff0" ] } ] } [/block] 3. The CSV upload popup appears. Either click on the Placement Targets CSV button or drag and drop the CSV file over the button [block:image] { "images": [ { "image": [ "https://files.readme.io/92d9775-Screen_Shot_2018-03-20_at_12.37.12.png", "Screen Shot 2018-03-20 at 12.37.12.png", 476, 391, "#d9dee4" ] } ] } [/block] 4. Once the placements targets are successfully updated, you can see a notification [block:image] { "images": [ { "image": [ "https://files.readme.io/3088dc3-Screen_Shot_2018-03-20_at_12.41.20.png", "Screen Shot 2018-03-20 at 12.41.20.png", 937, 25, "#24ac5c" ] } ] } [/block] 5. If there any issues while uploading the csv, error notification is shown [block:image] { "images": [ { "image": [ "https://files.readme.io/47adb46-Screen_Shot_2018-03-20_at_12.45.30.png", "Screen Shot 2018-03-20 at 12.45.30.png", 475, 26, "#ec4c3c" ] } ] } [/block] 6. Updated campaign targeting can be viewed under Campaign Edit -> Campaign Settings->Advanced-. From the **Show** dropdown, select **Blocked** option to view blocked placements and **Targeted** option to view selected placements [block:image] { "images": [ { "image": [ "https://files.readme.io/f15d4aa-Screen_Shot_2018-03-20_at_12.50.41.png", "Screen Shot 2018-03-20 at 12.50.41.png", 893, 377, "#f2f3f3" ] } ] } [/block]