{"__v":24,"_id":"56f8c5a9d4939e0e006b43dd","category":{"__v":6,"_id":"55f9dbefc7ef770d00d9bf6d","pages":["55f9eec4c7ef770d00d9bf83","55f9fb8daba81f0d00a11566","5601ca6870694e0d00e3c66f","5601cb9b96e0f70d0044b0fd","56157d7af2d81d0d006c895f","5671d738c17bf90d00b95822"],"project":"5429beef1163360800ed31fa","version":"5429beef1163360800ed31fd","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"},"parentDoc":null,"project":"5429beef1163360800ed31fa","user":"5429becb1163360800ed31f8","version":{"__v":20,"_id":"5429beef1163360800ed31fd","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"],"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":"2016-03-28T05:48:25.680Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":9,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Overview\"\n}\n[/block]\nProfile DB allows you to segment your user data into various buckets that could be used for targeted ad serving capabilities.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/M296gEWDR066qXuqIP77_Pasted%20image%20at%202016_03_28%2008_52%20AM.png\",\n        \"Pasted image at 2016_03_28 08_52 AM.png\",\n        \"1674\",\n        \"559\",\n        \"#37aba9\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nYou can either directly upload your user data using profile DB sync API or you can sync your user segments from any of DMP partners that you already work with. \n\nFor ad serving, you can access this user data using [key/value pair targeting](http://dev.adsnative.com/v1.0/docs/key-value-targeting-setup). Given below is the diagram on how it will work. \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/cxBYnFOFQxhJBivFQYCm_Screen%20Shot%202016-03-28%20at%2011.58.11%20AM.png\",\n        \"Screen Shot 2016-03-28 at 11.58.11 AM.png\",\n        \"2236\",\n        \"1006\",\n        \"#a01e35\",\n        \"\"\n      ],\n      \"sizing\": \"full\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Creating & Managing Audience Segments\"\n}\n[/block]\nPublishers can create and manage audience segments through [AdsNative Console](https://console.adsnative.com).\n\nAudience Segments are available under \"Placements\" tab on Console.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/mLmVXnslSOiOik7o373F_profiledb_1.png\",\n        \"profiledb_1.png\",\n        \"2384\",\n        \"1054\",\n        \"#35a1ce\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nYou can create a new segment by clicking on \"Create Segment\"\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/UUQ0tDcTjCudH0je8qXA_profiledb_2.png\",\n        \"profiledb_2.png\",\n        \"2350\",\n        \"784\",\n        \"#3f93c1\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nEnter segment details in the modal that appears. You can either choose to create a segment at a property (site) level or global level. The segment created as Global essentially applies to audience belonging to all of your properties under your account.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/ndnxkeBSS9Kz2OW4qB2k_profiledb_3.png\",\n        \"profiledb_3.png\",\n        \"1100\",\n        \"930\",\n        \"#2e455a\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nOnce segment is created, you can see the segment token generated (unique to each segment). Please use this segment token when you are capturing users into the segment.\n\nInstructions to capture yours users into segments can be found below.\n\n[API Integration](http://dev.adsnative.com/v1.0/docs/audience-segments-api)\n[JavaScript (Web) Integration](http://dev.adsnative.com/v1.0/docs/audience-segments-js)","excerpt":"Documentation for creating and managing audience segments","slug":"profile-db","type":"basic","title":"Profile DB (Audience Segments)"}

Profile DB (Audience Segments)

Documentation for creating and managing audience segments

[block:api-header] { "type": "basic", "title": "Overview" } [/block] Profile DB allows you to segment your user data into various buckets that could be used for targeted ad serving capabilities. [block:image] { "images": [ { "image": [ "https://files.readme.io/M296gEWDR066qXuqIP77_Pasted%20image%20at%202016_03_28%2008_52%20AM.png", "Pasted image at 2016_03_28 08_52 AM.png", "1674", "559", "#37aba9", "" ] } ] } [/block] You can either directly upload your user data using profile DB sync API or you can sync your user segments from any of DMP partners that you already work with. For ad serving, you can access this user data using [key/value pair targeting](http://dev.adsnative.com/v1.0/docs/key-value-targeting-setup). Given below is the diagram on how it will work. [block:image] { "images": [ { "image": [ "https://files.readme.io/cxBYnFOFQxhJBivFQYCm_Screen%20Shot%202016-03-28%20at%2011.58.11%20AM.png", "Screen Shot 2016-03-28 at 11.58.11 AM.png", "2236", "1006", "#a01e35", "" ], "sizing": "full" } ] } [/block] [block:api-header] { "type": "basic", "title": "Creating & Managing Audience Segments" } [/block] Publishers can create and manage audience segments through [AdsNative Console](https://console.adsnative.com). Audience Segments are available under "Placements" tab on Console. [block:image] { "images": [ { "image": [ "https://files.readme.io/mLmVXnslSOiOik7o373F_profiledb_1.png", "profiledb_1.png", "2384", "1054", "#35a1ce", "" ] } ] } [/block] You can create a new segment by clicking on "Create Segment" [block:image] { "images": [ { "image": [ "https://files.readme.io/UUQ0tDcTjCudH0je8qXA_profiledb_2.png", "profiledb_2.png", "2350", "784", "#3f93c1", "" ] } ] } [/block] Enter segment details in the modal that appears. You can either choose to create a segment at a property (site) level or global level. The segment created as Global essentially applies to audience belonging to all of your properties under your account. [block:image] { "images": [ { "image": [ "https://files.readme.io/ndnxkeBSS9Kz2OW4qB2k_profiledb_3.png", "profiledb_3.png", "1100", "930", "#2e455a", "" ] } ] } [/block] Once segment is created, you can see the segment token generated (unique to each segment). Please use this segment token when you are capturing users into the segment. Instructions to capture yours users into segments can be found below. [API Integration](http://dev.adsnative.com/v1.0/docs/audience-segments-api) [JavaScript (Web) Integration](http://dev.adsnative.com/v1.0/docs/audience-segments-js)