Re: cannot get oauth credentials be recognized by php script

2025-01-24 Thread M T
Hey, I did exactly that, but withOAuth2Credential shows as undefined: namespace Google\Ads\GoogleAds\Examples\Planning; header("Content-type: text/plain; charset=utf-8"); require 'vendor/autoload.php'; use GetOpt\GetOpt; use Google\Ads\GoogleAds\Examples\Utils\ArgumentNames; use Google\Ads\Goo

Cannot get OAuth credentials be recognized by PHP script

2025-01-23 Thread M T
Hello, Im trying to write a PHP script to check historical data of avg monthly searches for a given keywords list. However I cannot get the credential files to work. // planner.php use Google\Ads\GoogleAds\Lib\V18\GoogleAdsClientBuilder; use Google\Ads\GoogleAds\V18\Services\ GenerateKeywordHist