共用方式為


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 帳戶標識碼。 int
ActiveDuration 可以使用優待券的時間長度。 int
平衡 套用優待券之後的餘額。 十進位
ClaimDate 優待券的宣告日期。 dateTime
CouponId 優待券標識碼。 int
CouponType 優待券的類型。 unsignedByte
CouponValue 優待券的值。 十進位
CurrencyCode 優惠券的貨幣代碼。 string
EndDate 優待券的結束日期。 dateTime
ExpirationDate 優待券的到期日。 dateTime
FeatureId 附加至優待券的功能標識碼。 int
PercentOff 優惠券的折扣百分比。
RedemptionDate 兌換優待券的日期。 dateTime
SpendToThreshold 套用優待券之前必須花費的金額。 十進位
StartDate 優惠券的開始日期。 dateTime
狀態 優待券的狀態。 unsignedByte
UpfrontSpending 預付票息的值。 十進位

需求

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

消費者

GetCouponInfo