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
BOOKING_RATE_TYPE_IS_NOT_ALLOWED_FOR_GIVEN_CAMPAIGNBooking rate type is not allowed for given campaign
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
UNSUPPORTED_FIELD_TOTAL_BUDGETTotal budget is not a supported field
UNSUPPORTED_FIELD_DAILY_BUDGETDaily budget is not a supported field
UNSUPPORTED_FIELD_START_DATEStart Date is not a supported field
UNSUPPORTED_FIELD_END_DATEEnd Date is not a supported field
UNSUPPORTED_FIELD_DELIVERY_SPEEDDelivery Speed is not a supported field
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.