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): Google\Ads\GoogleAds\Lib\V8\GoogleAdsClientBuilder->validate() #1 /opt/lampp/htdocs/google-ads-php/examples/BasicOperations/GetCampaigns.php(56): Google\Ads\GoogleAds\Lib\V8\GoogleAdsClientBuilder->build() #2 /opt/lampp/htdocs/google-ads-php/examples/BasicOperations/GetCampaigns.php(120): Google\Ads\GoogleAds\Examples\BasicOperations\GetCampaigns::main() #3 {main} thrown in /opt/lampp/htdocs/google-ads-php/src/Google/Ads/GoogleAds/Lib/V8/GoogleAdsClientBuilder.php on line 255
Em quinta-feira, 4 de novembro de 2021 às 09:20:14 UTC-3, Alef Felipe escreveu: > 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://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/699d1ef0-342b-42e6-9ea4-83dd638aae1bn%40googlegroups.com.