擷取回應式搜尋廣告
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
如要擷取您建立的回應式搜尋廣告,請使用查詢呼叫 GoogleAdsService.SearchStream
方法,將廣告類型篩選為 RESPONSIVE_SEARCH_AD
。例如:
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
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-27 (世界標準時間)。
[null,null,["上次更新時間:2025-08-27 (世界標準時間)。"],[[["\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"]]