Hi SK,
Sorry about the delay. In order to grab the relevant adgroups, you will need to run two queries. First, run a query to grab all adgroups. Next, run a query to grab all adgroups with a USERLIST criteria. Then you can remove all entries returned by the second query from the data retrieved in the first query. This will leave you with a list of adgroups that don't have USERLIST criteria.
In order to set an audience to
Bid Only, you will need to set the
targetAll field in the
TargetingSettingDetail to
true.
Cheers,
Anthony