Export (0) Print
Expand All
Ad
Bid
Expand Minimize

Address Data Object

Defines a postal address.

<xs:complexType name="Address">
  <xs:sequence>
    <xs:element name="CityName" nillable="true" type="xs:string" />
    <xs:element name="CountryCode" nillable="true" type="xs:string" />
    <xs:element name="PostalCode" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="ProvinceCode" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="ProvinceName" nillable="true" type="xs:string" />
    <xs:element name="StreetAddress" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="StreetAddress2" nillable="true" type="xs:string" />
  </xs:sequence>
</xs:complexType>

Elements

Element

Description

Data Type

Required

CityName

The name of the city where the street address is located. The name can contain a maximum of 80 characters.

string

Yes

CountryCode

The country where the street address is located. The country code must contain a 2 character country code. For a list of possible country codes that you can specify, see Publisher Country.

string

Yes

PostalCode

The postal or zip code. The postal code can contain a maximum of 80 characters.

string

No

ProvinceCode

A code that identifies the state or province where the street address is located. For example, WA. The code can contain a maximum of 50 characters.

You must specify either ProvinceName or ProvinceCode.

If ProvinceName is empty, you must specify ProvinceCode. In this case, ProvinceName will be set to the value of ProvinceCode.

System_CLiX_noteNote

ProvinceCode and ProvinceName are not required if the CountryCode element is set to either FR, IE, or SG.

string

No

ProvinceName

The name of the state or province where the street address is located. For example, Washington. The name can contain a maximum of 50 characters.

You must specify either ProvinceName or ProvinceCode.

System_CLiX_noteNote

ProvinceCode and ProvinceName are not required if the CountryCode element is set to either FR, IE, or SG.

string

No

StreetAddress

The first line of the address. The first line can contain a maximum of 80 characters

string

Yes

StreetAddress2

The second line of the address. The second line can contain a maximum of 80 characters

string

No

Requirements

CampaignManagementService.svc v9

Namespace: https://bingads.microsoft.com/CampaignManagement/v9

Community Additions

ADD
Show:
© 2014 Microsoft