【发布时间】:2020-06-21 03:26:10
【问题描述】:
我正在尝试使用 google_ads_api 来生成关键字创意。 执行 generateKeywordsIdeas.php 文件时发现错误。
PS C:\xampp\htdocs\google_ads_api> php GenerateKeywordIdeas.php PHP 致命错误:未捕获的错误:在 C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php:67 中找不到类 'Google\Ads\GoogleAds\Examples\Utils\ArgumentParser' 堆栈跟踪:
#0 C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php(212): Google\Ads\GoogleAds\Examples\Planning\GenerateKeywordIdeas::main()
#1 {主要} 在第 67 行的 C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php 中抛出致命错误:未捕获的错误:在 C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php:67 中找不到类“Google\Ads\GoogleAds\Examples\Utils\ArgumentParser” 堆栈跟踪:
#0 C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php(212):Google\Ads\GoogleAds\Examples\Planning\GenerateKeywordIdeas::main()
#1 {主要} 在第 67 行的 C:\xampp\htdocs\google_ads_api\GenerateKeywordIdeas.php 中抛出
这是我的项目的文件结构
为什么会发生这个错误..?谁能解释一下..?
【问题讨论】:
标签: php keyword google-ads-api