Microsoft Advertising APIs
Microsoft adCenter Reporting API Error Codes

Depending on the context, the following error codes can be contained in the OperationError or the BatchError object for an error that occurs in one of the Reporting service operations.

The error codes in the following table can be returned by the SubmitGenerateReport service operation.

Numeric Error Code Textual Error Code Description

2001

ReportingServiceNullReportRequest

The report request is null.

2002

ReportingServiceUnknownReportType

The report request type is not valid.

2003

ReportingServiceAccountNotAuthorized

The specified report request contains at least one account for which you have insufficient privileges to access.

2004

ReportingServiceNoCompleteDataAvaliable

The report request indicates that complete data is required; however, only partial data is currently available.

2005

ReportingServiceInvalidDataAvailabilityAndTimePeriodCombination

The report request indicates that complete data is required; however, the request contains a report time period for which complete data cannot be returned.

2006

ReportingServiceInvalidReportName

The report request contains a report name that is not valid.

2007

ReportingServiceInvalidReportAggregation

The report aggregation is not valid for the specified report time period.

2008

ReportingServiceInvalidReportTimeSelection

The report time is null or contains more than one predefined time, custom date, or custom date range start and end.

2009

ReportingServiceInvalidCustomDateRangeStart

The report time contains a custom date range start that is not valid.

2010

ReportingServiceInvalidCustomDateRangeEnd

The report time contains a custom date range end that is not valid.

2011

ReportingServiceEndDateBeforeStartDate

The report time contains a custom date range that is not valid because the end date is before the start date.

2012

ReportingServiceEmptyCustomDates

The report time contains an empty custom date array.

2013

ReportingServiceCustomDatesOverlimit

The report time contains too many custom dates.

The Details element of the OperationError object contains the maximum number of custom dates.

2014

ReportingServiceNullColumns

The report request does not specify which columns to return.

2015

ReportingServiceRequiredColumnsNotSelected

The report request does not specify all the required columns for this report type.

2016

ReportingServiceDuplicateColumns

The report request contains duplicate columns.

The Details element of the OperationError object contains a comma-separated list of the duplicate column names.

2017

ReportingServiceNoMeasureSelected

The report request does not specify at least one measurement column.

2018

ReportingServiceInvalidAccountIdInCampaignReportScope

The campaign report scope contains an account identifier that is not valid.

The Details element of the BatchError object contains the account identifier that is not valid.

2019

ReportingServiceInvalidCampaignIdInCampaignReportScope

The campaign report scope contains a campaign identifier that is not valid.

The Details element of the BatchError object contains the campaign identifier that is not valid.

2020

ReportingServiceInvalidAccountIdInAdGroupReportScope

The ad group report scope contains an account identifier that is not valid.

The Details element of the BatchError object contains the account identifier that is not valid.

2021

ReportingServiceInvalidCampaignIdInAdGroupReportScope

The ad group report scope contains a campaign identifier that is not valid.

The Details element of the BatchError object contains the campaign identifier that is not valid.

2022

ReportingServiceInvalidAdGroupIdInAdGroupReportScope

The ad group report scope contains an ad group identifier that is not valid.

The Details element of the BatchError object contains the ad group identifier that is not valid.

2023

ReportingServiceInvalidAccountIdInAccountReportScope

The account report scope contains an account identifier that is not valid.

The Details element of the BatchError object contains the account identifier that is not valid.

2024

ReportingServiceNullCampaignReportScope

The campaign report scope is null.

2025

ReportingServiceNullAdGroupReportScope

The ad group report scope is null.

2026

ReportingServiceInvalidAccountReportScope

The account report scope does not contain account identifiers.

2027

ReportingServiceInvalidAccountThruCampaignReportScope

The account through campaign report scope contains one or more values that are not valid.

2028

ReportingServiceInvalidAccountThruAdGroupReportScope

The account through ad group report scope contains one or more values that are not valid.

2029

ReportingServiceAccountsOverLimit

The report scope contains too many accounts.

2030

ReportingServiceMaximumCampaignsLimitReached

The report scope contains too many campaigns.

2031

ReportingServiceAdGroupsOverLimit

The specified report scope contains too many ad groups.

2032

ReportingServiceCrossSiteScriptNotAllowed

The specified report request contains one or more strings that contain an embedded script. The Details element of the BatchError object contains the strings that caused this error.

2033

ReportingServiceInvalidKeywordFilterValue

The specified report request contains a KeywordPerformanceReportFilter element that is not valid.

2034

ReportingServiceInvalidTimePeriodColumnForSummaryReport

The TimePeriod column cannot be specified in a report request that has a summary aggregation.

2035

ReportingServiceInvalidAccountIds

The report request contains at least one account identifier that is not valid. The Details element contains a comma-separated list of up to 20 account identifiers that are not valid.

2036

ReportingServiceBehavioralIdMaxArraySizeReached

The report scope contains too many behavioral identifiers. The Details element of the BatchError object contains the maximum number of behavioral identifiers.

2037

ReportingServiceInvalidBehavioralIdValue

The report request contains a behavioral identifier filter where at least one of the values is empty or contains a behavioral identifier that is not valid.

2038

ReportingServiceSiteIdMaxArraySizeReached

The specified report scope contains too many website identifiers. The Details element of the BatchError object contains the maximum number of websites.

2039

ReportingServiceInvalidSiteIdValue

The specified report request contains a website identifier filter where at least one of the values is empty or contains website identifier that is not valid.

2040

ReportingServiceInvalidCustomDateRange

The report time contains a date in the custom date range that is not valid.

2041

ReportingServiceInvalidFutureStartDate

The specified report time start date is in the future.

2042

ReportingServiceInvalidSearchQueryFilterValue

The report request contains a search query filter where at least one of the values is null, empty, or contains a search query that is not valid.

2043

ReportingServiceSearchQueryFilterValueLengthExceeded

The SearchQueries element of the SearchQueryPerformanceReportFilter object contains one or more search query filters that are too long.

2044

ReportingServiceSearchQueryOverLimit

The SearchQueries element of the SearchQueryPerformanceReportFilter object contains too many search queries. The Details element of the BatchError object contains the maximum number of search queries allowed.

2045

ReportingServiceKeywordFilterValueLengthExceeded

One or more of the keywords in the Keywords element of the KeywordPerformanceReportFilter data object is too long.

2046

ReportingServiceKeywordOverLimit

The Keywords element of the KeywordPerformanceReportFilter data object contains too many keywords. The Details element of the BatchError object contains the maximum number of keywords allowed.

The error codes in the following table can be returned by the PollGenerateReport service operation.

Numeric Error Code Textual Error Code Description

2100

ReportingServiceInvalidReportId

The report identifier is not valid.

2101

ReportingServiceReportNotFound

The report was not found.

See Also

Concepts

Reporting Service Operations

Other Resources

Microsoft adCenter API Error Handling

Page view tracker