I suggest you to check the
sample code which shows how to create responsive search ads. As with other ads, ad creation is accomplished using
AdGroupAdService.MutateAdGroupAds . A
ResponsiveSearchAdInfo requires at least three headlines, at least two descriptions, and at least one final URL.
Also, you can retrieve the responsive search ads you've created, call the
GoogleAdsService.SearchStream method with a query that filters ad types to
RESPONSIVE_SEARCH_AD. Refer to the below provided query.
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
If you still have any queries/concerns related to this you can get back to us.