共用方式為


地址資料物件 - 客戶管理

定義帳戶和用戶聯繫人資訊的郵政位址。

語法

<xs:complexType name="Address" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="CountryCode" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="Id" nillable="true" type="xs:long" />
    <xs:element minOccurs="0" name="Line1" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="Line2" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="Line3" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="Line4" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="PostalCode" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="StateOrProvince" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="TimeStamp" nillable="true" type="xs:base64Binary" />
    <xs:element minOccurs="0" name="BusinessName" nillable="true" type="xs:string" />
  </xs:sequence>
</xs:complexType>

元素

Address 物件具有下列元素:BusinessNameCityCountryCodeIdLine1Line2Line3Line4PostalCodeStateOrProvinceTimeStamp

元素 描述 資料類型
BusinessName 法務公司名稱,最多可包含100個字元。

加: 必填
更新: 自選。 如果未設定更新的值,則此設定不會變更。
string
鄉/鎮/市/區 城市,最多可包含 35 個字元。

加: 必填
更新: 自選。 如果未設定更新的值,則此設定不會變更。
string
CountryCode 國家/地區代碼。

如需可能的值,例如 「US」,請參閱 地理位置代碼

加: 必填
更新: 自選。 如果未設定更新的值,則此設定不會變更。
string
標識碼 系統產生的位址物件識別碼。

加: 唯讀
更新: 必填
Line1 位址的第一行,最多可包含 35 個字元。

加: 必填
更新: 自選。 如果未設定更新的值,則此設定不會變更。
string
Line2 位址的第二行,最多可包含 35 個字元。

加: 自選
更新: 自選。 如果未設定更新的值,則此設定不會變更。
string
Line3 位址的第三行,最多可包含 35 個字元。

加: 自選
更新: 自選。 如果未設定更新的值,則此設定不會變更。
string
Line4 位址的第四行,最多可包含 35 個字元。

加: 自選
更新: 自選。 如果未設定更新的值,則此設定不會變更。
string
PostalCode 郵遞區編碼或郵遞區編碼,最多可包含10個字元。

加: 必填
更新: 自選。 如果未設定更新的值,則此設定不會變更。
string
StateOrProvince 州或省。

您必須使用不含國家/地區前置詞的州或省代碼。 例如,假設為US-WA,您應該只使用華盛頓州的WA後綴。

加: 定義子地理位置的國家或地區需要,但未定義子地理位置的國家或地區應設為 null,例如新加坡。
更新: 自選。 如果未設定更新的值,則此設定不會變更。
string
時間戳 上次更新位址的日期和時間。 值為國際標準時間 (UTC)。

日期和時間值會反映伺服器上的日期和時間,而不是用戶端。 如需日期和時間格式的相關信息,請參閱 基本 XML 數據類型中的 dateTime 專案。

加: 唯讀
更新: 唯讀
base64Binary

需求

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

消費者

廣告客戶帳戶
ContactInfo
客戶
ValidateAddress