{"id":25936805,"url":"https://github.com/chartboost/chartboost-mediation-unity-adapter-admob","last_synced_at":"2026-02-24T21:01:49.920Z","repository":{"id":252302782,"uuid":"790346971","full_name":"ChartBoost/chartboost-mediation-unity-adapter-admob","owner":"ChartBoost","description":"The Chartboost Mediation Unity SDK Adapter for AdMob.","archived":false,"fork":false,"pushed_at":"2025-02-24T21:07:44.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T21:34:52.101Z","etag":null,"topics":["admob","ads","android","chartboost","chartboost-mediation","ios","mediation","unity"],"latest_commit_sha":null,"homepage":"https://www.chartboost.com/mediate","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChartBoost.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-22T18:01:22.000Z","updated_at":"2025-02-24T20:53:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"2828b9bb-a078-4559-8f00-d9efd78f9934","html_url":"https://github.com/ChartBoost/chartboost-mediation-unity-adapter-admob","commit_stats":null,"previous_names":["chartboost/chartboost-mediation-unity-adapter-admob"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fchartboost-mediation-unity-adapter-admob","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fchartboost-mediation-unity-adapter-admob/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fchartboost-mediation-unity-adapter-admob/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChartBoost%2Fchartboost-mediation-unity-adapter-admob/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChartBoost","download_url":"https://codeload.github.com/ChartBoost/chartboost-mediation-unity-adapter-admob/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241773261,"owners_count":20018065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admob","ads","android","chartboost","chartboost-mediation","ios","mediation","unity"],"created_at":"2025-03-04T02:54:45.955Z","updated_at":"2026-02-24T21:01:49.902Z","avatar_url":"https://github.com/ChartBoost.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chartboost Mediation Unity SDK - AdMob Adapter\r\n\r\nProvides a list of externally configurable properties pertaining to the partner SDK that can be retrieved and set by publishers. \r\n\r\nDependencies for the adapter are now embedded in the package, and can be found at `com.chartboost.mediation.unity.adapter.admob/Editor/AdMobAdapterDependencies.xml`.\r\n\r\n# Installation\r\n\r\n## Using the public [npm registry](https://www.npmjs.com/search?q=com.chartboost.mediation.unity.adapter.admob)\r\n\r\nIn order to add the Chartboost Mediation Unity SDK - AdMob Adapter to your project using the npm package, add the following to your Unity Project's ***manifest.json*** file. The scoped registry section is required in order to fetch packages from the NpmJS registry.\r\n\r\n```json\r\n\"dependencies\": {\r\n    \"com.chartboost.mediation.unity.adapter.admob\": \"5.2.15\",\r\n    ...\r\n},\r\n\"scopedRegistries\": [\r\n{\r\n    \"name\": \"NpmJS\",\r\n    \"url\": \"https://registry.npmjs.org\",\r\n    \"scopes\": [\r\n    \"com.chartboost\"\r\n    ]\r\n}\r\n]\r\n```\r\n## Using the public [NuGet package](https://www.nuget.org/packages/Chartboost.CSharp.Mediation.Unity.Adapter.AdMob)\r\n\r\nTo add the Chartboost Mediation Unity SDK - AdMob Adapter to your project using the NuGet package, you will first need to add the [NugetForUnity](https://github.com/GlitchEnzo/NuGetForUnity) package into your Unity Project.\r\n\r\nThis can be done by adding the following to your Unity Project's ***manifest.json***\r\n\r\n```json\r\n  \"dependencies\": {\r\n    \"com.github-glitchenzo.nugetforunity\": \"https://github.com/GlitchEnzo/NuGetForUnity.git?path=/src/NuGetForUnity\",\r\n    ...\r\n  },\r\n```\r\n\r\nOnce \u003ccode\u003eNugetForUnity\u003c/code\u003e is installed, search for `Chartboost.CSharp.Mediation.Unity.Adapter.AdMob` in the search bar of Nuget Explorer window(Nuget -\u003e Manage Nuget Packages).\r\nYou should be able to see the `Chartboost.CSharp.Mediation.Unity.Adapter.AdMob` package. Choose the appropriate version and install.\r\n\r\n# Chartboost - Google Utilities for AndroidManifest.xml \u0026 Info.plist\r\nIn order for the Google User Messaging Platform to initialize the `application ID` must be added to the `AndroidManifest.xml` \u0026 `Info.plist`. Chartboost provides this functionality through its dependency package for Google adapters. \r\n\r\nSimply click on the Editor menu: `Chartboost/Google/Configure` and set your `application ID` as needed. This configuration is shared for all Google packages possibly integrated, e.g: Google User Messaging Platform, AdMob, Google Bidding, etc.\r\n\r\n# Usage\r\n\r\nThe following code block exemplifies usage of the `AdMobAdapter.cs` configuration class.\r\n\r\n## IPartnerAdapterConfiguration Properties\r\n\r\n```csharp\r\n\r\n// AdapterUnityVersion - The partner adapter Unity version, e.g: 5.0.0\r\nDebug.Log($\"Adapter Unity Version: {AdMobAdapter.AdapterUnityVersion}\");\r\n\r\n// AdapterNativeVersion - The partner adapter version, e.g: 5.22.3.0.0\r\nDebug.Log($\"Adapter Native Version: {AdMobAdapter.AdapterNativeVersion}\");\r\n\r\n// PartnerSDKVersion - The partner SDK version, e.g: 22.3.0\r\nDebug.Log($\"Partner SDK Version: {AdMobAdapter.PartnerSDKVersion}\");\r\n\r\n// PartnerIdentifier - The partner ID for internal uses, e.g: admob\r\nDebug.Log($\"Partner Identifier: {AdMobAdapter.PartnerIdentifier}\");\r\n\r\n// PartnerDisplayName - The partner name for external uses, e.g: AdMob\r\nDebug.Log($\"Partner Display Name: {AdMobAdapter.PartnerDisplayName}\");\r\n```\r\n\r\n## Test Device Ids\r\n\r\nTest device Ids can be set and fetch using `AdMobAdapter.TestDeviceIds`.\r\n\r\n```csharp\r\n\r\n// Example test device ids\r\nvar testDeviceIds = new List\u003cstring\u003e\r\n{\r\n    \"33BE2250B43518CCDA7DE426D04EE231\",\r\n    \"33BE2250B43518CCDA7DE426D04EE232\",\r\n    \"33BE2250B43518CCDA7DE426D04EE233\"\r\n};\r\n\r\n// Setting test device ids\r\nAdMobAdapter.TestDeviceIds = testDeviceIds;\r\n\r\n// Clearing test device ids\r\nAdMobAdapter.TestDeviceIds = null;\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchartboost%2Fchartboost-mediation-unity-adapter-admob","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchartboost%2Fchartboost-mediation-unity-adapter-admob","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchartboost%2Fchartboost-mediation-unity-adapter-admob/lists"}