Replace existing audience list - Rest API

121 views
Skip to first unread message

Niklas Tellini

unread,
Feb 8, 2024, 4:22:47 AM2/8/24
to Google Ads API and AdWords API Forum
Hello,

I want to know if it is possible to replace an audience list with a new customer list using the REST API. I do not want to remove the entire list but only to empty it.

GoogleAds.png

Google Ads API Forum Advisor

unread,
Feb 8, 2024, 8:50:01 AM2/8/24
to niklas....@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

By reviewing your concern, I understand that you want to replace the audience list with a new customer list using the Google Ads API.

To completely replace the members of a user list with new members, order the operations in AddOfflineUserDataJobOperationsRequest in this sequence:

  • Set remove_all to true in an OfflineUserDataJobOperation.
  • For each new member, add a create operation, setting their UserData in an OfflineUserDataJobOperation.

remove_all operations are executed hourly, and could run for up to 24 hours.

I would recommend you to check this documentation on the Manage customer lists.

 

This message is in relation to case "ref:!00D1U01174p.!5004Q02rywAF:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages