Hello Justin,
On Friday, November 25, 2016 at 3:04:06 PM UTC+9, Justin wrote:
-- Oh, that would be hard time for you during these days.
You're almost there. Let's get through this together. :)
I see in your code, the selector requests FeedId, Status and PlaceholderType, which is not consistent with what's written in our guide:
Selector selector = new SelectorBuilder()
.fields("AttributeFieldMappings")
.equals("FeedId", feedId.toString())
.equals("Status", FeedMappingStatus.ENABLED.getValue())
.equals("PlaceholderType", placeholderType.toString())
.build();
As you can see, the selector in our guide requests for AttributeFieldMappings as well.
The AdWords API selector mostly returns the fields that are requested explicitly only, so if you don't include this in your selector, of course, you will find that AttributeFieldMappings are null. :-)
Please try adding this field to the selector. I believe this will work.
Hope this helps.
Best,
Thanet, AdWords API Team
On Friday, November 25, 2016 at 3:04:06 PM UTC+9, Justin wrote:
Hi Thanet and thank you kindly for your reply.
I've been quiet in the last few days because I've been trying to follow yours (and the above) advice in getting this to work.So far -- i've made SOME progress, but still not there yet. (yeah - this is really taking a long time).So this is what i've done and how far I've got and something is still not working for me :(- Created a _TEST_ adwords campaign manager account and then a campaign.- Create a Feed (Shared Library -> Business Data -> new Data Feed -> upload some fake data)- Next I'm trying to do the first part of the GUIDE : Placeholder to Attribute Mapping.Doing this, I can auth, I get back a FeedMappingService but the attributeMappingFields are NULL.I've double checked my FeedId and my ClientId and they seem to be ok ... when i had the manager-accountId as my clientId, I got NO .entries before... so I _feel like_ these Id's are correct.Is there any reason why the attributeMappingFields would be NULL?-J- (still attempting to get this working :/ )
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/12ad79ad-8b7d-456e-bbd8-5ba4cd727a8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


No comments:
Post a Comment