Campaign CRUD APIs

Error Response CodeError Description
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_NAMECampaign already exists with the given name
CAMPAIGN_OBJECTIVE_ALLOWED_TO_UPDATE_ONLY_FOR_DRAFT_STATECampaign objective can be updated only for draft campaign
RESOURCE_NOT_FOUND_FOR_INPUT_COMBINATION_ADVERTISER_ID_AND_CAMPAIGN_IDInvalid campaign id and advertiser id combination passed in the input
CAMPAIGN_OBJECTIVE_ALLOWED_TO_UPDATE_ONLY_FOR_DRAFT_STATECampaign objective can be updated only for draft campaign
MID_FLIGHT_CAMPAIGN_DATES_SHOULD_NOT_BE_NULLFor mid-flight campaign, dates should not be null
TOTAL_BUDGET_CANNOT_BE_LESS_THAN_CURRENT_CAMPAIGN_ADSPENTTotal budget cannot be less than current campaign ad spent
DAILY_BUDGET_CANNOT_BE_LESS_THAN_CURRENT_CAMPAIGN_ADSPENTDaily budget cannot be less than current campaign ad spent
MID_FLIGHT_CAMPAIGN_BUDGET_INFO_CANNOT_BE_NULLFor mid-flight campaign, budget info should not be null
CAMPAIGN_OBJECTIVE_CANNOT_BE_UPDATEDCampaign objective cannot be updated when any one ad group is scheduled/paused/active/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 ad group level, if budget is defined at campaign level
BUDGET_VALUE_NOT_ALLOWED_FOR_GIVEN_CAMPAIGNBudget value not allowed for 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_TYPEInvalid reservation type
INVALID_FIELD_CAMPAIGN_OBJECTIVE_FOR_GIVEN_ADVERTISERThe Campaign objective passed is not allowed for given advertiser
TOTAL_BUDGET_SHOULD_BE_EMPTY_FOR_DAILY_BUDGET_TYPETotal Budget amount should be empty for Daily budget type.
FRONTLOADED_DELIVERY_TYPE_NOT_ALLOWED_FOR_DAILY_BUDGET_TYPEFrontloaded delivery type 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 if it is not in DRAFT state.
NO_VALID_CAMPAIGNSNone of the campaignIds passed in the request are valid
CAMPAIGN_LIMIT_REACHED_FOR_ADVERTISERMaximum number of campaigns per advertiser is reached, cannot create anymore campaigns for this advertiser
CAMPAIGN_ID_NOT_FOUNDCampaign not found for this advertiser
UNABLE_TO_FETCH_CAMPAIGN_DETAILUnable to fetch campaign detail for the given campaignId, either it's not present or does not belong to the advertiser
DUPLICATE_CAMPAIGN_REQUESTTwo or more entries with same campaign identifer are not allowed in a request
UPDATE_CAMPAIGN_NOT_ALLOWED_IF_CAMPAIGN_STATUS_IS_ARCHIVEDCampaign cannot be updated if it's in archived state
INVALID_CAMPAIGN_TYPEInvalid campaign type
INVALID_CAMPAIGN_NAME_SIZEInvalid campaign name length, must be between 4 and 255 characters
END_DATE_MUST_BE_AFTER_NOONEnd Date is less than 12 noon