Chartboost.CSharp.Mediation.Unity.Adapter.AdMob 5.2.14

dotnet add package Chartboost.CSharp.Mediation.Unity.Adapter.AdMob --version 5.2.14
                    
NuGet\Install-Package Chartboost.CSharp.Mediation.Unity.Adapter.AdMob -Version 5.2.14
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Chartboost.CSharp.Mediation.Unity.Adapter.AdMob" Version="5.2.14" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Chartboost.CSharp.Mediation.Unity.Adapter.AdMob" Version="5.2.14" />
                    
Directory.Packages.props
<PackageReference Include="Chartboost.CSharp.Mediation.Unity.Adapter.AdMob" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Chartboost.CSharp.Mediation.Unity.Adapter.AdMob --version 5.2.14
                    
#r "nuget: Chartboost.CSharp.Mediation.Unity.Adapter.AdMob, 5.2.14"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Chartboost.CSharp.Mediation.Unity.Adapter.AdMob@5.2.14
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Chartboost.CSharp.Mediation.Unity.Adapter.AdMob&version=5.2.14
                    
Install as a Cake Addin
#tool nuget:?package=Chartboost.CSharp.Mediation.Unity.Adapter.AdMob&version=5.2.14
                    
Install as a Cake Tool

Chartboost Mediation Unity SDK - AdMob Adapter

Provides a list of externally configurable properties pertaining to the partner SDK that can be retrieved and set by publishers.

Dependencies for the adapter are now embedded in the package, and can be found at com.chartboost.mediation.unity.adapter.admob/Editor/AdMobAdapterDependencies.xml.

Installation

Using the public npm registry

In 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.

"dependencies": {
    "com.chartboost.mediation.unity.adapter.admob": "5.2.14",
    ...
},
"scopedRegistries": [
{
    "name": "NpmJS",
    "url": "https://registry.npmjs.org",
    "scopes": [
    "com.chartboost"
    ]
}
]

Using the public NuGet package

To add the Chartboost Mediation Unity SDK - AdMob Adapter to your project using the NuGet package, you will first need to add the NugetForUnity package into your Unity Project.

This can be done by adding the following to your Unity Project's manifest.json

  "dependencies": {
    "com.github-glitchenzo.nugetforunity": "https://github.com/GlitchEnzo/NuGetForUnity.git?path=/src/NuGetForUnity",
    ...
  },

Once <code>NugetForUnity</code> is installed, search for Chartboost.CSharp.Mediation.Unity.Adapter.AdMob in the search bar of Nuget Explorer window(Nuget → Manage Nuget Packages). You should be able to see the Chartboost.CSharp.Mediation.Unity.Adapter.AdMob package. Choose the appropriate version and install.

Chartboost - Google Utilities for AndroidManifest.xml & Info.plist

In order for the Google User Messaging Platform to initialize the application ID must be added to the AndroidManifest.xml & Info.plist. Chartboost provides this functionality through its dependency package for Google adapters.

Simply 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.

Usage

The following code block exemplifies usage of the AdMobAdapter.cs configuration class.

IPartnerAdapterConfiguration Properties


// AdapterUnityVersion - The partner adapter Unity version, e.g: 5.0.0
Debug.Log($"Adapter Unity Version: {AdMobAdapter.AdapterUnityVersion}");

// AdapterNativeVersion - The partner adapter version, e.g: 5.22.3.0.0
Debug.Log($"Adapter Native Version: {AdMobAdapter.AdapterNativeVersion}");

// PartnerSDKVersion - The partner SDK version, e.g: 22.3.0
Debug.Log($"Partner SDK Version: {AdMobAdapter.PartnerSDKVersion}");

// PartnerIdentifier - The partner ID for internal uses, e.g: admob
Debug.Log($"Partner Identifier: {AdMobAdapter.PartnerIdentifier}");

// PartnerDisplayName - The partner name for external uses, e.g: AdMob
Debug.Log($"Partner Display Name: {AdMobAdapter.PartnerDisplayName}");

Test Device Ids

Test device Ids can be set and fetch using AdMobAdapter.TestDeviceIds.


// Example test device ids
var testDeviceIds = new List<string>
{
    "33BE2250B43518CCDA7DE426D04EE231",
    "33BE2250B43518CCDA7DE426D04EE232",
    "33BE2250B43518CCDA7DE426D04EE233"
};

// Setting test device ids
AdMobAdapter.TestDeviceIds = testDeviceIds;

// Clearing test device ids
AdMobAdapter.TestDeviceIds = null;
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.2.14 332 11/21/2025
5.2.13 343 11/12/2025
5.2.12 265 11/6/2025
5.2.11 260 10/23/2025
5.2.10 255 10/22/2025
5.2.9 251 10/22/2025
5.2.8 244 10/22/2025
5.2.7 251 10/22/2025
5.2.6 208 10/17/2025
5.2.5 192 10/17/2025
5.2.4 199 10/17/2025
5.2.3 203 10/17/2025
5.2.2 250 10/16/2025
5.2.1 251 10/16/2025
5.2.0 250 10/16/2025
5.1.0 254 10/16/2025
5.0.12 327 2/25/2025
5.0.11 274 2/24/2025
5.0.10 284 2/24/2025
5.0.9 289 2/24/2025
5.0.8 289 2/24/2025
5.0.7 280 12/2/2024
5.0.6 281 12/2/2024
5.0.5 297 11/2/2024
5.0.4 279 11/1/2024
5.0.3 280 11/1/2024
5.0.2 293 11/1/2024
5.0.1 295 11/1/2024
5.0.0 319 8/8/2024