Hello, So I've been using the Python SDK to create and populate CRM based user lists. It works great with emails and phones separately, but it doesn't seem to work when I try with both.
I've been following this piece of documentation for the code: https://developers.google.com/adwords/api/docs/samples/python/remarketing#add-crm-based-user-list This page about AdwordsUserListService members seems to indicate that I can use multiple keys as long as they are all of type "CONTACT_INFO" : https://developers.google.com/adwords/api/docs/reference/v201806/AdwordsUserListService.Member I am testing with 3 lists, containing the same users : - 1 with only their hashed mails - 1 with only their hashed phone numbers - 1 with both their hashed mails and hashed phone numbers When I populate using the users and only 1 key (either mail or phone), everything goes smoothly and the audience gets populated after a few hours, as usual. But when I populate the audience with both "hashedEmail" and "hashedPhoneNumber" keys, even though the requests work without errors (exactly the same as when I populate the audience with a single key), the audience never populates. Is it possible to populate an audience with multiple CONTACT_INFO keys (preferably using the python SDK) ? If it is, how ? More details API version : v201806 I use this to create the CRM based audience, it does create the audience correctly user_list = { 'xsi_type': 'CrmBasedUserList', 'name': 'A name', 'description': 'A description', 'uploadKeyType': 'CONTACT_INFO' } operations = [{ 'operator': 'ADD', 'operand': user_list }] client.GetService('AdwordsUserListService', 'v201806').mutate(operations) Then I add the users like this: mutate_members_operation = { 'operand': { userListId : 123456789, membersList : [ { 'hashedEmail': 'hashedEmailValue1', 'hashedPhoneNumber': 'hashedPhoneNumberValue1' }, { 'hashedEmail': 'hashedEmailValue2', 'hashedPhoneNumber': 'hashedPhoneNumberValue2' }, etc. ] }, 'operator': 'ADD' } client.GetService('AdwordsUserListService', 'v201806').mutateMembers([ mutate_members_operation]) Again, everything goes smoothly, no errors. But the audience never populates. I also tried formatting my memberList like this: { [...] membersList : [ { 'hashedEmail': 'hashedEmailValue1' }, { 'hashedPhoneNumber': 'hashedPhoneNumberValue1' }, { 'hashedEmail': 'hashedEmailValue2' }, { 'hashedPhoneNumber': 'hashedPhoneNumberValue2' } etc. ] [...] } So basically using only one-key dicts, again, no errors, but still the audience never populates. Thank you in advance, Tristan -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. 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/cc41f229-6ae0-471f-9605-f9186834a72b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
