{"_id":"55f1d6593936d52d00fb3d22","__v":5,"category":{"_id":"55f1d5c7fd98c42300acc69f","pages":["55f1d6593936d52d00fb3d22"],"version":"55de06fa57f7b20d0097636e","__v":1,"project":"55de06fa57f7b20d0097636b","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-09-10T19:11:03.390Z","from_sync":false,"order":6,"slug":"console","title":"Console"},"version":{"_id":"55de06fa57f7b20d0097636e","project":"55de06fa57f7b20d0097636b","__v":14,"createdAt":"2015-08-26T18:35:38.642Z","releaseDate":"2015-08-26T18:35:38.642Z","categories":["55de06fb57f7b20d0097636f","55f1962e3936d52d00fb3c8f","55f1970339e3e8190068b2b8","55f1970d229b772300779a1f","55f1971cfd98c42300acc605","55f1d5c7fd98c42300acc69f","563cbfe4260dde0d00c5e9d4","5644cf437f1fff210078e690","57dc1bbd3ed3450e00dc9ea7","58a600a2243dd30f00fd8773","58ed1bdc068f780f00f64602","58f13b3a4f0ee50f00e24e81","58f173f792f9020f009cad16","591b42f8e633fd0f00077c5a"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"user":"55de06e19db51a0d0064947d","parentDoc":null,"project":"55de06fa57f7b20d0097636b","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-09-10T19:13:29.512Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"The PushSpring console allows you to upload an audience which is then matched against our pool of devices.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Basic Format\"\n}\n[/block]\nThe format of the file is expected to be an Android advertising id or iOS IDFA followed by a line break.  We support CR, LF or CRLF.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"38b0852c-9673-4230-9b58-e0a336a348fe\\n4175f9fa-83db-4da7-95d6-62d1f2296c56\\n689626da-ebe3-4e01-a505-e36b09acae33\\n7f9e25cd-119b-44f3-8351-5c95ce3f8009\\n80b7407f-abee-42c2-86c2-00b49241c214\\n8d553fa4-1173-4263-b9b2-4ed33b6a5d60\\n964cf285-ee6a-4161-a291-3dbeda009a37\\n00026568-4479-4768-8aa1-42af920fefe5\\n000857c8-da88-4fd3-b853-1d919f982ff0\\n000c1019-f6cf-49d8-acc7-83ff7b1883f2\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]\nDuplicates will be removed during the matching process.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Event Format\"\n}\n[/block]\nYou can optionally specify one or more events for each device.  To specify an event put a comma after the device identifier and then the text of the event name.  You may use any event names that make sense to you, and they will become available in the PushSpring Console after the upload is processed.\n\nNote there are three \"special\" event names that are treated specifically in the PushSpring Console:\n\n* impression\n* click\n* conversion\n\nIf generating files from a platform which tracks these advertising-related events, please try to use these event names if possible.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"38b0852c-9673-4230-9b58-e0a336a348fe,impression\\n4175f9fa-83db-4da7-95d6-62d1f2296c56,impression\\n689626da-ebe3-4e01-a505-e36b09acae33,impression\\n7f9e25cd-119b-44f3-8351-5c95ce3f8009,impression\\n80b7407f-abee-42c2-86c2-00b49241c214,impression\\n8d553fa4-1173-4263-b9b2-4ed33b6a5d60,impression\\n964cf285-ee6a-4161-a291-3dbeda009a37,impression\\n00026568-4479-4768-8aa1-42af920fefe5,impression\\n000857c8-da88-4fd3-b853-1d919f982ff0,impression\\n689626da-ebe3-4e01-a505-e36b09acae33,click\\n000c1019-f6cf-49d8-acc7-83ff7b1883f2,impression\\n964cf285-ee6a-4161-a291-3dbeda009a37,click\\n689626da-ebe3-4e01-a505-e36b09acae33,conversion\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]\nEvery line does not have to specify an event.  If a single device has more than one event associated with it, create a row for each event repeating the event name.","excerpt":"","slug":"uploading-audiences","type":"basic","title":"Uploading Audiences"}

Uploading Audiences


The PushSpring console allows you to upload an audience which is then matched against our pool of devices. [block:api-header] { "type": "basic", "title": "Basic Format" } [/block] The format of the file is expected to be an Android advertising id or iOS IDFA followed by a line break. We support CR, LF or CRLF. [block:code] { "codes": [ { "code": "38b0852c-9673-4230-9b58-e0a336a348fe\n4175f9fa-83db-4da7-95d6-62d1f2296c56\n689626da-ebe3-4e01-a505-e36b09acae33\n7f9e25cd-119b-44f3-8351-5c95ce3f8009\n80b7407f-abee-42c2-86c2-00b49241c214\n8d553fa4-1173-4263-b9b2-4ed33b6a5d60\n964cf285-ee6a-4161-a291-3dbeda009a37\n00026568-4479-4768-8aa1-42af920fefe5\n000857c8-da88-4fd3-b853-1d919f982ff0\n000c1019-f6cf-49d8-acc7-83ff7b1883f2", "language": "text" } ] } [/block] Duplicates will be removed during the matching process. [block:api-header] { "type": "basic", "title": "Event Format" } [/block] You can optionally specify one or more events for each device. To specify an event put a comma after the device identifier and then the text of the event name. You may use any event names that make sense to you, and they will become available in the PushSpring Console after the upload is processed. Note there are three "special" event names that are treated specifically in the PushSpring Console: * impression * click * conversion If generating files from a platform which tracks these advertising-related events, please try to use these event names if possible. [block:code] { "codes": [ { "code": "38b0852c-9673-4230-9b58-e0a336a348fe,impression\n4175f9fa-83db-4da7-95d6-62d1f2296c56,impression\n689626da-ebe3-4e01-a505-e36b09acae33,impression\n7f9e25cd-119b-44f3-8351-5c95ce3f8009,impression\n80b7407f-abee-42c2-86c2-00b49241c214,impression\n8d553fa4-1173-4263-b9b2-4ed33b6a5d60,impression\n964cf285-ee6a-4161-a291-3dbeda009a37,impression\n00026568-4479-4768-8aa1-42af920fefe5,impression\n000857c8-da88-4fd3-b853-1d919f982ff0,impression\n689626da-ebe3-4e01-a505-e36b09acae33,click\n000c1019-f6cf-49d8-acc7-83ff7b1883f2,impression\n964cf285-ee6a-4161-a291-3dbeda009a37,click\n689626da-ebe3-4e01-a505-e36b09acae33,conversion", "language": "text" } ] } [/block] Every line does not have to specify an event. If a single device has more than one event associated with it, create a row for each event repeating the event name.