Thanks Joyce. That works. In terms of efficiency, would you recommend using BatchJobService and/or creating multiple CRM User Lists and using multiple threads if I have 100+ of these mutateMemberOperations to call?
Yang
On Wednesday, June 1, 2016 at 11:09:47 PM UTC+8, Joyce Lava wrote:
-- Yang
On Wednesday, June 1, 2016 at 11:09:47 PM UTC+8, Joyce Lava wrote:
Hi Yang,You don't need to add 100 separate list. You could create one CrmBasedUserList. The first call, which is the mutate, creates the CrmBasedUserList, with no members. The subsequent calls are to mutateMembers, which can then add people to the existing list up to 10,000 per operation/request. If you have 1,000,000 email addresses, you can have 100 different requests for the same user list (e.g. AdwordsUserListService.mutateMembers( mutateMembersOperation contains 10,000 user emails).mutateMembersOperation1)) , AdwordsUserListService. mutateMembers( mutateMembersOperation2)), ..up to AdwordsUserListService. mutateMembers( mutateMembersOperation100) each Regarding the remove operation in the API, yes, it is currently not supported by AdwordsUserListService, however, as a workaround, you can set the status into CLOSED.Hope it helps.Thanks and Regards,Joyce, 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/24ade97c-10f6-47ce-aa56-59bfd9d31ec1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment