Export (0) Print
Expand All

PostalCode Property (Hybrid)

Updated: August 2, 2013

Published: April 2, 2014

Gets or sets the user’s postal code. This value can be used to target advertising to a specific locale.

Namespace: Microsoft.Advertising.Mobile.Xna

Assembly: Microsoft.Advertising.Mobile.Xna (in Microsoft.Advertising.Mobile.Xna.dll)

public string PostalCode { get; set; }

Exceptions

Exception

Condition

System.ArgumentException

Invalid postal code.

The PostalCode property is global and applies to every DrawableAd in an app. When set multiple times, even on different DrawableAd objects, the last set value is used for all DrawableAd objects.

Platforms

Windows Phone 7.x only

Support and Feedback

Get product support or report a bug in the product by visiting the Windows Phone Dev Center support page (scroll down to the section "Microsoft Advertising support").

Send feedback about this documentation to adsfdbk@microsoft.com. There is no product support through this alias. Documentation feedback only.

Community Additions

ADD
Show:
© 2014 Microsoft