Hello,
You can specify the login customer ID in the google_ads_php.ini file. For any
PHP client library specific questions, please reach out to the client library
owners here.
Regards,
Matt
Google Ads API Team
Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2LnWda:ref
--
--
=~=~=~=~=~=~=~=~=
Hi,
Thanks for your response.
My question is how to specify login-customer-id in the request by php, like
this: header("login-customer-id: 1234567890"); ?
I have specified the login-customer-id when I built googleAdsClient object,
like this:
$googleAdsClient = (new
GoogleAdsClientBuilder())-
Hi,
Thanks for reaching out to us.
Upon checking the error logs, it seems that the issue ‘USER_PERMISSION_DENIED’
occurred due to incorrectly setting the 'login-customer-id’ in the request.
Note that when a user doesn't have permission to access a customer and you’re
accessing a client custome