Published: April 2, 2014
Gets or sets the keywords that target the audience for the advertisements.
Assembly: Microsoft.Advertising.Mobile.UI (in Microsoft.Advertising.Mobile.UI)
Multiple keywords can be added to the value of the Keywords property by putting a comma character (‘,’) between each keyword. The following code provides an example.
// Set a single-ad selection keyword. adControl.Keywords = null; adControl.Keywords = "AdKeyword0"; // Set multiple-ad selection keywords. adControl.Keywords = null; adControl.Keywords = "AdKeyword0,AdKeyword1";
The purpose of each code example provided in this documentation is to illustrate a concept and related syntax. Samples do not include all the code that is found in a full production system. For example, data validation and error handling code is not included. Technical support is not available for these examples or for any included source code.
The maximum allowed length of each keyword in the Keywords property is 255 characters.
The value is set to null.
Windows Phone 7.x, Windows Phone 8.x
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 firstname.lastname@example.org. There is no product support through this alias. Documentation feedback only.