Home > adCenter API Blog for Developers > adCenter API Blog for Developers Blog Subscribe RSS

  • Campaign Management Error Codes Monday, November 03, 2008 by: Strohm Armstrong - MSFT 2 Comments

    The campaign management error codes are being posted here so that they can be updated more frequently than the adCenter API documentation. This is a duplicate of the error code list at Campaign Management Error Codes, although this list may often be more up-to-date than the list on MSDN.

     

    The error codes in the following table apply to all campaign management APIs.

     

    Error Code Description

    1001

    The status cannot be changed by using an update service operation. Instead, use the Pause or Resume API.

    1003

    The status property must be null for an add operation.

    1004

    The identifier property must be null for an add operation.

    1005

    The negative keyword property is not valid.

    1006

    The total length of the negative keywords has been exceeded.

    1007

    A negative keyword matches a keyword.

    1008

    The account status is not valid for the requested operation.

    1009

    For aggregators, the customer's account ID must be supplied in the request header.

    1010

    The system is currently in read-only mode. Only Get operations are supported at this time.

     

    The error codes in the following table apply to the following campaign management service operations that affect campaigns:

    ·         AddCampaigns


    ·         DeleteCampaigns


    ·         UpdateCampaigns


    ·         PauseCampaigns


    ·         ResumeCampaigns


    Error Code Description

    1100

    The Campaign.Id element is not valid.

    1101

    The Campaign.Name element is not valid.

    1102

    The account identifier is not valid.

    1103

    The campaign object is null.

    1104

    The Campaign.Description element is not valid.

    1105

    The Campaign.MonthlyBudget element is not valid.

    1106

    The Campaign.DailyBudget element is not valid.

    1107

    Duplicate identifiers are contained in the array of campaigns.

    1108

    The Campaign.ConversionTrackingEnabled element must be set for the campaign.

    1109

    The Campaign.TimeZone element must be set for the campaign.

    1110

    The Campaign.DaylightSaving element must be set for the campaign.

    1111

    The Campaign.ConversionTrackingScript element must not be set for the campaign.

    1113

    The array of campaigns is null or empty.

    1114

    The list of campaigns exceeds the limit.

    1115

    An attempt was made to create a duplicate of a campaign that already exists.

    1117

    No more campaigns can be added to the specified account.

    1118

    The array of campaign identifiers is null or empty.

    1119

    The list of campaign identifiers exceeds the limit.

    1120

    The campaign status is not valid for the requested operation.

    1121

    The Campaign.BudgetType element missing or is not valid.

    1122

    The specified campaign is not eligible for the cash back rebate program.

    1123

    The new monthly campaign budget is less than the amount already spent for the current month.

     

    The error codes in the following table apply to the following campaign management service operations that affect ad groups:

    ·         AddAdGroups


    ·         DeleteAdGroups


    ·         UpdateAdGroups


    ·         PauseAdGroups


    ·         ResumeAdGroups


    ·         SubmitAdGroupForApproval


    Error Code Description

    1200

    The AdGroup object is null.

    1201

    The AdGroup.Id element is not valid.

    1202

    The AdGroup.Name element is not valid.

    1203

    Duplicate identifiers are contained in the array of ad groups.

    1204

    The AdGroup.EndDate element must follow the AdGroup.StartDate element.

    1205

    The AdGroup.LanguageAndRegion element cannot be updated.

    1208

    The ad group budget exceeds the campaign budget.

    1209

    The array of ad groups cannot be null or empty.

    1210

    The number of ad groups exceeds the limit.

    1211

    The ad group user cannot use the content medium.

    1212

    The AdGroup.StartDate element must be after the current date.

    1213

    No more ad groups can be added to the campaign.

    1214

    An attempt was made to create a duplicate of an ad group that already exists.

    1215

    An ad group that has expired cannot be updated.

    1216

    An ad group that has been submitted for approval cannot be updated.

    1217

    The requested operation cannot be performed on an ad group in the current state.

    1218

    The array of ad group identifiers cannot be null or empty.

    1219

    The number of ad group identifiers exceeds the limit.

    1220

    The AdGroup.LanguageAndRegion element, representing the distribution channel, is missing.

    1221

    The AdGroup.LanguageAndRegion element value is not valid.

    1222

    The AdGroup.AdDistribution element value is not valid.

    1223

    The distribution channel that is specified by the AdGroup.LanguageAndRegion element does not support content ads.

    1224

    The AdGroup.AdDistribution element is required when a new ad group is being created.

    1225

    The specified user is not authorized to use the specified AdGroup.LanguageAndRegion element for the ad group.

    1226

    An ad group must have at least one ad and one keyword associated with it before it can be passed to the SubmitAdGroupForApproval service operation.

    1227

    The AdGroup.StartDate element cannot be prior to the date that the ad group was submitted.

    1228

    The AdGroup.PricingModel element is not currently supported and must be null.

    1229

    The AdGroup.SearchBid element is not currently supported and must be null.

    1230

    The AdGroup.ContentBid element is not currently supported and must be null.

    1231

    The operation is not valid for an ad group that is expired.

    1232

    The start date specified in the ad group is not valid.

    1233

    The end date specified in the ad group is not valid.

    1234

    The cost-per-thousand-impressions (CPM) pricing model is allowed only if the AdGroup.AdDistribution element contains "Content".

    1235

    The customer account is not allowed to create ad groups in the specified ad distribution medium.

    1236

    The customer account is not allowed to create ad groups in the specified pricing model.

     

    The error codes in the following table apply to the following campaign management service operations that affect ads:

    ·         AddAds


    ·         DeleteAds


    ·         PauseAds


    ·         ResumeAds


    ·         UpdateAds


    Error Code Description

    1300

    The ad object is null.

    1301

    The title of the ad is not valid.

    1302

    The DestinationUrl element of the Ad object is not valid.

    1303

    The Id element of the Ad object must be set.

    1304

    The Id element of the Ad object must not be set.

    1305

    The Type element of the Ad object must not be set.

    1306

    The Text element of the TextAd object is not valid.

    1307

    The DisplayUrl element of the TextAd object is not valid.

    1308

    The Id element of the Ad object is not valid.

    1309

    The array of ad identifiers contains one or more duplicates.

    1310

    The array of ads cannot be null or empty.

    1311

    The number of ads exceeds the limit.

    1312

    No more ads can be added to the ad group.

    1313

    An attempt was made to create a duplicate of an ad that already exists.

    1314

    A default ad already exists.

    1315

    The title of the ad contains a syntax error.

    1316

    The Text element of the TextAd object contains a syntax error.

    1317

    The DisplayUrl element of the TextAd object contains a syntax error.

    1318

    The title of the ad contains forbidden text.

    1319

    The Text element of the TextAd object contains forbidden text.

    1320

    The DisplayUrl element of the TextAd object contains forbidden text.

    1321

    The title of the ad is not formatted correctly.

    1322

    The ad in the Text element of the TextAd object is not formatted correctly.

    1323

    The ad in the DisplayUrl element of the TextAd object is not formatted correctly.

    1324

    The title of the ad exceeds the maximum length.

    1325

    The Text element of the TextAd object exceeds the maximum length.

    1326

    The DisplayUrl element of the TextAd object exceeds the maximum length.

    1327

    The DestinationUrl element of the Ad object exceeds the maximum length.

    1328