Export (0) Print
Expand All

ErrorCode Enumeration - Windows 8.1

Microsoft Advertising Services

Updated: October 17, 2013

Published: April 1, 2014

An enumeration of error codes and descriptive strings.

Namespace: Microsoft.Advertising (in Microsoft.Advertising.winmd)

JavaScript Library: ad.js

Members

Member Name

Value

Description

Unknown

0

An exception has been thrown but the state or cause cannot be determined.

NoAdAvailable

1

No ad is available.

NetworkConnectionFailure

2

A connection to the network could not be established.

ClientConfiguration

3

The AdControl has not been configured properly.

ServerSideError

4

The ad server network has reported that a server error has occurred.

InvalidServerResponse

5

The server response contained invalid data.

Other

6

The error cannot be classified as one of the known errors.

RefreshNotAllowed

7

Ad refresh is not allowed for 30 seconds after the ad is displayed.

If you receive additional error text saying “refresh not performed because ad is not on screen” then check to make sure the size of the AdControl – and not just a parent container, for example -- is set to a size that can display an ad.

Contact product support for errors not listed here or for help after trying to troubleshoot an error.

Support and Feedback

Get product support or report a bug in the advertising SDK by visiting the Windows Store Apps developer support page support page. For product support, under "App development" click the "Advertising SDK" link. To post a question in the support forum, scroll down to "Find answers online" and click "Ads-in-Apps for Windows 8 forum".

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