如何在 Google AdWords API 中获取关键字的当前 CPC 出价?
How do I get the current CPC bid for a keyword in Google AdWords API?
如何获取帐户中关键字的当前出价?我试过了
$adGroupCriterion->biddingStrategyConfiguration->bids[0]->bid->value * AdWordsConstants::MICROS_PER_DOLLAR;
但是它给了我一个错误'Trying to get property of non-object'
。当我添加关键字时,我能够获得 return 值中的出价 OK。
出价似乎无法在 GET 操作中选择。我已经在整个文档中搜索了它。
https://developers.google.com/adwords/api/docs/reference/v201502/AdGroupCriterionService.Bids
Although this field is returned in the response, it is ignored on input and cannot be selected.
我正在使用此示例来获取关键字:
我找到了。
https://developers.google.com/adwords/api/docs/reference/v201502/AdGroupCriterionService.CpcBid#bid
$selector->fields = array('Id', 'KeywordText', 'KeywordMatchType', 'AdGroupId', 'Status', 'CpcBid');
我的 属性 和运算符错误:
$adGroupCriterion->biddingStrategyConfiguration->bids[0]->bid->microAmount / AdWordsConstants::MICROS_PER_DOLLAR;
抱歉打扰了。
如何获取帐户中关键字的当前出价?我试过了
$adGroupCriterion->biddingStrategyConfiguration->bids[0]->bid->value * AdWordsConstants::MICROS_PER_DOLLAR;
但是它给了我一个错误'Trying to get property of non-object'
。当我添加关键字时,我能够获得 return 值中的出价 OK。
出价似乎无法在 GET 操作中选择。我已经在整个文档中搜索了它。
https://developers.google.com/adwords/api/docs/reference/v201502/AdGroupCriterionService.Bids
Although this field is returned in the response, it is ignored on input and cannot be selected.
我正在使用此示例来获取关键字:
我找到了。
https://developers.google.com/adwords/api/docs/reference/v201502/AdGroupCriterionService.CpcBid#bid
$selector->fields = array('Id', 'KeywordText', 'KeywordMatchType', 'AdGroupId', 'Status', 'CpcBid');
我的 属性 和运算符错误:
$adGroupCriterion->biddingStrategyConfiguration->bids[0]->bid->microAmount / AdWordsConstants::MICROS_PER_DOLLAR;
抱歉打扰了。