Is it possible to run 1 API report and get data for LAST_7_DAYS, LAST_14_DAYS and LAST_30_DAYS?

27 views
Skip to first unread message

Martin E

unread,
Sep 3, 2019, 4:26:12 PM9/3/19
to AdWords API and Google Ads API Forum
Hi there,

I've done a fair bit of research and can't find the answer I was looking for.

I'm trying to cut down on some API requests. I'm getting the account level click through rate for 3 different date ranges.

My question is, is it possible to run a report and get (a single piece of) information for three date ranges? E.g. LAST_7_DAYS, LAST_14_DAYS and LAST_30_DAYS

This is one of my three calls:

Account.api.report({
  entity
: 'customer',
  metrics
: ['metrics.ctr'],
  date_constant
: 'LAST_7_DAYS'
})

Hope you can help

Google Ads API Forum Advisor Prod

unread,
Sep 4, 2019, 6:22:33 AM9/4/19
to adwor...@googlegroups.com
Hi Martin,

Thanks for posting your concern.

I am afraid that it is currently not possible to retrieve the AdWords API reports with 3 different date ranges. You need to make 3 different API calls to download the report for each date range.

Let me know if you have further questions.

Regards,
Ejay
Google Ads API Team

ref:_00D1U1174p._5001UHFZB1:ref

Martin E

unread,
Sep 5, 2019, 3:14:07 PM9/5/19
to AdWords API and Google Ads API Forum
Ah ok, thank you. I've got 3 views at the moment, so I'll keep it as is.
Reply all
Reply to author
Forward
0 new messages