I'm using AdWords API to manage product feed for Dynamic Remarking using Custom 
Type Feed Placeholder Template 
<https://developers.google.com/adwords/api/docs/appendix/placeholders#custom>
. 
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 
<https://developers.google.com/adwords/api/docs/guides/upgraded-urls#supported_entities>
 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. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a357c4d8-5762-4eea-a74f-1b2c70504c38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Unable to setup... Gazal Garg
    • Re: Unable... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to