我正在使用 Adwords API。但对 Adwords 的支持将于 2022 年结束。我想迁移到新的 Google Ads API。我想知道 Google Ads 中 AD_PERFORMANCE_REPORT(Adwords 中的)的等效项。
例如, KEYWORD_PERFORMANCE_REPORT 的等效项是 keywords_view。
我尝试了很多次,但都找不到。
提前致谢。
最佳答案
您正在寻找 ad_group_ad。
这是我使用的查询:
SELECT campaign.name, ad_group.name, customer.id, customer.descriptive_name,
campaign.advertising_channel_type,
segments.date,
ad_group_ad.ad.expanded_text_ad.headline_part1,
ad_group_ad.ad.expanded_text_ad.headline_part2,
ad_group_ad.ad.expanded_text_ad.headline_part3,
ad_group_ad.ad.expanded_text_ad.description,
ad_group_ad.ad.expanded_text_ad.description2,
customer.currency_code,
metrics.average_cpc,
ad_group_ad.ad.shopping_product_ad,
metrics.cost_micros,
metrics.impressions,
metrics.clicks,
metrics.ctr,
metrics.conversions
FROM ad_group_ad
WHERE segments.date BETWEEN {date_range}
AND campaign.advertising_channel_type = 'SEARCH'
AND metrics.cost_micros > 0
ORDER BY segments.date
请记住,对于购物广告,您需要使用 shopping_performance_view。
关于java - 相当于 Google Ads API 中的 AD_PERFORMANCE_REPORT?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68229662/