Hi,

Even with UseGrpcCore = true it's not working. 
I'm using .NET framework 4.8.

            GoogleAdsConfig configGoogleAdsApi = new GoogleAdsConfig
            {
                DeveloperToken = "DEVELOPER_TOKEN",
                OAuth2ClientId = "CLIENT_ID",
                OAuth2ClientSecret = "CLIENT_SECRET",
                OAuth2RefreshToken = "REFRESH_TOKEN",
                UseGrpcCore = true
            };

            GoogleAdsClient client = new 
GoogleAdsClient(configGoogleAdsApi);
            
            GeoTargetConstantServiceClient geoService = 
client.GetService(Services.V13.GeoTargetConstantService);
            string locale = "en";
            string countryCode = "GB";
            String[] locations = { "london" };

            SuggestGeoTargetConstantsRequest request = new 
SuggestGeoTargetConstantsRequest()
            {
                Locale = locale,
                CountryCode = countryCode,
                LocationNames = new 
SuggestGeoTargetConstantsRequest.Types.LocationNames()
            };

            request.LocationNames.Names.AddRange(locations);
            try
            {
                SuggestGeoTargetConstantsResponse response = 
geoService.SuggestGeoTargetConstants(request);
            }
            catch (Exception E)
            {

            }

On Thursday, March 16, 2023 at 6:20:04 PM UTC Google Ads API Forum Advisor 
wrote:

> Hi Zweitze, 
>
> Thank you for coming back to us. I hope you are doing well today.
>
> Moving forward to your concern, upon checking there is a related issue 
> titled *“**Document that programs may hang after upgrading to 14.0.0+ 
> #488* <https://github.com/googleads/google-ads-dotnet/issues/488>*”* created 
> on github issue (googleads/google-ads-dotnet) which has a latest response. 
> Could you please try if this will work on your end?
>
> GoogleAdsConfig config = new GoogleAdsConfig();
> config.UseGrpcCore = true;
> GoogleAdsClient client = new GoogleAdsClient(config);
>
> In addition, please see *Supported Frameworks:*
>  
>
>    - .NET Framework 4.7.2+ (net472) 
>    - .NET Standard 2.1 (netstandard2.1) 
>    - .NET 5.0 (net5.0) 
>    - .NET Core 3.1 (netcoreapp3.1) 
>
>
> The library doesn't have an explicit build target for .NET 6.0 (net6.0) 
> yet. However, you can use the library with a binary built for .NET 6.0, 
> since netstandard2.1 is compatible with .NET 6.0.
>
> Have a great day.
>
> Regards,
> [image: Google Logo] Google Ads API Team 
>
> ref:_00D1U1174p._5004Q2jZbkg:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ead03491-ba89-4fd5-b2ae-48b3f0eb876cn%40googlegroups.com.
  • Al... Zied Chaari
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Zied Chaari
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Zweitze
          • ... Zied Chaari
          • ... Zied Chaari
            • ... Zweitze
              • ... Zied Chaari
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... Zied Chaari
              • ... Zweitze
    • ... Dataseek Business Solutions

Reply via email to