AdWords API Re: Displaying updated adgroup CPC

2010-02-22 Thread Mike-Indiana
Thanks for your help Eric, I switched from ApiAbility and I'm trying to get this all figured out. Mike On Feb 22, 11:25 am, AdWords API Advisor wrote: > Hi, > > The bid is a complex object, if you want the numerical money value > inside it you need to unwrap the object, the same way you built i

AdWords API Re: Displaying updated adgroup CPC

2010-02-22 Thread AdWords API Advisor
Hi, The bid is a complex object, if you want the numerical money value inside it you need to unwrap the object, the same way you built it: $value = $adGroup->bids->keywordMaxCpc->amount->microAmount; The AdWords API developer documentation shows these field names and their types: http://co

AdWords API Re: Displaying updated adgroup CPC

2010-02-19 Thread Mike-Indiana
Hi Eric, Thanks for the reply. I'm running into this error: Catchable fatal error: Object of class Bid could not be converted to string On Feb 18, 9:37 am, AdWords API Advisor wrote: > Hi, > > You need to retrieve the value the same way you are setting it.  In > this case your code should be:

AdWords API Re: Displaying updated adgroup CPC

2010-02-18 Thread AdWords API Advisor
Hi, You need to retrieve the value the same way you are setting it. In this case your code should be: $newstatus = $adGroup->bids->keywordMaxCpc; Best, - Eric Koleda, AdWords API Team On Feb 17, 5:52 pm, "michaelyanda+...@gmail.com" wrote: > Hi, updating an adgroup CPC is completed smoothly