Re: google adwords api php library

2016-07-12 Thread Li Tan
I use a helper function to get the money too. public function moneyInDollars($money) { return number_format(($money / 100.00), 2); } On Tuesday, July 12, 2016 at 6:52:03 AM UTC-7, Jay Desai wrote: > > I have setup the account with my mcc account and executed the examples > reporting co

Re: google adwords api php library

2016-07-12 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Jay, In AdWords API reports, fields of type Money are returned in micro units in the local currency. You would need to divide the value obtained from reports by 1,000,000 to get the comparable

google adwords api php library

2016-07-12 Thread Jay Desai
I have setup the account with my mcc account and executed the examples reporting code for campaign performance report for one of my customerclient id. This is the code: SetClientCustomerId('731-721-7585'); // Prepare a date range for the last week. Instead you can use 'LAST_7_D