{"__v":4,"_id":"55f1d6593936d52d00fb3d22","category":{"__v":1,"_id":"55f1d5c7fd98c42300acc69f","pages":["55f1d6593936d52d00fb3d22"],"project":"55de06fa57f7b20d0097636b","version":"55de06fa57f7b20d0097636e","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-09-10T19:11:03.390Z","from_sync":false,"order":6,"slug":"console","title":"Console"},"parentDoc":null,"project":"55de06fa57f7b20d0097636b","user":"55de06e19db51a0d0064947d","version":{"__v":13,"_id":"55de06fa57f7b20d0097636e","project":"55de06fa57f7b20d0097636b","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"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"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\": \"asdf0asdfasdfasdfasd\\nasdfasdf09asdfasdfas\\nasdfasdfasdfasdfasdf\",\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.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"asdf0asdfasdfasdfasd,Purchased\\nasdf0asdfasdfasdfasd,Upgraded\\nasdfasdf09asdfasdfas,Upgraded\\nasdfasdfasdfasdfasdf\\nasdfasdf09asdfasdfas,Downgraded\",\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": "asdf0asdfasdfasdfasd\nasdfasdf09asdfasdfas\nasdfasdfasdfasdfasdf", "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. [block:code] { "codes": [ { "code": "asdf0asdfasdfasdfasd,Purchased\nasdf0asdfasdfasdfasd,Upgraded\nasdfasdf09asdfasdfas,Upgraded\nasdfasdfasdfasdfasdf\nasdfasdf09asdfasdfas,Downgraded", "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.