How do I get incremental entity report with google ads api

40 views
Skip to first unread message

Dihan Cheng

unread,
Mar 31, 2020, 2:12:33 PM3/31/20
to AdWords API and Google Ads API Forum
Hi, 

By using GoogleAdsService in google ads api, I don't find how can I get only the updated entity data since last sync date;

anyone knows how can I get it?

thanks,

Dihan

Google Ads API Forum Advisor Prod

unread,
Mar 31, 2020, 3:38:43 PM3/31/20
to dch...@newengen.com, adwor...@googlegroups.com
Hi Dihan,

Thank you for reaching out. The available report date ranges are listed here. Unfortunately, there is no way to pull specifically from the last update. You can use the Change Status Service to pull the date of the most recent update and specify that as the starting point for your report using a custom date range.

Regards,
Mitchell
Google Ads API Team

ref:_00D1U1174p._5001UZVQLC:ref

Dihan Cheng

unread,
Mar 31, 2020, 4:50:01 PM3/31/20
to AdWords API and Google Ads API Forum
HI Mitchell,

not sure if I explained my question clearly, the issue is:

I use GoogleAdsService to do an initial sync of a large entity report with millions of records. And the sync process will run once everyday after the initial sync, but for the incremental sync, we don't want to sync all records every time, we only want to sync the records which have been changed since last sync. There is no Date for entity (for example, campaign, ad group, ...);  essentially Date only make sense for performance report but not for entities. what we really need is filter based on the last sync time of record.

is there any workaround?

thanks,

Dihan

Google Ads API Forum Advisor Prod

unread,
Apr 1, 2020, 12:39:32 PM4/1/20
to dch...@newengen.com, adwor...@googlegroups.com
Hi Dihan,

This isn't possible to do directly. The only potential workaround would be to call the Change Status Service as mentioned and filtering your call by the entities that have been changed over the last day.

Dihan Cheng

unread,
Apr 1, 2020, 12:47:00 PM4/1/20
to AdWords API and Google Ads API Forum
Gotcha, but even this workaround has limitations , not all entities are supported currently, right?

Google Ads API Forum Advisor Prod

unread,
Apr 1, 2020, 4:03:43 PM4/1/20
to dch...@newengen.com, adwor...@googlegroups.com
Hi Dihan,

You are correct that for now, the only entities that are supported are those listed in the documentation so there is some limitation to this strategy.

Dihan Cheng

unread,
Apr 1, 2020, 10:33:21 PM4/1/20
to AdWords API and Google Ads API Forum

 Then what if I want to incrementally sync entities which are not supported by google ads api now? for example, budget or keyword; is there any workaround? does Adwords api support it?

Google Ads API Forum Advisor Prod

unread,
Apr 2, 2020, 11:18:31 AM4/2/20
to dch...@newengen.com, adwor...@googlegroups.com
Hi Dihan,

Those entities are supported in Google Ads API just not in the Change Status Service specifically.

If you want to use AdWords, the CustomerSyncService supports changes to campaigns and feed items which would include keyword or budget changes to a campaign.

Dihan Cheng

unread,
Apr 2, 2020, 11:27:41 AM4/2/20
to AdWords API and Google Ads API Forum
Gotcha, thanks!
Reply all
Reply to author
Forward
0 new messages