Hi Chris, 

The CUSTOMER_NOT_FOUND 
<https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.CUSTOMER_NOT_FOUND>
 error 
means either the customer Id being passed is incorrect or the account was 
just created by the ManagedCustomerService. It will take a few minutes 
before the newly created account using ManagedCustomerService is 
accessible. If the account was not created with in few minutes of making 
the request, please double check the customer id for its correctness. 

Our documentation 
<https://developers.google.com/adwords/api/docs/guides/accounts-overview#customerservice>
 about CustomerService and ManagedCustomerService should be helpful for 
you. Customerservice.getcustomers() 
<https://developers.google.com/adwords/api/docs/reference/v201609/CustomerService#getcustomers>
 will return 
the details of all the customers directly accessible by the user 
authenticating the call.

In your case, you could probably use the CustomerService.getCustomers() 
method to get a list of all accounts that has access using the OAuth 
credentials. This service should give you the clientCustomerId of the 
account you are authenticated as. ManagedCustomerService 
<https://developers.google.com/adwords/api/docs/reference/latest/ManagedCustomerService>
 can 
be used to get the account hierarchy for the give clientCustomerId. 
Please check our example on ManagedCustomerService 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201609/accountmanagement/GetAccountHierarchy.java>
 to 
get the account hierarchy.

If you are still facing issues, could you please share the SOAP logs 
(request/response)? 

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/9037ab38-a2f9-4bd9-b714-836a019f71c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • How to r... prajstudy
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
    • Re:... SOHAIR AHMAD
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum

Reply via email to