LineItemTemplateService (v202308)

Provides methods for creating, updating and retrieving LineItemTemplate objects.


Production WSDL
https://ads.google.com/apis/ads/publisher/v202308/LineItemTemplateService?wsdl
Namespace
https://www.google.com/apis/ads/publisher/v202308
Operations
Errors

getLineItemTemplatesByStatement

Gets a LineItemTemplatePage of LineItemTemplate objects that satisfy the given Statement.query. The following fields are supported for filtering:

PQL Property Object Property
id LineItemTemplate.id

Parameters

Field Type Description
filterStatement Statement

Response

Field Type Description
rval LineItemTemplatePage

Errors

Error Reasons
ApiVersionError Errors related to the usage of API versions.
Enumerations
UPDATE_TO_NEWER_VERSION
Indicates that the operation is not allowed in the version the request was made in.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
AssetError Lists all errors associated with assets.
Enumerations
NON_UNIQUE_NAME
An asset name must be unique across advertiser.
FILE_NAME_TOO_LONG
The file name is too long.
FILE_SIZE_TOO_LARGE
The file size is too large.
MISSING_REQUIRED_DYNAMIC_ALLOCATION_CLIENT
Required client code is not present in the code snippet.
MISSING_REQUIRED_DYNAMIC_ALLOCATION_HEIGHT
Required height is not present in the code snippet.
MISSING_REQUIRED_DYNAMIC_ALLOCATION_WIDTH
Required width is not present in the code snippet.
MISSING_REQUIRED_DYNAMIC_ALLOCATION_FORMAT
Required format is not present in the mobile code snippet.
INVALID_CODE_SNIPPET_PARAMETER_VALUE
The parameter value in the code snippet is invalid.
INVALID_ASSET_ID
Invalid asset Id.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
AudienceExtensionError Errors associated with audience extension enabled line items
Enumerations
FREQUENCY_CAPS_NOT_SUPPORTED
Frequency caps are not supported by audience extension line items
INVALID_TARGETING
Audience extension line items can only target geography
INVENTORY_UNIT_TARGETING_INVALID
Audience extension line items can only target audience extension inventory units
INVALID_CREATIVE_ROTATION
Audience extension line items do not support CreativeRotationType.SEQUENTIAL.
INVALID_EXTERNAL_ENTITY_ID
The given ID of the external entity is not valid
INVALID_LINE_ITEM_TYPE
Audience extension line items only support LineItemType.STANDARD.
INVALID_MAX_BID
Audience extension max bid is invalid when it is greater then the max budget.
AUDIENCE_EXTENSION_BULK_UPDATE_NOT_ALLOWED
Bulk update for audience extension line items is not allowed.
UNEXPECTED_AUDIENCE_EXTENSION_ERROR
An unexpected error occurred.
MAX_DAILY_BUDGET_AMOUNT_EXCEEDED
The value entered for the maximum daily budget on an audience extension line item exceeds the maximum allowed.
EXTERNAL_CAMPAIGN_ALREADY_EXISTS
Creating a campaign for a line item that already has an associated campaign is not allowed.
AUDIENCE_EXTENSION_WITHOUT_FEATURE
Audience extension was specified on a line item but the feature was not enabled.
AUDIENCE_EXTENSION_WITHOUT_LINKED_ACCOUNT
Audience extension was specified on a line item but no audience extension account has been linked.
CANNOT_OVERRIDE_CREATIVE_SIZE_WITH_AUDIENCE_EXTENSION
Assocation creative size overrides are not allowed with audience extension.
CANNOT_OVERRIDE_FIELD_WITH_AUDIENCE_EXTENSION
Some association overrides are not allowed with audience extension.
ONLY_ONE_CREATIVE_PLACEHOLDER_ALLOWED
Only one creative placeholder is allowed for an audience extension line item.
MULTIPLE_AUDIENCE_EXTENSION_LINE_ITEMS_ON_ORDER
Only one audience extension line item can be associated with a given order.
CANNOT_COPY_AUDIENCE_EXTENSION_LINE_ITEMS_AND_CREATIVES_TOGETHER
Audience extension line items must be copied separately from their associated creatives.
FEATURE_DEPRECATED
Audience extension is no longer supported and cannot be used.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
AudienceSegmentError Errors that could occur on audience segment related requests.
Enumerations
FIRST_PARTY_AUDIENCE_SEGMENT_NOT_SUPPORTED
First party audience segment is not supported.
ONLY_RULE_BASED_FIRST_PARTY_AUDIENCE_SEGMENTS_CAN_BE_CREATED
Only rule-based first-party audience segments can be created.
AUDIENCE_SEGMENT_ID_NOT_FOUND
Audience segment for the given id is not found.
INVALID_AUDIENCE_SEGMENT_RULE
Audience segment rule is invalid.
AUDIENCE_SEGMENT_RULE_TOO_LONG
Audience segment rule contains too many ad units and/or custom criteria.
INVALID_AUDIENCE_SEGMENT_NAME
Audience segment name is invalid.
DUPLICATE_AUDIENCE_SEGMENT_NAME
Audience segment with this name already exists.
INVALID_AUDIENCE_SEGMENT_DESCRIPTION
Audience segment description is invalid.
INVALID_AUDIENCE_SEGMENT_PAGEVIEWS
Audience segment pageviews value is invalid. It must be between 1 and 12.
INVALID_AUDIENCE_SEGMENT_RECENCY
Audience segment recency value is invalid. It must be between 1 and 90 if pageviews > 1.
INVALID_AUDIENCE_SEGMENT_MEMBERSHIP_EXPIRATION
Audience segment membership expiration value is invalid. It must be between 1 and 180.
INVALID_AUDIENCE_SEGMENT_CUSTOM_KEY_NAME
The given custom key cannot be part of audience segment rule due to unsupported characters.
INVALID_AUDIENCE_SEGMENT_CUSTOM_VALUE_NAME
The given custom value cannot be part of audience segment rule due to unsupported characters.
INVALID_AUDIENCE_SEGMENT_CUSTOM_VALUE_MATCH_TYPE
Broad-match custom value cannot be part of audience segment rule.
INVALID_NESTED_FIRST_PARTY_AUDIENCE_SEGMENT
Audience segment rule cannot contain itself.
SHARED_SELLING_PARTNER_ROOT_CANNOT_BE_INCLUDED
Audience segment rule cannot contain shared selling inventory unit.
INVALID_NESTED_THIRD_PARTY_AUDIENCE_SEGMENT
Audience segment rule cannot contain a nested third-party segment.
INACTIVE_NESTED_AUDIENCE_SEGMENT
Audience segment rule cannot contain a nested inactive segment.
AUDIENCE_SEGMENT_GLOBAL_LICENSE_ERROR
An error occurred when purchasing global licenses.
SEGMENT_VIOLATED_POLICY
Segment cannot be activated as it violates Google's Platform Policy.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
AuthenticationError An error for an exception that occurred when authenticating.
Enumerations
AMBIGUOUS_SOAP_REQUEST_HEADER
The SOAP message contains a request header with an ambiguous definition of the authentication header fields. This means either the authToken and oAuthToken fields were both null or both were specified. Exactly one value should be specified with each request.
INVALID_EMAIL
The login provided is invalid.
AUTHENTICATION_FAILED
Tried to authenticate with provided information, but failed.
INVALID_OAUTH_SIGNATURE
The OAuth provided is invalid.
INVALID_SERVICE
The specified service to use was not recognized.
MISSING_SOAP_REQUEST_HEADER
The SOAP message is missing a request header with an authToken and optional networkCode.
MISSING_AUTHENTICATION_HTTP_HEADER
The HTTP request is missing a request header with an authToken
MISSING_AUTHENTICATION
The request is missing an authToken
NETWORK_API_ACCESS_DISABLED
The network does not have API access enabled.
NO_NETWORKS_TO_ACCESS
The user is not associated with any network.
NETWORK_NOT_FOUND
No network for the given networkCode was found.
NETWORK_CODE_REQUIRED
The user has access to more than one network, but did not provide a networkCode.
CONNECTION_ERROR
An error happened on the server side during connection to authentication service.
GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK
The user tried to create a test network using an account that already is associated with a network.
UNDER_INVESTIGATION
The account is blocked and under investigation by the collections team. Please contact Google for more information.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
ClickTrackingLineItemError Click tracking is a special line item type with a number of unique errors as described below.
Enumerations
TYPE_IMMUTABLE
The line item type cannot be changed once created.
INVALID_TARGETING_TYPE
Click tracking line items can only be targeted at ad unit inventory, all other types are invalid, as well as placements.
INVALID_ROADBLOCKING_TYPE
Click tracking line items do not allow us to control creative delivery so are by nature one or more as entered by the third party.
INVALID_CREATIVEROTATION_TYPE
Click tracking line items do not support the CreativeRotationType.OPTIMIZED creative rotation type.
INVALID_DELIVERY_RATE_TYPE
Click tracking line items do not allow us to control line item delivery so we can not control the rate at which they are served.
UNSUPPORTED_FIELD
Not all fields are supported by the click tracking line items.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
CollectionSizeError Error for the size of the collection being too large
Enumerations
TOO_LARGE
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
CommonError A place for common errors that can be used across services.
Enumerations
NOT_FOUND
Indicates that an attempt was made to retrieve an entity that does not exist.
ALREADY_EXISTS
Indicates that an attempt was made to create an entity that already exists.
NOT_APPLICABLE
Indicates that a value is not applicable for given use case.
DUPLICATE_OBJECT
Indicates that two elements in the collection were identical.
CANNOT_UPDATE
Indicates that an attempt was made to change an immutable field.
UNSUPPORTED_OPERATION
Indicates that the requested operation is not supported.
CONCURRENT_MODIFICATION
Indicates that another request attempted to update the same data in the same network at about the same time. Please wait and try the request again.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
CompanyCreditStatusError Lists all errors due to Company.creditStatus.
Enumerations
COMPANY_CREDIT_STATUS_CHANGE_NOT_ALLOWED
The user's role does not have permission to change Company.creditStatus from the default value. The default value is Company.CreditStatus.ACTIVE for the Basic credit status setting and Company.CreditStatus.ON_HOLD for the Advanced credit status setting.
CANNOT_USE_CREDIT_STATUS_SETTING
The network has not been enabled for editing credit status settings for companies.
CANNOT_USE_ADVANCED_CREDIT_STATUS_SETTING
The network has not been enabled for the Advanced credit status settings for companies. Company.creditStatus must be either ACTIVE or INACTIVE.
UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_ORDER
An order cannot be created or updated because the Order.advertiserId or the Order.agencyId it is associated with has Company.creditStatus that is not ACTIVE or ON_HOLD.
UNACCEPTABLE_COMPANY_CREDIT_STATUS_FOR_LINE_ITEM
A line item cannot be created for the order because the Order.advertiserId or {Order#agencyId} it is associated with has Company.creditStatus that is not ACTIVE or ON_HOLD.
CANNOT_BLOCK_COMPANY_TOO_MANY_APPROVED_ORDERS
The company cannot be blocked because there are more than 200 approved orders of the company. Archive some, so that there are less than 200 of them.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
CreativeError Lists all errors associated with creatives.
Enumerations
FLASH_AND_FALLBACK_URL_ARE_SAME
FlashRedirectCreative.flashUrl and FlashRedirectCreative.fallbackUrl are the same. The fallback URL is used when the flash URL does not work and must be different from it.
INVALID_INTERNAL_REDIRECT_URL
The internal redirect URL was invalid. The URL must have the following syntax http://ad.doubleclick.net/ad/sitename/;sz=size.
DESTINATION_URL_REQUIRED
HasDestinationUrlCreative.destinationUrl is required.
DESTINATION_URL_NOT_EMPTY
HasDestinationUrlCreative.destinationUrl must be empty when its type is DestinationUrlType.NONE.
DESTINATION_URL_TYPE_NOT_SUPPORTED
The provided DestinationUrlType is not supported for the creative type it is being used on.
CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_CREATIVE
Cannot create or update legacy DART For Publishers creative.
CANNOT_CREATE_OR_UPDATE_LEGACY_DFP_MOBILE_CREATIVE
Cannot create or update legacy mobile creative.
MISSING_FEATURE
The user is missing a necessary feature.
INVALID_COMPANY_TYPE
Company type should be one of Advertisers, House Advertisers and Ad Networks.
INVALID_ADSENSE_CREATIVE_SIZE
Invalid size for AdSense dynamic allocation creative. Only valid AFC sizes are allowed.
INVALID_AD_EXCHANGE_CREATIVE_SIZE
Invalid size for Ad Exchange dynamic allocation creative. Only valid Ad Exchange sizes are allowed.
DUPLICATE_ASSET_IN_CREATIVE
Assets associated with the same creative must be unique.
CREATIVE_ASSET_CANNOT_HAVE_ID_AND_BYTE_ARRAY
A creative asset cannot contain an asset ID and a byte array.
CANNOT_CREATE_OR_UPDATE_UNSUPPORTED_CREATIVE
Cannot create or update unsupported creative.
CANNOT_CREATE_PROGRAMMATIC_CREATIVES
Cannot create programmatic creatives.
INVALID_SIZE_FOR_THIRD_PARTY_IMPRESSION_TRACKER
A creative must have valid size to use the third-party impression tracker.
CANNOT_DEACTIVATE_CREATIVES_IN_CREATIVE_SETS
Ineligible creatives can not be deactivated.
HOSTED_VIDEO_CREATIVE_REQUIRES_VIDEO_ASSET
Ad Manager hosted video creatives must contain a video asset.
CANNOT_SET_MULTIPLE_IMPRESSION_TRACKING_URLS
ImageCreative.thirdPartyImpressionTrackingUrls should not contain more than one url.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
CrossSellError Lists all errors associated with cross selling.
Enumerations
COMPANY_IS_NOT_DISTRIBUTION_PARTNER
A company for cross-sell partner must be of type Company.Type.PARTNER.
CHANGING_PARTNER_NETWORK_IS_NOT_SUPPORTED
The network code of a cross-sell partner cannot be changed.
MISSING_DISTRIBUTOR_PARTNER_NAME
A cross-sell partner must have a partner name.
DISTRIBUTOR_NETWORK_MISSING_PUBLISHER_FEATURE
The cross-sell distributor publisher feature must be enabled.
CONTENT_PROVIDER_NETWORK_MISSING_PUBLISHER_FEATURE
The cross-sell publisher features must be enabled on the partner's network.
INVALID_DISTRIBUTOR_PARTNER_NAME
The cross-sell partner name conflicts with an ad unit name on the partner's network.
INVALID_CONTENT_PROVIDER_NETWORK
The network code of a cross-sell partner is invalid.
CONTENT_PROVIDER_NETWORK_CANNOT_BE_ACTIVE_NETWORK
The content provider network must be different than the distributor network.
CONTENT_PROVIDER_NETWORK_ALREADY_ENABLED_FOR_CROSS_SELLING
The same network code was already enabled for cross-sell in a different company.
DISTRIBUTOR_RULE_VIOLATION_ERROR
A rule defined by the cross selling distributor has been violated by a line item targeting a shared ad unit. Violating this rule is an error.
DISTRIBUTOR_RULE_VIOLATION_WARNING
A rule defined by the cross selling distributor has been violated by a line item targeting a shared ad unit. Violating this rule is a warning.

By setting LineItem.skipCrossSellingRuleWarningChecks, the content partner can suppress the warning (and create or save the line item).

This flag is available beginning in V201411.

UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
CurrencyCodeError Errors related to currency codes.
Enumerations
INVALID
The currency code is invalid and does not follow ISO 4217.
UNSUPPORTED
The currency code is valid, but is not supported.
DEPRECATED_CURRENCY_USED
The currency has been used for entity creation after its deprecation
CustomFieldValueError Errors specific to editing custom field values
Enumerations
CUSTOM_FIELD_NOT_FOUND
An attempt was made to modify or create a CustomFieldValue for a CustomField that does not exist.
CUSTOM_FIELD_INACTIVE
An attempt was made to create a new value for a custom field that is inactive.
CUSTOM_FIELD_OPTION_NOT_FOUND
An attempt was made to modify or create a CustomFieldValue corresponding to a CustomFieldOption that could not be found.
INVALID_ENTITY_TYPE
An attempt was made to modify or create a CustomFieldValue with an association to an entity of the wrong type for its field.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
CustomTargetingError Lists all errors related to CustomTargetingKey and CustomTargetingValue objects.
Enumerations
KEY_NOT_FOUND
Requested CustomTargetingKey is not found.
KEY_COUNT_TOO_LARGE
Number of CustomTargetingKey objects created exceeds the limit allowed for the network.
KEY_NAME_DUPLICATE
CustomTargetingKey with the same CustomTargetingKey.name already exists.
KEY_NAME_EMPTY
CustomTargetingKey.name is empty.
KEY_NAME_INVALID_LENGTH
CustomTargetingKey.name is too long.
KEY_NAME_INVALID_CHARS
CustomTargetingKey.name contains unsupported or reserved characters.
KEY_NAME_RESERVED
CustomTargetingKey.name matches one of the reserved custom targeting key names.
KEY_DISPLAY_NAME_INVALID_LENGTH
CustomTargetingKey.displayName is too long.
KEY_STATUS_NOT_ACTIVE
Key is not active.
VALUE_NOT_FOUND
Requested CustomTargetingValue is not found.
GET_VALUES_BY_STATEMENT_MUST_CONTAIN_KEY_ID
The WHERE clause in the Statement.query must always contain CustomTargetingValue.customTargetingKeyId as one of its columns in a way that it is AND'ed with the rest of the query.
VALUE_COUNT_FOR_KEY_TOO_LARGE
The number of CustomTargetingValue objects associated with a CustomTargetingKey exceeds the network limit. This is only applicable for keys of type CustomTargetingKey.Type#PREDEFINED.
VALUE_NAME_DUPLICATE
CustomTargetingValue with the same CustomTargetingValue.name already exists.
VALUE_NAME_EMPTY
CustomTargetingValue.name is empty.
VALUE_NAME_INVALID_LENGTH
CustomTargetingValue.name is too long.
VALUE_NAME_INVALID_CHARS
CustomTargetingValue.name contains unsupported or reserved characters.
VALUE_DISPLAY_NAME_INVALID_LENGTH
CustomTargetingValue.displayName is too long.
VALUE_MATCH_TYPE_NOT_ALLOWED
Only Ad Manager 360 networks can have CustomTargetingValue.matchType other than CustomTargetingValue.MatchType.EXACT.
VALUE_MATCH_TYPE_NOT_EXACT_FOR_PREDEFINED_KEY
You can only create CustomTargetingValue objects with match type CustomTargetingValue.MatchType.EXACT when associating with CustomTargetingKey objects of type CustomTargetingKey.Type.PREDEFINED
SUFFIX_MATCH_TYPE_NOT_ALLOWED
CustomTargetingValue object cannot have match type of CustomTargetingValue.MatchType.SUFFIX when adding a CustomTargetingValue to a line item.
CONTAINS_MATCH_TYPE_NOT_ALLOWED
CustomTargetingValue object cannot have match type of CustomTargetingValue.MatchType.CONTAINS when adding a CustomTargetingValue to targeting expression of a line item.
VALUE_STATUS_NOT_ACTIVE
Value is not active.
KEY_WITH_MISSING_VALUES
The CustomTargetingKey does not have any CustomTargetingValue associated with it.
INVALID_VALUE_FOR_KEY
The CustomTargetingKey has a CustomTargetingValue specified for which the value is not a valid child.
CANNOT_OR_DIFFERENT_KEYS
CustomCriteriaSet.LogicalOperator.OR operation cannot be applied to values with different keys.
INVALID_TARGETING_EXPRESSION
Targeting expression is invalid. This can happen if the sequence of operators is wrong, or a node contains invalid number of children.
DELETED_KEY_CANNOT_BE_USED_FOR_TARGETING
The key has been deleted. CustomCriteria cannot have deleted keys.
DELETED_VALUE_CANNOT_BE_USED_FOR_TARGETING
The value has been deleted. CustomCriteria cannot have deleted values.
VIDEO_BROWSE_BY_KEY_CANNOT_BE_USED_FOR_CUSTOM_TARGETING
The key is set as the video browse-by key, which cannot be used for custom targeting.
CANNOT_DELETE_CUSTOM_KEY_USED_IN_CONTENT_METADATA_MAPPING
Only active custom-criteria keys are supported in content metadata mapping.
CANNOT_DELETE_CUSTOM_VALUE_USED_IN_CONTENT_METADATA_MAPPING
Only active custom-criteria values are supported in content metadata mapping.
CANNOT_DELETE_CUSTOM_KEY_USED_IN_PARTNER_ASSIGNMENT_TARGETING
Cannot delete a custom criteria key that is targeted by an active partner assignment.
CANNOT_DELETE_CUSTOM_VALUE_USED_IN_PARTNER_ASSIGNMENT_TARGETING
Cannot delete a custom criteria value that is targeted by an active partner assignment.
CANNOT_TARGET_AUDIENCE_SEGMENT
AudienceSegment object cannot be targeted.
CANNOT_TARGET_THIRD_PARTY_AUDIENCE_SEGMENT
Third party AudienceSegment cannot be targeted.
CANNOT_TARGET_INACTIVE_AUDIENCE_SEGMENT
Inactive AudienceSegment object cannot be targeted.
INVALID_AUDIENCE_SEGMENTS
Targeted AudienceSegment object is not valid.
CANNOT_TARGET_MAPPED_METADATA
Mapped metadata key-values are deprecated and cannot be targeted.
ONLY_APPROVED_AUDIENCE_SEGMENTS_CAN_BE_TARGETED
Targeted AudienceSegment objects have not been approved.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
DateTimeRangeTargetingError Lists all date time range errors caused by associating a line item with a targeting expression.
Enumerations
EMPTY_RANGES
No targeted ranges exists.
NOT_SPONSORSHIP_LINEITEM
Type of lineitem is not sponsorship.
NOT_SPONSORSHIP_OR_STANDARD_LINEITEM
Type of lineitem is not sponsorship or standard.
UNSUPPORTED_LINEITEM_RESERVATION_TYPE
Line item must have a reservation type of sponsorship, standard or preferred deal to use date time range targeting.
PAST_RANGES_CHANGED
Past ranges are changed.
RANGES_OVERLAP
Targeted date time ranges overlap.
FIRST_DATE_TIME_DOES_NOT_MATCH_START_TIME
First date time does not match line item's start time.
LAST_DATE_TIME_DOES_NOT_MATCH_END_TIME
Last date time does not match line item's end time.
RANGES_OUT_OF_LINEITEM_ACTIVE_PERIOD
Targeted date time ranges fall out the active period of lineitem.
START_TIME_IS_NOT_START_OF_DAY
Start time of range (except the earliest range) is not at start of day. Start of day is 00:00:00.
END_TIME_IS_NOT_END_OF_DAY
End time of range (except the latest range) is not at end of day. End of day is 23:59:59.
START_DATE_TIME_IS_IN_PAST
Start date time of earliest targeted ranges is in past.
MODIFY_START_DATE_TIME_TO_PAST
Cannot modify the start date time for date time targeting to the past.
RANGE_END_TIME_BEFORE_START_TIME
The end time of range is before the start time. Could happen when start type is IMMEDIATE or ONE_HOUR_LATER.
END_DATE_TIME_IS_TOO_LATE
End date time of latest targeted ranges is too late.
LIMITED_RANGES_IN_UNLIMITED_LINEITEM
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
DayPartTargetingError Lists all errors associated with day-part targeting for a line item.
Enumerations
INVALID_HOUR
Hour of day must be between 0 and 24, inclusive.
INVALID_MINUTE
Minute of hour must be one of 0, 15,30, 45.
END_TIME_NOT_AFTER_START_TIME
The DayPart.endTime cannot be after DayPart.startTime.
TIME_PERIODS_OVERLAP
Cannot create day-parts that overlap.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
EntityChildrenLimitReachedError Lists errors relating to having too many children on an entity.
Enumerations
LINE_ITEM_LIMIT_FOR_ORDER_REACHED
The number of line items on the order exceeds the max number of line items allowed per order in the network.
CREATIVE_ASSOCIATION_LIMIT_FOR_LINE_ITEM_REACHED
The number of creatives associated with the line item exceeds the max number of creatives allowed to be associated with a line item in the network.
AD_UNIT_LIMIT_FOR_PLACEMENT_REACHED
The number of ad units on the placement exceeds the max number of ad units allowed per placement in the network.
TARGETING_EXPRESSION_LIMIT_FOR_LINE_ITEM_REACHED
The number of targeting expressions on the line item exceeds the max number of targeting expressions allowed per line item in the network.
TARGETING_EXPRESSION_SIZE_LIMIT_REACHED
The size of a single targeting expression tree exceeds the max size allowed by the network.
CUSTOM_TARGETING_VALUES_FOR_KEY_LIMIT_REACHED
The number of custom targeting values for the free-form or predefined custom targeting key exceeds the max number allowed.
TARGETING_EXPRESSION_LIMIT_FOR_CREATIVES_ON_LINE_ITEM_REACHED
The total number of targeting expressions on the creatives for the line item exceeds the max number allowed per line item in the network.
ATTACHMENT_LIMIT_FOR_PROPOSAL_REACHED
The number of attachments added to the proposal exceeds the max number allowed per proposal in the network.
PROPOSAL_LINE_ITEM_LIMIT_FOR_PROPOSAL_REACHED
The number of proposal line items on the proposal exceeds the max number allowed per proposal in the network.
PRODUCT_LIMIT_FOR_PRODUCT_PACKAGE_REACHED
The number of product package items on the product package exceeds the max number allowed per product package in the network.
PRODUCT_TEMPLATE_AND_PRODUCT_BASE_RATE_LIMIT_FOR_RATE_CARD_REACHED
The number of product template and product base rates on the rate card (including excluded product base rates) exceeds the max number allowed per rate card in the network.
PRODUCT_PACKAGE_ITEM_BASE_RATE_LIMIT_FOR_RATE_CARD_REACHED
The number of product package item base rates on the rate card exceeds the max number allowed per rate card in the network.
PREMIUM_LIMIT_FOR_RATE_CARD_REACHED
The number of premiums of the rate card exceeds the max number allowed per rate card in the network.
AD_UNIT_LIMIT_FOR_AD_EXCLUSION_RULE_TARGETING_REACHED
The number of ad units on AdExclusionRule.inventoryTargeting exceeds the max number of ad units allowed per ad exclusion rule inventory targeting in the network.
NATIVE_STYLE_LIMIT_FOR_NATIVE_AD_FORMAT_REACHED
The number of native styles under the native creative template exceeds the max number of native styles allowed per native creative template in the network.
TARGETING_EXPRESSION_LIMIT_FOR_PRESENTATION_ASSIGNMENT_REACHED
The number of targeting expressions on the native style exceeds the max number of targeting expressions allowed per native style in the network.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
EntityLimitReachedError An error that occurs when creating an entity if the limit on the number of allowed entities for a network has already been reached.
Enumerations
CUSTOM_TARGETING_VALUES_LIMIT_REACHED
The number of custom targeting values exceeds the max number allowed in the network.
AD_EXCLUSION_RULES_LIMIT_REACHED
The number of ad exclusion rules exceeds the max number allowed in the network.
FIRST_PARTY_AUDIENCE_SEGMENTS_LIMIT_REACHED
The number of first party audience segments exceeds the max number allowed in the network.
PLACEMENTS_LIMIT_REACHED
The number of active placements exceeds the max number allowed in the network.
LINE_ITEMS_LIMIT_REACHED
The number of line items excceeds the max number allowed in the network.
ACTIVE_LINE_ITEMS_LIMIT_REACHED
The number of active line items exceeds the max number allowed in the network.
DAI_ENCODING_PROFILES_LIMIT_REACHED
The number of not-archived encoding profiles exceeds the max number allowed in the network.
TRAFFIC_FORECAST_SEGMENTS_LIMIT_REACHED
The number of traffic forecast segments exceeds the max number allowed in the network.
FORECAST_ADJUSTMENTS_LIMIT_REACHED
The number of forecast adjustments exceeds the max number allowed in the network.
ACTIVE_EXPERIMENTS_LIMIT_REACHED
The number of active experiments exceeds the max number allowed in the network.
SITES_LIMIT_REACHED
The number of sites exceeds the max number allowed in the network.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
FeatureError Errors related to feature management. If you attempt using a feature that is not available to the current network you'll receive a FeatureError with the missing feature as the trigger.
Enumerations
MISSING_FEATURE
A feature is being used that is not enabled on the current network.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
ForecastError Errors that can result from a forecast request.
Enumerations
SERVER_NOT_AVAILABLE
The forecast could not be retrieved due to a server side connection problem. Please try again soon.
INTERNAL_ERROR
There was an unexpected internal error.
NO_FORECAST_YET
The forecast could not be retrieved because there is not enough forecasting data available yet. It may take up to one week before enough data is available.
NOT_ENOUGH_INVENTORY
There's not enough inventory for the requested reservation.
SUCCESS
No error from forecast.
ZERO_LENGTH_RESERVATION
The requested reservation is of zero length. No forecast is returned.
EXCEEDED_QUOTA
The number of requests made per second is too high and has exceeded the allowable limit. The recommended approach to handle this error is to wait about 5 seconds and then retry the request. Note that this does not guarantee the request will succeed. If it fails again, try increasing the wait time.

Another way to mitigate this error is to limit requests to 2 per second. Once again this does not guarantee that every request will succeed, but may help reduce the number of times you receive this error.

OUTSIDE_AVAILABLE_DATE_RANGE
The request falls outside the date range of the available data.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
FrequencyCapError Lists all errors associated with frequency caps.
Enumerations
IMPRESSION_LIMIT_EXCEEDED
IMPRESSIONS_TOO_LOW
RANGE_LIMIT_EXCEEDED
RANGE_TOO_LOW
DUPLICATE_TIME_RANGE
TOO_MANY_FREQUENCY_CAPS
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
GenericTargetingError Targeting validation errors that can be used by different targeting types.
Enumerations
CONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS
Both including and excluding sibling criteria is disallowed.
INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA
Including descendants of excluded criteria is disallowed.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
GeoTargetingError Lists all errors associated with geographical targeting for a LineItem.
Enumerations
TARGETED_LOCATIONS_NOT_EXCLUDABLE
A location that is targeted cannot also be excluded.
EXCLUDED_LOCATIONS_CANNOT_HAVE_CHILDREN_TARGETED
Excluded locations cannot have any of their children targeted.
POSTAL_CODES_CANNOT_BE_EXCLUDED
Postal codes cannot be excluded.
UNTARGETABLE_LOCATION
Indicates that location targeting is not allowed.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
GrpSettingsError Errors associated with line items with GRP settings.
Enumerations
INVALID_AGE_RANGE
Age range for GRP audience is not valid. Please see the Ad Manager Help Center for more information.
UNDER_18_MIN_AGE_REQUIRES_ALL_AGES
Age range for GRP audience is not allowed to include ages under 18 unless designating all ages in target(2-65+).
LINE_ITEM_ENVIRONMENT_TYPE_NOT_SUPPORTED
GRP settings are only supported for video line items.
NIELSEN_DAR_REQUIRES_INSTREAM_VIDEO
For deals with Nielsen DAR enabled, there must be an instream video environment.
LINE_ITEM_TYPE_NOT_SUPPORTED
GRP settings are not supported for the given line item type.
CANNOT_SPECIFY_GENDER_FOR_GIVEN_AGE_RANGE
GRP audience gender cannot be specified for the selected age range.
INVALID_MIN_AGE
Minimum age for GRP audience is not valid.
INVALID_MAX_AGE
Maximum age for GRP audience is not valid.
CANNOT_DISABLE_GRP_AFTER_ENABLING
GRP settings cannot be disabled.
CANNOT_CHANGE_GRP_PROVIDERS
GRP provider cannot be updated.
CANNOT_CHANGE_GRP_SETTINGS
GRP settings cannot be updated once the line item has started serving.
GRP_AUDIENCE_GOAL_NOT_SUPPORTED
Impression goal based on GRP audience is not supported.
DEMOG_GOAL_EXPECTED
Impression goal based on GRP audience expected.
CANNOT_SET_GRP_AUDIENCE_GOAL
Impression goal based on GRP audience cannot be set once the line item has started serving.
CANNOT_REMOVE_GRP_AUDIENCE_GOAL
Impression goal based on GRP audience cannot be removed once the line item has started serving.
UNSUPPORTED_GEO_TARGETING
Unsupported geographic location targeted for line item with GRP audience goal.
UNSUPPORTED_GRP_SETTING
GRP Settings specified are unsupported.
SHOULD_SET_IN_TARGET_GOAL_THROUGH_GRP_SETTINGS
In-target line items should be set through the grpSettings target impression goal.
SHOULD_SET_IN_TARGET_GOAL_THROUGH_PRIMARY_GOAL
In-target line items should be set through the primaryReservationUnit's in-target Impressions unit type.
NIELSEN_REGISTRATION_FAILED
Attempt to register with Nielsen failed.
LEGACY_NIELSEN_CAMPAIGN_REGISTRATION_ATTEMPT
Attempted to register a placement on a legacy Nielsen campaign.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
ImageError Lists all errors associated with images.
Enumerations
INVALID_IMAGE
The file's format is invalid.
INVALID_SIZE
Size.width and Size.height cannot be negative.
UNEXPECTED_SIZE
The actual image size does not match the expected image size.
OVERLAY_SIZE_TOO_LARGE
The size of the asset is larger than that of the overlay creative.
ANIMATED_NOT_ALLOWED
Animated images are not allowed.
ANIMATION_TOO_LONG
Animation length exceeded the allowed policy limit.
CMYK_JPEG_NOT_ALLOWED
Images in CMYK color formats are not allowed.
FLASH_NOT_ALLOWED
Flash files are not allowed.
FLASH_WITHOUT_CLICKTAG
If FlashCreative.clickTagRequired is true, then the flash file is required to have a click tag embedded in it.
ANIMATED_VISUAL_EFFECT
Animated visual effect is not allowed.
FLASH_ERROR
An error was encountered in the flash file.
LAYOUT_PROBLEM
Incorrect image layout.
FLASH_HAS_NETWORK_OBJECTS
Flash files with network objects are not allowed.
FLASH_HAS_NETWORK_METHODS
Flash files with network methods are not allowed.
FLASH_HAS_URL
Flash files with hard-coded click thru URLs are not allowed.
FLASH_HAS_MOUSE_TRACKING
Flash files with mouse tracking are not allowed.
FLASH_HAS_RANDOM_NUM
Flash files that generate or use random numbers are not allowed.
FLASH_SELF_TARGETS
Flash files with self targets are not allowed.
FLASH_BAD_GETURL_TARGET
Flash file contains a bad geturl target.
FLASH_VERSION_NOT_SUPPORTED
Flash or ActionScript version in the submitted file is not supported.
FILE_TOO_LARGE
The uploaded file is too large.
SYSTEM_ERROR_IRS
A system error occurred, please try again.
SYSTEM_ERROR_SCS
A system error occurred, please try again.
UNEXPECTED_PRIMARY_ASSET_DENSITY
The image density for a primary asset was not one of the expected image densities.
DUPLICATE_ASSET_DENSITY
Two or more assets have the same image density.
MISSING_DEFAULT_ASSET
The creative does not contain a primary asset. (For high-density creatives, the primary asset must be a standard image file with 1x density.)
PREVERIFIED_MIMETYPE_NOT_ALLOWED
preverified_mime_type is not in the client spec's allowlist.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
InternalApiError Indicates that a server-side error has occured. InternalApiErrors are generally not the result of an invalid request or message sent by the client.
Enumerations
UNEXPECTED_INTERNAL_API_ERROR
API encountered an unexpected internal error.
TRANSIENT_ERROR
A temporary error occurred during the request. Please retry.
UNKNOWN
The cause of the error is not known or only defined in newer versions.
DOWNTIME
The API is currently unavailable for a planned downtime.
ERROR_GENERATING_RESPONSE
Mutate succeeded but server was unable to build response. Client should not retry mutate.
InvalidUrlError Lists all errors associated with URLs.
Enumerations
ILLEGAL_CHARACTERS
The URL contains invalid characters.
INVALID_FORMAT
The format of the URL is not allowed. This could occur for a number of reasons. For example, if an invalid scheme is specified (like "ftp://") or if a port is specified when not required, or if a query was specified when not required.
INSECURE_SCHEME
URL contains insecure scheme.
NO_SCHEME
The URL does not contain a scheme.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
InventoryTargetingError Lists all inventory errors caused by associating a line item with a targeting expression.
Enumerations
AT_LEAST_ONE_PLACEMENT_OR_INVENTORY_UNIT_REQUIRED
At least one placement or inventory unit is required
INVENTORY_CANNOT_BE_TARGETED_AND_EXCLUDED
The same inventory unit or placement cannot be targeted and excluded at the same time
INVENTORY_UNIT_CANNOT_BE_TARGETED_IF_ANCESTOR_IS_TARGETED
A child inventory unit cannot be targeted if its ancestor inventory unit is also targeted.
INVENTORY_UNIT_CANNOT_BE_TARGETED_IF_ANCESTOR_IS_EXCLUDED
A child inventory unit cannot be targeted if its ancestor inventory unit is excluded.
INVENTORY_UNIT_CANNOT_BE_EXCLUDED_IF_ANCESTOR_IS_EXCLUDED
A child inventory unit cannot be excluded if its ancestor inventory unit is also excluded.
EXPLICITLY_TARGETED_INVENTORY_UNIT_CANNOT_BE_TARGETED
An explicitly targeted inventory unit cannot be targeted.
EXPLICITLY_TARGETED_INVENTORY_UNIT_CANNOT_BE_EXCLUDED
An explicitly targeted inventory unit cannot be excluded.
SELF_ONLY_INVENTORY_UNIT_NOT_ALLOWED
A landing page-only ad unit cannot be targeted.
SELF_ONLY_INVENTORY_UNIT_WITHOUT_DESCENDANTS
A landing page-only ad unit cannot be targeted if it doesn't have any children.
YOUTUBE_AUDIENCE_SEGMENTS_CAN_ONLY_BE_TARGETED_WITH_YOUTUBE_SHARED_INVENTORY
Audience segments shared from YouTube can only be targeted with inventory shared from YouTube for cross selling.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
LabelEntityAssociationError Errors specific to creating label entity associations.
Enumerations
DUPLICATE_ASSOCIATION
The label has already been attached to the entity.
INVALID_ASSOCIATION
A label is being applied to an entity that does not support that entity type.
NEGATION_NOT_ALLOWED
Label negation cannot be applied to the entity type.
DUPLICATE_ASSOCIATION_WITH_NEGATION
The same label is being applied and negated to the same entity.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
LineItemActivityAssociationError Errors specific to associating activities to line items.
Enumerations
INVALID_ACTIVITY_FOR_ADVERTISER
When associating an activity to a line item the activity must belong to the same advertiser as the line item.
INVALID_COST_TYPE_FOR_ASSOCIATION
Activities can only be associated with line items of CostType.CPA.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
LineItemCreativeAssociationError Lists all errors associated with line item-to-creative association dates.
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.
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%%).
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
LineItemError A catch-all error that lists all generic errors associated with LineItem.
Enumerations
ALREADY_STARTED
Some changes may not be allowed because a line item has already started.
UPDATE_RESERVATION_NOT_ALLOWED
Update reservation is not allowed because a line item has already started, users must pause the line item first.
ALL_ROADBLOCK_NOT_ALLOWED
Roadblocking to display all creatives is not allowed.
ALL_COMPANION_DELIVERY_NOT_ALLOWED
Companion delivery to display all creatives is not allowed.
CREATIVE_SET_ROADBLOCK_NOT_ALLOWED
Roadblocking to display all master and companion creative set is not allowed.
FRACTIONAL_PERCENTAGE_NOT_ALLOWED
Fractional percentage is not allowed.
DISCOUNT_NOT_ALLOWED
For certain LineItem configurations discounts are not allowed.
UPDATE_CANCELED_LINE_ITEM_NOT_ALLOWED
Updating a canceled line item is not allowed.
UPDATE_PENDING_APPROVAL_LINE_ITEM_NOT_ALLOWED
Updating a pending approval line item is not allowed.
UPDATE_ARCHIVED_LINE_ITEM_NOT_ALLOWED
Updating an archived line item is not allowed.
CREATE_OR_UPDATE_LEGACY_DFP_LINE_ITEM_TYPE_NOT_ALLOWED
Create or update legacy dfp line item type is not allowed.
COPY_LINE_ITEM_FROM_DIFFERENT_COMPANY_NOT_ALLOWED
Copying line item from different company (advertiser) to the same order is not allowed.
INVALID_SIZE_FOR_PLATFORM
The size is invalid for the specified platform.
INVALID_LINE_ITEM_TYPE_FOR_PLATFORM
The line item type is invalid for the specified platform.
INVALID_WEB_PROPERTY_FOR_PLATFORM
The web property cannot be served on the specified platform.
INVALID_WEB_PROPERTY_FOR_ENVIRONMENT
The web property cannot be served on the specified environment.
AFMA_BACKFILL_NOT_ALLOWED
AFMA backfill not supported.
UPDATE_ENVIRONMENT_TYPE_NOT_ALLOWED
Environment type cannot change once saved.
COMPANIONS_NOT_ALLOWED
The placeholders are invalid because they contain companions, but the line item does not support companions.
ROADBLOCKS_WITH_NONROADBLOCKS_NOT_ALLOWED
The placeholders are invalid because some of them are roadblocks, and some are not. Either all roadblock placeholders must contain companions, or no placeholders may contain companions. This does not apply to video creative sets.
CANNOT_UPDATE_TO_OR_FROM_CREATIVE_SET_ROADBLOCK
A line item cannot be updated from having RoadblockingType.CREATIVE_SET to having a different RoadblockingType, or vice versa.
UPDATE_FROM_BACKFILL_LINE_ITEM_TYPE_NOT_ALLOWED
Can not change from a backfill line item type once creatives have been assigned.
UPDATE_TO_BACKFILL_LINE_ITEM_TYPE_NOT_ALLOWED
Can not change to a backfill line item type once creatives have been assigned.
UPDATE_BACKFILL_WEB_PROPERTY_NOT_ALLOWED
Can not change to backfill web property once creatives have been assigned.
INVALID_COMPANION_DELIVERY_OPTION_FOR_ENVIRONMENT_TYPE
The companion delivery option is not valid for your environment type.
COMPANION_BACKFILL_REQUIRES_VIDEO
Companion backfill is enabled but environment type not video.
COMPANION_DELIVERY_OPTION_REQUIRE_PREMIUM
Companion delivery options require Ad Manager 360 networks.
DUPLICATE_MASTER_SIZES
The master size of placeholders have duplicates.
INVALID_PRIORITY_FOR_LINE_ITEM_TYPE
The line item priority is invalid if for dynamic allocation line items it is different than the default for free publishers. When allowed, Ad Manager 360 users can change the priority to any value.
INVALID_ENVIRONMENT_TYPE
The environment type is not valid.
INVALID_ENVIRONMENT_TYPE_FOR_PLATFORM
The environment type is not valid for the target platform.
INVALID_TYPE_FOR_AUTO_EXTENSION
Only LineItemType.STANDARD line items can be auto extended.
VIDEO_INVALID_ROADBLOCKING
Video line items cannot change the roadblocking type.
BACKFILL_TYPE_NOT_ALLOWED
The backfill feature is not enabled according to your features.
INVALID_BACKFILL_LINK_TYPE
The web property is invalid. A line item must have an appropriate web property selected.
DIFFERENT_BACKFILL_ACCOUNT
All line items in a programmatic order must have web property codes from the same account.
COMPANION_DELIVERY_OPTIONS_NOT_ALLOWED_WITH_BACKFILL
Companion delivery options are not allowed with dynamic allocation line items.
INVALID_WEB_PROPERTY_FOR_ADX_BACKFILL
Dynamic allocation using the AdExchange should always use an AFC web property.
INVALID_COST_PER_UNIT_FOR_BACKFILL
CPM for backfill inventory must be 0.
INVALID_SIZE_FOR_ENVIRONMENT
Aspect ratio sizes cannot be used with video line items.
TARGET_PLATOFRM_NOT_ALLOWED
The specified target platform is not allowed.
INVALID_LINE_ITEM_CURRENCY
Currency on a line item must be one of the specified network currencies.
LINE_ITEM_CANNOT_HAVE_MULTIPLE_CURRENCIES
All money fields on a line item must specify the same currency.
CANNOT_CHANGE_CURRENCY
Once a line item has moved into a a delivering state the currency cannot be changed.
INVALID_LINE_ITEM_DATE_TIME
A DateTime associated with the line item is not valid.
INVALID_COST_PER_UNIT_FOR_CPA
CPA line items must specify a zero cost for the LineItem.costPerUnit.
UPDATE_CPA_COST_TYPE_NOT_ALLOWED
Once a LineItem is activated its LineItem.costPerUnit cannot be updated to/from CPA.
UPDATE_VCPM_COST_TYPE_NOT_ALLOWED
Once a LineItem is activated its LineItem.costPerUnit cannot be updated to/from Viewable CPM.
MASTER_COMPANION_LINE_ITEM_CANNOT_HAVE_VCPM_COST_TYPE
A LineItem with master/companion creative placeholders cannot have Viewable CPM as its LineItem.costPerUnit.
DUPLICATED_UNIT_TYPE
There cannot be goals with duplicated unit type among the secondary goals for a line items.
MULTIPLE_GOAL_TYPE_NOT_ALLOWED
The secondary goals of a line items must have the same goal type.
INVALID_UNIT_TYPE_COMBINATION_FOR_SECONDARY_GOALS
For a CPA line item, the possible combinations for secondary goals must be either click-through conversion only, click-through conversion with view-through conversion or total conversion only. For a Viewable CPM line item or a CPM based Sponsorship line item, its secondary goal has to be impression-based.
INVALID_CREATIVE_TARGETING_NAME
One or more of the targeting names specified by a creative placeholder or line item creative association were not found on the line item.
INVALID_CREATIVE_CUSTOM_TARGETING_MATCH_TYPE
Creative targeting expressions on the line item can only have custom criteria targeting with CustomTargetingValue.MatchType.EXACT.
INVALID_CREATIVE_ROTATION_TYPE_WITH_CREATIVE_TARGETING
Line item with creative targeting expressions cannot have creative rotation type set to CreativeRotationType.SEQUENTIAL.
CANNOT_OVERBOOK_WITH_CREATIVE_TARGETING
Line items cannot overbook inventory when applying creative-level targeting if the originating proposal line item did not overbook inventory. Remove creative-level targeting and try again.
PLACEHOLDERS_DO_NOT_MATCH_PROPOSAL
For a managed line item, inventory sizes must match sizes that are set on the originating proposal line item. In the case that a size is broken out by creative-level targeting, the sum of the creative counts for each size must equal the expected creative count that is set for that size on the originating proposal line item.
UNSUPPORTED_LINE_ITEM_TYPE_FOR_THIS_API_VERSION
The line item type is not supported for this API version.
NATIVE_CREATIVE_TEMPLATE_REQUIRED
Placeholders can only have native creative templates.
CANNOT_HAVE_CREATIVE_TEMPLATE
Non-native placeholders cannot have creative templates.
CANNOT_INCLUDE_NATIVE_CREATIVE_TEMPLATE
Cannot include native creative templates in the placeholders for Ad Exchange line items.
CANNOT_INCLUDE_NATIVE_PLACEHOLDER_WITHOUT_TEMPLATE_ID
Cannot include native placeholders without native creative templates for direct-sold line items.
NO_SIZE_WITH_DURATION
For forecasting only, error when line item has duration, but no creative sizes specified.
INVALID_VIEWABILITY_PROVIDER_COMPANY
Used when the company pointed to by the viewabilityProviderCompanyId is not of type VIEWABILITY_PROVIDER.
CANNOT_ACCESS_CUSTOM_PACING_CURVE_CLOUD_STORAGE_BUCKET
An error occurred while accessing the custom pacing curve Google Cloud Storage bucket.
CMS_METADATA_LINE_ITEM_ENVIRONMENT_TYPE_NOT_SUPPORTED
CMS Metadata targeting is only supported for video line items.
SKIPPABLE_AD_TYPE_NOT_ALLOWED
The SkippableAdType is not allowed.
CUSTOM_PACING_CURVE_START_TIME_MUST_MATCH_LINE_ITEM_START_TIME
Custom pacing curve start time must match the line item's start time.
CUSTOM_PACING_CURVE_START_TIME_PAST_LINE_ITEM_END_TIME
Custom pacing curve goal start time must be before line item end time.
INVALID_LINE_ITEM_TYPE_FOR_DELIVERY_FORECAST_SOURCE
The line item type is invalid for the specified delivery forecast source.
INVALID_TOTAL_CUSTOM_PACING_GOAL_AMOUNTS
The sum of the custom pacing goal amounts is invalid.
COPY_LINE_ITEM_WITH_CUSTOM_PACING_CURVE_FULLY_IN_PAST_NOT_ALLOWED
Copying line items with custom pacing curves that are totally in the past is not allowed.
LAST_CUSTOM_PACING_GOAL_AMOUNT_CANNOT_BE_ZERO
The last custom pacing goal cannot be zero.
GRP_PACED_LINE_ITEM_CANNOT_HAVE_ABSOLUTE_CUSTOM_PACING_CURVE_GOALS
GRP paced line items cannot have absolute custom pacing curve goals.
INVALID_MAX_VIDEO_CREATIVE_DURATION
line item has invalid video creative duration.
INVALID_NATIVE_SIZE
Native size types must by 1x1.
INVALID_TARGETED_REQUEST_PLATFORM_FOR_WEB_PROPERTY_CODE
For AdExchange Line Items, the targeted request platform must match the syndication type of the web property code.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
LineItemFlightDateError Lists all errors associated with LineItem start and end dates.
Enumerations
START_DATE_TIME_IS_IN_PAST
END_DATE_TIME_IS_IN_PAST
END_DATE_TIME_NOT_AFTER_START_TIME
END_DATE_TIME_TOO_LATE
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
LineItemOperationError Lists all errors for executing operations on line items
Enumerations
NOT_ALLOWED
The operation is not allowed due to lack of permissions.
NOT_APPLICABLE
The operation is not applicable for the current state of the LineItem.
HAS_COMPLETED
The LineItem is completed. A LineItemAction cannot be applied to a line item that is completed.
HAS_NO_ACTIVE_CREATIVES
The LineItem has no active creatives. A line item cannot be activated with no active creatives.
CANNOT_ACTIVATE_LEGACY_DFP_LINE_ITEM
A LineItem of type LineItemType.LEGACY_DFP cannot be Activated.
CANNOT_ACTIVATE_UNCONFIGURED_LINE_ITEM
A LineItem with publisher creative source cannot be activated if the corresponding deal is not yet configured by the buyer.
CANNOT_DELETE_DELIVERED_LINE_ITEM
Deleting an LineItem that has delivered is not allowed
CANNOT_RESERVE_COMPANY_CREDIT_STATUS_NOT_ACTIVE
Reservation cannot be made for line item because the LineItem.advertiserId it is associated with has Company.creditStatus that is not ACTIVE or ON_HOLD.
CANNOT_ACTIVATE_INVALID_COMPANY_CREDIT_STATUS
Cannot activate line item because the LineItem.advertiserId it is associated with has Company.creditStatus that is not ACTIVE, INACTIVE, or ON_HOLD.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
MobileApplicationTargetingError Lists all errors related to mobile application targeting for a line item.
Enumerations
CANNOT_TARGET_UNLINKED_APPLICATION
Only applications that are linked to a store entry may be targeted.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
NotNullError Caused by supplying a null value for an attribute that cannot be null.
Enumerations
ARG1_NULL
Assuming that a method will not have more than 3 arguments, if it does, return NULL
ARG2_NULL
ARG3_NULL
NULL
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
NullError Errors associated with violation of a NOT NULL check.
Enumerations
NULL_CONTENT
Specified list/container must not contain any null elements
OrderActionError Lists all errors associated with performing actions on Order objects.
Enumerations
PERMISSION_DENIED
The operation is not allowed due to lack of permissions.
NOT_APPLICABLE
The operation is not applicable for the current state of the Order.
IS_ARCHIVED
The Order is archived, an OrderAction cannot be applied to an archived order.
HAS_ENDED
The Order is past its end date, An OrderAction cannot be applied to a order that has ended.
CANNOT_APPROVE_WITH_UNRESERVED_LINE_ITEMS
A Order cannot be approved if it contains reservable LineItems that are unreserved.
CANNOT_DELETE_ORDER_WITH_DELIVERED_LINEITEMS
Deleting an Order with delivered line items is not allowed
CANNOT_APPROVE_COMPANY_CREDIT_STATUS_NOT_ACTIVE
Cannot approve because company credit status is not active.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
OrderError Lists all errors associated with orders.
Enumerations
UPDATE_CANCELED_ORDER_NOT_ALLOWED
Updating a canceled order is not allowed.
UPDATE_PENDING_APPROVAL_ORDER_NOT_ALLOWED
Updating an order that has its approval pending is not allowed.
UPDATE_ARCHIVED_ORDER_NOT_ALLOWED
Updating an archived order is not allowed.
CANNOT_MODIFY_PROPOSAL_ID
DSM can set the proposal ID only at the time of creation of order. Setting or changing proposal ID at the time of order update is not allowed.
PRIMARY_USER_REQUIRED
Cannot have secondary user without a primary user.
PRIMARY_USER_CANNOT_BE_SECONDARY
Primary user cannot be added as a secondary user too.
ORDER_TEAM_NOT_ASSOCIATED_WITH_ADVERTISER
A team associated with the order must also be associated with the advertiser.
USER_NOT_ON_ORDERS_TEAMS
The user assigned to the order, like salesperson or trafficker, must be on one of the order's teams.
AGENCY_NOT_ON_ORDERS_TEAMS
The agency assigned to the order must belong to one of the order's teams.
INVALID_FIELDS_SET_FOR_NON_PROGRAMMATIC_ORDER
Programmatic info fields should not be set for a non-programmatic order.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
ParseError Lists errors related to parsing.
Enumerations
UNPARSABLE
Indicates an error in parsing an attribute.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
PermissionError Errors related to incorrect permission.
Enumerations
PERMISSION_DENIED
User does not have the required permission for the request.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
PrecisionError List all errors associated with number precisions.
Enumerations
WRONG_PRECISION
The lowest N digits of the number must be zero.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
ProgrammaticError Errors associated with programmatic line items.
Enumerations
AUDIENCE_EXTENSION_NOT_SUPPORTED
Audience extension is not supported by programmatic line items.
AUTO_EXTENSION_DAYS_NOT_SUPPORTED
Auto extension days is not supported by programmatic line items.
VIDEO_NOT_SUPPORTED
Video is currently not supported.
ROADBLOCKING_NOT_SUPPORTED
Roadblocking is not supported by programmatic line items.
INVALID_CREATIVE_ROTATION
Programmatic line items do not support CreativeRotationType.SEQUENTIAL.
INVALID_LINE_ITEM_TYPE
Programmatic line items only support LineItemType.STANDARD and LineItemType.SPONSORSHIP if the relevant feature is on.
INVALID_COST_TYPE
Programmatic line items only support CostType.CPM.
SIZE_NOT_SUPPORTED
Programmatic line items only support a creative size that is supported by AdX. The list of supported sizes is maintained based on the list published in the help docs: https://support.google.com/adxseller/answer/1100453
ZERO_COST_PER_UNIT_NOT_SUPPORTED
Zero cost per unit is not supported by programmatic line items.
CANNOT_UPDATE_FIELD_FOR_APPROVED_LINE_ITEMS
Some fields cannot be updated on approved line items.
CANNOT_CREATE_LINE_ITEM_FOR_APPROVED_ORDER
Creating a new line item in an approved order is not allowed.
CANNOT_UPDATE_BACKFILL_WEB_PROPERTY_FOR_APPROVED_LINE_ITEMS
Cannot change backfill web property for a programmatic line item whose order has been approved.
COST_PER_UNIT_TOO_LOW
Cost per unit is too low. It has to be at least 0.005 USD.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
PublisherQueryLanguageContextError An error that occurs while executing a PQL query contained in a Statement object.
Enumerations
UNEXECUTABLE
Indicates that there was an error executing the PQL.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
PublisherQueryLanguageSyntaxError An error that occurs while parsing a PQL query contained in a Statement object.
Enumerations
UNPARSABLE
Indicates that there was a PQL syntax error.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
QuotaError Describes a client-side error on which a user is attempting to perform an action to which they have no quota remaining.
Enumerations
EXCEEDED_QUOTA
The number of requests made per second is too high and has exceeded the allowable limit. The recommended approach to handle this error is to wait about 5 seconds and then retry the request. Note that this does not guarantee the request will succeed. If it fails again, try increasing the wait time.

