{"_id":"5a3254fec049430012f55873","category":{"_id":"5a3254fdc049430012f5586e","version":"5a3254fdc049430012f5586d","project":"5587ff91b3bcf52b0051314f","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-06-22T12:29:06.930Z","from_sync":false,"order":0,"slug":"proof-of-concept-documentation","title":"Screen6 Documentation"},"project":"5587ff91b3bcf52b0051314f","user":"5587ff84b3bcf52b0051314e","parentDoc":null,"version":{"_id":"5a3254fdc049430012f5586d","project":"5587ff91b3bcf52b0051314f","__v":3,"createdAt":"2017-12-14T10:39:57.964Z","releaseDate":"2017-12-14T10:39:57.964Z","categories":["5a3254fdc049430012f5586e","5a3255199a6f2000125c0d61","5bbc98ba817d5b00038e914a"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.6.0","version":"1.6"},"githubsync":"","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-06-22T12:45:14.502Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"We can accept multiple sources, each with their own format configured. \n\nIf the suggested formats or batch collection methods do not apply to your data ecosystem, please contact Screen6 Ops for alternatives.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Sample 1 - Two ID types\"\n}\n[/block]\nEach ID type has its own column: timestamp, IP, cookie ID, IDFA and user agent.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Timestamp\",\n    \"h-1\": \"IP\",\n    \"h-2\": \"CookieID\",\n    \"h-3\": \"IDFA\",\n    \"h-4\": \"UserAgent\",\n    \"0-0\": \"1412845993\",\n    \"0-1\": \"1.2.3.4\",\n    \"0-2\": \"123456789\",\n    \"0-3\": \"987654321\",\n    \"0-4\": \"Mozilla/5/...\"\n  },\n  \"cols\": 5,\n  \"rows\": 1\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Sample 2 - 1st and 3rd party cookies\"\n}\n[/block]\nIf your data contains 1st party cookies (cookies set on the domain of the website), then the domain on which the cookie was set should be listed in a UID Type column. \n\nYou can mix 1st and 3rd party cookies by setting a default domain in case of 3rd party cookies (use empty string or 'yourdomain.com').\n[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"2014-10-03T06:58:45+00:00\",\n    \"1-0\": \"2014-10-03T06:59:12+00:00\",\n    \"2-0\": \"2014-10-03T06:59:52+00:00\",\n    \"h-0\": \"Datetime\",\n    \"h-1\": \"IP\",\n    \"0-1\": \"1.2.3.4\",\n    \"1-1\": \"5.6.7.8\",\n    \"2-1\": \"3.4.5.6\",\n    \"h-2\": \"CookieID\",\n    \"h-3\": \"UIDType\",\n    \"h-4\": \"UserAgent\",\n    \"0-4\": \"Mozilla/5/...\",\n    \"1-4\": \"Mozilla/5/...\",\n    \"2-4\": \"Mozilla/5/...\",\n    \"0-2\": \"12345678\",\n    \"1-2\": \"34567890\",\n    \"2-2\": \"23456789\",\n    \"0-3\": \"host2.com\",\n    \"1-3\": \"host1.com\",\n    \"2-3\": \"yourdomain.com\"\n  },\n  \"cols\": 5,\n  \"rows\": 3\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Sample 3 - Multiple types in one column, additional ID Type column\"\n}\n[/block]\nIn the next example there are separate columns for CookieIDs and DeviceIDs. The type of DeviceIID is further specified in the DeviceID_type column.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Datetime\",\n    \"h-1\": \"IP\",\n    \"h-2\": \"CookieID\",\n    \"h-3\": \"DeviceID\",\n    \"h-4\": \"DeviceIDtype\",\n    \"0-0\": \"2014-10-03T06:58:45+00:00\",\n    \"0-1\": \"1.2.3.4\",\n    \"0-2\": \"123456789\",\n    \"0-3\": \"abcdef\",\n    \"0-4\": \"didmd5\",\n    \"1-0\": \"2014-10-03T06:59:22+00:00\",\n    \"1-1\": \"5.6.7.8\",\n    \"1-2\": \"987654321\",\n    \"1-3\": \"ghijklm\",\n    \"1-4\": \"ifa\",\n    \"h-5\": \"UserAgent\",\n    \"0-5\": \"Mozilla/5/...\",\n    \"1-5\": \"Mozilla/5/...\"\n  },\n  \"cols\": 6,\n  \"rows\": 2\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"danger\",\n  \"body\": \"It's always preferred to give each UID Type its own column. However if this is complicated due to technical reasons then UID type columns may be used.\",\n  \"title\": \"Preferred way of logging multiple UID types\"\n}\n[/block]\n\n[block:api-header]\n{\n  \"title\": \"Example TSV text data\"\n}\n[/block]\n```\n35.196.97.36<tab>1537358370<tab>abcdef12345<tab>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36\n35.196.97.36<tab>1537356920<tab>dfdkkdf34567<tab>Mozilla/5.0 (Linux; Android 8.0.0; SM-G950F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.91 Mobile Safari/537.36 \n```","excerpt":"Examples of supported content structure","slug":"log-file-samples","type":"basic","title":"Content samples"}

Content samples

Examples of supported content structure

We can accept multiple sources, each with their own format configured. If the suggested formats or batch collection methods do not apply to your data ecosystem, please contact Screen6 Ops for alternatives. [block:api-header] { "type": "basic", "title": "Sample 1 - Two ID types" } [/block] Each ID type has its own column: timestamp, IP, cookie ID, IDFA and user agent. [block:parameters] { "data": { "h-0": "Timestamp", "h-1": "IP", "h-2": "CookieID", "h-3": "IDFA", "h-4": "UserAgent", "0-0": "1412845993", "0-1": "1.2.3.4", "0-2": "123456789", "0-3": "987654321", "0-4": "Mozilla/5/..." }, "cols": 5, "rows": 1 } [/block] [block:api-header] { "type": "basic", "title": "Sample 2 - 1st and 3rd party cookies" } [/block] If your data contains 1st party cookies (cookies set on the domain of the website), then the domain on which the cookie was set should be listed in a UID Type column. You can mix 1st and 3rd party cookies by setting a default domain in case of 3rd party cookies (use empty string or 'yourdomain.com'). [block:parameters] { "data": { "0-0": "2014-10-03T06:58:45+00:00", "1-0": "2014-10-03T06:59:12+00:00", "2-0": "2014-10-03T06:59:52+00:00", "h-0": "Datetime", "h-1": "IP", "0-1": "1.2.3.4", "1-1": "5.6.7.8", "2-1": "3.4.5.6", "h-2": "CookieID", "h-3": "UIDType", "h-4": "UserAgent", "0-4": "Mozilla/5/...", "1-4": "Mozilla/5/...", "2-4": "Mozilla/5/...", "0-2": "12345678", "1-2": "34567890", "2-2": "23456789", "0-3": "host2.com", "1-3": "host1.com", "2-3": "yourdomain.com" }, "cols": 5, "rows": 3 } [/block] [block:api-header] { "type": "basic", "title": "Sample 3 - Multiple types in one column, additional ID Type column" } [/block] In the next example there are separate columns for CookieIDs and DeviceIDs. The type of DeviceIID is further specified in the DeviceID_type column. [block:parameters] { "data": { "h-0": "Datetime", "h-1": "IP", "h-2": "CookieID", "h-3": "DeviceID", "h-4": "DeviceIDtype", "0-0": "2014-10-03T06:58:45+00:00", "0-1": "1.2.3.4", "0-2": "123456789", "0-3": "abcdef", "0-4": "didmd5", "1-0": "2014-10-03T06:59:22+00:00", "1-1": "5.6.7.8", "1-2": "987654321", "1-3": "ghijklm", "1-4": "ifa", "h-5": "UserAgent", "0-5": "Mozilla/5/...", "1-5": "Mozilla/5/..." }, "cols": 6, "rows": 2 } [/block] [block:callout] { "type": "danger", "body": "It's always preferred to give each UID Type its own column. However if this is complicated due to technical reasons then UID type columns may be used.", "title": "Preferred way of logging multiple UID types" } [/block] [block:api-header] { "title": "Example TSV text data" } [/block] ``` 35.196.97.36<tab>1537358370<tab>abcdef12345<tab>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 35.196.97.36<tab>1537356920<tab>dfdkkdf34567<tab>Mozilla/5.0 (Linux; Android 8.0.0; SM-G950F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.91 Mobile Safari/537.36 ```