Hi, Have you set your clientCustomerId (your MCC account ID) in App.config?
Cheers, Thanet, AdWords API Team On Monday, April 20, 2015 at 10:29:19 PM UTC+9, MWA wrote: > > Hi > I have a same problem in and I'm using PHP. I cannot figure out the > problem. > > My code is same as here > > https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201502/AccountManagement/GetAccountHierarchy.php > > $user = new AdWordsUser(); > $user->LogDefaults(); > > // Get the CampaignService. > $managedCustomerService = $user->GetService('ManagedCustomerService', > ADWORDS_LATEST_VERSION); > > // Create selector. > $selector = new Selector(); > $selector->fields = array('CustomerId', 'Name'); > > > $graph = $managedCustomerService->get($selector); > > print_r($graph) > > Still same error > [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:' > > I have agency MCC account and I and checking to my client has accepted my > invitation or not. If there is any better way to do this please let me know. > > Thanks. > > > > On Thursday, April 9, 2015 at 11:59:48 AM UTC+5, Aswini wrote: >> >> Hi >> >> I got CLIENT_CUSTOMER_ID_IS_REQUIRED Error Error ManagedCustomerService >> in .net Client library. please check the code below >> >> ManagedCustomerService managedCustomerService = >> (ManagedCustomerService)user.GetService( >> AdWordsService.v201409.ManagedCustomerService); >> >> // Create selector. >> Selector selector = new Selector(); >> selector.fields = new String[] { "CustomerId", "Name" }; >> try >> { >> ManagedCustomerPage page = >> managedCustomerService.get(selector); >> } >> >> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/11194bb4-7510-4bde-bcdf-f035303256a4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.