Problem with Google API - Uncaught Error: Class "Google\Ads\GoogleAds\Examples\Utils\ArgumentParser
I got this Fatal Error/Uncaught Error while linking with the Google Ads API. I've used the Github code and downloaded library from composer
Fatal error: Uncaught Error: Class "Google\Ads\GoogleAds\Examples\Utils\ArgumentParser" not found in googleAdword\examples\BasicOperations\GetCampaigns.php:44 Stack trace: #0 googleAdword\examples\BasicOperations\GetCampaigns.php(120): Google\Ads\GoogleAds\Examples\BasicOperations\GetCampaigns::main() #1
Tried all these solutions:
- reinstalling the lib, and not through zip downloading at first, but through git clone, and then install through composer etc.
- In the sample code of GetAccountInformation, there is a CUSTOMER_ID field that is required before you execute the code.(Already set)