Address Data Object

 

Defines a postal address.

<xs:complexType name="Address">
  <xs:sequence>
    <xs:element minOccurs="0" name="City" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="CountryCode" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="Id" nillable="true" type="xsd:long" />
    <xs:element minOccurs="0" name="Line1" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="Line2" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="Line3" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="Line4" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="PostalCode" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="StateOrProvince" nillable="true" type="xsd:string" />
    <xs:element minOccurs="0" name="TimeStamp" nillable="true" type="xsd:base64Binary" />
  </xs:sequence>
</xs:complexType>

ElementDescriptionData TypeAddUpdate
CityThe city, which can contain a maximum of 35 characters.stringRequiredOptional
CountryCodeThe country/region code. For possible values, see Geographical Location Codes.stringRequiredOptional
IdThe system generated identifier of the address object.longRead-onlyRequired
Line1The first line of the address, which can contain a maximum of 35 characters.stringRequiredOptional
Line2The second line of the address, which can contain a maximum of 35 characters.stringOptionalOptional
Line3The third line of the address, which can contain a maximum of 35 characters.stringOptionalOptional
Line4The fourth line of the address, which can contain a maximum of 35 characters.stringOptionalOptional
PostalCodeThe Postal or ZIP Code, which can contain a maximum of 10 characters.stringRequiredOptional
StateOrProvinceThe state or province. This element is required for countries that define sub geographies, but should be set to null for countries that do not define sub geographies, such as Singapore.

For possible values, see Geographical Location Codes.

Note: You must use the state or province code without country prefix. For example given US-WA, you should use only the WA suffix for Washington state.
stringOptionalOptional
TimestampA time-stamp value that the system uses internally to reconcile updates to the address.base64BinaryRead-onlyRequired

CustomerManagementService.svc v11

Namespace: https://bingads.microsoft.com/Customer/v11

Show: