Learn more about migrating to the Google Ads API by watching our latest webinar

Retrieving Responsive Search Ads

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