Re: customer not accessible in mcc

2024-08-28 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Kindly note that you haven't shared the complete API logs (request and response with request-id and request header) generated at your end. Also, note that you haven't shared the customer ID and the login customer ID. As requested earlier, we also need the email id from which you are trying

Re: customer not accessible in mcc

2024-08-28 Thread tkraja mdu
Thanks for your reply $session = (new GoogleAdsClientBuilder()) ->fromFile() ->withOAuth2Credential($oAuth2Credential) ->withLoginCustomerId(111) ->build(); when i pass logincustomerid value in api, It return same response On Wednesday, August 28, 2024 at 11:52:07 AM UTC+5:30 Google Ads API

Re: customer not accessible in mcc

2024-08-27 Thread tkraja mdu
Thanks for your reply I tried with new project credentials in API but the response Google Ads failure details: authorization_error: User doesn't have permission to access customer. Note: If you're accessing a client customer, the manager's customer id must be set in the 'login-customer-id' hea

Re: customer not accessible in mcc

2024-08-23 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Based on the provided information, we noticed that you're encountering an "invalid_grant " error. According to the Google Ads API documentation, Google Cloud Platform project with an OAuth consent screen configured for an external user type and a publishing status of "Testing" is issued a r

Re: customer not accessible in mcc

2024-08-23 Thread tkraja mdu
Hi, Thanks for your reply, In this case i can see that account but when i try to fetch the products from account it return below response Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://oauth2.googleapis.com/token`

RE: customer not accessible in mcc

2024-08-23 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for reaching out to the Google Ads API support team. Kindly note that you can check which accounts are directly linked to your manager account, You can get the account hierarchy of your manager account, you can use the following query in order to retrieve the all the child account