Faceing Issu

31 views
Skip to first unread message

Manish Kumar

unread,
Aug 26, 2021, 6:10:02 AM8/26/21
to AdWords API and Google Ads API Forum
Dear Team,
I'm facing this error

Fatal error: Uncaught InvalidArgumentException: A developer token must be set. in C:\xampp\htdocs\google-ads\src\Google\Ads\GoogleAds\Lib\V8\GoogleAdsClientBuilder.php:255 Stack trace: #0 C:\xampp\htdocs\google-ads\src\Google\Ads\GoogleAds\Lib\V8\GoogleAdsClientBuilder.php(236): Google\Ads\GoogleAds\Lib\V8\GoogleAdsClientBuilder->validate() #1 C:\xampp\htdocs\google-ads\GetAccountInformation.php(52): Google\Ads\GoogleAds\Lib\V8\GoogleAdsClientBuilder->build() #2 C:\xampp\htdocs\google-ads\GetAccountInformation.php(106): AccountManagement\GetAccountInformation::main() #3 {main} thrown in C:\xampp\htdocs\google-ads\src\Google\Ads\GoogleAds\Lib\V8\GoogleAdsClientBuilder.php on line 255 

Please help me 

Google Ads API Forum Advisor

unread,
Aug 31, 2021, 5:12:41 AM8/31/21
to manish.inf...@gmail.com, adwor...@googlegroups.com

Hello,

Thank you for reaching out to us.

Looking on the error you've mentioned, you would need to set your developer token on your client library. Have you tried the steps mentioned on this PHP Client Library guide?

If the issue persists, please share to us the complete logs (request and response with request-id). You can enable the logging via this guide.

Please send the requested details via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Regards,

Google Logo
Mark Kevin Albios
Google Ads API Team
 

 

ref:_00D1U1174p._5004Q2MixNa:ref
Reply all
Reply to author
Forward
0 new messages