We are download statistics daily using ReportDownloader. But, since mid may
this stopped working due to bad credentials it seems. We get
USER_PERMISSION_DENIED for all our clientIds. We have not changed our
authentication credentials at all, but one night this stopped working.
I asked AdWords support, but was eventually directed here. After searching
and reading other questions and posting I realised that I should try verify
using the getCustomers() for the AdWordsServices.
AdWordsSession session = createAdWordsSession(clientId, clientSecret,
refreshToken, developerToken, userAgent);
AdWordsServicesInterface adWordsServices =
AdWordsServices.getInstance();
CustomerServiceInterface service = adWordsServices.get(session,
CustomerServiceInterface.class);
for (Customer customer : service.getCustomers()) {
System.out.printf(" %s%n", customer.getCustomerId());
}
But, I get AuthenticationError CUSTOMER_NOT_FOUND as fault. If I add
the .withClientCustomerId() when I create the session I get
USER_PERMISSION_DENIED as expected.
So, can help us to get the right credentials (this was setup four-five
years ago and the knowledge has left the building :)). Is it here or
calling our sales contact? Or is it the AdWords support?
Best regards,
Peter
Ps
This might be posted twice, but I could not find so I am posting a new
question.
Ds.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/16561371-0660-4e3a-b08a-a1b9025a071f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.