{"_id":"57c834e059cd4b0e00b888f0","version":{"_id":"574ff4bd3fa1870e00889ba9","project":"574ff4bd3fa1870e00889ba6","__v":27,"createdAt":"2016-06-02T08:56:29.492Z","releaseDate":"2016-06-02T08:56:29.492Z","categories":["574ff4bd3fa1870e00889baa","577278ecdceb570e003a9001","577279865617b117009e643f","577279985617b117009e6440","577279bc8c48e00e00503504","5774fe18605b770e0037be8a","577ce3ad87acf617003c4187","577f8476a77c700e006a6c52","57b486ae0d2b640e00e9d3f5","57b722133d3e620e004ec74b","57bd95f00fe3a00e003e2cc5","57c8349359cd4b0e00b888ef","57c8349b5754fa1700b12242","57cedb0bad483e0e00890239","57cedbe807d7ea0e00e438cc","57d82967156ef72b007ffcd8","58ee353ad1ee2f0f0034a13d","596623221738df00298622a5","59a51730192dba000fc9ca38","59a8129f1e7b26000fa0fb1a","5a0322bf044b6f001c236e36","5a79897c5b6e430030746df6","5a79898c2b2d5f0012cbab63","5ab3b5e3d2d1e2006252a8f2","5b1a43bd678eab0003aa54a4","5b6d95e29d346300038baff3","5c77d3a1e0794000451bced2"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3.0"},"parentDoc":null,"githubsync":"","category":{"_id":"57c8349b5754fa1700b12242","project":"574ff4bd3fa1870e00889ba6","version":"574ff4bd3fa1870e00889ba9","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-09-01T14:00:59.579Z","from_sync":false,"order":4,"slug":"counter","title":"[PUBLISHER] Ad Tag"},"project":"574ff4bd3fa1870e00889ba6","user":"57a4ab017523720e00b4aa44","__v":1,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-09-01T14:02:08.487Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"Pubnative supports integration with MoPub as a Custom Network. If you’ve integrated the MoPub SDK already, you don’t need to write any extra code! Instead, you can place a Custom Network ad tag and target it to your existing inventory. Pubnative ad tag has built in support for failing over to the next ad source.\n\n\n\n## Create a New Custom Network\n\n  * Go to Networks\n  * Add a New Network\n  * Custom JS Network\n  * Save Section\n  * Go to Network Detail Page\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/8148fad-NetworksNewNetwork.png\",\n        \"NetworksNewNetwork.png\",\n        1454,\n        391,\n        \"#1b1c24\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/04d367f-AddNetwork.png\",\n        \"AddNetwork.png\",\n        992,\n        809,\n        \"#e9f1f5\"\n      ]\n    }\n  ]\n}\n[/block]\n## Create a New Order\n\n  * Click on the Orders tab in the header.\n\n  * Click the Create Order button.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/4771228-OrdersCreateOrder.png\",\n        \"OrdersCreateOrder.png\",\n        1454,\n        407,\n        \"#1b1c23\"\n      ]\n    }\n  ]\n}\n[/block]\n  * Enter a descriptive name for the order and set the Advertiser to “Pubnative”. \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/e130f3e-CreateOrder.png\",\n        \"CreateOrder.png\",\n        1454,\n        554,\n        \"#181920\"\n      ]\n    }\n  ]\n}\n[/block]\n## Create a New Line Item\n\nUse the following parameters in the Add a Line Item section:\n\n  * Type: “Network”\n  * Priority: 1\n  * Name: Descriptive label that contains the parameters of running this ad tag\n  * Network: “Custom Network”\n  * Name: “Pubnative Banner”\n  * Custom HTML: Add the HTML tag provided by your Pubnative account manager here\n  * Set the Delivery Speed option to “Spread Evenly”.\n  * Leave other fields as their default values.\n \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/e98e3bb-NewLineItem.png\",\n        \"NewLineItem.png\",\n        1454,\n        960,\n        \"#dfd9d6\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Waterfall Priority settings\",\n  \"body\": \"We recommend publishers to refrain from running PN ad tag on the last position of the waterfall. As this may result in discrepancies in impression numbers recorded in the Pubnative dashboard.\"\n}\n[/block]\n  * Find the Ad Unit to which you connect the ad tag\n  * Check the box under the AD UNITS column.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/bfc82bf-NewLineItemAdUnit.png\",\n        \"NewLineItemAdUnit.png\",\n        1454,\n        611,\n        \"#e5ebed\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Ad Unit supported\",\n  \"body\": \"Pubnative ad tag supports MREC, Banner, and Medium - 300x250 and 320x50 ad units ONLY\"\n}\n[/block]\n\n Geo, Connectivity, and Device Targeting section:\n \n* Select the Filter by device and OS option.\n* Set the Min to 4.4 for Android.\n* Leave other fields as their default values \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/0b766e2-NewLineItemAudience.png\",\n        \"NewLineItemAudience.png\",\n        1454,\n        960,\n        \"#e8eff0\"\n      ]\n    }\n  ]\n}\n[/block]\n  \n* Configure any custom targeting in the Advanced Targeting sections.\n\n* Click the Save and View button. \n\n* Send the “Ad Unit ID” to your Pubnative account manager. This will allow us to test your configuration.\n\n## Setup reports for discrepancy management\nIn order for PubNative to be able to effectively monitor discrepancies, it is required from you to also set up the automated reports. \n\n  * Go to Reports\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/f77a6d7-ReportsNewMoPubReport.png\",\n        \"ReportsNewMoPubReport.png\",\n        1454,\n        465,\n        \"#ecf5f7\"\n      ]\n    }\n  ]\n}\n[/block]\n  * Create a New MoPub Report\n\nUse the following parameters in the New Report section:\n  * Name: Your Account name in PubNative's dashboard\n  * Schedule: set to Daily\n  * Date Range: set to Last 7 days\n  * Recipients: add following emails; yield:::at:::pubnative.net, supply@pubnative.net, pubreports@pubnative.net\n  * Report Breakdown: Select Categories: Order, App, Line Item, Country, OS, Day.\nFor the categories Order, App, Line Item - select all of the items that are relevant to PubNative\nFor the categories Country, OS - choose the \"Select All\" row.\n  * Included Metrics: Attempts/Requests, Impressions, Clicks, Revenue\n  * Click on Run and Save\n\n\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/6d42f56-907d3bf-PN_MoPubReports.png\",\n        \"907d3bf-PN_MoPubReports.png\",\n        2130,\n        1610,\n        \"#eae7e3\"\n      ]\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"mopub-ad-tag-integration","type":"basic","title":"MoPub Ad Tag"}
Pubnative supports integration with MoPub as a Custom Network. If you’ve integrated the MoPub SDK already, you don’t need to write any extra code! Instead, you can place a Custom Network ad tag and target it to your existing inventory. Pubnative ad tag has built in support for failing over to the next ad source. ## Create a New Custom Network * Go to Networks * Add a New Network * Custom JS Network * Save Section * Go to Network Detail Page [block:image] { "images": [ { "image": [ "https://files.readme.io/8148fad-NetworksNewNetwork.png", "NetworksNewNetwork.png", 1454, 391, "#1b1c24" ] } ] } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/04d367f-AddNetwork.png", "AddNetwork.png", 992, 809, "#e9f1f5" ] } ] } [/block] ## Create a New Order * Click on the Orders tab in the header. * Click the Create Order button. [block:image] { "images": [ { "image": [ "https://files.readme.io/4771228-OrdersCreateOrder.png", "OrdersCreateOrder.png", 1454, 407, "#1b1c23" ] } ] } [/block] * Enter a descriptive name for the order and set the Advertiser to “Pubnative”. [block:image] { "images": [ { "image": [ "https://files.readme.io/e130f3e-CreateOrder.png", "CreateOrder.png", 1454, 554, "#181920" ] } ] } [/block] ## Create a New Line Item Use the following parameters in the Add a Line Item section: * Type: “Network” * Priority: 1 * Name: Descriptive label that contains the parameters of running this ad tag * Network: “Custom Network” * Name: “Pubnative Banner” * Custom HTML: Add the HTML tag provided by your Pubnative account manager here * Set the Delivery Speed option to “Spread Evenly”. * Leave other fields as their default values. [block:image] { "images": [ { "image": [ "https://files.readme.io/e98e3bb-NewLineItem.png", "NewLineItem.png", 1454, 960, "#dfd9d6" ] } ] } [/block] [block:callout] { "type": "warning", "title": "Waterfall Priority settings", "body": "We recommend publishers to refrain from running PN ad tag on the last position of the waterfall. As this may result in discrepancies in impression numbers recorded in the Pubnative dashboard." } [/block] * Find the Ad Unit to which you connect the ad tag * Check the box under the AD UNITS column. [block:image] { "images": [ { "image": [ "https://files.readme.io/bfc82bf-NewLineItemAdUnit.png", "NewLineItemAdUnit.png", 1454, 611, "#e5ebed" ] } ] } [/block] [block:callout] { "type": "warning", "title": "Ad Unit supported", "body": "Pubnative ad tag supports MREC, Banner, and Medium - 300x250 and 320x50 ad units ONLY" } [/block] Geo, Connectivity, and Device Targeting section: * Select the Filter by device and OS option. * Set the Min to 4.4 for Android. * Leave other fields as their default values [block:image] { "images": [ { "image": [ "https://files.readme.io/0b766e2-NewLineItemAudience.png", "NewLineItemAudience.png", 1454, 960, "#e8eff0" ] } ] } [/block] * Configure any custom targeting in the Advanced Targeting sections. * Click the Save and View button. * Send the “Ad Unit ID” to your Pubnative account manager. This will allow us to test your configuration. ## Setup reports for discrepancy management In order for PubNative to be able to effectively monitor discrepancies, it is required from you to also set up the automated reports. * Go to Reports [block:image] { "images": [ { "image": [ "https://files.readme.io/f77a6d7-ReportsNewMoPubReport.png", "ReportsNewMoPubReport.png", 1454, 465, "#ecf5f7" ] } ] } [/block] * Create a New MoPub Report Use the following parameters in the New Report section: * Name: Your Account name in PubNative's dashboard * Schedule: set to Daily * Date Range: set to Last 7 days * Recipients: add following emails; yield@pubnative.net, supply@pubnative.net, pubreports@pubnative.net * Report Breakdown: Select Categories: Order, App, Line Item, Country, OS, Day. For the categories Order, App, Line Item - select all of the items that are relevant to PubNative For the categories Country, OS - choose the "Select All" row. * Included Metrics: Attempts/Requests, Impressions, Clicks, Revenue * Click on Run and Save [block:image] { "images": [ { "image": [ "https://files.readme.io/6d42f56-907d3bf-PN_MoPubReports.png", "907d3bf-PN_MoPubReports.png", 2130, 1610, "#eae7e3" ] } ] } [/block]