Hi Powell,

Thank you for posting your concern.

I would like to inform you that I will remove your initially post as it 
contains generated API logs. Let me just paste here on my reply the provided 
description of your concern.

Moving forward, the possible reason why this error occurred is due to incorrect 
user account / email address has been used to generate Oauth2 credentials. With 
this, please try to use the user account / email address that has access to 
Google Ads account in generating Oauth2 credential.

If the issue persists after trying the provided suggestion, then please provide 
the following details via Reply privately to author option:

email address / user account used to generate Oauth2 credentials
customer ID
complete request and response logs with request ID generated on your end


If you haven't enabled the logging of the API transactions for the specific 
client library that you are using, then please refer to the specific guide 
below:

Java - 
https://developers.google.com/google-ads/api/docs/client-libs/java/logging
.Net - 
https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging
PHP - https://developers.google.com/google-ads/api/docs/client-libs/php/logging
Python - 
https://developers.google.com/google-ads/api/docs/client-libs/python/logging
Ruby - 
https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging
Perl - 
https://developers.google.com/google-ads/api/docs/client-libs/perl/logging


"Hi,
I'm new to Google Ads API and have not been able to make any successful API 
calls with the test account.

1) created a developer token (from my manager account, where my email is listed 
as the admin)

[https://developers.google.com/google-ads/api/docs/first-call/overview]
2) created a test manager account with the same email as my ad manager account.
[https://developers.google.com/google-ads/api/docs/first-call/]
2a) In the test manager account I have created a dummy customer, and within it 
a dummy campaign
3) Enabled the Google Ads API in the API library
[https://console.developers.google.com/apis/library]
4) Created a desktop app credential and obtained the clientID and secret
5) Cloned the google-ads-dotnet from Github, and was able to obtain a refresh 
token after running the AuthenticateInDesktopApplication
6) Followed the online instruction in modifying App.config and created a 
GoogleAdsApi.json

In my program, I followed the example for the custom json:
ConfigurationBuilder builder = (ConfigurationBuilder)new ConfigurationBuilder()
.SetBasePath(Directory.GetCurrentDirectory())
.AddJsonFile("PATH\\TO\\GoogleAdsApi.json");
IConfigurationRoot configRoot = builder.Build();

GoogleAdsConfig googleAdsConfig = new GoogleAdsConfig(configRoot);
GoogleAdsClient googleAdsClient = new GoogleAdsClient(googleAdsConfig);

My 'dummy' customerid is XXXXXXXXXX, and while following the example, I got the 
following error in the log:"

Regards,

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2DKkus: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 
"AdWords API and Google Ads 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/TC9Ms000000000000000000000000000000000000000000000QPFSP700nNpUTIGpTsu5vh_msVtwxA%40sfdc.net.

Reply via email to