Soenneker.Google.Ads.Client
4.0.636
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Google.Ads.Client --version 4.0.636
NuGet\Install-Package Soenneker.Google.Ads.Client -Version 4.0.636
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="Soenneker.Google.Ads.Client" Version="4.0.636" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Google.Ads.Client" Version="4.0.636" />
<PackageReference Include="Soenneker.Google.Ads.Client" />
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 Soenneker.Google.Ads.Client --version 4.0.636
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Google.Ads.Client, 4.0.636"
#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 Soenneker.Google.Ads.Client@4.0.636
#: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=Soenneker.Google.Ads.Client&version=4.0.636
#tool nuget:?package=Soenneker.Google.Ads.Client&version=4.0.636
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Google.Ads.Client
An async thread-safe singleton for the Google Ads client.
Install
dotnet add package Soenneker.Google.Ads.Client
Quick start
using Soenneker.Google.Ads.Client.Registrars;
using Microsoft.Extensions.DependencyInjection;
var services = new ServiceCollection();
var result = services.AddGoogleAdsClientUtilAsSingleton();
Adds IGoogleAdsClientUtil as a singleton service.
What you get
IGoogleAdsClientUtil— An async thread-safe singleton for the Google Ads client.GoogleAdsClientUtilRegistrar— An async thread-safe singleton for the Google Ads client.
API at a glance
| API | What it does | Result / important behavior |
|---|---|---|
GoogleAdsClientUtilRegistrar.AddGoogleAdsClientUtilAsSingleton(services) |
Adds IGoogleAdsClientUtil as a singleton service. |
The same service collection, so additional registrations can be chained. |
GoogleAdsClientUtilRegistrar.AddGoogleAdsClientUtilAsScoped(services) |
Adds IGoogleAdsClientUtil as a scoped service. |
The same service collection, so additional registrations can be chained. |
Practical notes
- Reuse the registered client instead of constructing one per operation.
- Calls that return a cached or singleton value reuse the same instance until the owning service is disposed.
- Dispose instances you own when their scope ends so held resources can be released.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Google.Ads.GoogleAds (>= 27.2.0)
- Soenneker.Extensions.Configuration (>= 4.0.866)
- Soenneker.Utils.AsyncSingleton (>= 4.0.825)
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 |
|---|---|---|
| 4.0.677 | 64 | 9/16/2026 |
| 4.0.676 | 73 | 9/16/2026 |
| 4.0.675 | 76 | 9/16/2026 |
| 4.0.674 | 73 | 9/15/2026 |
| 4.0.673 | 70 | 9/15/2026 |
| 4.0.672 | 87 | 9/13/2026 |
| 4.0.671 | 83 | 9/13/2026 |
| 4.0.670 | 83 | 9/13/2026 |
| 4.0.669 | 81 | 9/13/2026 |
| 4.0.668 | 86 | 9/12/2026 |
| 4.0.667 | 88 | 9/12/2026 |
| 4.0.666 | 80 | 9/12/2026 |
| 4.0.665 | 83 | 9/12/2026 |
| 4.0.663 | 94 | 9/10/2026 |
| 4.0.662 | 96 | 9/9/2026 |
| 4.0.661 | 89 | 9/9/2026 |
| 4.0.660 | 92 | 9/8/2026 |
| 4.0.659 | 97 | 9/8/2026 |
| 4.0.658 | 93 | 9/8/2026 |
| 4.0.636 | 94 | 8/30/2026 |
Loading failed
Update dependency Soenneker.Utils.AsyncSingleton to 4.0.822 (#1173)