Campaign API Error Codes

Campaign CRUD Error Codes

Error CodeDescription
INVALID_FIELD_ADVERTISER_IDInvalid advertiser ID
INVALID_FIELD_START_OR_END_DATEInvalid start or end date
INVALID_FIELD_CAMPAIGN_NAMEInvalid campaign name
INVALID_FIELD_CAMPAIGN_BUDGETInvalid campaign budget
TOTAL_AND_DAILY_BUDGET_NOT_ALLOWED_TOGETHERTotal budget and daily budget fields are not allowed together in the same request
FRONTLOADED_NOT_ALLOWED_FOR_DAILY_BUDGET_TYPEFrontloaded delivery type is not allowed for daily budget type
CAMPAIGN_ALREADY_EXIST_WITH_GIVEN_NAMEA campaign already exists with the given name
RESOURCE_NOT_FOUND_FOR_INPUT_COMBINATION_ADVERTISER_ID_AND_CAMPAIGN_IDInvalid campaign ID and advertiser ID combination provided in the input
CAMPAIGN_OBJECTIVE_ALLOWED_TO_UPDATE_ONLY_FOR_DRAFT_STATECampaign objective can be updated only for campaigns in draft state
MID_FLIGHT_CAMPAIGN_DATES_SHOULD_NOT_BE_NULLFor mid-flight campaigns, dates must not be null
TOTAL_BUDGET_CANNOT_BE_LESS_THAN_CURRENT_CAMPAIGN_ADSPENTTotal budget cannot be less than the current campaign ad spend
DAILY_BUDGET_CANNOT_BE_LESS_THAN_CURRENT_CAMPAIGN_ADSPENTDaily budget cannot be less than the current campaign ad spend
MID_FLIGHT_CAMPAIGN_BUDGET_INFO_CANNOT_BE_NULLFor mid-flight campaigns, budget information must not be null
CAMPAIGN_OBJECTIVE_CANNOT_BE_UPDATEDCampaign objective cannot be updated when any ad group is scheduled, paused, active, or completed
CAMPAIGN_DELIVERY_STATUS_CANNOT_BE_UPDATEDCampaign delivery status cannot be updated
BUDGET_NOT_SUPPORTED_AT_ADGROUP_IF_BUDGET_DEFINED_AT_CAMPAIGN_LEVELBudget is not supported at the ad group level if it is defined at the campaign level
BUDGET_VALUE_NOT_ALLOWED_FOR_GIVEN_CAMPAIGNBudget value is not allowed for the given campaign
END_DATE_CANNOT_BE_EMPTY_OR_IN_THE_PASTEnd date cannot be empty or in the past
BUDGET_TYPE_CANNOT_BE_CHANGED_IN_MID_FLIGHT_OR_SCHEDULED_OR_PAUSED_STATEBudget type cannot be changed when the campaign is in mid-flight, scheduled, or paused state
INVALID_FIELD_CAMPAIGN_OBJECTIVEInvalid campaign objective
INVALID_FIELD_DELIVERY_SPEEDInvalid delivery speed
MISSING_FIELD_CAMPAIGN_OBJECTIVECampaign objective is required to create an auction campaign
INVALID_FIELD_CAMPAIGN_TYPEOnly NGD reservation type is supported
INVALID_FIELD_CAMPAIGN_OBJECTIVE_FOR_GIVEN_ADVERTISERThe campaign objective provided is not allowed for the given advertiser
TOTAL_BUDGET_SHOULD_BE_EMPTY_FOR_DAILY_BUDGET_TYPETotal budget amount must be empty for daily budget type
FRONTLOADED_DELIVERY_TYPE_NOT_ALLOWED_FOR_DAILY_BUDGET_TYPEFrontloaded delivery type is not allowed for daily budget type
UNABLE_TO_FETCH_CAMPAIGN_DETAILCampaign details not found
CAMPAIGN_END_DATE_ONLY_UNLIMITED_FOR_DRAFT_CAMPAIGNCampaign end date cannot be unlimited unless the campaign is in draft state
NO_VALID_CAMPAIGNSNone of the campaign IDs provided in the request are valid
CAMPAIGN_LIMIT_REACHED_FOR_ADVERTISERThe maximum number of campaigns per advertiser has been reached; no additional campaigns can be created for this advertiser
CAMPAIGN_ID_NOT_FOUNDCampaign not found for this advertiser
DUPLICATE_CAMPAIGN_REQUESTTwo or more entries with the same campaign identifier are not allowed in a single request
UPDATE_CAMPAIGN_NOT_ALLOWED_IF_CAMPAIGN_STATUS_IS_ARCHIVEDCampaign cannot be updated if it is in archived state
INVALID_CAMPAIGN_TYPEInvalid campaign type
INVALID_CAMPAIGN_NAME_SIZEInvalid campaign name length; it must be between 4 and 255 characters
END_DATE_MUST_BE_AFTER_NOONEnd date must be after 12 noon
INVALID_KPIKPI details provided are invalid or not consistent with the campaign objective
INVALID_OR_MISSING_GOAL_SETTINGInvalid or missing goal setting
CAMPAIGN_AUTOSETUP_DETAILS_CANNOT_BE_MODIFIEDCampaign auto-setup details cannot be modified
INVALID_OBJECTIVE_FOR_GIVEN_MEDIA_TYPEObjective is not supported for the given media type
MEDIA_TYPE_CANNOT_BE_UPDATEDMedia type cannot be updated

Campaign Action API Error Codes

Error Response CodeDescription
CAMPAIGN_STATE_CHANGE_NOT_ALLOWED_TO_PAUSED_STATECampaign cannot be paused when its status is draft or completed
CAMPAIGN_STATE_CHANGE_NOT_ALLOWEDCampaign is already in the requested paused, active, archived, or unarchived state
ARCHIVE_OPERATION_CAN_ONLY_BE_PERFORMED_IN_DRAFT_OR_SCHEDULED_STATEArchive operation can only be performed when the campaign is in draft or scheduled state
CAMPAIGNS_ONCE_FLIGHTED_CANNOT_BE_ARCHIVEDA live campaign cannot be archived
CURRENT_CAMPAIGN_STATUS_DOES_NOT_SUPPORT_ITEM_SET_ASSOCIATIONItem set association is not allowed on an archived campaign
CAMPAIGN_<ACTION_TYPE>_SUCCESSCampaign action was successful for <ACTION_TYPE>. Expected values are PAUSE, RESUME, ARCHIVE, and UNARCHIVE
UNARCHIVE_OPERATION_CAN_ONLY_BE_PERFORMED_IN_ARCHIVED_STATEUnarchive operation can only be performed when the campaign or ad group is in archived state
END_DATE_MUST_BE_AFTER_NOONEnd date must be after 12 noon
INVALID_KPIKPI details provided are invalid or not consistent with the campaign objective
INVALID_OR_MISSING_GOAL_SETTINGInvalid or missing goal setting