# type LineItemCreativeAssociationError (v202505)

**Service** [CreativeService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.LineItemCreativeAssociationError) **ForecastService** [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.LineItemCreativeAssociationError) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItemCreativeAssociationError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.LineItemCreativeAssociationError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202505/OrderService.LineItemCreativeAssociationError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.ApiError) ▼ [AdUnitCodeError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.AdUnitCodeError) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.ApiVersionError) [AssetError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.AssetError) [AudienceExtensionError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.AudienceExtensionError) [AudienceSegmentError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.AudienceSegmentError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.AuthenticationError) [ClickTrackingLineItemError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.ClickTrackingLineItemError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.CommonError) [CompanyCreditStatusError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.CompanyCreditStatusError) [CreativeError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.CreativeError) [CrossSellError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.CrossSellError) [CurrencyCodeError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.CurrencyCodeError) [CustomFieldValueError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.CustomFieldValueError) [CustomTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.CustomTargetingError) [DateError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.DateError) [DateTimeRangeTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.DateTimeRangeTargetingError) [DayPartTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.DayPartTargetingError) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.EntityChildrenLimitReachedError "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.FeatureError) [ForecastError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.ForecastError) [FrequencyCapError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.FrequencyCapError) [GenericTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.GenericTargetingError) [GeoTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.GeoTargetingError) [GrpSettingsError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.GrpSettingsError) [ImageError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.ImageError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.InternalApiError) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.InvalidUrlError) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.InventoryTargetingError) [InventoryUnitError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.InventoryUnitError) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.LabelEntityAssociationError) [LineItemActivityAssociation...](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.LineItemActivityAssociationError "LineItemActivityAssociationError") **LineItemCreativeAssociation...** [LineItemError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.LineItemError) [LineItemFlightDateError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.LineItemFlightDateError) [LineItemOperationError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.LineItemOperationError) [MobileApplicationTargetingE...](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.MobileApplicationTargetingError "MobileApplicationTargetingError") [NotNullError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.NullError) [OrderActionError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.OrderActionError) [OrderError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.OrderError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.PermissionError) [PrecisionError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.PrecisionError) [ProgrammaticError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.ProgrammaticError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.QuotaError) [RangeError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.RangeError) [RegExError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.RegExError) [RequestPlatformTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.RequestPlatformTargetingError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.RequiredNumberError) [RequiredSizeError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.RequiredSizeError) [ReservationDetailsError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.ReservationDetailsError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.ServerError) [SetTopBoxLineItemError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.SetTopBoxLineItemError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.StringLengthError) [TeamError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.TeamError) [TechnologyTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.TechnologyTargetingError) [TimeZoneError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.TimeZoneError) [TranscodingError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.TranscodingError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.UniqueError) [UserDomainTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.UserDomainTargetingError) [VideoPositionTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.VideoPositionTargetingError)

Lists all errors associated with line item-to-creative association dates.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202505`

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.FieldPathElement[]` A parsed copy of the field path. For example, the field path "operations\[1\].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}. |
| ### `trigger` | ` xsd:string` The data that caused the error. |
| ### `errorString` | ` xsd:string` A simple string representation of the error and reason. |
| **`LineItemCreativeAssociationError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.LineItemCreativeAssociationError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `CREATIVE_IN_WRONG_ADVERTISERS_LIBRARY` :   Cannot associate a creative to the wrong advertiser `INVALID_LINEITEM_CREATIVE_PAIRING` :   The creative type being associated is a invalid for the line item type. `STARTDATE_BEFORE_LINEITEM_STARTDATE` :   Association start date cannot be before line item start date `STARTDATE_NOT_BEFORE_LINEITEM_ENDDATE` :   Association start date cannot be same as or after line item end date `ENDDATE_AFTER_LINEITEM_ENDDATE` :   Association end date cannot be after line item end date `ENDDATE_NOT_AFTER_LINEITEM_STARTDATE` :   Association end date cannot be same as or before line item start date `ENDDATE_NOT_AFTER_STARTDATE` :   Association end date cannot be same as or before its start date `ENDDATE_IN_THE_PAST` :   Association end date cannot be in the past. `CANNOT_COPY_WITHIN_SAME_LINE_ITEM` :   Cannot copy an association to the same line item without creating new creative `UNSUPPORTED_CREATIVE_VAST_REDIRECT_TYPE` :   Programmatic only supports the "Video" redirect type. `UNSUPPORTED_YOUTUBE_HOSTED_CREATIVE` :   Programmatic does not support YouTube hosted creatives. `PROGRAMMATIC_CREATIVES_CAN_ONLY_BE_ASSIGNED_TO_ONE_LINE_ITEM` :   Programmatic creatives can only be assigned to one line item. `CANNOT_ACTIVATE_ASSOCIATION_WITH_INACTIVE_CREATIVE` :   Cannot activate a line item creative association if the associated creative is inactive. `CANNOT_CREATE_PROGRAMMATIC_CREATIVES` :   Cannot create programmatic creatives. `CANNOT_UPDATE_PROGRAMMATIC_CREATIVES` :   Cannot update programmatic creatives. `CREATIVE_AND_LINE_ITEM_MUST_BOTH_BE_SET_TOP_BOX_ENABLED` :   Cannot associate a creative with a line item if only one of them is set-top box enabled. `CANNOT_DELETE_SET_TOP_BOX_ENABLED_ASSOCIATIONS` :   Cannot delete associations between set-top box enabled line items and set-top box enabled creatives. `SET_TOP_BOX_CREATIVE_ROTATION_WEIGHT_MUST_BE_INTEGER` :   Creative rotation weights must be integers. `INVALID_CREATIVE_ROTATION_TYPE_FOR_MANUAL_WEIGHT` :   Creative rotation weights are only valid when creative rotation type is set to [CreativeRotationType.MANUAL](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.CreativeRotationType#MANUAL). `CLICK_MACROS_REQUIRED` :   The code snippet of a creative must contain a click macro (%%CLICK_URL_ESC%% or %%CLICK_URL_UNESC%%). `VIEW_MACROS_NOT_ALLOWED` :   The code snippet of a creative must not contain a view macro (%%VIEW_URL_ESC%% or %%VIEW_URL_UNESC%%). `CREATIVE_SKIPPABILITY_MISMATCH_WITH_LINE_ITEM` :   Creative and line item skippability must match. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |