Unable to setup FeedMapping for FINAL_URL

24 views
Skip to first unread message

Gazal Garg

unread,
Jun 16, 2016, 7:52:44 AM6/16/16
to AdWords API Forum
I'm using AdWords API to manage product feed for Dynamic Remarking using Custom Type Feed Placeholder Template
I'm able to setup the feed with all the attributes but I'm unable to setup feed-mapping for FINAL_URL of type URL_LIST with PLACEHOLDER ID = 13.

The mapping for all other attribute seem to work fine but as soon as I include a FeedMappingAttribute for FINAL_URL of type URL_LIST for PLACEHOLDER_ID = 13 the API stops working with exception message - null.

Setting up feed attribute for FINAL_URL.

val finalUrlAttribute: FeedAttribute = new FeedAttribute()
finalUrlAttribute.setType(FeedAttributeType.URL_LIST)
finalUrlAttribute.setName("FINAL_URL")
finalUrlAttribute.setIsPartOfKey(false)
finalUrlAttribute

Setting up feed attribute mapping.

val finalUrlFieldMapping: AttributeFieldMapping = new AttributeFieldMapping()
finalUrlFieldMapping.setFeedAttributeId(7)
finalUrlFieldMapping.setFieldId(13)
finalUrlFieldMapping

Final URL is a mandatory field and I'm not able to get it to work with this code.

I also went through this doc about Upgraded Url and could not find any thing relevant for CustomType Feeds, although all the examples here talks about only SiteLink Feed.

Any insights you could provide will be really helpful. 

Shwetha Vastrad (AdWords API Team)

unread,
Jun 16, 2016, 12:04:02 PM6/16/16
to AdWords API Forum
Hi Gazal, 

Could you provide the SOAP request and response for this request along with your clientCustomerId, so I can further investigate? Did you set the correct PlaceholderType when you created the FeedMapping? Please use Reply privately to author when responding.

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