AdWords API Adgroup and Keyword Max CPC

2010-02-16 Thread michaelyanda+...@gmail.com
I'm stumped on this one. // Create ad group bid. $adGroupBids = new ManualCPCAdGroupBids(); $bids->maxCpc = new Bid(new Money(100)); Does anyone have reference on the new Bid / new Money functions? I am trying: $adGroupBids->keywordMaxCpc = new Bid(null, $agcpc); However, it does not work o

AdWords API Re: Adgroup and Keyword Max CPC

2010-02-16 Thread michaelyanda+...@gmail.com
The function was missing new Money. Problem solved. $agcpcG = ($agcpc * 100); $adGroupBids->keywordMaxCpc = new Bid(new Money($agcpcG)); -- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-...@g

AdWords API Displaying updated adgroup CPC

2010-02-17 Thread michaelyanda+...@gmail.com
Hi, updating an adgroup CPC is completed smoothly, however I am having problems printing the value. In PHP, my code is: (Please see $newstatus = $adGroup->keywordMaxCpc;) // Adjust bid to micro format $agcpcG = ($cpc * 100); // Create ad group bid. $adGroupBid