Re: NO_CUSTOMER_FOUND response when user have accounts [PHP]

2019-12-09 Thread Google Ads API Forum Advisor Prod
Hi Ravi, The complete list of account under a MCC account can be retrieved using the GetAccountHierarchy code sample by adding the manager account Id in the request header. You will then need to make another API call using the the CustomerService.getCustomers() including the specific account in

Re: NO_CUSTOMER_FOUND response when user have accounts [PHP]

2019-12-09 Thread Ravi Chandran
Hi Team, It is working now and thanks for your timely response. Could you please help us to get list of accounts/pages from an MCC account. Please find the following flow for your reference, 1. Once we can pull the list of accounts from the connected user 2. Need to get detailed informat

Re: NO_CUSTOMER_FOUND response when user have accounts [PHP]

2019-12-09 Thread Ravi Chandran
Hi Team, It is working now and thanks for your timely response. Could you please help us to get list of accounts/pages from an MCC account. Please find the following flow for your reference, 1. Once we can pull the list of accounts from the connected user 2. Need to get detailed informatio

Re: NO_CUSTOMER_FOUND response when user have accounts [PHP]

2019-12-03 Thread Google Ads API Forum Advisor Prod
Hi Ravi, You will be able to use the CustomerService.getCustomers() which returns details of all the customers directly accessible by the user authenticating the call. If you're looking to get the complete account hierarchy, you may use the GetAccountHierarchy code sample by adding the manager

Re: NO_CUSTOMER_FOUND response when user have accounts [PHP]

2019-12-03 Thread Ravi Chandran
Hi Team, Our requirement is to use Web flow not Installed app. We are trying to get all client customer ID who logged in and it will show the list of root accounts they have. We will fetch campaigns data based on user selection account. I would like to know how to fetch list of root account a

RE: NO_CUSTOMER_FOUND response when user have accounts [PHP]

2019-12-02 Thread Google Ads API Forum Advisor Prod
Hi Ravi, The AuthorizationError.NO_CUSTOMER_FOUND error you encountered means that the customer/account is indeed not found or to simply say, the clientCustomerId that you set in your request header is not a valid account. Could you please check the client customer Id in the header? If you're s

NO_CUSTOMER_FOUND response when user have accounts [PHP]

2019-11-29 Thread Ravi Chandran
Hi Team, We are trying to fetch a list of Ad accounts using the Google Adwords API. The developer token has "basic access". $selector = new Selector(); $selector->setFields(['Name', 'CustomerId']); $page = $managedCustomerService->get($selector); However, we are getting the following error for