Another way to mitigate this error is to limit requests to 8 per second for Ad Manager 360 accounts, or 2 per second for Ad Manager accounts. Once again this does not guarantee that every request will succeed, but may help reduce the number of times you receive this error.

UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
REPORT_JOB_LIMIT
This user has exceeded the allowed number of new report requests per hour (this includes both reports run via the UI and reports run via ReportService.runReportJob). The recommended approach to handle this error is to wait about 10 minutes and then retry the request. Note that this does not guarantee the request will succeed. If it fails again, try increasing the wait time.

Another way to mitigate this error is to limit the number of new report requests to 250 per hour per user. Once again, this does not guarantee that every request will succeed, but may help reduce the number of times you receive this error.

RangeError A list of all errors associated with the Range constraint.
Enumerations
TOO_HIGH
TOO_LOW
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
RegExError Caused by supplying a value for an object attribute that does not conform to a documented valid regular expression.
Enumerations
INVALID
Invalid value found.
NULL
Null value found.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
RequestPlatformTargetingError Errors related to request platform targeting.
Enumerations
REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_LINE_ITEM_TYPE
The line item type does not support the targeted request platform type.
REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_ENVIRONMENT_TYPE
The line item environment type does not support the targeted request platform type.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
RequiredCollectionError A list of all errors to be used for validating sizes of collections.
Enumerations
REQUIRED
A required collection is missing.
TOO_LARGE
Collection size is too large.
TOO_SMALL
Collection size is too small.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
RequiredError Errors due to missing required field.
Enumerations
REQUIRED
Missing required field.
RequiredNumberError A list of all errors to be used in conjunction with required number validators.
Enumerations
REQUIRED
TOO_LARGE
TOO_SMALL
TOO_LARGE_WITH_DETAILS
TOO_SMALL_WITH_DETAILS
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
RequiredSizeError A list of all errors to be used for validating Size.
Enumerations
REQUIRED
Creative.size or LineItem.creativePlaceholders size is missing.
NOT_ALLOWED
LineItemCreativeAssociation.sizes must be a subset of LineItem.creativePlaceholders sizes.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
ReservationDetailsError Lists all errors associated with LineItem's reservation details.
Enumerations
UNLIMITED_UNITS_BOUGHT_NOT_ALLOWED
There is no limit on the number of ads delivered for a line item when you set LineItem.duration to be LineItemSummary.Duration.NONE. This can only be set for line items of type LineItemType.PRICE_PRIORITY.
UNLIMITED_END_DATE_TIME_NOT_ALLOWED
LineItem.unlimitedEndDateTime can be set to true for only line items of type LineItemType.SPONSORSHIP, LineItemType.NETWORK, LineItemType.PRICE_PRIORITY and LineItemType.HOUSE.
PERCENTAGE_UNITS_BOUGHT_TOO_HIGH
When LineItem.lineItemType is LineItemType.SPONSORSHIP, then LineItem.unitsBought represents the percentage of available impressions reserved. That value cannot exceed 100.
DURATION_NOT_ALLOWED
The line item type does not support the specified duration. See LineItemSummary.Duration for allowed values.
UNIT_TYPE_NOT_ALLOWED
The LineItem.unitType is not allowed for the given LineItem.lineItemType. See UnitType for allowed values.
COST_TYPE_NOT_ALLOWED
The LineItem.costType is not allowed for the LineItem.lineItemType. See CostType for allowed values.
COST_TYPE_UNIT_TYPE_MISMATCH_NOT_ALLOWED
When LineItem.costType is CostType.CPM, LineItem.unitType must be UnitType.IMPRESSIONS and when LineItem.costType is CostType.CPC, LineItem.unitType must be UnitType.CLICKS.
LINE_ITEM_TYPE_NOT_ALLOWED
Inventory cannot be reserved for line items which are not of type LineItemType.SPONSORSHIP or LineItemType.STANDARD.
NETWORK_REMNANT_ORDER_CANNOT_UPDATE_LINEITEM_TYPE
Network remnant line items cannot be changed to other line item types once delivery begins. This restriction does not apply to any new line items created in Ad Manager.
BACKFILL_WEBPROPERTY_CODE_NOT_ALLOWED
A dynamic allocation web property can only be set on a line item of type AdSense or Ad Exchange.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
ServerError Errors related to the server.
Enumerations
SERVER_ERROR
Indicates that an unexpected error occured.
SERVER_BUSY
Indicates that the server is currently experiencing a high load. Please wait and try your request again.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
SetTopBoxLineItemError Errors associated with set-top box line items.
Enumerations
NON_SET_TOP_BOX_AD_UNIT_TARGETED
The set-top box line item cannot target an ad unit that doesn't have an external set-top box channel ID.
AT_LEAST_ONE_AD_UNIT_MUST_BE_TARGETED
The set-top box line item must target at least one ad unit.
CANNOT_EXCLUDE_AD_UNITS
The set-top box line item cannot exclude ad units.
POD_POSITION_OUT_OF_RANGE
The set-top box line item can only target pod positions 1 - 15.
MIDROLL_POSITION_OUT_OF_RANGE
The set-top box line item can only target midroll positions 4 - 100.
FEATURE_NOT_ENABLED
The set-top box feature is not enabled.
INVALID_ENVIRONMENT_TYPE
Only EnvironmentType.VIDEO_PLAYER is supported for set-top box line items.
COMPANIONS_NOT_SUPPORTED
Companions are not supported for set-top box line items.
INVALID_CREATIVE_SIZE
Set-top box line items only support sizes supported by Canoe.
INVALID_LINE_ITEM_TYPE
Set-top box line items only support LineItemType.STANDARD, LineItemType.HOUSE, and LineItemType.SPONSORSHIP line item types.
ORDERS_WITH_STANDARD_LINE_ITEMS_CANNOT_CONTAIN_HOUSE_OR_SPONSORSHIP_LINE_ITEMS
orders containing LineItemType.STANDARD set-top box line items cannot contain set-top box line items of type LineItemType.HOUSE or LineItemType.SPONSORSHIP.
INVALID_COST_TYPE
Set-top box line items only support CostType.CPM.
COST_PER_UNIT_NOT_ALLOWED
Set-top box line items do not support a cost per unit.
DISCOUNT_NOT_ALLOWED
Set-top box line items do not support discounts.
FRONTLOADED_DELIVERY_RATE_NOT_SUPPORTED
Set-top box line items do not support DeliveryRateType.FRONTLOADED.
INVALID_LINE_ITEM_STATUS_CHANGE
Set-top box line items cannot go from a state that is ready to be synced to a state that is not ready to be synced.
INVALID_LINE_ITEM_PRIORITY
Set-top box line items can only have certain priorities for different reservation types:
  • ReservationType.SPONSORSHIP => 1
  • ReservationType.HOUSE => 16
  • ReservationType.STANDARD => Between 1 and 16 inclusive.
