InventoryService (v202308)

Provides operations for creating, updating and retrieving AdUnit objects.

Line items connect a creative with its associated ad unit through targeting.

An ad unit represents a piece of inventory within a publisher. It contains all the settings that need to be associated with the inventory in order to serve ads. For example, the ad unit contains creative size restrictions and AdSense settings.


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

createAdUnits

Creates new AdUnit objects.

Parameters

Field Type Description
adUnits AdUnit[]

Response

Field Type Description
rval AdUnit[]

getAdUnitSizesByStatement

Returns a set of all relevant AdUnitSize objects.

The given Statement is currently ignored but may be honored in future versions.

Parameters

Field Type Description
filterStatement Statement

Response

Field Type Description
rval AdUnitSize[]

getAdUnitsByStatement

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

PQL Property Object Property
adUnitCode AdUnit.adUnitCode
id AdUnit.id
name AdUnit.name
parentId AdUnit.parentId
status AdUnit.status
lastModifiedDateTime AdUnit.lastModifiedDateTime

Parameters

Field Type Description
filterStatement Statement

Response

Field Type Description
rval AdUnitPage

performAdUnitAction

Performs actions on AdUnit objects that match the given Statement.query.

Parameters

Field Type Description
adUnitAction
  1. AdUnitAction
    1. ActivateAdUnits
    2. ArchiveAdUnits
    3. DeactivateAdUnits
filterStatement Statement

Response

Field Type Description
rval UpdateResult

updateAdUnits

Updates the specified AdUnit objects.

Parameters

Field Type Description
adUnits AdUnit[]

Response

Field Type Description
rval AdUnit[]

Errors

