Google.Ads.DataManager.Util 0.4.0

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

Data Manager API utilities and samples for .NET

Utility library and code samples for working with the Data Manager API and .NET.

Setup instructions

Install the package

Install the Google.Ads.DataManager.Util library using the .NET CLI:

dotnet add package Google.Ads.DataManager.Util

Or using the Package Manager Console in Visual Studio:

Install-Package Google.Ads.DataManager.Util

For more details on setting up access, see: https://developers.google.com/data-manager/api/get-started/set-up-access#dotnet

Repository structure

  • Google.Ads.DataManager.Util: Source code and tests for the utility library.

    Follow the setup instructions to declare a dependency on the current version of Google.Ads.DataManager.Util in your project. Use the utilities in the library to help with common tasks like formatting, hashing, encrypting, and encoding data for Data Manager API requests.

  • samples: Code samples for working with the Data Manager API and the utility library.

    The DataManager.Samples project demonstrates how to set up a project that depends on the Data Manager API client library and the Google.Ads.DataManager.Util library. Check out the samples directory for code samples that construct and send requests to the Data Manager API.

Run samples

To run a sample, invoke the script using the command line. You can pass arguments to the script in one of two ways:

1. Explicitly, on the command line

The first argument must be the name of the sample. The name is the simple class name, converted to lowercase and with a hyphen (-) between each capitalized word. For example, the name of the sample for the IngestEvents class is ingest-events.

dotnet run --project samples/DataManager.Samples.csproj \
  ingest-events \
  --operatingAccountType <operating_account_type> \
  --operatingAccountId <operating_account_id> \
  --conversionActionId <conversion_action_id> \
  --jsonFile '</path/to/your/file>'

Quote any argument that contains a space.

2. Using an arguments file

You can also save arguments in a file. Don't quote argument values in your arguments file, even if the value contains a space.

ingest-events
--operatingAccountType
<operating_account_type>
--operatingAccountId
<operating_account_id>
--conversionActionId
<conversion_action_id>
--jsonFile
</path/to/your/file>

Then, run the sample by passing the file path prefixed with the @ character.

dotnet run --project samples/DataManager.Samples.csproj @</path/to/your/file>

Issue tracker

Contributing

Contributions welcome! See the Contributing Guide.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

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
0.4.0 49 9/25/2026
0.4.0-rc1 38 9/24/2026