Hi After a customer goes through the OAuth2 flow and we have a valid accesstoken and refreshtoken, I am trying to use the AdwordsService CustomerService object to get all of the valid Customers for a client but I keep on getting a CUSTOMER_NOT_FOUND error every time I call the getCustomers() method. Since we are not specifying the clientCustomerId header, we are expecting to get all of the customers as explained in this doc. https://developers.google.com/adwords/api/docs/reference/v201607/CustomerService
Here is the code that I am using CustomerService customerService = (CustomerService)user.GetService(AdWordsService.v201607.CustomerService); var allCustomers = customerService.getCustomers(); Most of the docs online about this issue suggest that this error occurs because the Account was newly created. https://developers.google.com/adwords/api/docs/common-errors https://groups.google.com/forum/#!topic/adwords-api/oYGPkDxFCcs However the client trying to connect their account said that their account was created about 2-3 months ago. Is there any other reason why this CUSTOMER_NOT_FOUND error would occur. Thank you James -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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 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/ccdb93fb-be12-4efa-b4d0-63081b5e8790%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
