[英]Adwords api: CPC, how to set “raise to estimated first page bid”
[英]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'
。 當我添加關鍵字時,我能夠在返回值中獲得出價 OK。
出價似乎無法在 GET 操作中選擇。 我已經搜索了所有文檔。
https://developers.google.com/adwords/api/docs/reference/v201502/AdGroupCriterionService.Bids
盡管此字段在響應中返回,但在輸入時會被忽略且無法選擇。
我正在使用這個例子來獲取關鍵字:
我找到了。
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;
抱歉打擾你。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.