有兴趣分享您对 Google Ads API 的反馈吗?
注册即可获邀参与用户调研!
制作自适应展示广告
与其他广告一样,广告制作也是使用 AdGroupAdService.MutateAdGroupAds
完成的。然后,您可以将此自适应展示广告添加到标准展示广告系列中。
广告制作
要制作自适应展示广告,您需要填充 ResponsiveDisplayAdInfo
的以下必填字段:
marketing_images
square_marketing_images
headlines
long_headline
descriptions
business name
您可以在参考页面和帮助中心文章中找到所有其他字段和图片的规范。
高级功能
- 颜色控制
- 通过指定
main_color
和 accent_color
,您可以为自适应展示广告自定义颜色,以满足您的品牌需求。如果您希望让广告投放的颜色与您指定的颜色不同(如有必要),请将 allow_flexible_color
设置为 true
。
- 展示广告格式设置
自适应展示广告既能以原生格式投放,又能以非原生格式投放。这两种格式的区别在于,原生格式的呈现由发布商控制,而非原生格式的呈现则由 Google 模型根据广告客户的输入(例如来自 main_color
和 accent_color
的颜色信息)进行优化。
您可以设置 format_setting
字段,以选择广告的投放格式。不过,当 allow_flexible_color
为 false
时,您不能将 format_setting
设置为 NATIVE
,因为对于原生广告格式,颜色需要由发布商控制。
- 广告控制选项
自适应展示广告通过 control_spec
可以告诉您它们是否已选择使用生成的视频或素材资源自动美化。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-28。
[null,null,["最后更新时间 (UTC):2025-02-28。"],[[["Responsive display ads are created using `AdGroupAdService.MutateAdGroupAds` and can be added to standard Display campaigns."],["To create a responsive display ad, you must populate required fields like marketing images, headlines, descriptions, and business name within the `ResponsiveDisplayAdInfo`."],["Customize ad colors using `main_color` and `accent_color`, with `allow_flexible_color` controlling color variations."],["Control ad format with `format_setting`, choosing between native (publisher-controlled rendering) and non-native (Google-optimized rendering)."],["Responsive display ads provide insights into generated videos and asset enhancements through their `control_spec`."]]],[]]