Spend amount by the purchase order

2014-07-06 Thread Dzu
Hello, we have bill: Bill to:, details: Product, Account, Order name, Purchase Order, Amount (EU) And here is *Purchase Order* and *Amount (EU), *amout is all money of order *, *is way to see how much is spent money by *Purchase Order *in *yesterday* or custom date? -- -- =~

Re: Getting Null Pointer Exception when downloading adhoc report

2014-07-06 Thread Jyothi Vejju
Hi Danial, The problem was the wrong set of clientId and clientSecret being passed. Even if the refresh token is wrong, it shows NPE. A better error message would have helped :) Thanks, Jyothi On Friday, July 4, 2014 1:46:39 PM UTC, Danial Klimkin wrote: > > Hello Jyothi, > > > Thank you. The l

Re: ReportDefinition "Cost" field format change?

2014-07-06 Thread Oliver
In the v201402 release notes: https://developers.google.com/adwords/api/docs/reference/ there is a section that says: ReturnMoneyMicros defaults to true Money fields will be returned in micros by default. You c

Re: ReportDefinition "Cost" field format change?

2014-07-06 Thread stiggywigget
Minor correction. $xml = ReportUtils::DownloadReport($reportDefinition, $filepath = NULL, $user, NULL); On Sunday, July 6, 2014 12:14:00 PM UTC-4, stiggywigget wrote: > > The docs clearly state that for a CAMPAIGN_PERFORMANCE_REPORT field "Cost" > is type Money. > > $user->LoadService('ReportDe

Re: ReportDefinition "Cost" field format change?

2014-07-06 Thread stiggywigget
The docs clearly state that for a CAMPAIGN_PERFORMANCE_REPORT field "Cost" is type Money. $user->LoadService('ReportDefinitionService', ADWORDS_VERSION); // Create selector. $selector = new Selector(); $selector->fields = array('CampaignId', 'CampaignName', 'Status', 'Clicks', 'Cost', 'Date');