Sitelinks migration example code issue? FeedMappings question

21 views
Skip to first unread message

Bejan @ MarketFlare

unread,
May 8, 2016, 6:52:52 PM5/8/16
to AdWords API Forum

RE: sitelinks migration guide @ https://developers.google.com/adwords/api/docs/guides/extension-settings#migration_steps

This value of sitelinkFromFeed.Line3 should be set and not sitelinkFromFeed.Text, right?



Also it's not clear how the feedMappings value from GetFeedMapping() should be used as the example code does not use it. Or am I just not seeing it?

Thanks,

Bejan A.
http://www.marketflare.com
Auto Generated Inline Image 1

Umesh Dengale

unread,
May 9, 2016, 10:57:48 AM5/9/16
to AdWords API Forum
Hi Bejan,

To convert a FeedItem into a SitelinksFromFeed object, we need to retrieve the FeedMapping for the feed, and then map each attribute into the corresponding object properties. Please check out GetFeedMapping function line# 271 which is called at line # 203 in the MigrateToExtensionSettings C# example code from the client library. Other languages example code could be found here.

Thanks,
Umesh, AdWords API Team.

Bejan @ MarketFlare

unread,
May 9, 2016, 3:41:14 PM5/9/16
to AdWords API Forum
Thanks, Umesh. This example code clarifies the process and also does not have the bug at the migration document.

Bejan A.
http://www.marketflare.com
Reply all
Reply to author
Forward
0 new messages