Hi,
Thank you for contacting the Google Ads API support team.
In order to include multiple ad group Ids together as a filter, you can use ‘IN’ instead of ‘=’ operator. Please refer to the sample GAQL query:-
SELECT ad_group.id, ad_group.name FROM ad_group WHERE ad_group.id IN (<ad_group Id1>, <ad_group Id2>, <ad_group Id3>)
I hope this clarifies your issue. Feel free to reach out for any further concern/ queries.
![]() |
Google Ads API Team |