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/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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/ab39f9af-04e3-46a7-b91d-dc6e4d3dd55dn%40googlegroups.com.