共用方式為


位址資料物件 - 客戶管理

定義帳戶和使用者連絡人資訊的郵政位址。

語法

<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
命名 空間: https://bingads.microsoft.com/Customer/v13/Entities

消費者

廣告客戶帳戶
ContactInfo
客戶
ValidateAddress