Re: Unable to setup FeedMapping for FINAL_URL

2016-06-16 Thread 'Shwetha Vastrad (AdWords API Team)' via 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.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d7f4e2ff-9da1-4d47-b5c7-29ff5816ed03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unable to setup FeedMapping for FINAL_URL

2016-06-16 Thread Gazal Garg
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. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.