Google全球推广:向展开式广告的 HTML 文件中添加视频
1.Google广告投放:如何添加视频
YouTube 视频可以嵌入到带有预览窗口的广告中。当使用计算机的用户点击视频图片时,视频就会在 Gmail 内以灯箱形式播放。用户看完视频后,就会返回到 Gmail 展开式广告。如果使用移动设备,则视频将在用户指定的视频播放器(例如 YouTube 应用或浏览器)中播放。
操作说明:要添加 YouTube 上的视频,请对 YouTube 链接、图片来源和展示文字进行编码,使之适合您的广告。例如:<a href="http://www.youtube.com/watch?v=oHg5SJYRHA0"><img src="images/play.jpg" alt="Gmail 视频"></a>注意:当您在 Google Ads 中预览广告时,YouTube 视频不会在灯箱中显示或播放。

2.Google广告账户开通:如何添加在新标签页中播放的视频
如果您希望打开一个新的标签页并转到 YouTube 来播放视频,而不是在灯箱中播放,请将 class 属性设置为“nonplayable”。例如:<a href="http://www.youtube.com/watch?v=oHg5SJYRHA0" class="nonplayable"><img src="images/play.jpg" alt="Gmail 视频"></a>
3.谷歌推广重要提示:请在预览图片中添加“播放”按钮。
为了向用户表明点击图片即可播放视频,应在预览图片中添加某种播放按钮。Google Ads 不会向预览图片添加任何内容来表明它们是视频。
谷歌广告推广支持使用的 CSS
| azimuth | border-right-color | font-size-adjust | list-style | padding-bottom | text-decoration-style |
| background | border-right-style | font-stretch | list-style-image | padding-left | text-emphasis |
| background-attachment | border-right-width | font-style | list-style-position | padding-right | text-emphasis-color |
| background-blend-mode | border-spacing | font-synthesis | list-style-type | padding-top | text-emphasis-style |
| background-clip | border-style | font-variant | margin | pause | text-indent |
| background-color | border-top | font-variant-alternatives | margin-bottom | pause-after | text-justify |
| background-image | border-top-color | font-variant-caps | margin-left | pause-before | text-kashida-space |
| background-origin | border-top-left-radius | font-variant-east-asian | margin-right | pitch | text-orientation |
| background-position | border-top-right-radius | font-variant-ligatures | margin-top | pitch-range | text-overflow |
| background-repeat | border-top-style | font-variant-numeric | marker-offset | quotes | text-transform |
| background-size | border-top-width | font-weight | max-height | richness | text-underline-position |
| border | border-width | height | max-width | speak | unicode-bidi |
| border-bottom | box-sizing | image-orientation | min-height | speak-header | vertical-align |
| border-bottom-color | caption-side | image-resolution | min-width | speak-numeral | voice-family |
| border-bottom-left-radius | clear | ime-mode | mix-blend-mode | speak-punctuation | white-space |
| border-bottom-right-radius | color | isolation | object-fit | speech-rate | width |
| border-bottom-style | direction | layout-flow | object-position | stress | word-break |
| border-bottom-width | display | layout-grid | opacity | table-layout | word-spacing |
| border-collapse | elevation | layout-grid-char | outline | text-align | word-wrap |
| border-color | empty-cells | layout-grid-char-spacing | outline-color | text-align-last | writing-mode |
| border-left | float | layout-grid-line | outline-style | text-autospace | zoom |
| border-left-color | font | layout-grid-mode | outline-width | text-combine-upright | |
| border-left-style | font-family | layout-grid-type | overflow | text-decoration | |
| border-left-width | font-feature-settings | letter-spacing | overflow-x | text-decoration-color | |
| border-radius | font-kerning | line-break | overflow-y | text-decoration-line | |
| border-right | font-size | line-height | padding | text-decoration-skip |

评论列表