Removing users from UserList with Google Ads API

934 views
Skip to first unread message

Roman Marakulin

unread,
Mar 15, 2021, 11:52:02 AM3/15/21
to AdWords API and Google Ads API Forum
Hello,
There is an example how to add users to a userList (https://developers.google.com/google-ads/api/docs/samples/add-customer-match-user-list), but how can we remove specific users from it (java)?

Can I get an approve that to remove users from userLists we have to add an operation ("setRemove"):
```
operations.add(OfflineUserDataJobOperation.newBuilder().setRemove(ud).build());
```
So, all that we have to do is to change "setCreate" to "setRemove"?

And how can we replace users with new ones in a userList?

Google Ads API Forum Advisor Prod

unread,
Mar 16, 2021, 5:01:22 AM3/16/21
to mara...@joom.com, adwor...@googlegroups.com
Hi Roman,

Thank you for raising your concern.

The approach that you've mentioned is correct for removing and replacing members in a user list.

However, if you want to get support on implementing the code for managing user list, then I would suggest reaching out to the author of the Java client library by posting your concern to this link. They are more equipped/technical to provide support to issues and concerns related to Java client library.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Dvg6B:ref

Tejanth Atyam

unread,
Oct 22, 2022, 1:52:38 PM10/22/22
to Google Ads API and AdWords API Forum
Hi, I m trying to remove users from a customer match user list using python. It is throwing an error while assigning a boolean value to remove_all and is there any documentation apart from this.
Thanks in advance.

Google Ads API Forum Advisor

unread,
Oct 24, 2022, 6:30:35 AM10/24/22
to tejant...@thecollective.energy, adwor...@googlegroups.com

Hi Tejanth,


Thanks for reaching out to the Google Ads API team. I hope you are doing well today.
 

To further investigate the issue, could you please provide a screenshot of the error you encountered and the complete request and response logs, with the request-id? If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link. I ask this so our team further investigates your concern and provides specific recommendations on the issue.

You can provide it via Reply privately to the author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.
 

Regards,

Google Logo
Darwin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Dvg6B:ref

Odey Kassam

unread,
Jun 9, 2023, 2:46:29 AM6/9/23
to Google Ads API and AdWords API Forum
Hey Tejanth, were you able to do this? 

Google Ads API Forum Advisor

unread,
Jun 14, 2023, 12:31:06 PM6/14/23
to odeyk...@gmail.com, adwor...@googlegroups.com

Hi, 

Thanks for reaching out to the Google Ads API Forum. I hope you are doing well today.

@Odey 
Do you have the same issue related to this? If so, could you provide more context or details? In line with this, we recommend creating a new email or forum thread for better tracking and updates.

@Tejanth
Please provide the needed information requested and mentioned above (complete request and response logs, with the request-id). Your response is highly appreciated to help further with your concern.  

Have a great day.
 

This message is in relation to case "ref:_00D1U1174p._5004Q2Dvg6B:ref"

Thanks,

 
Google Logo Google Ads API Team


Tejanth Atyam

unread,
Jul 27, 2023, 8:58:29 AM7/27/23
to Google Ads API and AdWords API Forum
No,did you?if yes could you please help me?
Reply all
Reply to author
Forward
0 new messages