I'm using the UserListServiceClient to create and update User Lists, but I
keep getting the error "Request contains an invalid argument."
I've looked up various documentation, still not able to fix it, pleasetell
me to make it work.
Thanks.
Here's my API Request for the same.
const userListService = new UserListServiceClient()
userListService.mutateUserLists({
customer_id: customerId,
operations: [{
create: {
name: 'My New User List',
description: 'This is a test user list created through the Google Ads
API.',
membership_status: 'OPEN',
membership_life_span: 10000,
crm_based_user_list: {
upload_key_type: 'CONTACT_INFO',
},
},
}],
}).then((response) => {
console.log('Successfully mutated user lists:', response);
})
.catch((error) => {
console.log('Failed to mutate user lists:', error);
});
--
----------------------------------------------------------------------------------------------------------------------------------
All information contained herein is confidential and privileged. By
receiving this information, the recipient warrants that the said
information shall not be shared, distributed, disseminated, published or
otherwise circulated in any manner with any third party and the same shall
be kept confidential. Breach of this obligation shall make the recipient
liable to action under law.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/27672072-3afc-4e99-9de5-0c38fbc7d398n%40googlegroups.com.