CreativeService (v202405)

Provides methods for adding, updating and retrieving Creative objects.

For a creative to run, it must be associated with a LineItem managed by the LineItemCreativeAssociationService.

Read more about creatives on the Ad Manager Help Center.


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

createCreatives

Creates new Creative objects.

Parameters

Field Type Description
creatives
  1. Creative[]
    1. BaseDynamicAllocationCreative
      1. HasHtmlSnippetDynamicAlloca...
        1. AdExchangeCreative
        2. AdSenseCreative
    2. BaseRichMediaStudioCreative
      1. RichMediaStudioCreative
    3. ClickTrackingCreative
    4. HasDestinationUrlCreative
      1. AspectRatioImageCreative
      2. BaseAudioCreative
        1. AudioCreative
        2. AudioRedirectCreative
      3. BaseImageCreative
        1. ImageCreative
        2. ImageOverlayCreative
      4. BaseImageRedirectCreative
        1. ImageRedirectCreative
        2. ImageRedirectOverlayCreative
      5. BaseVideoCreative
        1. SetTopBoxCreative
        2. VideoCreative
        3. VideoRedirectCreative
      6. CustomCreative
    5. Html5Creative
    6. InternalRedirectCreative
    7. LegacyDfpCreative
    8. ProgrammaticCreative
    9. TemplateCreative
    10. ThirdPartyCreative
    11. UnsupportedCreative
    12. VastRedirectCreative

Response

Field Type Description
rval
  1. Creative[]
    1. BaseDynamicAllocationCreative
      1. HasHtmlSnippetDynamicAlloca...
        1. AdExchangeCreative
        2. AdSenseCreative
    2. BaseRichMediaStudioCreative
      1. RichMediaStudioCreative
    3. ClickTrackingCreative
    4. HasDestinationUrlCreative
      1. AspectRatioImageCreative
      2. BaseAudioCreative
        1. AudioCreative
        2. AudioRedirectCreative
      3. BaseImageCreative
        1. ImageCreative
        2. ImageOverlayCreative
      4. BaseImageRedirectCreative
        1. ImageRedirectCreative
        2. ImageRedirectOverlayCreative
      5. BaseVideoCreative
        1. SetTopBoxCreative
        2. VideoCreative
        3. VideoRedirectCreative
      6. CustomCreative
    5. Html5Creative
    6. InternalRedirectCreative
    7. LegacyDfpCreative
    8. ProgrammaticCreative
    9. TemplateCreative
    10. ThirdPartyCreative
    11. UnsupportedCreative
    12. VastRedirectCreative

getCreativesByStatement

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

PQL Property Object Property
id Creative.id
name Creative.name
advertiserId Creative.advertiserId
width Creative.size
height Creative.size
lastModifiedDateTime Creative.lastModifiedDateTime

Parameters

Field Type Description
filterStatement Statement

Response

Field Type Description
rval CreativePage

performCreativeAction

Performs action on Creative objects that match the given Statement.query.

Parameters

Field Type Description
creativeAction
  1. CreativeAction
    1. ActivateCreatives
    2. DeactivateCreatives
filterStatement Statement

Response

Field Type Description
rval UpdateResult

updateCreatives

Updates the specified Creative objects.

Parameters

Field Type Description
creatives
  1. Creative[]
    1. BaseDynamicAllocationCreative
      1. HasHtmlSnippetDynamicAlloca...
        1. AdExchangeCreative
        2. AdSenseCreative
    2. BaseRichMediaStudioCreative
      1. RichMediaStudioCreative
    3. ClickTrackingCreative
    4. HasDestinationUrlCreative
      1. AspectRatioImageCreative
      2. BaseAudioCreative
        1. AudioCreative
        2. AudioRedirectCreative
      3. BaseImageCreative
        1. ImageCreative
        2. ImageOverlayCreative
      4. BaseImageRedirectCreative
        1. ImageRedirectCreative
        2. ImageRedirectOverlayCreative
      5. BaseVideoCreative
        1. SetTopBoxCreative
        2. VideoCreative
        3. VideoRedirectCreative
      6. CustomCreative
    5. Html5Creative
    6. InternalRedirectCreative
    7. LegacyDfpCreative
    8. ProgrammaticCreative
    9. TemplateCreative
    10. ThirdPartyCreative
    11. UnsupportedCreative
    12. VastRedirectCreative

Response

