HI Sergey, You could only retrieve the campaigns using client accounts that's why you won't be able to retrieve your campaigns using a manager account (if you have set your clientCustomerId as your manager account in the property file). The AuthenticationError.CUSTOMER_NOT_FOUND <https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.CUSTOMER_NOT_FOUND> you encountered normally occurs when you are trying to access an account that was just created with ManagedCustomerService <https://developers.google.com/adwords/api/docs/reference/v201809/ManagedCustomerService> before the account is established in the backend. This being said, could you try again to make a request using your test client account?
If the issue persist, could you provide the complete SOAP request and response logs so I could further investigate the issue? Please reply via *Reply privately to author*. Thanks and regards, Luis AdWords API Team On Friday, September 28, 2018 at 3:50:55 AM UTC+8, Sergey Chernyakov wrote: > > Hello > I'm using > https://github.com/googleads/google-api-ads-ruby/tree/master/adwords_api/examples/adwords_on_rails. > > Got development key, oauth2_client_id and > oauth2_client_secret set up. > I'm getting the list of accounts but campaigns list is empty under test > manager account (5374321982 > <http://localhost:3000/account/select?account_id=5374321982>). When I log > in under my test client account (5396867482 > <http://localhost:3000/account/select?account_id=5396867482>) I'm > getting [AuthenticationError.CUSTOMER_NOT_FOUND @ ] error and can't get > campaigns list. > > Account hierarchy > > - 5374321982 > <http://localhost:3000/account/select?account_id=5374321982> (Test > Manager Account ) > - 5396867482 > <http://localhost:3000/account/select?account_id=5396867482> (Test > Client Account 2 ) > - 7983176786 > <http://localhost:3000/account/select?account_id=7983176786> (Test > Client Account 1 ) > > 1. Why I can't get campaigns list under test manager account (5374321982 > <http://localhost:3000/account/select?account_id=5374321982>)? > 2. Why I'm getting AuthenticationError.CUSTOMER_NOT_FOUND under test > client account (5396867482 > <http://localhost:3000/account/select?account_id=5396867482>)? > > Regards, > Sergey > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. 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/5c90ed0b-5b76-4827-90a1-4e91d28c978f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.