Pobieranie elastycznych reklam displayowych
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Aby pobrać utworzone elastyczne reklamy displayowe, wywołaj metodę
GoogleAdsService.SearchStream
z zapytaniem, które filtruje typy reklam do wartości RESPONSIVE_DISPLAY_AD
.
Na przykład:
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
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 responsive display ads by using the \u003ccode\u003eGoogleAdsService.SearchStream\u003c/code\u003e method and filtering for \u003ccode\u003eRESPONSIVE_DISPLAY_AD\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUtilize a query similar to the provided example to select specific data like ad group ID, ad ID, business name, descriptions, headlines, images, and status.\u003c/p\u003e\n"],["\u003cp\u003eThe example query focuses on extracting information related to responsive display ads from ad group ad data within Google Ads.\u003c/p\u003e\n"]]],[],null,["# Retrieving Responsive Display Ads\n\nTo retrieve the responsive display ads you've created, call the\n[`GoogleAdsService.SearchStream` method](/google-ads/api/docs/concepts/retrieving-objects)\nwith a query that filters ad types to\n[`RESPONSIVE_DISPLAY_AD`](/google-ads/api/reference/rpc/v21/AdTypeEnum.AdType#responsive_display_ad).\nFor example: \n\n SELECT\n ad_group.id,\n ad_group_ad.ad.id,\n ad_group_ad.ad.responsive_display_ad.business_name,\n ad_group_ad.ad.responsive_display_ad.descriptions,\n ad_group_ad.ad.responsive_display_ad.headlines,\n ad_group_ad.ad.responsive_display_ad.long_headline,\n ad_group_ad.ad.responsive_display_ad.marketing_images,\n ad_group_ad.ad.responsive_display_ad.square_marketing_images,\n ad_group_ad.status\n FROM ad_group_ad\n WHERE ad_group_ad.ad.type = RESPONSIVE_DISPLAY_AD"]]