Field Type Description
rval
  1. Creative[]
    1. BaseDynamicAllocationCreative
      1. HasHtmlSnippetDynamicAlloca...
        1. AdExchangeCreative
        2. AdSenseCreative
    2. BaseRichMediaStudioCreative
      1. RichMediaStudioCreative
    3. ClickTrackingCreative
    4. HasDestinationUrlCreative
      1. AspectRatioImageCreative
      2. BaseAudioCreative
        1. AudioCreative
        2. AudioRedirectCreative
      3. BaseImageCreative
        1. ImageCreative
        2. ImageOverlayCreative
      4. BaseImageRedirectCreative
        1. ImageRedirectCreative
        2. ImageRedirectOverlayCreative
      5. BaseVideoCreative
        1. SetTopBoxCreative
        2. VideoCreative
        3. VideoRedirectCreative
      6. CustomCreative
    5. Html5Creative
    6. InternalRedirectCreative
    7. LegacyDfpCreative
    8. ProgrammaticCreative
    9. TemplateCreative
    10. ThirdPartyCreative
    11. UnsupportedCreative
    12. VastRedirectCreative

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.
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.
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.
CreativeAssetMacroError Lists all errors associated with creative asset macros.
Enumerations
INVALID_MACRO_NAME
Invalid macro name specified. Macro names must start with an alpha character and consist only of alpha-numeric characters and underscores and be between 1 and 64 characters.
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.
CreativeSetError Errors relating to creative sets & subclasses.
Enumerations
VIDEO_FEATURE_REQUIRED
The 'video' feature is required but not enabled.
CANNOT_CREATE_OR_UPDATE_VIDEO_CREATIVES
Video creatives (including overlays, VAST redirects, etc..) cannot be created or updated through the API.
ROADBLOCK_FEATURE_REQUIRED
The 'roadblock' feature is required but not enabled.
MASTER_CREATIVE_CANNOT_BE_COMPANION
A master creative cannot be a companion creative in the same creative set.
INVALID_ADVERTISER
Creatives in a creative set must be for the same advertiser.
UPDATE_MASTER_CREATIVE_NOT_ALLOWED
Updating a master creative in a creative set is not allowed.
MASTER_CREATIVE_CANNOT_BELONG_TO_MULTIPLE_VIDEO_CREATIVE_SETS
A master creative must belong to only one video creative set.
SKIPPABLE_AD_TYPE_NOT_ALLOWED
The is not allowed.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
CreativeTemplateError A catch-all error that lists all generic errors associated with CreativeTemplate.
Enumerations
CANNOT_PARSE_CREATIVE_TEMPLATE
The XML of the creative template definition is malformed and cannot be parsed.
VARIABLE_DUPLICATE_UNIQUE_NAME
A creative template has multiple variables with the same uniqueName.
VARIABLE_INVALID_UNIQUE_NAME
The creative template contains a variable with invalid characters. Valid characters are letters, numbers, spaces, forward slashes, dashes, and underscores.
LIST_CHOICE_DUPLICATE_VALUE
Multiple choices for a CreativeTemplateListStringVariable have the same value.
LIST_CHOICE_NEEDS_DEFAULT
The choices for a CreativeTemplateListStringVariable do not contain the default value.
LIST_CHOICES_EMPTY
There are no choices specified for the list variable.
NO_TARGET_PLATFORMS
No target platform is assigned to a creative template.
MULTIPLE_TARGET_PLATFORMS
More than one target platform is assigned to a single creative template.
UNRECOGNIZED_PLACEHOLDER
The formatter contains a placeholder which is not defined as a variable.
PLACEHOLDERS_NOT_IN_FORMATTER
There are variables defined which are not being used in the formatter.
MISSING_INTERSTITIAL_MACRO
The creative template is interstitial, but the formatter doesn't contain an interstitial macro.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
CreativeTemplateOperationError An error that can occur while performing an operation on a creative template.
Enumerations
NOT_ALLOWED
The current user is not allowed to modify this creative template.
NOT_APPLICABLE
The operation is not applicable to the current state. (e.g. Trying to activate an active creative template)
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
CustomCreativeError Lists all errors associated with custom creatives.
Enumerations
DUPLICATE_MACRO_NAME_FOR_CREATIVE
Macros associated with a single custom creative must have unique names.
SNIPPET_REFERENCES_MISSING_MACRO
The file macro referenced in the snippet does not exist.
UNRECOGNIZED_MACRO
The macro referenced in the snippet is not valid.
CUSTOM_CREATIVE_NOT_ALLOWED
Custom creatives are not allowed in this context.
MISSING_INTERSTITIAL_MACRO
The custom creative is an interstitial, but the snippet is missing an interstitial macro.
DUPLICATE_ASSET_IN_MACROS
Macros associated with the same custom creative cannot share the same asset.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
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.
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.
USER_TEAMS_LIMIT_REACHED
The number of teams on the user exceeds the max number allowed.
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.
FileError A list of all errors to be used for problems related to files.
Enumerations
MISSING_CONTENTS
The provided byte array is empty.
SIZE_TOO_LARGE
The provided file is larger than the maximum size defined for the network.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
HtmlBundleProcessorError Lists all errors associated with html5 file processing.
Enumerations
CANNOT_EXTRACT_FILES_FROM_BUNDLE
Cannot extract files from HTML5 bundle.
CLICK_TAG_HARD_CODED
Bundle cannot have hard-coded click tag url(s).
CLICK_TAG_IN_GWD_UNUPPORTED
Bundles created using GWD (Google Web Designer) cannot have click tags. GWD-published bundles should use exit events instead of defining var clickTAG.
CLICK_TAG_NOT_IN_PRIMARY_HTML
Click tag detected outside of primary HTML file.
CLICK_TAG_INVALID
Click tag or exit function has invalid name or url.
FILE_SIZE_TOO_LARGE
HTML5 bundle or total size of extracted files cannot be more than 1000 KB.
FILES_TOO_MANY
HTML5 bundle cannot have more than 50 files.
FLASH_UNSUPPORTED
Flash files in HTML5 bundles are not supported. Any file with a .swf or .flv extension causes this error.
GWD_COMPONENTS_UNSUPPORTED
The HTML5 bundle contains unsupported GWD component(s).
GWD_ENABLER_METHODS_UNSUPPORTED
The HTML5 bundle contains Unsupported GWD Enabler method(s).
GWD_PROPERTIES_INVALID
GWD properties are invalid.
LINKED_FILES_NOT_FOUND
The HTML5 bundle contains broken relative file reference(s).
PRIMARY_HTML_MISSING
No primary HTML file detected.
PRIMARY_HTML_UNDETERMINED
Multiple HTML files are detected. One of them should be named as index.html
SVG_BLOCK_INVALID
An SVG block could not be parsed.
CANNOT_DECODE_BUNDLE
The HTML5 bundle cannot be decoded.
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.
InvalidPhoneNumberError Lists all errors associated with phone numbers.
Enumerations
INVALID_FORMAT
The phone number is invalid.
TOO_SHORT
The phone number is too short.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
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.
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.
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.
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
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.
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.

