Retrieving Responsive Search Ads
Stay organized with collections
Save and categorize content based on your preferences.
To retrieve the responsive search ads you've created, call the
GoogleAdsService.SearchStream
method with a query that filters ad types to
RESPONSIVE_SEARCH_AD
.
For example:
SELECT
ad_group.id,
ad_group_ad.ad.id,
ad_group_ad.ad.responsive_search_ad.headlines,
ad_group_ad.ad.responsive_search_ad.descriptions,
ad_group_ad.status
FROM ad_group_ad
WHERE ad_group_ad.ad.type = RESPONSIVE_SEARCH_AD
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-25 UTC.
[null,null,["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eRetrieve your created responsive search ads using the \u003ccode\u003eGoogleAdsService.SearchStream\u003c/code\u003e method and a query that filters for \u003ccode\u003eRESPONSIVE_SEARCH_AD\u003c/code\u003e type.\u003c/p\u003e\n"],["\u003cp\u003eThe provided example query selects ad group and ad IDs, headlines, descriptions, and status for responsive search ads.\u003c/p\u003e\n"]]],[],null,["# Retrieving Responsive Search Ads\n\nTo retrieve the responsive search ads you've created, call the\n[`GoogleAdsService.SearchStream`](/google-ads/api/reference/rpc/v21/GoogleAdsService/SearchStream)\nmethod with a query that filters ad types to\n[`RESPONSIVE_SEARCH_AD`](/google-ads/api/reference/rpc/v21/AdTypeEnum.AdType#responsive_search_ad).\nFor example: \n\n SELECT\n ad_group.id,\n ad_group_ad.ad.id,\n ad_group_ad.ad.responsive_search_ad.headlines,\n ad_group_ad.ad.responsive_search_ad.descriptions,\n ad_group_ad.status\n FROM ad_group_ad\n WHERE ad_group_ad.ad.type = RESPONSIVE_SEARCH_AD"]]