Google Ads API on Google App Engine

67 views
Skip to first unread message

András Révai

unread,
Jul 15, 2022, 6:00:23 PM7/15/22
to Google Ads API and AdWords API Forum
Hi,

I have installed Google Ads API on my computer, configured everything. I have moved GetCampaigns.php from examples/BasicOperations to the home directory. It works.

I have also created a project in Google Cloud on App Engine and deployed the app. I get the following error message:

PHP Fatal error:  Uncaught Error: Class 'Google\Ads\GoogleAds\Examples\Utils\ArgumentParser' not found in /workspace/GetCampaigns.php:44

(Script vendor/autoload.php doesn't seem to work.)

phpinfo looks like this: 


Anyone knows how to solve this issue?

András

Google Ads API Forum Advisor

unread,
Jul 18, 2022, 3:26:27 AM7/18/22
to are...@epiac.hu, adwor...@googlegroups.com
Hi András,

Thank you for raising your concern to my team.

Based on the description of your concern, the API request is not working only in the App engine. With this, it appears that the problem is on the App engine as it can't verify some of the dependencies and directories there. With this, I would suggest raising your concern to the GCP support team via this link to get further support to this concern.

Also, the author of the client library could also help with this issue. With this, you may reach out to them via this link.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


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