CustomerSyncService does not return changedFeeds in CampaignChangeData object

135 views
Skip to first unread message

Tomas Rimkus

unread,
Feb 6, 2015, 9:22:17 AM2/6/15
to adwor...@googlegroups.com
* When getting campaign changes with CustomerSyncService, CustomerChangeData->CampaignChangeData->changedFeeds field is never set even there were changes to the feeds. However, I can get those feed changes by setting feedIds in the Selector object and checking for changes in CustomerChangeData->FeedChangeData.
* If I set both campaignIds and feedIds in CustomerSyncSelector object, I always get an empty response. Why can't I get both campaign and feed changes at once? Why do I have to do two requests?

Tomas Rimkus

unread,
Feb 9, 2015, 6:39:33 AM2/9/15
to adwor...@googlegroups.com
Also, can you tell me why are you using non-standard timezone abbreviation in lastChangeTimestamp (PST8PDT) which is not supported by standard date parsing utils?

Josh Radcliff (AdWords API Team)

unread,
Feb 9, 2015, 10:08:21 AM2/9/15
to adwor...@googlegroups.com
Hi,

Could you send your account ID (xxx-xxx-xxxx) and the XML request you are sending with both feed IDs and campaign IDs only to me by clicking Reply to Author on this message? I don't see anything in the service handler that would cause an empty response if both types of IDs are specified, so having an example would be helpful.

Regarding PST8PDT, that is a valid timezone in the tz database (e.g., see here). Many libraries such as Joda Time recognize this time zone identifier.

Thanks,
Josh, AdWords API Team

Tomas Rimkus

unread,
Feb 10, 2015, 4:35:57 AM2/10/15
to adwor...@googlegroups.com
Ok, another thing. Can you please confirm it or deny? changedCampaigns->changedFeeds will indicate changes to feed items only if feed items are associated with some campaign using feedItem->campaignTargeting association.

Or maybe changedCampaigns->changedFeeds only shows changes to feed fields and changes to feed items are disregarded? Can you explain how it works and why I get changes under changedFeeds->changedFeedItems but changedCampaigns->changedFeeds reports that there were no changes when same date interval is used and feeds are associated with campaign using CampaignFeedService?

Josh Radcliff (AdWords API Team)

unread,
Feb 10, 2015, 6:22:23 PM2/10/15
to adwor...@googlegroups.com
Hi,

The CampaignChangeData.changedFeeds collection does not reflect changes to attributes of FeedItems. Instead, it reflects changes to the association between a Campaign and a Feed -- that's why changedFeeds is a collection of Feed IDs instead of a collection of FeedItem IDs. This association can change due to a change in CampaignFeed objects or a change in FeedItem.campaignTargeting.

For changes to individual FeedItems, you should look at the CustomerChangeData.changedFeeds returned by the sync service.

Thanks,
Josh, AdWords API Team

Tomas Rimkus

unread,
Feb 11, 2015, 4:25:17 AM2/11/15
to adwor...@googlegroups.com
So, if I create a new Feed and associate it with a Campaign using CampaignFeedService, the ID of the new Feed should show up under changedCampaigns->changedFeeds when checking for campaign changes? Is that correct?

Josh Radcliff (AdWords API Team)

unread,
Feb 11, 2015, 2:32:58 PM2/11/15
to adwor...@googlegroups.com
Hi,

Yes, that's correct.

Thanks,
Josh, AdWords API Team

Tomas Rimkus

unread,
Mar 6, 2015, 4:43:55 AM3/6/15
to adwor...@googlegroups.com
On Friday, February 6, 2015 at 3:22:17 PM UTC+1, Tomas Rimkus wrote:
* If I set both campaignIds and feedIds in CustomerSyncSelector object, I always get an empty response. Why can't I get both campaign and feed changes at once? Why do I have to do two requests?

Any update on this issue?

Josh Radcliff (AdWords API Team)

unread,
Mar 6, 2015, 10:41:14 AM3/6/15
to adwor...@googlegroups.com
Hi,

I just reached out to the engineering team for an update. I'll post back here as soon as I hear from them.

Thanks,
Josh, AdWords API Team

Chirag

unread,
Feb 25, 2016, 8:31:12 AM2/25/16
to AdWords API Forum
Hello Josh,

Any update on this.
Actually i am also facing same issue, the feeds are changed but it is not reflecting as changedfeeds for customerSyncservice.

Thanks,

Josh Radcliff (AdWords API Team)

unread,
Feb 25, 2016, 11:37:34 AM2/25/16
to AdWords API Forum
Hi,

Still no update, unfortunately. Since fixing this would change the behavior of CustomerSyncService, I would only expect this to be addressed in a new version of the AdWords API and announced on our blog. You can subscribe to updates to the blog by joining the AdWords API Announcements group.

In the meantime, if I get any additional information I'll be sure to post it to this discussion.

Thanks,
Josh, AdWords API Team

Josh Radcliff (AdWords API Team)

unread,
May 2, 2016, 2:32:51 PM5/2/16
to AdWords API Forum
Hi,

Good news: this issue was recently fixed. If you find you are still running into problems when specifying both campaign and feed IDs, please let me know.

Thanks,
Josh, AdWords API Team

Tomas Rimkus

unread,
May 3, 2016, 4:06:03 AM5/3/16
to AdWords API Forum
And it only took ~1 year to fix it...
Reply all
Reply to author
Forward
0 new messages