Getting Budget amount changes with CustomerSyncService

74 views
Skip to first unread message

Tomas Rimkus

unread,
Jan 26, 2015, 5:58:01 AM1/26/15
to adwor...@googlegroups.com
I understand that I can find out if a different Budget object was assigned to a campaign (budget ID changes) by checking if campaignChangeStatus was set to FIELDS_CHANGED. However I would like to check if budget amount changed even the same budget object is used (ID did not change). How can I do that?

Josh Radcliff (AdWords API Team)

unread,
Jan 26, 2015, 1:17:31 PM1/26/15
to adwor...@googlegroups.com
Hi,

Since all of the change data is for the campaign level or objects within the campaign, I don't think you'll be able to detect changes to a shared Budget object (independent of a specific Campaign). If you need to detect changes to a shared Budget that is not attached to any campaigns, you'll have to poll the BudgetService periodically and compare the results to the previous state stored in your application.

Thanks,
Josh, AdWords API Team

Tomas Rimkus

unread,
Jan 26, 2015, 1:25:24 PM1/26/15
to adwor...@googlegroups.com
You might be misunderstanding me a bit.
1) I understand that if shared budget assigned to campaign is changed (totally different budget with different budget ID is assigned) campaignChangeStatus should indicate that.
2) Now what happens if the assigned budget is modified but not changed entirely (for example, amount field changes)? Will campaignChangeStatus still change to FIELDS_CHANGED?

Josh Radcliff (AdWords API Team)

unread,
Jan 27, 2015, 3:37:33 PM1/27/15
to adwor...@googlegroups.com
Hi,

Thanks for clarifying. I just tried this on my test account by changing the budget amount on a shared budget that was linked to two campaigns. After about 15 minutes, I ran CustomerSyncService for those campaign IDs and a min/max date range of today, and the service returned FIELDS_CHANGED for both campaigns.

Cheers,
Josh, AdWords API Team

Tomas Rimkus

unread,
Jan 27, 2015, 3:41:15 PM1/27/15
to adwor...@googlegroups.com
Thanks. That's exactly what I wanted to know.
Reply all
Reply to author
Forward
0 new messages