Error Reasons
AdSenseAccountError Error for AdSense related API calls.
Enumerations
ASSOCIATE_ACCOUNT_API_ERROR
An error occurred while trying to associate an AdSense account with Ad Manager. Unable to create an association with AdSense or Ad Exchange account.
GET_AD_SLOT_API_ERROR
An error occured while trying to get an associated web property's ad slots. Unable to retrieve ad slot information from AdSense or Ad Exchange account.
GET_CHANNEL_API_ERROR
An error occurred while trying to get an associated web property's ad channels.
GET_BULK_ACCOUNT_STATUSES_API_ERROR
An error occured while trying to retrieve account statues from AdSense API. Unable to retrieve account status information. Please try again later.
RESEND_VERIFICATION_EMAIL_ERROR
An error occured while trying to resend the account association verification email. Error resending verification email. Please try again.
UNEXPECTED_API_RESPONSE_ERROR
An error occured while trying to retrieve a response from the AdSense API. There was a problem processing your request. Please try again later.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
AdUnitCodeError Lists the generic errors associated with AdUnit.adUnitCode.
Enumerations
INVALID_CHARACTERS
For AdUnit.adUnitCode, only alpha-numeric characters, underscores, hyphens, periods, asterisks, double quotes, back slashes, forward slashes, exclamations, left angle brackets, colons and parentheses are allowed.
INVALID_CHARACTERS_WHEN_UTF_CHARACTERS_ARE_ALLOWED
For AdUnit.adUnitCode, only letters, numbers, underscores, hyphens, periods, asterisks, double quotes, back slashes, forward slashes, exclamations, left angle brackets, colons and parentheses are allowed.
INVALID_CHARACTERS_FOR_LEGACY_AD_EXCHANGE_TAG
For AdUnit.adUnitCode representing slot codes, only alphanumeric characters, underscores, hyphens, periods and colons are allowed.
LEADING_FORWARD_SLASH
For AdUnit.adUnitCode, forward slashes are not allowed as the first character.
RESERVED_CODE
Specific codes matching ca-*pub-*-tag are reserved for "Web Property IUs" generated as part of the SlotCode migration.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
AdUnitHierarchyError Caused by creating an AdUnit object with an invalid hierarchy.
Enumerations
INVALID_DEPTH
The depth of the AdUnit in the inventory hierarchy is greater than is allowed. The maximum allowed depth is two below the effective root ad unit for Ad Manager 360 accounts and is one level below the effective root ad unit for Ad Manager accounts.
INVALID_PARENT
The only valid AdUnit.parentId for an Ad Manager account is the Network.effectiveRootAdUnitId, Ad Manager 360 accounts can specify an ad unit hierarchy with more than two levels.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
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.
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.
CompanyError A list of all errors associated with companies.
Enumerations
CANNOT_SET_THIRD_PARTY_COMPANY_DUE_TO_TYPE
Indicates that an attempt was made to set a third party company for a company whose type is not the same as the third party company.
CANNOT_UPDATE_COMPANY_TYPE
Indicates that an invalid attempt was made to change a company's type.
INVALID_COMPANY_TYPE
Indicates that this type of company is not supported.
PRIMARY_CONTACT_DOES_NOT_BELONG_TO_THIS_COMPANY
Indicates that an attempt was made to assign a primary contact who does not belong to the specified company.
THIRD_PARTY_STATS_PROVIDER_IS_WRONG_ROLE_TYPE
Indicates that the user specified as the third party stats provider is of the wrong role type. The user must have the third party stats provider role.
INVALID_LABEL_ASSOCIATION
Labels can only be applied to Company.Type.ADVERTISER, Company.Type.HOUSE_ADVERTISER, and Company.Type.AD_NETWORK company types.
INVALID_COMPANY_TYPE_FOR_DEFAULT_BILLING_SETTING
Indicates that the Company.Type does not support default billing settings.
INVALID_DEFAULT_BILLING_SETTING
Indicates that the format of the default billing setting is wrong.
COMPANY_HAS_ACTIVE_SHARE_ASSIGNMENTS
Cannot remove the cross selling config from a company that has active share assignments.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
CreativeWrapperError Errors specific to creative wrappers.
Enumerations
LABEL_ALREADY_ASSOCIATED_WITH_CREATIVE_WRAPPER
The label is already associated with a CreativeWrapper.
INVALID_LABEL_TYPE
The label type of a creative wrapper must be LabelType.CREATIVE_WRAPPER.
UNRECOGNIZED_MACRO
A macro used inside the snippet is not recognized.
NEITHER_HEADER_NOR_FOOTER_SPECIFIED
When creating a new creative wrapper, either header or footer should exist.
NEITHER_HEADER_NOR_FOOTER_NOR_VIDEO_TRACKING_URLS_SPECIFIED
Creative wrapper must have either header and/or footer, or video tracking URLs.
CANNOT_USE_CREATIVE_WRAPPER_TYPE
The network has not been enabled for creating labels of type LabelType.CREATIVE_WRAPPER.
CANNOT_UPDATE_LABEL_ID
Cannot update CreativeWrapper.labelId.
CANNOT_APPLY_TO_AD_UNIT_WITH_VIDEO_SIZES
Cannot apply LabelType.CREATIVE_WRAPPER labels to an ad unit if it has no descendants with AdUnit.adUnitSizes of AdUnitSize#environmentType as EnvironmentType.BROWSER.
CANNOT_APPLY_TO_AD_UNIT_WITHOUT_VIDEO_SIZES
Cannot apply LabelType.CREATIVE_WRAPPER labels with a CreativeWrapper.VIDEO_TRACKING_URL type to an ad unit if it has no descendants with AdUnit.adUnitSizes of AdUnitSize#environmentType as EnvironmentType.VIDEO_PLAYER.
CANNOT_APPLY_TO_MOBILE_AD_UNIT
Cannot apply LabelType.CREATIVE_WRAPPER labels to an ad unit if AdUnit.targetPlatform is of type TargetPlatform#MOBILE
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.
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.
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.
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.
InvalidColorError A list of all errors associated with a color attribute.
Enumerations
INVALID_FORMAT
The provided value is not a valid hexadecimal color.
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.
InventoryUnitError Lists the generic errors associated with AdUnit objects.
Enumerations
EXPLICIT_TARGETING_NOT_ALLOWED
AdUnit.explicitlyTargeted can be set to true only in an Ad Manager 360 account.
TARGET_PLATFORM_NOT_APPLICABLE
The specified target platform is not applicable for the inventory unit.
ADSENSE_CANNOT_BE_ENABLED
AdSense cannot be enabled on this inventory unit if it is disabled for the network.
ROOT_UNIT_CANNOT_BE_DEACTIVATED
A root unit cannot be deactivated.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
InventoryUnitRefreshRateError Lists errors relating to AdUnit.refreshRate.
Enumerations
INVALID_RANGE
The refresh rate must be between 30 and 120 seconds.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
InventoryUnitSizesError An error specifically for InventoryUnitSizes.
Enumerations
INVALID_SIZES
A size in the ad unit is too large or too small.
INVALID_SIZE_FOR_PLATFORM
A size is an aspect ratio, but the ad unit is not a mobile ad unit.
VIDEO_FEATURE_MISSING
A size is video, but the video feature is not enabled.
VIDEO_MOBILE_LINE_ITEM_FEATURE_MISSING
A size is video in a mobile ad unit, but the mobile video feature is not enabled.
INVALID_SIZE_FOR_MASTER
A size that has companions must have an environment of VIDEO_PLAYER.
INVALID_SIZE_FOR_COMPANION
A size that is a companion must have an environment of BROWSER.
DUPLICATE_MASTER_SIZES
Duplicate video master sizes are not allowed.
ASPECT_RATIO_NOT_SUPPORTED
A size is an aspect ratio, but aspect ratio sizes are not enabled.
VIDEO_COMPANIONS_NOT_SUPPORTED
A video size has companions, but companions are not allowed for the network
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.
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.

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.
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.
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.
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.
TypeError An error for a field which is an invalid type.
UniqueError An error for a field which must satisfy a uniqueness constraint