レスポンシブ検索広告を取得する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
作成したレスポンシブ検索広告を取得するには、広告タイプを RESPONSIVE_SEARCH_AD
にフィルタするクエリを指定して GoogleAdsService.SearchStream
メソッドを呼び出します。次に例を示します。
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
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-27 UTC。
[null,null,["最終更新日 2025-08-27 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"]]