Google Ads API can't pull data older than 90 days?

895 views
Skip to first unread message

Zhisheng Zhou

unread,
Feb 5, 2021, 2:30:57 PM2/5/21
to AdWords API and Google Ads API Forum
Hi. I am trying to pull data(2020-02-01) from click_view, and this is the request:

--header 'Authorization: Bearer {{token}}' \
--header 'developer-token: ALkDA5a-bcH2N-mcan-UzQ' \
--header 'Content-Type: application/json' \
--header 'login-customer-id: 785XXXXXXX' \
--data-raw '{
"query": "SELECT customer.descriptive_name,ad_group.id,ad_group.name,ad_group.status,segments.ad_network_type,click_view.area_of_interest.city,click_view.area_of_interest.country,click_view.area_of_interest.metro,click_view.area_of_interest.most_specific,click_view.area_of_interest.region,campaign.id FROM click_view WHERE segments.date = '\''2020-02-01'\''",
"return_total_results_count": "true",
"validate_only": "false"
}'

And I got: 
         "message": "The requested date is too old. It cannot be older than 90 days."

Is there a way to get data older than 90 days plz?

Best,

Zhisheng

Google Ads API Forum Advisor Prod

unread,
Feb 8, 2021, 9:49:23 AM2/8/21
to zhisheng...@gmail.com, adwor...@googlegroups.com
Hello Zhisheng,

As stated in the click_view document, queries including ClickView must have a filter limiting the results to one day and can be requested for dates back to 90 days before the time of the request.

Regards,
Anthony

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q2BeIHB:ref

Zhisheng Zhou

unread,
Mar 2, 2021, 2:55:51 PM3/2/21
to AdWords API and Google Ads API Forum
Thanks! What we can do if we need history date(older than 90 days)?

Best,

Zhisheng

Google Ads API Forum Advisor Prod

unread,
Mar 3, 2021, 9:38:05 AM3/3/21
to zhisheng...@gmail.com, adwor...@googlegroups.com
Hi Zhisheng,

Unfortunately, there is no workaround to get this data passed 90 days. 
Reply all
Reply to author
Forward
0 new messages