googleads / google-ads-dotnet

This project hosts the .NET client library for the Google Ads API.

Home Page:https://developers.google.com/google-ads/api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Accessing Google Ads API in .Net 6

Swapygit opened this issue · comments

Hi Team,

We have .Net 6 Web API project where we are trying to consume Google Ads API. However, we are not able to do so due to some missing library reference. After we went through the documentation of google ads api we noticed that the google ads api library doesn't have an explicit build target for .NET 6.0, however, you can use the library with a binary built for .NET 6.0 since netstandard2.0 is compatible with .NET 6.0. Could you please help us with where we can find this package, so that we can consume the API's.

Could you please help us with this issue.

Hi @Swapygit is this issue solved for you? You should be able to just add direct dependency and use it. What error are you facing?

For anyone who needs this in the future: I have attached a simple Web Api application using .NET 6.0.
WebApplication1.zip