php - How do I get the current CPC bid for a keyword in Google AdWords API? -
how current bid keyword in account? tried
$adgroupcriterion->biddingstrategyconfiguration->bids[0]->bid->value * adwordsconstants::micros_per_dollar;
but gave me error 'trying property of non-object'
. when add keyword, i'm able bid in return value ok.
the bid doesn't appear selectable in operation. i've searched on documentation it.
https://developers.google.com/adwords/api/docs/reference/v201502/adgroupcriterionservice.bids
although field returned in response, ignored on input , cannot selected.
i'm using example fetch keywords:
i found it.
https://developers.google.com/adwords/api/docs/reference/v201502/adgroupcriterionservice.cpcbid#bid
$selector->fields = array('id', 'keywordtext', 'keywordmatchtype', 'adgroupid', 'status', 'cpcbid');
and had property , operator wrong:
$adgroupcriterion->biddingstrategyconfiguration->bids[0]->bid->microamount / adwordsconstants::micros_per_dollar;
sorry bother you.
Comments
Post a Comment