Hi,

When I call the API to get performance numbers, I always get it in a sum? I 
want to get it on a daily basis, is that possible?

So instead of:
sum,100,200,300

Then I get maybe something like:
20/1,10,20,30
21/1,10,20,30
22/1,80,160,240
sum,100,200,300

Right now I do like this, but I get the sum instead of the number on a 
daily basis, what should I change?:

report.getReport('v201809', {
reportName: 'Custom Adgroup Performance Report',
reportType: 'CAMPAIGN_PERFORMANCE_REPORT',
fields: ['Impressions'],
filters: [
{ field: 'CampaignStatus', operator: 'IN', values: ['ENABLED', 'PAUSED'] }
],
dateRangeType: 'CUSTOM_DATE',
startDate: adsDate,
endDate: adsDate,
format: 'CSV'
}, (error, report) => {
if (report) {
report = report.split("\n").map(row => row.split(","))
report.pop()
}
impressions.push(report)
next()
})

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/93262d71-72f8-4e8e-8283-2e09670eaecb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to