Czy chcesz podzielić się opinią na temat interfejsu Google Ads API?
Zarejestruj się, aby otrzymać zaproszenie do udziału w badaniach opinii użytkowników.
Pobieranie elastycznych reklam displayowych
Aby pobrać utworzone przez siebie elastyczne reklamy displayowe, wywołaj metodę GoogleAdsService.SearchStream
za pomocą zapytania, które filtruje typy reklam do 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-03-04 UTC.
[null,null,["Ostatnia aktualizacja: 2025-03-04 UTC."],[[["Retrieve your responsive display ads by using the `GoogleAdsService.SearchStream` method and filtering for `RESPONSIVE_DISPLAY_AD`."],["Utilize a query similar to the provided example to select specific data like ad group ID, ad ID, business name, descriptions, headlines, images, and status."],["The example query focuses on extracting information related to responsive display ads from ad group ad data within Google Ads."]]],[]]