定義包含優待券信息的物件。
語法
<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 物件具有下列元素:AccountId、ActiveDuration、Balance、ClaimDate、CouponId、CouponType、CouponValue、CurrencyCode、EndDate、ExpirationDate、FeatureId、PercentOff、RedemptionDate、SpendToThreshold、StartDate、Status、UpfrontSpending。
需求
服務: CustomerBillingService.svc v13
Namespace: https://bingads.microsoft.com/Customer/v13/Entities