v201705 and v201708 will be sunset on March 28, 2018. Please migrate to a newer version if you haven't already done so.

enum CustomerOrderLineError.Reason (v201705)

Enums for all the reasons an error can be thrown to the user during a CustomerOrderLine mutate operation.

Enumeration Description
INVALID_ORDER_LINE_ID Order Line Id does not exist.
END_DATE_BEFORE_START_DATE End date must be later than start date
NEGATIVE_SPEND Spending limit must be positive
CREATE_IN_PAST Cannot create order line with start date in the past
ALREADY_STARTED Cannot change start date after the order line has started
ALREADY_SPENT Cannot set spending limit below what has already been spent
FINISHED_IN_THE_PAST Cannot move end date into the past
CANCEL_ACTIVE Cannot cancel active order line
OVERLAP_DATE_RANGE Cannot make overlapping order lines.
COS_CHANGE Cannot make a COS order line non-COS.
NON_ADWORDS Cannot create an order line on a non-adwords account
START_DATE_AFTER_ACTUAL Cannot set contract start date to be after actual start date
END_DATE_PAST_MAX Cannot set contract start date to be after actual start date
PARENT_IS_SELF only cancelled order lines may have themselves as parent
CANNOT_CANCEL_NEW Cannot cancel new order line
CANNOT_CANCEL_STARTED Cannot cancel started order line
CANNOT_PROMOTE_NON_PENDING_ORDERLINE Cannot promote an order line that is not pending.
UPDATE_ORDERLINE_WILL_SHIFT_CURRENT Updating order line will shift current order line.
ORDERLINE_BEING_MODIFIED_IS_NOT_NORMAL_OR_PENDING Only Order lines in normal or pending state can be modified.
INVALID_STATUS_CHANGE Invalid Status Change by client.
MORE_THAN_ONE_OPERATION_NOT_PERMITTED More than one operation not permitted per call.
INVALID_TIMEZONE_IN_DATE_RANGES StartDate and EndDate should pass in the customer's account timeZone.

Send feedback about...

AdWords API
AdWords API
Need help? Visit our support page.