Soenneker.Google.Ads.Client
4.0.635
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.635
NuGet\Install-Package Soenneker.Google.Ads.Client -Version 4.0.635
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.635" />
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.635" />
<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.635
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Google.Ads.Client, 4.0.635"
#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.635
#: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.635
#tool nuget:?package=Soenneker.Google.Ads.Client&version=4.0.635
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.821)
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.646 | 63 | 8/31/2026 |
| 4.0.645 | 54 | 8/31/2026 |
| 4.0.644 | 48 | 8/31/2026 |
| 4.0.643 | 56 | 8/31/2026 |
| 4.0.642 | 58 | 8/31/2026 |
| 4.0.641 | 49 | 8/31/2026 |
| 4.0.640 | 51 | 8/30/2026 |
| 4.0.639 | 57 | 8/30/2026 |
| 4.0.638 | 57 | 8/30/2026 |
| 4.0.637 | 61 | 8/30/2026 |
| 4.0.636 | 56 | 8/30/2026 |
| 4.0.635 | 52 | 8/30/2026 |
| 4.0.634 | 58 | 8/30/2026 |
| 4.0.633 | 56 | 8/29/2026 |
| 4.0.632 | 55 | 8/29/2026 |
| 4.0.631 | 55 | 8/29/2026 |
| 4.0.630 | 60 | 8/29/2026 |
| 4.0.629 | 86 | 8/26/2026 |
| 4.0.628 | 81 | 8/26/2026 |
| 4.0.627 | 73 | 8/26/2026 |
Loading failed
Update dependency Soenneker.Extensions.Configuration to 4.0.866 (#1174)