Jc.GMA.iOS 13.0.0

dotnet add package Jc.GMA.iOS --version 13.0.0
                    
NuGet\Install-Package Jc.GMA.iOS -Version 13.0.0
                    
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="Jc.GMA.iOS" Version="13.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Jc.GMA.iOS" Version="13.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Jc.GMA.iOS" />
                    
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 Jc.GMA.iOS --version 13.0.0
                    
#r "nuget: Jc.GMA.iOS, 13.0.0"
                    
#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 Jc.GMA.iOS@13.0.0
                    
#: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=Jc.GMA.iOS&version=13.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Jc.GMA.iOS&version=13.0.0
                    
Install as a Cake Tool

Jc.GoogleMobileAds.iOS

Google Mobile Ads SDK iOS Bindings

Package Showcase

Breaking Changes

Each major version contains breaking changes according to the Google AdMob SDK. Please refer to the Google AdMob SDK for more information. The headline changes relevant will be listed here.

v13.0.0

This package binds Google Mobile Ads SDK 13.0.0. It continues to support .NET 9/10 and requires iOS 15 or later. Jc.UMP.iOS remains at 2.7.5.

  • NativeAd.RegisterAdView (both overloads) and NativeAd.UnregisterAdView have been removed with the native SDK. Use NativeAdView to render native ads.

  • The existing anchored adaptive banner sizing functions are obsolete but retain their original behavior. Use these replacements on the main thread:

    Existing AdSizeCons method Replacement
    GetCurrentOrientationAnchoredAdaptiveBannerAdSize GetLargeAnchoredAdaptiveBannerAdSize
    GetPortraitAnchoredAdaptiveBannerAdSize GetLargePortraitAnchoredAdaptiveBannerAdSize
    GetLandscapeAnchoredAdaptiveBannerAdSize GetLargeLandscapeAnchoredAdaptiveBannerAdSize
  • Large anchored adaptive banners can be taller; size the banner container from the returned AdSize.

  • Request.NeighboringContentUrlStrings remains a string[]. The native SDK now raises an exception for non-string array elements; avoid null elements or passing other object types through native interop.

See Google's v12 to v13 migration guide.

v12.13.0

Both NativeAd.RegisterAdView overloads and NativeAd.UnregisterAdView are obsolete, matching the native SDK deprecations. Use NativeAdView to render native ads instead. These methods remain available but are no longer supported by Google and will be removed in a future SDK version.

v12.2.2

AdSizeCons constants were changed to be hardcoded while I try to find a better approach to access the true values. This means that values will be the same for both iPhone and iPad.

SmartBannerPortrait, SmartBannerLandscape, and Fluid have been removed until a workaround is discovered as these are entirely dependent on the framework or the calling framework (MAUI/Avalonia/etc.)

v9.x.x to v11.x.x

  • The minimum supported version of iOS is now 13.
    • Note: SDK 11.0.0 still builds on iOS 12 devices, but ads will not serve.
  • armv7 support has been removed from the SDK

From v11.13.0 and beyond, you must add this target to your csproj file to support linking with Swift system libraries

<Target Name="LinkWithSwift" DependsOnTargets="_ParseBundlerArguments;_DetectSdkLocations" BeforeTargets="_LinkNativeExecutable">
    <PropertyGroup>
        <_SwiftPlatform Condition="$(RuntimeIdentifier.StartsWith('iossimulator-'))">iphonesimulator</_SwiftPlatform>
        <_SwiftPlatform Condition="$(RuntimeIdentifier.StartsWith('ios-'))">iphoneos</_SwiftPlatform>
    </PropertyGroup>
    <ItemGroup>
        <_CustomLinkFlags Include="-L" />
        <_CustomLinkFlags Include="/usr/lib/swift" />
        <_CustomLinkFlags Include="-L" />
        <_CustomLinkFlags Include="$(_SdkDevPath)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/$(_SwiftPlatform)" />
        <_CustomLinkFlags Include="-Wl,-rpath" />
        <_CustomLinkFlags Include="-Wl,/usr/lib/swift" />
    </ItemGroup>
</Target>

More info can be found here

Usage

To use Jc.GoogleMobileAds.iOS, you can add the required packages to your project:

dotnet add package Jc.GMA.iOS
dotnet add package Jc.UMP.iOS

Ensure that the SupportedOSPlatformVersion attribute in your project file is set to 15.0 or higher:

<SupportedOSPlatformVersion>15.0</SupportedOSPlatformVersion>

along with setting it in the Info.plist file:

<key>MinimumOSVersion</key>
<string>15.0</string>

Failing to set the minimum version will result in the compiler warning:

Jc.*.iOS requires a minimum SupportedOSPlatformVersion of 15.0. Update your project to target iOS 15 or later.
Product Compatible and additional computed target framework versions.
.NET net9.0-ios18.0 is compatible.  net10.0-ios was computed.  net10.0-ios26.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0-ios26.0

    • No dependencies.
  • net9.0-ios18.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Jc.GMA.iOS:

Package Downloads
Plugin.AdMob

Google AdMob ads for .NET MAUI on Android and iOS. Supports every ad format — banner, interstitial, rewarded, rewarded interstitial, app open, and native ads including native video — plus automatic GDPR consent via Google's User Messaging Platform (UMP). Free and open source.

Jc.AdMob.Avalonia.iOS

Google AdMob for Avalonia on iOS.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
13.0.0 89 10/16/2026
12.14.0 89 10/13/2026
12.13.0 80 10/13/2026
12.12.0 93 10/13/2026
12.11.0 96 10/13/2026
12.10.0 10,067 7/8/2026
12.7.1 2,039 2/8/2026
12.7.1-preview100 161 2/5/2026
12.7.0 1,900 12/9/2025
12.7.0-preview100 5,354 7/27/2025
12.2.3-preview100 581 7/24/2025
12.2.2 3,218 4/20/2025
12.2.2-preview100 1,174 4/5/2025
12.2.1 36,921 3/22/2025
12.2.0 303 3/18/2025
12.2.0-preview100 219 3/15/2025
11.13.6-preview100 291 3/13/2025
11.13.5 470 3/11/2025
11.13.5-preview100 300 3/11/2025
11.13.4 1,597 2/26/2025
Loading failed