视频数据对象 - 市场活动管理

定义视频数据对象。

注意

还不是每个人都有此功能。 如果你没有,别担心 - 它即将推出!

语法

<xs:complexType name="Video" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element minOccurs="0" name="AspectRatio" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="CreatedDateTimeInUTC" nillable="true" type="xs:dateTime" />
    <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="DurationInMilliseconds" nillable="true" type="xs:int" />
    <xs:element minOccurs="0" name="FailureCode" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="Id" nillable="true" type="xs:long" />
    <xs:element minOccurs="0" name="ModifiedDateTimeInUTC" nillable="true" type="xs:dateTime" />
    <xs:element minOccurs="0" name="SourceUrl" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="ThumbnailUrl" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="Url" nillable="true" type="xs:string" />
  </xs:sequence>
</xs:complexType>

元素

Video 对象具有以下元素:AspectRatioCreatedDateTimeInUTCDescriptionDurationInMillisecondsFailureCodeIdModifiedDateTimeInUTCSourceUrlStatusThumbnailUrlUrl

元素 说明 数据类型
AspectRatio 视频的纵横比。 可能的值为 16:9、5:4、1:1、4:5 和 9:16。 string
CreatedDateTimeInUTC 视频的创建日期和时间(以协调世界时为单位)。 dateTime
说明 视频资产的说明。

添加:支持
更新:支持
string
DurationInMilliseconds 视频资产的持续时间(以毫秒为单位)。

添加:不支持
更新:不支持
int
FailureCode 阅读下面每个可能的错误代码的说明。

AssetDataInvalid:从 URL 下载的文件不是视频。

VideoDownloadError:无法访问提供的 URL。

AssetDataInvalidWidth:视频帧宽度小于 120 像素。

AssetDataInvalidHeight:视频帧高度小于 120 像素。

InvalidDuration:视频持续时间小于 6 秒。

VideoOverweight:视频文件大小大于 2 GB。

VideoTranscodingError:表示转码问题的常规失败代码。 这由 Azure 媒体服务控制。 详细了解 如何编码视频JobErrorCode
string
ID 视频的标识符。 long
ModifiedDateTimeInUTC 上次修改视频的日期和时间(以协调世界时为单位)。 dateTime
SourceUrl 视频的原始 URL。 注意:SourceUrl 必须是直接下载 URL。

添加:支持和必需
string
状态 视频资产的状态。 状态可以是“草稿”、“活动”、“已删除”“失败”。

添加:不支持
更新:支持
string
ThumbnailUrl 视频资产的缩略图 URL。

添加:不支持
更新:不支持
string
Url 托管视频的 URL。 注意:URL 保留供内部使用。

添加:支持
更新:支持
string

要求

服务: CampaignManagementService.svc v13
Namespace: https://bingads.microsoft.com/CampaignManagement/v13

使用者

AddVideos
AdRecommendationVideoSuggestion
GetVideosByIds
UpdateVideos