{"__v":0,"_id":"57f6772e2da80e2000790842","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":"569d8ad30306a10d00ce9a1f","version":{"__v":21,"_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","591b8500e3992319007190f4"],"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-10-06T16:09:18.293Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":15,"body":"You can setup one or more impression tag(s) per creative under campaign settings page. \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/244cd9b-Screen_Shot_2016-10-06_at_9.00.40_AM.png\",\n        \"Screen Shot 2016-10-06 at 9.00.40 AM.png\",\n        1036,\n        732,\n        \"#f4f6ea\"\n      ],\n      \"caption\": \"\\\"Impression Tag\\\" field where you will be adding the tracking pixels wrapped in <img> tags.\"\n    }\n  ]\n}\n[/block]\nUsually advertisers provide the impression tags which are pixels wrapped in <img> tag, in that case all you have to do is paste the tag as is in the \"Impression Tag\" field.\n\nIf your advertiser has provided just a raw pixel URL, you just have to manually wrap it within a <img> tag as shown below. All three versions have the same format with slight variations in the style variable. It is up to you and the advertiser to choose which format to use. Here are a few examples:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"1 > <img src=\\\"TRACKING-PIXEL-URL-GOES-HERE\\\" style=\\\"position:absolute; visibility:hidden\\\">\\n\\n2 > <img src=\\\"TRACKING-PIXEL-URL-GOES-HERE\\\" style=\\\"display:none\\\">\\n\\n3 > <img src=\\\"TRACKING-PIXEL-URL-GOES-HERE\\\" width=\\\"0\\\" height=\\\"0\\\">\",\n      \"language\": \"html\"\n    }\n  ]\n}\n[/block]\nNote:\n* The tracking pixel will count an impression every time you view the creative, including previews.\n* AdsNative supports only secure / https pixels as part of impressions tags.\n* You can add more than one Impression tags (<img> tags) within the same field.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/bfc306a-Screen_Shot_2016-10-06_at_9.17.31_AM.png\",\n        \"Screen Shot 2016-10-06 at 9.17.31 AM.png\",\n        1005,\n        306,\n        \"#fbfbeb\"\n      ]\n    }\n  ]\n}\n[/block]\nIf you are integrating via server side API, Impression <img> tags will be parsed and the actual Pixel URLs will be returned as part of the \"impressions\" array in API response as shown below\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/efb7929-Screen_Shot_2016-10-06_at_9.15.19_AM.png\",\n        \"Screen Shot 2016-10-06 at 9.15.19 AM.png\",\n        924,\n        334,\n        \"#1528c1\"\n      ]\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"setup-3rd-party-impression-tags","type":"basic","title":"Setup 3rd party Impression Tags"}

Setup 3rd party Impression Tags


You can setup one or more impression tag(s) per creative under campaign settings page. [block:image] { "images": [ { "image": [ "https://files.readme.io/244cd9b-Screen_Shot_2016-10-06_at_9.00.40_AM.png", "Screen Shot 2016-10-06 at 9.00.40 AM.png", 1036, 732, "#f4f6ea" ], "caption": "\"Impression Tag\" field where you will be adding the tracking pixels wrapped in <img> tags." } ] } [/block] Usually advertisers provide the impression tags which are pixels wrapped in <img> tag, in that case all you have to do is paste the tag as is in the "Impression Tag" field. If your advertiser has provided just a raw pixel URL, you just have to manually wrap it within a <img> tag as shown below. All three versions have the same format with slight variations in the style variable. It is up to you and the advertiser to choose which format to use. Here are a few examples: [block:code] { "codes": [ { "code": "1 > <img src=\"TRACKING-PIXEL-URL-GOES-HERE\" style=\"position:absolute; visibility:hidden\">\n\n2 > <img src=\"TRACKING-PIXEL-URL-GOES-HERE\" style=\"display:none\">\n\n3 > <img src=\"TRACKING-PIXEL-URL-GOES-HERE\" width=\"0\" height=\"0\">", "language": "html" } ] } [/block] Note: * The tracking pixel will count an impression every time you view the creative, including previews. * AdsNative supports only secure / https pixels as part of impressions tags. * You can add more than one Impression tags (<img> tags) within the same field. [block:image] { "images": [ { "image": [ "https://files.readme.io/bfc306a-Screen_Shot_2016-10-06_at_9.17.31_AM.png", "Screen Shot 2016-10-06 at 9.17.31 AM.png", 1005, 306, "#fbfbeb" ] } ] } [/block] If you are integrating via server side API, Impression <img> tags will be parsed and the actual Pixel URLs will be returned as part of the "impressions" array in API response as shown below [block:image] { "images": [ { "image": [ "https://files.readme.io/efb7929-Screen_Shot_2016-10-06_at_9.15.19_AM.png", "Screen Shot 2016-10-06 at 9.15.19 AM.png", 924, 334, "#1528c1" ] } ] } [/block]