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.