Hello,
Thanks for reaching out to the Google Ads API support team. I saw your recent
mail as you mentioned “Resolved by changing [ADWORDS] to [GOOGLE_ADS]”.
Yes, that is the correct solution If you have the adsapi_php.ini file you used
for the AdWords API, copy and name it as google_ads_php.ini
Resolvido alterando o [ADWORDS] para [GOOGLE_ADS]
Em quinta-feira, 4 de novembro de 2021 às 09:24:44 UTC-3, Alef Felipe
escreveu:
> PHP Fatal error: Uncaught InvalidArgumentException: A developer token
> must be set. in
> /opt/lampp/htdocs/google-ads-php/src/Google/Ads/GoogleA
PHP Fatal error: Uncaught InvalidArgumentException: A developer token must
be set. in
/opt/lampp/htdocs/google-ads-php/src/Google/Ads/GoogleAds/Lib/V8/GoogleAdsClientBuilder.php:255
Stack trace:
#0
/opt/lampp/htdocs/google-ads-php/src/Google/Ads/GoogleAds/Lib/V8/GoogleAdsClientBuilder.php(236
I'm getting this error when making a test request.
But my developer token has already been defined in google_ads_php.ini
file location
/home/user/google_ads_php.ini
Anyone have a suggestion?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdev