{"_id":"58e35e570eb4bb0f009f4dfd","parentDoc":null,"project":"574ff4bd3fa1870e00889ba6","user":"5770dd042659e20e00c90a98","version":{"_id":"574ff4bd3fa1870e00889ba9","project":"574ff4bd3fa1870e00889ba6","__v":20,"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"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3.0"},"category":{"_id":"57b486ae0d2b640e00e9d3f5","__v":0,"project":"574ff4bd3fa1870e00889ba6","version":"574ff4bd3fa1870e00889ba9","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-08-17T15:45:50.062Z","from_sync":false,"order":7,"slug":"native-ads-mediation-layer","title":"Android SDK"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-04-04T08:50:31.259Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":14,"body":"Welcome to PubNative's guite to accessing ads served by AdMob Native Advanced on your application.  Below, we will guide you through setting up ad placements on the AdMob Native Advanced dashboard and connecting to AdMob Native Advanced' reporting API to PubNative's unified reporting solution.\n[block:api-header]\n{\n  \"title\": \"Before Getting Started\"\n}\n[/block]\n##Integrate PubNative's Mediation SDK\nBefore we can proceed with the AdMob Native Advanced-specific steps, you need to integrate PubNative's Mediation SDK for one or more of the following ad types:\n* [Native Ads](http://developers.pubnative.net/v3.0/docs/ad-layouts)\n* [Small Ad Layout](http://developers.pubnative.net/v3.0/docs/standard-ad-layouts)\n* [Medium Ad Layout](http://developers.pubnative.net/v3.0/docs/medium-ad-layouts-1)\n* [Large Ad Layout](http://developers.pubnative.net/v3.0/docs/large-ad-layouts)\n\n##Integrate the Google Mobile Ads SDK\nYou also need to integrate the Google Mobile Ads SDK\n* [Google Mobile Ads SDK for Android](https://developers.google.com/admob/android/quick-start) \n[block:api-header]\n{\n  \"title\": \"Setting Up Placements via AdMob Express\"\n}\n[/block]\n##Step 1\nLogin to https://apps.admob.com/#home with your gmail account\n\n##Step 2\nInsert the name of your app in the input area-- your application should show up if it is available on the play store or on the iTunes app store. \n\nIf you can not find your app using this method, you can also add your app manually in the \"add your app manually\" tab to the left.  \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/2c3eb39-1.PNG\",\n        \"1.PNG\",\n        1100,\n        811,\n        \"#7c4a7a\"\n      ]\n    }\n  ]\n}\n[/block]\n##Step 3\nAdMob Advanced is in Beta, so if you are approved for it, you would need to switch from **AdMob Native Express **to **AdMob Native Advanced** \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/350b2e6-AdMob_Advanced.png\",\n        \"AdMob Advanced.png\",\n        1332,\n        622,\n        \"#f0f0ee\"\n      ]\n    }\n  ]\n}\n[/block]\nOnce switched, add an **Ad Unit** name:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/a585052-AdMob_Express.png\",\n        \"AdMob Express.png\",\n        1361,\n        626,\n        \"#edeeee\"\n      ]\n    }\n  ]\n}\n[/block]\n##Step 4\nNow you are almost done!  Now make a record of your app id and ad unit id.  You will have to add these into the PubNative dashboard later.  \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/7379881-7.PNG\",\n        \"7.PNG\",\n        654,\n        885,\n        \"#477aab\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"title\": \"AdMob Express' Reporting API\"\n}\n[/block]\nOnce integrated, you will need to add AdMob's network to PubNative's dashboard configuration and provide us access to their reports via oauth verification. This process consists of several steps due to Google policy, thus we've provided a detailed video guide below. \n[block:embed]\n{\n  \"html\": \"<iframe class=\\\"embedly-embed\\\" src=\\\"//cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FsOY6Oj40_18%3Ffeature%3Doembed&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DsOY6Oj40_18&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FsOY6Oj40_18%2Fhqdefault.jpg&key=02466f963b9b4bb8845a05b53d3235d7&type=text%2Fhtml&schema=youtube\\\" width=\\\"854\\\" height=\\\"480\\\" scrolling=\\\"no\\\" frameborder=\\\"0\\\" allowfullscreen></iframe>\",\n  \"url\": \"https://www.youtube.com/watch?v=sOY6Oj40_18&feature=youtu.be\",\n  \"title\": \"AdMob Outh Token\",\n  \"favicon\": \"https://s.ytimg.com/yts/img/favicon-vflz7uhzw.ico\",\n  \"image\": \"https://i.ytimg.com/vi/sOY6Oj40_18/hqdefault.jpg\"\n}\n[/block]\nThe following information is necessary to add AdMob ad unts to our mediation solution: \n\nAUTHORIZED JAVASCRIPT ORIGIN: https://dashboard.pubnative.net\nAUTHORIZED REDIRECT URI: https://dashboard.pubnative.net/api/v1/refresh_tokens/callback\nAD UNIT ID: ca-app-pub-9176690371168943/9471837715 (EXAMPLE)\nCLIENT KEY: <From google API console, after creation>\nCLIENT SECRET: <From google API console, after creation>\n\nPlease let us know if you have any questions or need any support.","excerpt":"","slug":"admob-advanced-setup-guide","type":"basic","title":"AdMob Advanced Setup Guide"}

AdMob Advanced Setup Guide


Welcome to PubNative's guite to accessing ads served by AdMob Native Advanced on your application. Below, we will guide you through setting up ad placements on the AdMob Native Advanced dashboard and connecting to AdMob Native Advanced' reporting API to PubNative's unified reporting solution. [block:api-header] { "title": "Before Getting Started" } [/block] ##Integrate PubNative's Mediation SDK Before we can proceed with the AdMob Native Advanced-specific steps, you need to integrate PubNative's Mediation SDK for one or more of the following ad types: * [Native Ads](http://developers.pubnative.net/v3.0/docs/ad-layouts) * [Small Ad Layout](http://developers.pubnative.net/v3.0/docs/standard-ad-layouts) * [Medium Ad Layout](http://developers.pubnative.net/v3.0/docs/medium-ad-layouts-1) * [Large Ad Layout](http://developers.pubnative.net/v3.0/docs/large-ad-layouts) ##Integrate the Google Mobile Ads SDK You also need to integrate the Google Mobile Ads SDK * [Google Mobile Ads SDK for Android](https://developers.google.com/admob/android/quick-start) [block:api-header] { "title": "Setting Up Placements via AdMob Express" } [/block] ##Step 1 Login to https://apps.admob.com/#home with your gmail account ##Step 2 Insert the name of your app in the input area-- your application should show up if it is available on the play store or on the iTunes app store. If you can not find your app using this method, you can also add your app manually in the "add your app manually" tab to the left. [block:image] { "images": [ { "image": [ "https://files.readme.io/2c3eb39-1.PNG", "1.PNG", 1100, 811, "#7c4a7a" ] } ] } [/block] ##Step 3 AdMob Advanced is in Beta, so if you are approved for it, you would need to switch from **AdMob Native Express **to **AdMob Native Advanced** [block:image] { "images": [ { "image": [ "https://files.readme.io/350b2e6-AdMob_Advanced.png", "AdMob Advanced.png", 1332, 622, "#f0f0ee" ] } ] } [/block] Once switched, add an **Ad Unit** name: [block:image] { "images": [ { "image": [ "https://files.readme.io/a585052-AdMob_Express.png", "AdMob Express.png", 1361, 626, "#edeeee" ] } ] } [/block] ##Step 4 Now you are almost done! Now make a record of your app id and ad unit id. You will have to add these into the PubNative dashboard later. [block:image] { "images": [ { "image": [ "https://files.readme.io/7379881-7.PNG", "7.PNG", 654, 885, "#477aab" ] } ] } [/block] [block:api-header] { "title": "AdMob Express' Reporting API" } [/block] Once integrated, you will need to add AdMob's network to PubNative's dashboard configuration and provide us access to their reports via oauth verification. This process consists of several steps due to Google policy, thus we've provided a detailed video guide below. [block:embed] { "html": "<iframe class=\"embedly-embed\" src=\"//cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FsOY6Oj40_18%3Ffeature%3Doembed&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DsOY6Oj40_18&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FsOY6Oj40_18%2Fhqdefault.jpg&key=02466f963b9b4bb8845a05b53d3235d7&type=text%2Fhtml&schema=youtube\" width=\"854\" height=\"480\" scrolling=\"no\" frameborder=\"0\" allowfullscreen></iframe>", "url": "https://www.youtube.com/watch?v=sOY6Oj40_18&feature=youtu.be", "title": "AdMob Outh Token", "favicon": "https://s.ytimg.com/yts/img/favicon-vflz7uhzw.ico", "image": "https://i.ytimg.com/vi/sOY6Oj40_18/hqdefault.jpg" } [/block] The following information is necessary to add AdMob ad unts to our mediation solution: AUTHORIZED JAVASCRIPT ORIGIN: https://dashboard.pubnative.net AUTHORIZED REDIRECT URI: https://dashboard.pubnative.net/api/v1/refresh_tokens/callback AD UNIT ID: ca-app-pub-9176690371168943/9471837715 (EXAMPLE) CLIENT KEY: <From google API console, after creation> CLIENT SECRET: <From google API console, after creation> Please let us know if you have any questions or need any support.