SEGMENT_POPULATION_LIMIT
This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. The recommended approach to handle this error is to wait 30 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.
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.
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.
RichMediaStudioCreativeError Lists all errors associated with Studio creatives.
Enumerations
CREATION_NOT_ALLOWED
Only Studio can create a RichMediaStudioCreative.
UKNOWN_ERROR
Unknown error
INVALID_CODE_GENERATION_REQUEST
Invalid request indicating missing/invalid request parameters.
INVALID_CREATIVE_OBJECT
Invalid creative object.
STUDIO_CONNECTION_ERROR
Unable to connect to Rich Media Studio to save the creative. Please try again later.
PUSHDOWN_DURATION_NOT_ALLOWED
The push down duration is not allowed
INVALID_POSITION
The position is invalid
INVALID_Z_INDEX
The Z-index is invalid
INVALID_PUSHDOWN_DURATION
The push-down duration is invalid
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.
SetTopBoxCreativeError Errors associated with set-top box creatives.
Enumerations
EXTERNAL_ASSET_ID_IMMUTABLE
Set-top box creative external asset IDs are immutable after creation.
EXTERNAL_ASSET_ID_REQUIRED
Set-top box creatives require an external asset ID.
PROVIDER_ID_IMMUTABLE
Set-top box creative provider IDs are immutable after creation.
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.
SwiffyConversionError Error for converting flash to swiffy asset.
Enumerations
SERVER_ERROR
Indicates the Swiffy service has an internal error that prevents the flash asset being converted.
INVALID_FLASH_FILE
Indicates the uploaded flash asset is not a valid flash file.
UNSUPPORTED_FLASH
Indicates the Swiffy service currently does not support converting this flash asset.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
TemplateInstantiatedCreativeError Lists all errors associated with template instantiated creatives.
Enumerations
INACTIVE_CREATIVE_TEMPLATE
A new creative cannot be created from an inactive creative template.
FILE_TYPE_NOT_ALLOWED
An uploaded file type is not allowed
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