FeedItem Feed Upload

38 views
Skip to first unread message

s...@feedonomics.com

unread,
Oct 2, 2017, 1:47:54 PM10/2/17
to AdWords API Forum
Hi,

So FeedItems can be uploaded from the Google dashboard via a feed file, but is there a way to do so through code, like an API call?

Thanks

Jude Amagoh

unread,
Oct 2, 2017, 3:36:35 PM10/2/17
to AdWords API Forum
Hi, 

You need to use FeedItemService to add, remove or update FeedItems. This guide shows how to construct FeedItemOperations to add, remove and update FeedItems along with sample code snippets. The Feed Services guide provides more details on working with feeds in AdWords API. 

Regards,
Jude, AdWords API Team.

s...@feedonomics.com

unread,
Oct 3, 2017, 1:08:25 PM10/3/17
to AdWords API Forum
Thanks. It looks like we have operations to add FeedItems one by one, but is there a way to trigger the upload of a whole feed file?

Jude Amagoh

unread,
Oct 3, 2017, 3:54:21 PM10/3/17
to AdWords API Forum
Hi Sam, 

You can create your feeds using the FeedService and then populate your FeedItems using the FeedItemService. Here is a sample in Java which creates and populates a SiteLink Feed. If you wish to upload the FeedItems to a Feed in bulk, you can use the FeedItemOperation in BatchjobService. You can check the code samples for BatchJobService here. Samples in other languages can also be found here

Regards,
Jude, AdWords API Team
Reply all
Reply to author
Forward
0 new messages