我在查询中尝试使用google ads api npm
SELECT ad_group_ad.ad.name, ad_group_ad.ad.type , ad_group_ad.ad.app_ad.headlines,ad_group_ad.ad.app_engagement_ad.headlines,ad_group_ad.ad.text_ad.headline
FROM
ad_group_ad
响应
{
ad: { resource_name: 'customers/xxxxx/ads/xxxxxx', type: 3 },
resource_name: 'customers/xxxxx/adGroupAds/xxxx~xxxxxx
}
但是响应中不包含广告名称。广告ID和资源名称在那里。
如何获得广告名称?
在存在图片广告(ad_group_ad.ad.type = IMAGE_AD
)的帐户上运行查询,并查看您的回复在该情况下是否包含ad.name
字段,可能是值得的。