Monday, 21 December 2015

Re: Matching function in ad customizer is not working

Hi,

Thanks for the quick response.

The output is been shared with you in output.txt.
The output is Feed with name 'MyFirstFeed556' and ID 32350825 with nameAttributeId Name 1 and priceAttributeId Price 2 and dateAttributeId Date 3 and inventoryId inventory 4 was created.

So, 1 corresponds to Name in Feed.

Thanks,
Kainesh

On Tuesday, December 22, 2015 at 2:59:16 AM UTC+5:30, Yin Niu wrote:
Hi Kanesh, 

Could you send the output for the following code? 

System.out.printf("Feed with name '%s' and ID %d with nameAttributeId %s %d"            + " and priceAttributeId %s %d and dateAttributeId %s %d and inventoryId %s %d"            + " was created.\n",            savedFeed.getName(),            savedFeed.getId(),            savedAttributes[0].getName(),            savedAttributes[0].getId(),            savedAttributes[1].getName(),            savedAttributes[1].getId(),            savedAttributes[2].getName(),            savedAttributes[2].getId(),            savedAttributes[3].getName(), 
savedAttributes[3].getId());

What is the attribute name for the attribute with id=1? 

In your query "EQUALS(FeedAttribute[" + feedId + ",1],\"HUL\")", you used feedAttributeId=1. That will be the attribute that it's matching against. 

You could also send me the SOAP request and response if the above check doesn't help you. 

To answer your second question, you won't be able to checking feed matching functions in UI. 

Thanks,
Yin, 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+unsubscribe@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+unsubscribe@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/973ec089-2817-4ed3-9b33-0a615992377b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment