{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","settings":"","results":{"codes":[]},"params":[]},"next":{"description":"","pages":[]},"title":"Google Ad Manager (iOS & Android)","type":"basic","slug":"google-ad-manager-adops-mediation-setup","excerpt":"","body":"This documentation explains how to configure HyBid SDK adapters in the Google Ad Manager 360 for the waterfall mediation scenario. Documentation covers:\n  * Platforms: iOS and Android\n  * Inventory sizes: 320x50, 300x250, 320x480\n\nPlease refer to the [mapping table below](https://developers.pubnative.net/v3.0/docs/google-ad-manager-adops-mediation-setup#mapping-table-for-custom-events) for the relevant Custom Events.\n[block:api-header]\n{\n  \"title\": \"Create a New Mobile App\"\n}\n[/block]\nIn the **Inventory** section, create a new mobile app that you would like to monetize:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/340d4cf-Screenshot_2021-03-15_at_13.53.28.png\",\n        \"Screenshot 2021-03-15 at 13.53.28.png\",\n        2114,\n        734,\n        \"#333\"\n      ]\n    }\n  ]\n}\n[/block]\nShare App ID for this app with your mobile developer. _(It would be in the format **`ca-app-pub-...~....`**)_\n[block:api-header]\n{\n  \"title\": \"Create a New Ad Unit\"\n}\n[/block]\nIn the **Inventory** section, create ad unit with relevant size:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/45b5213-Screenshot_2021-03-15_at_13.57.31.png\",\n        \"Screenshot 2021-03-15 at 13.57.31.png\",\n        1670,\n        1134,\n        \"#333\"\n      ],\n      \"sizing\": \"80\"\n    }\n  ]\n}\n[/block]\nSupported sizes are:\n  * 320x50\n  * 300x250\n  * 320x480 \n[block:api-header]\n{\n  \"title\": \"Create a New Mobile Application Tag\"\n}\n[/block]\nIn the **Ad unit** section, create Mobile application tag:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/833db72-Screenshot_2021-03-15_at_14.00.02.png\",\n        \"Screenshot 2021-03-15 at 14.00.02.png\",\n        1380,\n        902,\n        \"#333\"\n      ]\n    }\n  ]\n}\n[/block]\nShare the **tag** details with your mobile developer. _(It would be in the format **`/219576711/iOS_320x50_mediation`**)_\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/25db11a-Screenshot_2021-03-15_at_14.00.22.png\",\n        \"Screenshot 2021-03-15 at 14.00.22.png\",\n        1272,\n        1318,\n        \"#333\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"title\": \"Create a New Company and New Ad Network\"\n}\n[/block]\nIn the **Delivery** section, go to **Yield Groups** and create a new yield group.\n\nFor this step, you would need to create first: New Ad network _(e.g. can be called V-test-adnetwork)_\n\nAt this step you might need to create a new company. You can create Ad Network -> Choose Other Company -> Enable Mediation:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/5c555c4-Screenshot_2021-03-15_at_14.03.24.png\",\n        \"Screenshot 2021-03-15 at 14.03.24.png\",\n        1504,\n        912,\n        \"#333\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"title\": \"Create a new yield group\"\n}\n[/block]\nAdd a **new yield partner**:\n\nChoose:\n* **Yield Partner:** **Network** from previous step\n* **Integration type:** Custom Event\n* **Status:** **Active**\n* **Default CPM:** Setup **CPM** to match waterfall position\n* **Override dynamic CPM:** ✅\n* **Label:** Add a name for reporting\n* **Class Name:** **`HyBidGADBannerCustomEvent`** _(Please refer to the mapping table below)_\n* **Parameter:** Should be obtained from **account manager** (e.g. \n``` Json\n{\"pn_app_token\": \"3e98d63843d8437c8d35a05edab557dd\", \"pn_zone_id\": \"1\"}\n```\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/40a2dbd-Screenshot_2021-03-15_at_14.09.40.png\",\n        \"Screenshot 2021-03-15 at 14.09.40.png\",\n        1344,\n        1144,\n        \"#333\"\n      ]\n    }\n  ]\n}\n[/block]\nCreate **a new yield group** and target the mobile app and inventory size:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/3074834-Screenshot_2021-03-15_at_14.16.47.png\",\n        \"Screenshot 2021-03-15 at 14.16.47.png\",\n        2464,\n        1392,\n        \"#333\"\n      ]\n    }\n  ]\n}\n[/block]\nSave **yield group**:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/ccab378-Screenshot_2021-03-15_at_14.19.09.png\",\n        \"Screenshot 2021-03-15 at 14.19.09.png\",\n        2132,\n        374,\n        \"#333\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"title\": \"Mapping table for Custom Events\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"iOS\",\n    \"4-0\": \"Android\",\n    \"h-0\": \"Platform\",\n    \"h-1\": \"Ad Unit Size\",\n    \"h-2\": \"Custom Event\",\n    \"0-1\": \"320x50\",\n    \"1-1\": \"300x250\",\n    \"2-1\": \"320x480\",\n    \"3-0\": \"Android\",\n    \"1-0\": \"iOS\",\n    \"2-0\": \"iOS\",\n    \"5-0\": \"Android\",\n    \"3-1\": \"320x50\",\n    \"4-1\": \"300x250\",\n    \"5-1\": \"320x480\",\n    \"3-2\": \"net.pubnative.hybid.adapters.admob.mediation.HyBidMediationBannerCustomEvent\",\n    \"4-2\": \"net.pubnative.hybid.adapters.admob.mediation.HyBidMediationMRectCustomEvent\",\n    \"5-2\": \"net.pubnative.hybid.adapters.admob.mediation.HyBidMediationInterstitialCustomEvent\",\n    \"0-2\": \"**For Google Mobile Ads SDK Pre `v:8.0.0`: **HyBidAdMobMediationBannerCustomEvent\\n\\n**For Google Mobile Ads SDK `v:8.0.0` and above:** HyBidGADBannerCustomEvent\",\n    \"1-2\": \"**For Google Mobile Ads SDK Pre `v:8.0.0`: ** HyBidAdMobMediationMRectCustomEvent\\n\\n**For Google Mobile Ads SDK `v:8.0.0` and above:** HyBidGADMRectCustomEvent\",\n    \"2-2\": \"**For Google Mobile Ads SDK Pre `v:8.0.0`: ** HyBidAdMobMediationInterstitialCustomEvent\\n\\n**For Google Mobile Ads SDK `v:8.0.0` and above:** HyBidGADInterstitialCustomEvent\"\n  },\n  \"cols\": 3,\n  \"rows\": 6\n}\n[/block]","updates":[],"order":4,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"604f57d04c77e7007c9e1e56","createdAt":"2021-03-15T12:49:20.027Z","user":"574ff3adaef76a0e00840968","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"[PUBLISHER] Mediation","slug":"publisher-mediation","order":4,"from_sync":false,"reference":false,"_id":"617a65249ebd96004a95678d","createdAt":"2021-10-28T08:53:56.862Z","version":"574ff4bd3fa1870e00889ba9","project":"574ff4bd3fa1870e00889ba6","__v":0},"version":{"version":"3.0","version_clean":"3.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"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","5e902519bb65b200466e7957","5f228f5bd6a1cc0024afda30","617a64bcd70d9600121d80de","617a65249ebd96004a95678d"],"_id":"574ff4bd3fa1870e00889ba9","createdAt":"2016-06-02T08:56:29.492Z","project":"574ff4bd3fa1870e00889ba6","releaseDate":"2016-06-02T08:56:29.492Z","__v":31},"project":"574ff4bd3fa1870e00889ba6","__v":0,"parentDoc":null}

Google Ad Manager (iOS & Android)


This documentation explains how to configure HyBid SDK adapters in the Google Ad Manager 360 for the waterfall mediation scenario. Documentation covers: * Platforms: iOS and Android * Inventory sizes: 320x50, 300x250, 320x480 Please refer to the [mapping table below](https://developers.pubnative.net/v3.0/docs/google-ad-manager-adops-mediation-setup#mapping-table-for-custom-events) for the relevant Custom Events. [block:api-header] { "title": "Create a New Mobile App" } [/block] In the **Inventory** section, create a new mobile app that you would like to monetize: [block:image] { "images": [ { "image": [ "https://files.readme.io/340d4cf-Screenshot_2021-03-15_at_13.53.28.png", "Screenshot 2021-03-15 at 13.53.28.png", 2114, 734, "#333" ] } ] } [/block] Share App ID for this app with your mobile developer. _(It would be in the format **`ca-app-pub-...~....`**)_ [block:api-header] { "title": "Create a New Ad Unit" } [/block] In the **Inventory** section, create ad unit with relevant size: [block:image] { "images": [ { "image": [ "https://files.readme.io/45b5213-Screenshot_2021-03-15_at_13.57.31.png", "Screenshot 2021-03-15 at 13.57.31.png", 1670, 1134, "#333" ], "sizing": "80" } ] } [/block] Supported sizes are: * 320x50 * 300x250 * 320x480 [block:api-header] { "title": "Create a New Mobile Application Tag" } [/block] In the **Ad unit** section, create Mobile application tag: [block:image] { "images": [ { "image": [ "https://files.readme.io/833db72-Screenshot_2021-03-15_at_14.00.02.png", "Screenshot 2021-03-15 at 14.00.02.png", 1380, 902, "#333" ] } ] } [/block] Share the **tag** details with your mobile developer. _(It would be in the format **`/219576711/iOS_320x50_mediation`**)_ [block:image] { "images": [ { "image": [ "https://files.readme.io/25db11a-Screenshot_2021-03-15_at_14.00.22.png", "Screenshot 2021-03-15 at 14.00.22.png", 1272, 1318, "#333" ] } ] } [/block] [block:api-header] { "title": "Create a New Company and New Ad Network" } [/block] In the **Delivery** section, go to **Yield Groups** and create a new yield group. For this step, you would need to create first: New Ad network _(e.g. can be called V-test-adnetwork)_ At this step you might need to create a new company. You can create Ad Network -> Choose Other Company -> Enable Mediation: [block:image] { "images": [ { "image": [ "https://files.readme.io/5c555c4-Screenshot_2021-03-15_at_14.03.24.png", "Screenshot 2021-03-15 at 14.03.24.png", 1504, 912, "#333" ] } ] } [/block] [block:api-header] { "title": "Create a new yield group" } [/block] Add a **new yield partner**: Choose: * **Yield Partner:** **Network** from previous step * **Integration type:** Custom Event * **Status:** **Active** * **Default CPM:** Setup **CPM** to match waterfall position * **Override dynamic CPM:** ✅ * **Label:** Add a name for reporting * **Class Name:** **`HyBidGADBannerCustomEvent`** _(Please refer to the mapping table below)_ * **Parameter:** Should be obtained from **account manager** (e.g. ``` Json {"pn_app_token": "3e98d63843d8437c8d35a05edab557dd", "pn_zone_id": "1"} ``` [block:image] { "images": [ { "image": [ "https://files.readme.io/40a2dbd-Screenshot_2021-03-15_at_14.09.40.png", "Screenshot 2021-03-15 at 14.09.40.png", 1344, 1144, "#333" ] } ] } [/block] Create **a new yield group** and target the mobile app and inventory size: [block:image] { "images": [ { "image": [ "https://files.readme.io/3074834-Screenshot_2021-03-15_at_14.16.47.png", "Screenshot 2021-03-15 at 14.16.47.png", 2464, 1392, "#333" ] } ] } [/block] Save **yield group**: [block:image] { "images": [ { "image": [ "https://files.readme.io/ccab378-Screenshot_2021-03-15_at_14.19.09.png", "Screenshot 2021-03-15 at 14.19.09.png", 2132, 374, "#333" ] } ] } [/block] [block:api-header] { "title": "Mapping table for Custom Events" } [/block] [block:parameters] { "data": { "0-0": "iOS", "4-0": "Android", "h-0": "Platform", "h-1": "Ad Unit Size", "h-2": "Custom Event", "0-1": "320x50", "1-1": "300x250", "2-1": "320x480", "3-0": "Android", "1-0": "iOS", "2-0": "iOS", "5-0": "Android", "3-1": "320x50", "4-1": "300x250", "5-1": "320x480", "3-2": "net.pubnative.hybid.adapters.admob.mediation.HyBidMediationBannerCustomEvent", "4-2": "net.pubnative.hybid.adapters.admob.mediation.HyBidMediationMRectCustomEvent", "5-2": "net.pubnative.hybid.adapters.admob.mediation.HyBidMediationInterstitialCustomEvent", "0-2": "**For Google Mobile Ads SDK Pre `v:8.0.0`: **HyBidAdMobMediationBannerCustomEvent\n\n**For Google Mobile Ads SDK `v:8.0.0` and above:** HyBidGADBannerCustomEvent", "1-2": "**For Google Mobile Ads SDK Pre `v:8.0.0`: ** HyBidAdMobMediationMRectCustomEvent\n\n**For Google Mobile Ads SDK `v:8.0.0` and above:** HyBidGADMRectCustomEvent", "2-2": "**For Google Mobile Ads SDK Pre `v:8.0.0`: ** HyBidAdMobMediationInterstitialCustomEvent\n\n**For Google Mobile Ads SDK `v:8.0.0` and above:** HyBidGADInterstitialCustomEvent" }, "cols": 3, "rows": 6 } [/block]