CouponInfoData 数据对象 - 客户计费

定义包含优惠券信息的对象。

语法

<xs:complexType name="CouponInfoData" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element minOccurs="0" name="AccountId" type="xs:int" />
    <xs:element minOccurs="0" name="CouponId" nillable="true" type="xs:int" />
    <xs:element minOccurs="0" name="ClaimDate" nillable="true" type="xs:dateTime" />
    <xs:element minOccurs="0" name="Status" nillable="true" type="xs:unsignedByte" />
    <xs:element minOccurs="0" name="RedemptionDate" nillable="true" type="xs:dateTime" />
    <xs:element minOccurs="0" name="ExpirationDate" nillable="true" type="xs:dateTime" />
    <xs:element minOccurs="0" name="PercentOff" nillable="true" type="xs:double" />
    <xs:element minOccurs="0" name="CouponValue" nillable="true" type="xs:decimal" />
    <xs:element minOccurs="0" name="UpfrontSpending" nillable="true" type="xs:decimal" />
    <xs:element minOccurs="0" name="ActiveDuration" nillable="true" type="xs:int" />
    <xs:element minOccurs="0" name="SpendToThreshold" nillable="true" type="xs:decimal" />
    <xs:element minOccurs="0" name="StartDate" nillable="true" type="xs:dateTime" />
    <xs:element minOccurs="0" name="EndDate" nillable="true" type="xs:dateTime" />
    <xs:element minOccurs="0" name="Balance" nillable="true" type="xs:decimal" />
    <xs:element minOccurs="0" name="CurrencyCode" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="FeatureId" nillable="true" type="xs:int" />
    <xs:element minOccurs="0" name="CouponType" nillable="true" type="xs:unsignedByte" />
  </xs:sequence>
</xs:complexType>

元素

CouponInfoData 对象具有以下元素:AccountIdActiveDurationBalanceClaimDateCouponIdCouponTypeCouponValueCurrencyCodeEndDateExpirationDateFeatureIdPercentOffRedemptionDateSpendToThresholdStartDateStatusUpfrontSpending

元素 说明 数据类型
AccountId 帐户 ID。 int
ActiveDuration 可以使用优惠券的时间长度。 int
平衡 应用优惠券后的余额。 十进制
ClaimDate 优惠券的索赔日期。 dateTime
CouponId 优惠券 ID。 int
CouponType 优惠券的类型。 unsignedByte
CouponValue 优惠券的值。 十进制
CurrencyCode 优惠券的货币代码。 string
EndDate 优惠券的结束日期。 dateTime
ExpirationDate 优惠券的到期日期。 dateTime
FeatureId 附加到优惠券的功能 ID。 int
PercentOff 优惠券的折扣百分比。
RedemptionDate 兑换优惠券的日期。 dateTime
SpendToThreshold 应用优惠券之前必须花费的金额。 十进制
StartDate 优惠券的开始日期。 dateTime
状态 优惠券的状态。 unsignedByte
UpfrontSpending 前期支出优惠券值。 十进制

要求

服务: CustomerBillingService.svc v13
Namespace: https://bingads.microsoft.com/Customer/v13/Entities

使用者

GetCouponInfo