Re: How to get the the CPC Bid for each keyword - PHP

2017-09-26 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, Could you try the following line of code to get the CpcBid? $adGroupCriterion->getBiddingStrategyConfiguration()->getBids()[0]->getBid ()->getMicroAmount() The value will be returned in micros. You need to divide the microAmount by 100 to get the bid in the account's local currency.

Re: How to get the the CPC Bid for each keyword - PHP

2017-09-26 Thread office
Okay, but how can a get the CPC? This doesn't work?: echo $adGroupCriterion->getBiddingStrategyConfiguration()->getBids()[0]-> getBid(); -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/

Re: How to get the the CPC Bid for each keyword - PHP

2017-09-25 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, NegativeAdGroupCriterion does not have a BiddingStrategyConfiguration. This is the reason you encounter this error as you are trying to access an undefined method. If you

Re: How to get the the CPC Bid for each keyword - PHP

2017-09-21 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, You need to include the field *CpcBid* in the selector to populate the CpcBid.bid of the AdGroupCriterion returned in the response. The list of available selector fields for

How to get the the CPC Bid for each keyword - PHP

2017-09-21 Thread caredo . ag . kundencenter
Hello, i would like tho read out the CPC Bid for each keyword. I'm able to get the keywords with the getKewords.php Example. It should be possible to get the CPC Bid with the AdGroupCriterionService? How can i do this? class GetKeywords { const CAMPAIGN_GROUP_ID = '123742356'; const