Defines a postal address for location ad extensions.
Syntax
<xs:complexType name="Address" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:sequence>
<xs:element minOccurs="0" name="CityName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CountryCode" nillable="true" type="xs:string" />
<xs:element minOccurs="0" 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 minOccurs="0" name="StreetAddress" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="StreetAddress2" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
{
"CityName": "ValueHere",
"CountryCode": "ValueHere",
"PostalCode": "ValueHere",
"ProvinceCode": "ValueHere",
"ProvinceName": "ValueHere",
"StreetAddress": "ValueHere",
"StreetAddress2": "ValueHere"
}
Elements
The Address object has the following elements: CityName, CountryCode, PostalCode, ProvinceCode, ProvinceName, StreetAddress, StreetAddress2.
| Element |
Description |
Data Type |
| CityName |
The name of the city where the street address is located. The name can contain a maximum of 80 characters.
Add: Required Update: Required |
string |
| CountryCode |
The country where the street address is located. The country code must contain a 2 character country code. The supported country code values include AR, AT, AU, BR, CA, CH, CL, CO, DE, DK, ES, FI, FR, GB, HK, ID, IE, IN, IT, MX, MY, NL, NZ, NO, PE, PH, SE, SG, TH, TW, US, VE, and VN.
Add: Required Update: Required |
string |
| PostalCode |
The postal or zip code. The postal code can contain a maximum of 80 characters.
Add: Optional Update: Optional. If you set this element null, the previous setting will be deleted. |
string |
| 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.
The ProvinceCode and ProvinceName are not required if the CountryCode element is set to either FR, IE, or SG.
Add: Required Update: Required |
string |
| 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.
TheProvinceCode and ProvinceName are not required if the CountryCode element is set to either FR, IE, or SG.
Add: Required Update: Required |
string |
| StreetAddress |
The first line of the address. The first line can contain a maximum of 80 characters.
Add: Required Update: Required |
string |
| StreetAddress2 |
The second line of the address. The second line can contain a maximum of 80 characters.
Add: Optional Update: Optional. If you set this element null, the previous setting will be deleted. |
string |
Requirements
Service: CampaignManagementService.svc v13
Namespace: https://bingads.microsoft.com/CampaignManagement/v13
Used By
LocationAdExtension