是否可以通过API更新关键字文本?我们正在使用PHP示例,并且已经看到了此
https://developers.google.com/adwords/api/docs/samples/php/basic-operations#update-a-keyword
但这说明了出价并使用了AdGroupCriterionService
。如果尝试用setText
代替setFinalUrls
,则会出现错误,因为文本是关键字而不是AdGroupCriterionService
。错误是
Fatal error: Uncaught Error: Call to undefined method Google\AdsApi\AdWords\v201809\cm\BiddableAdGroupCriterion::setText()
正确的方法是什么?