SYNC_REVISION_NOT_INCREASING
When a set-top box line item is pushed to Canoe, a revision number is used to keep track of the last version of the line item that Ad Manager synced with Canoe. The only change allowed on revisions within Ad Manager is increasing the revision number.
SYNC_REVISION_MUST_BE_GREATER_THAN_ZERO
When a set-top box line item is pushed to Canoe, a revision number is used to keep track of the last version of the line item that Ad Manager synced with Canoe. Sync revisions begin at one and can only increase in value.
CANNOT_UNARCHIVE_SET_TOP_BOX_LINE_ITEMS
Set Top box line items cannot be unarchived.
COPY_SET_TOP_BOX_ENABLED_LINE_ITEM_NOT_ALLOWED
Set-top box enabled line items cannot be copied for V0 of the video Canoe campaign push.
INVALID_LINE_ITEM_TYPE_CHANGE
Standard set-top box line items cannot be updated to be LineItemType.House or LineItemType.Sponsorship line items and vice versa.
CREATIVE_ROTATION_TYPE_MUST_BE_EVENLY_OR_WEIGHTED
Set-top box line items can only have a creative rotation type of CreativeRotationType.EVEN or CreativeRotationType.MANUAL.
INVALID_FREQUENCY_CAP_TIME_UNIT
Set-top box line items can only have frequency capping with time units of TimeUnit.DAY, TimeUnit.HOUR, TimeUnit.POD, or TimeUnit.STREAM.
INVALID_FREQUENCY_CAP_TIME_RANGE
Set-top box line items can only have specific time ranges for certain time units:
INVALID_PRIMARY_GOAL_UNIT_TYPE
Set-top box line items can only have a unit type of UnitType.IMPRESSIONS.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
StatementError An error that occurs while parsing Statement objects.
Enumerations
VARIABLE_NOT_BOUND_TO_VALUE
A bind variable has not been bound to a value.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
StringFormatError A list of error code for reporting invalid content of input strings.
Enumerations
UNKNOWN
ILLEGAL_CHARS
The input string value contains disallowed characters.
INVALID_FORMAT
The input string value is invalid for the associated field.
StringLengthError Errors for Strings which do not meet given length constraints.
Enumerations
TOO_LONG
TOO_SHORT
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
TeamError Errors related to a Team.
Enumerations
ENTITY_NOT_ON_USERS_TEAMS
User cannot use this entity because it is not on any of the user's teams.
AD_UNITS_NOT_ON_ORDER_TEAMS
The targeted or excluded ad unit must be on the order's teams.
PLACEMENTS_NOT_ON_ORDER_TEAMS
The targeted placement must be on the order's teams.
MISSING_USERS_TEAM
Entity cannot be created because it is not on any of the user's teams.
ALL_TEAM_ASSOCIATION_NOT_ALLOWED
A team that gives access to all entities of a given type cannot be associated with an entity of that type.
INVALID_TEAM_ASSIGNMENT
The assignment of team to entities is invalid.
CANNOT_UPDATE_INACTIVE_TEAM
Cannot modify or create a team with an inactive status.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
TechnologyTargetingError Technology targeting validation errors.
Enumerations
MOBILE_LINE_ITEM_CONTAINS_WEB_TECH_CRITERIA
Mobile line item cannot target web-only targeting criteria.
WEB_LINE_ITEM_CONTAINS_MOBILE_TECH_CRITERIA
Web line item cannot target mobile-only targeting criteria.
MOBILE_CARRIER_TARGETING_FEATURE_NOT_ENABLED
The mobile carrier targeting feature is not enabled.
DEVICE_CAPABILITY_TARGETING_FEATURE_NOT_ENABLED
The device capability targeting feature is not enabled.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
TimeZoneError Errors related to timezones.
Enumerations
INVALID_TIMEZONE_ID
Indicates that the timezone ID provided is not supported.
TIMEZONE_ID_IN_WRONG_FORMAT
Indicates that the timezone ID provided is in the wrong format. The timezone ID must be in tz database format (e.g. "America/Los_Angeles").
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
TranscodingError Errors associated with the video and audio transcoding flow.
Enumerations
CANNOT_COPY_CREATIVE_PENDING_TRANSCODE
The request to copy the creative(s) was rejected because the source is not transcoded.
CANNOT_COPY_INVALID_CREATIVE
The request to copy the creative(s) was rejected because the source is invalid.
TRANSCODING_IS_IN_PROGRESS
The creative is still being transcoded or processed. Please try again later.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
TypeError An error for a field which is an invalid type.
UniqueError An error for a field which must satisfy a uniqueness constraint
UserDomainTargetingError Lists all errors related to user domain targeting for a line item.
Enumerations
INVALID_DOMAIN_NAMES
Invalid domain names. Domain names must be at most 67 characters long. And must contain only alphanumeric characters and hyphens.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
VideoPositionTargetingError Lists all errors related to VideoPositionTargeting.
Enumerations
CANNOT_MIX_BUMPER_AND_NON_BUMPER_TARGETING
Video position targeting cannot contain both bumper and non-bumper targeting values.
INVALID_BUMPER_TARGETING
The bumper video position targeting is invalid.
CAN_ONLY_TARGET_CUSTOM_AD_SPOTS
Only custom spot AdSpot objects can be targeted.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.