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

Retrieving Responsive Display Ads

To retrieve the responsive display ads you've created, call the GoogleAdsService.SearchStream method with a query that filters ad types to RESPONSIVE_DISPLAY_AD. For example:

SELECT
  ad_group.id,
  ad_group_ad.ad.id,
  ad_group_ad.ad.responsive_display_ad.business_name,
  ad_group_ad.ad.responsive_display_ad.descriptions,
  ad_group_ad.ad.responsive_display_ad.headlines,
  ad_group_ad.ad.responsive_display_ad.long_headline,
  ad_group_ad.ad.responsive_display_ad.marketing_images,
  ad_group_ad.ad.responsive_display_ad.square_marketing_images,
  ad_group_ad.status
FROM ad_group_ad
WHERE ad_group_ad.ad.type = RESPONSIVE_DISPLAY_AD