Adding attribute field mappings

71 views
Skip to first unread message

Magnus Ljung

unread,
Nov 6, 2013, 8:58:52 AM11/6/13
to adwor...@googlegroups.com
Hi,

I have a feed for sitelinks with mappings for the text and url fields. Now I see that the description 1 and 2 fields are generally available through the API. So I would like to add those attributes to my feed and the corresponding attribute field mappings to my FeedMapping.

It worked great to add new attributes to the feed, but I can't figure out how to add more attribute field mappings to an existing feed mapping.

I tried with an ADD operation, but, not surprisingly, the API responded with FeedMappingError.MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE. 

I also tried with SET, which seems more logical, but the API responded with OperatorError.OPERATOR_NOT_SUPPORTED.

Is it possible to add attribute field mappings to an existing FeedMapping? If not, what is the recommended way to add support for description fields for sitelinks?

Regards
Magnus Ljung

Magnus Ljung

unread,
Nov 18, 2013, 2:20:38 AM11/18/13
to adwor...@googlegroups.com
I guess the answer came in this blog post: http://googleadsdeveloper.blogspot.se/2013/11/increase-sitelinks-performance-with.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+GoogleAdsDeveloperBlog+(Google+Ads+Developer+Blog)

Just remove the old FeedMapping and add a new one with containing both the old and new field mapping attributes.
Reply all
Reply to author
Forward
0 new messages