AI-generated Key Takeaways
-
The Creative Wrapper Service allows publishers to serve HTML snippets (header, footer, or video tracking URLs) alongside creatives by associating them with ad units through labels.
-
Key functionalities include creating, retrieving, updating, and performing actions (like activation/deactivation) on creative wrappers.
-
Creative wrappers are linked to labels of type
CREATIVE_WRAPPER
and applied to ad units using theAdUnit.appliedLabels
property. -
Comprehensive error handling is provided, covering various scenarios like authentication issues, data validation errors, and quota limitations.
-
Detailed error types and their resolutions are documented, including specific quota error details and suggested resolutions.
Provides methods for the creation and management of creative wrappers. CreativeWrappers allow HTML snippets to be served along with creatives.
Creative wrappers must be associated with a LabelType.CREATIVE_WRAPPER label and applied to ad units by AdUnit.appliedLabels.
- Production WSDL
-
https://ads.google.com/apis/ads/publisher/v202411/CreativeWrapperService?wsdl
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
- Operations
- Errors
-
- ApiVersionError
- AuthenticationError
- CollectionSizeError
- CommonError
- CreativeWrapperError
- FeatureError
- InternalApiError
- LabelError
- NotNullError
- NullError
- ParseError
- PermissionError
- PublisherQueryLanguageContextError
- PublisherQueryLanguageSyntaxError
- QuotaError
- RequiredCollectionError
- RequiredError
- ServerError
- StatementError
- StringFormatError
- StringLengthError
- TypeError
- UniqueError
createCreativeWrappers
Creates a new CreativeWrapper
objects.
The following fields are required:
Parameters
Field | Type | Description |
---|---|---|
creativeWrappers
|
|
Response
Field | Type | Description |
---|---|---|
rval
|
|
getCreativeWrappersByStatement
Gets a CreativeWrapperPage of CreativeWrapper objects that satisfy the given Statement.query. The following fields are supported for filtering:
PQL Property | Object Property |
---|---|
id
|
CreativeWrapper.id |
labelId
|
CreativeWrapper.labelId |
status
|
CreativeWrapper.status |
ordering
|
CreativeWrapper.ordering |
Parameters
Field | Type | Description |
---|---|---|
filterStatement
|
|
Response
Field | Type | Description |
---|---|---|
rval
|
|
performCreativeWrapperAction
Performs actions on CreativeWrapper objects that match the given Statement.query.
Parameters
Field | Type | Description |
---|---|---|
creativeWrapperAction
|
|
|
filterStatement
|
|
Response
Field | Type | Description |
---|---|---|
rval
|
|
updateCreativeWrappers
Updates the specified CreativeWrapper
objects.
Parameters
Field | Type | Description |
---|---|---|
creativeWrappers
|
|
Response
Field | Type | Description |
---|---|---|
rval
|
|
Errors
Error | Reasons |
---|---|
ApiVersionError
|
Errors related to the usage of API versions.
Enumerations
|
AuthenticationError
|
An error for an exception that occurred when authenticating.
Enumerations
|
CollectionSizeError
|
Error for the size of the collection being too large
Enumerations
|
CommonError
|
A place for common errors that can be used across services.
Enumerations
|
CreativeWrapperError
|
Errors specific to creative wrappers.
Enumerations
|
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
|
InternalApiError
|
Indicates that a server-side error has occured. InternalApiError s
are generally not the result of an invalid request or message sent by the
client.
Enumerations
|
LabelError
|
Errors specific to labels.
Enumerations
|
NotNullError
|
Caused by supplying a null value for an attribute that cannot be null.
Enumerations
|
NullError
|
Errors associated with violation of a NOT NULL check.
Enumerations
|
ParseError
|
Lists errors related to parsing.
Enumerations
|
PermissionError
|
Errors related to incorrect permission.
Enumerations
|
PublisherQueryLanguageContextError
|
An error that occurs while executing a PQL query contained in
a Statement object.
Enumerations
|
PublisherQueryLanguageSyntaxError
|
An error that occurs while parsing a PQL query contained in a
Statement object.
Enumerations
|
QuotaError
|
Describes a client-side error on which a user is attempting
to perform an action to which they have no quota remaining.
Enumerations
|
RequiredCollectionError
|
A list of all errors to be used for validating sizes of collections.
Enumerations
|
RequiredError
|
Errors due to missing required field.
Enumerations
|
ServerError
|
Errors related to the server.
Enumerations
|
StatementError
|
An error that occurs while parsing Statement objects.
Enumerations
|
StringFormatError
|
A list of error code for reporting invalid content of input strings.
Enumerations
|
StringLengthError
|
Errors for Strings which do not meet given length constraints.
Enumerations
|
TypeError
|
An error for a field which is an invalid type. |
UniqueError
|
An error for a field which must satisfy a uniqueness constraint |