{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","settings":"","results":{"codes":[]},"params":[]},"next":{"description":"","pages":[]},"title":"Google Ad Manager Header Bidding (iOS & Android)","type":"basic","slug":"google-ad-manager-adops-header-bidding-setup","excerpt":"","body":"This documentation explains how to configure HyBid SDK adapters in the Google Ad Manager 360 for the header bidding scenario. Documentation covers:\n  * Platforms: iOS and Android\n  * Inventory sizes: 320x50, 300x250, 320x480\n\nOpposite to the [mediation](https://developers.pubnative.net/v3.0/docs/google-ad-manager-adops-mediation-setup#mapping-table-for-custom-events), header bidding requires setup of many yield groups covering different pricing points (we recommend to use 10 cents brackets, please consult with your account manager for the details and assistance).\n\nPlease refer to the [mapping table below](https://developers.pubnative.net/v3.0/docs/google-ad-manager-adops-header-bidding-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 adnetwork\"\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:\n  * New Adnetwork (e.g. can be called V-test-adnetwork)\n  * At this step you might need to create a new Company. You can create AdNetwork -> 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 key-values\"\n}\n[/block]\nIn the **Inventory** section, go to **Key-values** and add New key-value.\n\nWe recommend to start with 1 set of key-values for testing:\n\nA targeting of eCPM 0.10 can include the following keywords:\npn_bid:0.11\npn_bid:0.12\npn_bid:0.13\npn_bid:0.14\npn_bid:0.15\npn_bid:0.16\npn_bid:0.17\npn_bid:0.18\npn_bid:0.19\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/9c888c1-Screenshot_2021-03-15_at_15.43.50.png\",\n        \"Screenshot 2021-03-15 at 15.43.50.png\",\n        2094,\n        1600,\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:\nYield Partner -> **network** from previous step\nIntegration type -> **custom event**\nStatus -> **active**\nDefault CPM -> setup **CPM** to match waterfall position (would be 10 cents in our example)\nCheckbox **Override dynamic CPM**\nLabel -> add a name for reporting\nClass Name -> **HyBidDFPHeaderBiddingBannerCustomEvent** (please refer to the mapping table below)\nParameter -> should be obtained **from account manager** (e.g. { \"pn_app_token\": \"3e98d63843d8437c8d35a05edab557dd\",\"pn_zone_id\": \"1\"}\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/a97c094-Screenshot_2021-03-16_at_10.32.26.png\",\n        \"Screenshot 2021-03-16 at 10.32.26.png\",\n        653,\n        680,\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]\nTarget the desired key-value pairs that are matching eCPM price:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/d8c058f-Screenshot_2021-03-16_at_10.37.22.png\",\n        \"Screenshot 2021-03-16 at 10.37.22.png\",\n        1349,\n        1207,\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.lite.adapters.dfp.HyBidDFPBannerCustomEvent\",\n    \"4-2\": \"net.pubnative.lite.adapters.dfp.HyBidDFPMRectCustomEvent\",\n    \"5-2\": \"net.pubnative.lite.adapters.dfp.HyBidDFPInterstitialCustomEvent\",\n    \"0-2\": \"HyBidDFPHeaderBiddingBannerCustomEvent\",\n    \"1-2\": \"HyBidDFPHeaderBiddingMRectCustomEvent\",\n    \"2-2\": \"HyBidDFPHeaderBiddingInterstitialCustomEvent\"\n  },\n  \"cols\": 3,\n  \"rows\": 6\n}\n[/block]","updates":[],"order":3,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"604f6eb543dae300255d74fc","createdAt":"2021-03-15T14:27:01.641Z","user":"574ff3adaef76a0e00840968","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"[PUBLISHER] Header Bidding","slug":"publisher-prebid","order":5,"from_sync":false,"reference":false,"_id":"5e902519bb65b200466e7957","createdAt":"2020-04-10T07:49:45.039Z","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 Header Bidding (iOS & Android)


This documentation explains how to configure HyBid SDK adapters in the Google Ad Manager 360 for the header bidding scenario. Documentation covers: * Platforms: iOS and Android * Inventory sizes: 320x50, 300x250, 320x480 Opposite to the [mediation](https://developers.pubnative.net/v3.0/docs/google-ad-manager-adops-mediation-setup#mapping-table-for-custom-events), header bidding requires setup of many yield groups covering different pricing points (we recommend to use 10 cents brackets, please consult with your account manager for the details and assistance). Please refer to the [mapping table below](https://developers.pubnative.net/v3.0/docs/google-ad-manager-adops-header-bidding-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 adnetwork" } [/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 Adnetwork (e.g. can be called V-test-adnetwork) * At this step you might need to create a new Company. You can create AdNetwork -> 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 key-values" } [/block] In the **Inventory** section, go to **Key-values** and add New key-value. We recommend to start with 1 set of key-values for testing: A targeting of eCPM 0.10 can include the following keywords: pn_bid:0.11 pn_bid:0.12 pn_bid:0.13 pn_bid:0.14 pn_bid:0.15 pn_bid:0.16 pn_bid:0.17 pn_bid:0.18 pn_bid:0.19 [block:image] { "images": [ { "image": [ "https://files.readme.io/9c888c1-Screenshot_2021-03-15_at_15.43.50.png", "Screenshot 2021-03-15 at 15.43.50.png", 2094, 1600, "#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 (would be 10 cents in our example) Checkbox **Override dynamic CPM** Label -> add a name for reporting Class Name -> **HyBidDFPHeaderBiddingBannerCustomEvent** (please refer to the mapping table below) Parameter -> should be obtained **from account manager** (e.g. { "pn_app_token": "3e98d63843d8437c8d35a05edab557dd","pn_zone_id": "1"} [block:image] { "images": [ { "image": [ "https://files.readme.io/a97c094-Screenshot_2021-03-16_at_10.32.26.png", "Screenshot 2021-03-16 at 10.32.26.png", 653, 680, "#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] Target the desired key-value pairs that are matching eCPM price: [block:image] { "images": [ { "image": [ "https://files.readme.io/d8c058f-Screenshot_2021-03-16_at_10.37.22.png", "Screenshot 2021-03-16 at 10.37.22.png", 1349, 1207, "#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.lite.adapters.dfp.HyBidDFPBannerCustomEvent", "4-2": "net.pubnative.lite.adapters.dfp.HyBidDFPMRectCustomEvent", "5-2": "net.pubnative.lite.adapters.dfp.HyBidDFPInterstitialCustomEvent", "0-2": "HyBidDFPHeaderBiddingBannerCustomEvent", "1-2": "HyBidDFPHeaderBiddingMRectCustomEvent", "2-2": "HyBidDFPHeaderBiddingInterstitialCustomEvent" }, "cols": 3, "rows": 6 } [/block]