>
> Hello,

 I am back with a new questions regarding the same issue. I managed to 
resolve the initial error "Failed to connect to all addresses", but now I 
hit a new issue. I have two ways of defining a googleAdsClient and calling 
the UploadClickConversions:
*First method*
                GoogleAdsClient googleAdsClient = new GoogleAdsClient(new 
Google.Ads.GoogleAds.Config.GoogleAdsConfig());
                googleAdsClient.Config.DeveloperToken =  "****";
                googleAdsClient.Config.LoginCustomerId = "****";
                googleAdsClient.Config.OAuth2ClientId = "****";
                googleAdsClient.Config.OAuth2Mode = 
Google.Ads.GoogleAds.Config.OAuth2Flow.SERVICE_ACCOUNT;
                googleAdsClient.Config.OAuth2ClientSecret = "****";
                googleAdsClient.Config.OAuth2SecretsJsonPath = "****";
ConversionUploadServiceClient client5 = 
googleAdsClient.GetService(Services.V2.ConversionUploadService);


*Second method uses App.config for the googleAdsClient configuration*

                GoogleAdsClient googleAdsClient1 = new GoogleAdsClient(new 
Google.Ads.GoogleAds.Config.GoogleAdsConfig());
                googleAdsClient1.Config.OAuth2Mode = 
Google.Ads.GoogleAds.Config.OAuth2Flow.SERVICE_ACCOUNT;
                ConversionUploadServiceClient client6= 
googleAdsClient1.GetService(Services.V2.ConversionUploadService);

For both of the method I get the same error:
*Status(StatusCode=Unavailable, Detail="Getting metadata from plugin failed 
with error: Exception occurred in metadata credentials plugin. 
Google.Apis.Auth.OAuth2.Responses.TokenResponseException: 
Error:"invalid_client", Description:"The OAuth client was not found.",*

Can you please help ?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/37ee5422-82d5-41a5-9799-64cad5e06ccd%40googlegroups.com.

Reply via email to