Hello Google Ads API Support Team,
I’m reaching out regarding an issue I’m facing while trying to manage user
lists via the Google Ads API.
In the Google Ads UI, I can see several user lists under the *“Removed”*
segment filter, and I’m able to manually re-enable them there. However,
when I attempt to fetch user lists through the API, I only receive the
*enabled* lists — the removed ones do not appear in the query results.
Here’s the query I’m using:
SELECT
user_list.type,
user_list.size_range_for_search,
user_list.size_range_for_display,
user_list.size_for_search,
user_list.size_for_display,
user_list.similar_user_list.seed_user_list,
user_list.name,
user_list.access_reason,
user_list.description,
user_list.resource_name,
user_list.id,
user_list.membership_status,
user_list.membership_life_span,
user_list.account_user_list_status
FROM
user_list
I have tried with and without SearchSetting and ValidateOnly options from
below request
SearchGoogleAdsRequest request = new SearchGoogleAdsRequest
{
Query = query,
CustomerId = $"{clientId}",
SearchSettings = new SearchSettings
{
OmitResults = false,
ReturnTotalResultsCount = true
},
ValidateOnly = false,
};
Could you please confirm:
1.
How can I retrieve *removed* user lists via the API?
2.
Once fetched, what is the proper method or API operation to *re-enable*
those removed user lists programmatically?
Any guidance or sample request would be greatly appreciated.
Thank you for your help!
Best regards,
Dnyaneshwar Dhakane
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 visit
https://groups.google.com/d/msgid/adwords-api/d1ef7621-64c2-4e4c-9ddb-ef38564f314en%40googlegroups.com.