Pobieranie elastycznych reklam w wyszukiwarce
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Aby pobrać utworzone elastyczne reklamy w wyszukiwarce, wywołaj metodę
GoogleAdsService.SearchStream
z zapytaniem, które filtruje typy reklam do
RESPONSIVE_SEARCH_AD
.
Na przykł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
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-27 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]