Web Service: CreativeService
Port CreativeServiceInterfacePort Port typeSource code
- createCreativesDetailSource code
- getCreativesByStatementDetailSource code
- performCreativeActionDetailSource code
- updateCreativesDetailSource code
Operations
- createCreativesDescription:Creates new {@link Creative} objects.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:createCreativesRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type createCreativesCreates new {@link Creative} objects.
- creatives - optional, unbounded; type CreativeA {@code Creative} represents the media for the ad being served.
Read more about creatives on the Ad Manager Help Center.
- advertiserId - optional; type longThe ID of the advertiser that owns the creative. This attribute is required.
- id - optional; type longUniquely identifies the {@code Creative}. This value is read-only and is assigned by Google when the creative is created. This attribute is required for updates.
- name - optional; type stringThe name of the creative. This attribute is required and has a maximum length of 255 characters.
- size - optional; type SizeThe {@link Size} of the creative. This attribute is required for creation and then is read-only.Represents the dimensions of an {@link AdUnit}, {@link LineItem} or {@link Creative}.
For interstitial size (out-of-page), native, ignored and fluid size, {@link Size} must be 1x1.
- width - optional; type intThe width of the {@link AdUnit}, {@link LineItem} or {@link Creative}.
- height - optional; type intThe height of the {@link AdUnit}, {@link LineItem} or {@link Creative}.
- isAspectRatio - optional; type booleanWhether this size represents an aspect ratio.
- width - optional; type int
- previewUrl - optional; type stringThe URL of the creative for previewing the media. This attribute is read-only and is assigned by Google when a creative is created.
- policyLabels - optional, unbounded; type CreativePolicyViolation - type string with restriction - enum { 'MALWARE_IN_CREATIVE', 'MALWARE_IN_LANDING_PAGE', 'LEGALLY_BLOCKED_REDIRECT_URL', 'MISREPRESENTATION_OF_PRODUCT', 'SELF_CLICKING_CREATIVE', 'GAMING_GOOGLE_NETWORK', 'DYNAMIC_DNS', 'CIRCUMVENTING_SYSTEMS', 'PHISHING', 'DOWNLOAD_PROMPT_IN_CREATIVE', 'UNAUTHORIZED_COOKIE_DETECTED', 'TEMPORARY_PAUSE_FOR_VENDOR_INVESTIGATION', 'ABUSIVE_EXPERIENCE', 'TRICK_TO_CLICK', 'USE_OF_NON_ALLOWLISTED_OMID_VERIFICATION_SCRIPT', 'MISUSE_OF_OMID_API', 'UNACCEPTABLE_HTML_AD', 'UNKNOWN' }Set of policy labels detected for this creative. This attribute is read-only.
- appliedLabels - optional, unbounded; type AppliedLabelRepresents a {@link Label} that can be applied to an entity. To negate an inherited label, create an {@code AppliedLabel} with {@code labelId} as the inherited label's ID and {@code isNegated} set to true.
- labelId - optional; type longThe ID of a created {@link Label}.
- isNegated - optional; type boolean{@code isNegated} should be set to {@code true} to negate the effects of {@code labelId}.
The set of labels applied to this creative. - labelId - optional; type long
- lastModifiedDateTime - optional; type DateTimeThe date and time this creative was last modified.Represents a date combined with the time of day.
- date - optional; type DateRepresents a date.
- year - optional; type intYear (e.g., 2009)
- month - optional; type intMonth (1..12)
- day - optional; type intDay (1..31)
- year - optional; type int
- hour - optional; type int
- minute - optional; type int
- second - optional; type int
- timeZoneId - optional; type string
- date - optional; type Date
- customFieldValues - optional, unbounded; type BaseCustomFieldValueThe value of a {@link CustomField} for a particular entity.
- customFieldId - optional; type longId of the {@code CustomField} to which this value belongs. This attribute is required.
The values of the custom fields associated with this creative. - customFieldId - optional; type long
- thirdPartyDataDeclaration - optional; type ThirdPartyDataDeclarationThe third party companies associated with this creative.
This is distinct from any associated companies that Google may detect programmatically.
Represents a set of declarations about what (if any) third party companies are associated with a given creative.This can be set at the network level, as a default for all creatives, or overridden for a particular creative.
- declarationType - optional; type DeclarationType - type string with restriction - enum { 'NONE', 'DECLARED', 'UNKNOWN' }
- thirdPartyCompanyIds - optional, unbounded; type long
- adBadgingEnabled - optional; type booleanWhether the creative has ad badging enabled.
Defaults to false for {@code CreativeType.VAST_REDIRECT}, {@code CreativeType.THIRD_PARTY}, {@code CreativeType.AUDIO_VAST_REDIRECT}, {@code CreativeType.PROGRAMMATIC}, {@code CreativeType.DFP_MOBILE_CREATIVE}, {@code CreativeType.FLASH_OVERLAY}, {@code CreativeType.GRAPHICAL_INTERSTITIAL}, {@code CreativeType.LEGACY_DFP_CREATIVE}, {@code CreativeType.MOBILE_AD_NETWORK_BACKFILL}, {@code CreativeType.MOBILE_VIDEO_INTERSTITIAL}, {@code CreativeType.SDK_MEDIATION} and {@code CreativeType.STANDARD_FLASH} creative types.
. Defaults to true for all other creative types.
- advertiserId - optional; type long
Output:createCreativesResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type createCreativesResponse- rval - optional, unbounded; type CreativeA {@code Creative} represents the media for the ad being served.
Read more about creatives on the Ad Manager Help Center.
- advertiserId - optional; type longThe ID of the advertiser that owns the creative. This attribute is required.
- id - optional; type longUniquely identifies the {@code Creative}. This value is read-only and is assigned by Google when the creative is created. This attribute is required for updates.
- name - optional; type stringThe name of the creative. This attribute is required and has a maximum length of 255 characters.
- size - optional; type SizeThe {@link Size} of the creative. This attribute is required for creation and then is read-only.Represents the dimensions of an {@link AdUnit}, {@link LineItem} or {@link Creative}.
For interstitial size (out-of-page), native, ignored and fluid size, {@link Size} must be 1x1.
- width - optional; type intThe width of the {@link AdUnit}, {@link LineItem} or {@link Creative}.
- height - optional; type intThe height of the {@link AdUnit}, {@link LineItem} or {@link Creative}.
- isAspectRatio - optional; type booleanWhether this size represents an aspect ratio.
- width - optional; type int
- previewUrl - optional; type stringThe URL of the creative for previewing the media. This attribute is read-only and is assigned by Google when a creative is created.
- policyLabels - optional, unbounded; type CreativePolicyViolation - type string with restriction - enum { 'MALWARE_IN_CREATIVE', 'MALWARE_IN_LANDING_PAGE', 'LEGALLY_BLOCKED_REDIRECT_URL', 'MISREPRESENTATION_OF_PRODUCT', 'SELF_CLICKING_CREATIVE', 'GAMING_GOOGLE_NETWORK', 'DYNAMIC_DNS', 'CIRCUMVENTING_SYSTEMS', 'PHISHING', 'DOWNLOAD_PROMPT_IN_CREATIVE', 'UNAUTHORIZED_COOKIE_DETECTED', 'TEMPORARY_PAUSE_FOR_VENDOR_INVESTIGATION', 'ABUSIVE_EXPERIENCE', 'TRICK_TO_CLICK', 'USE_OF_NON_ALLOWLISTED_OMID_VERIFICATION_SCRIPT', 'MISUSE_OF_OMID_API', 'UNACCEPTABLE_HTML_AD', 'UNKNOWN' }Set of policy labels detected for this creative. This attribute is read-only.
- appliedLabels - optional, unbounded; type AppliedLabelRepresents a {@link Label} that can be applied to an entity. To negate an inherited label, create an {@code AppliedLabel} with {@code labelId} as the inherited label's ID and {@code isNegated} set to true.
- labelId - optional; type longThe ID of a created {@link Label}.
- isNegated - optional; type boolean{@code isNegated} should be set to {@code true} to negate the effects of {@code labelId}.
The set of labels applied to this creative. - labelId - optional; type long
- lastModifiedDateTime - optional; type DateTimeThe date and time this creative was last modified.Represents a date combined with the time of day.
- date - optional; type DateRepresents a date.
- year - optional; type intYear (e.g., 2009)
- month - optional; type intMonth (1..12)
- day - optional; type intDay (1..31)
- year - optional; type int
- hour - optional; type int
- minute - optional; type int
- second - optional; type int
- timeZoneId - optional; type string
- date - optional; type Date
- customFieldValues - optional, unbounded; type BaseCustomFieldValueThe value of a {@link CustomField} for a particular entity.
- customFieldId - optional; type longId of the {@code CustomField} to which this value belongs. This attribute is required.
The values of the custom fields associated with this creative. - customFieldId - optional; type long
- thirdPartyDataDeclaration - optional; type ThirdPartyDataDeclarationThe third party companies associated with this creative.
This is distinct from any associated companies that Google may detect programmatically.
Represents a set of declarations about what (if any) third party companies are associated with a given creative.This can be set at the network level, as a default for all creatives, or overridden for a particular creative.
- declarationType - optional; type DeclarationType - type string with restriction - enum { 'NONE', 'DECLARED', 'UNKNOWN' }
- thirdPartyCompanyIds - optional, unbounded; type long
- adBadgingEnabled - optional; type booleanWhether the creative has ad badging enabled.
Defaults to false for {@code CreativeType.VAST_REDIRECT}, {@code CreativeType.THIRD_PARTY}, {@code CreativeType.AUDIO_VAST_REDIRECT}, {@code CreativeType.PROGRAMMATIC}, {@code CreativeType.DFP_MOBILE_CREATIVE}, {@code CreativeType.FLASH_OVERLAY}, {@code CreativeType.GRAPHICAL_INTERSTITIAL}, {@code CreativeType.LEGACY_DFP_CREATIVE}, {@code CreativeType.MOBILE_AD_NETWORK_BACKFILL}, {@code CreativeType.MOBILE_VIDEO_INTERSTITIAL}, {@code CreativeType.SDK_MEDIATION} and {@code CreativeType.STANDARD_FLASH} creative types.
. Defaults to true for all other creative types.
- advertiserId - optional; type long
Fault:ApiException (wsdlsoap:fault, use = literal)Source codeApiException type ApiExceptionFaultException class for holding a list of service errors.Base class for exceptions.- message - optional; type stringError message.
- errors - optional, unbounded; type ApiErrorThe API error base class that provides details about an error that occurred while processing a service request.
The OGNL field path is provided for parsers to identify the request data element that may have caused the error.
- fieldPath - optional; type stringThe OGNL field path to identify cause of error.
- fieldPathElements - optional, unbounded; type FieldPathElementA parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}.A segment of a field path. Each dot in a field path defines a new segment.
- field - optional; type stringThe name of a field in lower camelcase. (e.g. "biddingStrategy")
- index - optional; type intFor list fields, this is a 0-indexed position in the list. Null for non-list fields.
- field - optional; type string
- trigger - optional; type stringThe data that caused the error.
- errorString - optional; type stringA simple string representation of the error and reason.
List of errors. - fieldPath - optional; type string
A fault element of type ApiException. - creatives - optional, unbounded; type Creative
- getCreativesByStatementDescription:Gets a {@link CreativePage} of {@link Creative} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
PQL Property Object Property {@code id} {@link Creative#id} {@code name} {@link Creative#name} {@code advertiserId} {@link Creative#advertiserId} {@code width} {@link Creative#size} {@code height} {@link Creative#size} {@code lastModifiedDateTime} {@link Creative#lastModifiedDateTime} Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:getCreativesByStatementRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type getCreativesByStatementGets a {@link CreativePage} of {@link Creative} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:PQL Property Object Property {@code id} {@link Creative#id} {@code name} {@link Creative#name} {@code advertiserId} {@link Creative#advertiserId} {@code width} {@link Creative#size} {@code height} {@link Creative#size} {@code lastModifiedDateTime} {@link Creative#lastModifiedDateTime} - filterStatement - optional; type StatementCaptures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a PQL query. Statements are typically used to retrieve objects of a predefined domain type, which makes SELECT clause unnecessary.
An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id LIMIT 30"}.
Statements support bind variables. These are substitutes for literals and can be thought of as input parameters to a PQL query.
An example of such a query might be {@code "WHERE id = :idValue"}.
Statements also support use of the LIKE keyword. This provides wildcard string matching.
An example of such a query might be {@code "WHERE name LIKE '%searchString%'"}.
The value for the variable idValue must then be set with an object of type {@link Value}, e.g., {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.- query - optional; type stringHolds the query in PQL syntax. The syntax is:
[WHERE{[AND | OR] ...}]
[ORDER BY[ASC | DESC]]
[LIMIT {[,] } | { OFFSET }]
:={< | <= | > | >= | = | != }
:={< | <= | > | >= | = | != }
:= IN
:= IS NULL
:= LIKE
:= :
- values - optional, unbounded; type String_ValueMapEntryHolds keys and values for bind variables and their values. The key is the name of the bind variable. The value is the literal value of the variable.
In the example {@code "WHERE status = :bindStatus ORDER BY id LIMIT 30"}, the bind variable, represented by {@code :bindStatus} is named {@code bindStatus}, which would also be the parameter map key. The bind variable's value would be represented by a parameter map value of type {@link TextValue}. The final result, for example, would be an entry of {@code "bindStatus" => StringParam("ACTIVE")}.
This represents an entry in a map with a key of type String and value of type Value.- key - optional; type string
- value - optional; type Value{@code Value} represents a value.
- query - optional; type string
Output:getCreativesByStatementResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type getCreativesByStatementResponse- rval - optional; type CreativePageCaptures a page of {@link Creative} objects.
- totalResultSetSize - optional; type intThe size of the total result set to which this page belongs.
- startIndex - optional; type intThe absolute index in the total result set on which this page begins.
- results - optional, unbounded; type CreativeA {@code Creative} represents the media for the ad being served.
Read more about creatives on the Ad Manager Help Center.
- advertiserId - optional; type longThe ID of the advertiser that owns the creative. This attribute is required.
- id - optional; type longUniquely identifies the {@code Creative}. This value is read-only and is assigned by Google when the creative is created. This attribute is required for updates.
- name - optional; type stringThe name of the creative. This attribute is required and has a maximum length of 255 characters.
- size - optional; type SizeThe {@link Size} of the creative. This attribute is required for creation and then is read-only.Represents the dimensions of an {@link AdUnit}, {@link LineItem} or {@link Creative}.
For interstitial size (out-of-page), native, ignored and fluid size, {@link Size} must be 1x1.
- width - optional; type intThe width of the {@link AdUnit}, {@link LineItem} or {@link Creative}.
- height - optional; type intThe height of the {@link AdUnit}, {@link LineItem} or {@link Creative}.
- isAspectRatio - optional; type booleanWhether this size represents an aspect ratio.
- width - optional; type int
- previewUrl - optional; type stringThe URL of the creative for previewing the media. This attribute is read-only and is assigned by Google when a creative is created.
- policyLabels - optional, unbounded; type CreativePolicyViolation - type string with restriction - enum { 'MALWARE_IN_CREATIVE', 'MALWARE_IN_LANDING_PAGE', 'LEGALLY_BLOCKED_REDIRECT_URL', 'MISREPRESENTATION_OF_PRODUCT', 'SELF_CLICKING_CREATIVE', 'GAMING_GOOGLE_NETWORK', 'DYNAMIC_DNS', 'CIRCUMVENTING_SYSTEMS', 'PHISHING', 'DOWNLOAD_PROMPT_IN_CREATIVE', 'UNAUTHORIZED_COOKIE_DETECTED', 'TEMPORARY_PAUSE_FOR_VENDOR_INVESTIGATION', 'ABUSIVE_EXPERIENCE', 'TRICK_TO_CLICK', 'USE_OF_NON_ALLOWLISTED_OMID_VERIFICATION_SCRIPT', 'MISUSE_OF_OMID_API', 'UNACCEPTABLE_HTML_AD', 'UNKNOWN' }Set of policy labels detected for this creative. This attribute is read-only.
- appliedLabels - optional, unbounded; type AppliedLabelRepresents a {@link Label} that can be applied to an entity. To negate an inherited label, create an {@code AppliedLabel} with {@code labelId} as the inherited label's ID and {@code isNegated} set to true.
- labelId - optional; type longThe ID of a created {@link Label}.
- isNegated - optional; type boolean{@code isNegated} should be set to {@code true} to negate the effects of {@code labelId}.
The set of labels applied to this creative. - labelId - optional; type long
- lastModifiedDateTime - optional; type DateTimeThe date and time this creative was last modified.Represents a date combined with the time of day.
- date - optional; type DateRepresents a date.
- year - optional; type intYear (e.g., 2009)
- month - optional; type intMonth (1..12)
- day - optional; type intDay (1..31)
- year - optional; type int
- hour - optional; type int
- minute - optional; type int
- second - optional; type int
- timeZoneId - optional; type string
- date - optional; type Date
- customFieldValues - optional, unbounded; type BaseCustomFieldValueThe value of a {@link CustomField} for a particular entity.
- customFieldId - optional; type longId of the {@code CustomField} to which this value belongs. This attribute is required.
The values of the custom fields associated with this creative. - customFieldId - optional; type long
- thirdPartyDataDeclaration - optional; type ThirdPartyDataDeclarationThe third party companies associated with this creative.
This is distinct from any associated companies that Google may detect programmatically.
Represents a set of declarations about what (if any) third party companies are associated with a given creative.This can be set at the network level, as a default for all creatives, or overridden for a particular creative.
- declarationType - optional; type DeclarationType - type string with restriction - enum { 'NONE', 'DECLARED', 'UNKNOWN' }
- thirdPartyCompanyIds - optional, unbounded; type long
- adBadgingEnabled - optional; type booleanWhether the creative has ad badging enabled.
Defaults to false for {@code CreativeType.VAST_REDIRECT}, {@code CreativeType.THIRD_PARTY}, {@code CreativeType.AUDIO_VAST_REDIRECT}, {@code CreativeType.PROGRAMMATIC}, {@code CreativeType.DFP_MOBILE_CREATIVE}, {@code CreativeType.FLASH_OVERLAY}, {@code CreativeType.GRAPHICAL_INTERSTITIAL}, {@code CreativeType.LEGACY_DFP_CREATIVE}, {@code CreativeType.MOBILE_AD_NETWORK_BACKFILL}, {@code CreativeType.MOBILE_VIDEO_INTERSTITIAL}, {@code CreativeType.SDK_MEDIATION} and {@code CreativeType.STANDARD_FLASH} creative types.
. Defaults to true for all other creative types.
The collection of creatives contained within this page. - advertiserId - optional; type long
- totalResultSetSize - optional; type int
Fault:ApiException (wsdlsoap:fault, use = literal)Source codeApiException type ApiExceptionFaultException class for holding a list of service errors.Base class for exceptions.- message - optional; type stringError message.
- errors - optional, unbounded; type ApiErrorThe API error base class that provides details about an error that occurred while processing a service request.
The OGNL field path is provided for parsers to identify the request data element that may have caused the error.
- fieldPath - optional; type stringThe OGNL field path to identify cause of error.
- fieldPathElements - optional, unbounded; type FieldPathElementA parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}.A segment of a field path. Each dot in a field path defines a new segment.
- field - optional; type stringThe name of a field in lower camelcase. (e.g. "biddingStrategy")
- index - optional; type intFor list fields, this is a 0-indexed position in the list. Null for non-list fields.
- field - optional; type string
- trigger - optional; type stringThe data that caused the error.
- errorString - optional; type stringA simple string representation of the error and reason.
List of errors. - fieldPath - optional; type string
A fault element of type ApiException. - filterStatement - optional; type Statement
- performCreativeActionDescription:Performs action on {@link Creative} objects that match the given {@link Statement#query}.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:performCreativeActionRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type performCreativeActionPerforms action on {@link Creative} objects that match the given {@link Statement#query}.
- creativeAction - optional; type CreativeActionRepresents the actions that can be performed on {@link Creative} objects.
- filterStatement - optional; type StatementCaptures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a PQL query. Statements are typically used to retrieve objects of a predefined domain type, which makes SELECT clause unnecessary.
An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id LIMIT 30"}.
Statements support bind variables. These are substitutes for literals and can be thought of as input parameters to a PQL query.
An example of such a query might be {@code "WHERE id = :idValue"}.
Statements also support use of the LIKE keyword. This provides wildcard string matching.
An example of such a query might be {@code "WHERE name LIKE '%searchString%'"}.
The value for the variable idValue must then be set with an object of type {@link Value}, e.g., {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.- query - optional; type stringHolds the query in PQL syntax. The syntax is:
[WHERE{[AND | OR] ...}]
[ORDER BY[ASC | DESC]]
[LIMIT {[,] } | { OFFSET }]
:={< | <= | > | >= | = | != }
:={< | <= | > | >= | = | != }
:= IN
:= IS NULL
:= LIKE
:= :
- values - optional, unbounded; type String_ValueMapEntryHolds keys and values for bind variables and their values. The key is the name of the bind variable. The value is the literal value of the variable.
In the example {@code "WHERE status = :bindStatus ORDER BY id LIMIT 30"}, the bind variable, represented by {@code :bindStatus} is named {@code bindStatus}, which would also be the parameter map key. The bind variable's value would be represented by a parameter map value of type {@link TextValue}. The final result, for example, would be an entry of {@code "bindStatus" => StringParam("ACTIVE")}.
This represents an entry in a map with a key of type String and value of type Value.- key - optional; type string
- value - optional; type Value{@code Value} represents a value.
- query - optional; type string
Output:performCreativeActionResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type performCreativeActionResponse- rval - optional; type UpdateResultRepresents the result of performing an action on objects.
- numChanges - optional; type intThe number of objects that were changed as a result of performing the action.
- numChanges - optional; type int
Fault:ApiException (wsdlsoap:fault, use = literal)Source codeApiException type ApiExceptionFaultException class for holding a list of service errors.Base class for exceptions.- message - optional; type stringError message.
- errors - optional, unbounded; type ApiErrorThe API error base class that provides details about an error that occurred while processing a service request.
The OGNL field path is provided for parsers to identify the request data element that may have caused the error.
- fieldPath - optional; type stringThe OGNL field path to identify cause of error.
- fieldPathElements - optional, unbounded; type FieldPathElementA parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}.A segment of a field path. Each dot in a field path defines a new segment.
- field - optional; type stringThe name of a field in lower camelcase. (e.g. "biddingStrategy")
- index - optional; type intFor list fields, this is a 0-indexed position in the list. Null for non-list fields.
- field - optional; type string
- trigger - optional; type stringThe data that caused the error.
- errorString - optional; type stringA simple string representation of the error and reason.
List of errors. - fieldPath - optional; type string
A fault element of type ApiException. - creativeAction - optional; type CreativeAction
- updateCreativesDescription:Updates the specified {@link Creative} objects.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:updateCreativesRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type updateCreativesUpdates the specified {@link Creative} objects.
- creatives - optional, unbounded; type CreativeA {@code Creative} represents the media for the ad being served.
Read more about creatives on the Ad Manager Help Center.
- advertiserId - optional; type longThe ID of the advertiser that owns the creative. This attribute is required.
- id - optional; type longUniquely identifies the {@code Creative}. This value is read-only and is assigned by Google when the creative is created. This attribute is required for updates.
- name - optional; type stringThe name of the creative. This attribute is required and has a maximum length of 255 characters.
- size - optional; type SizeThe {@link Size} of the creative. This attribute is required for creation and then is read-only.Represents the dimensions of an {@link AdUnit}, {@link LineItem} or {@link Creative}.
For interstitial size (out-of-page), native, ignored and fluid size, {@link Size} must be 1x1.
- width - optional; type intThe width of the {@link AdUnit}, {@link LineItem} or {@link Creative}.
- height - optional; type intThe height of the {@link AdUnit}, {@link LineItem} or {@link Creative}.
- isAspectRatio - optional; type booleanWhether this size represents an aspect ratio.
- width - optional; type int
- previewUrl - optional; type stringThe URL of the creative for previewing the media. This attribute is read-only and is assigned by Google when a creative is created.
- policyLabels - optional, unbounded; type CreativePolicyViolation - type string with restriction - enum { 'MALWARE_IN_CREATIVE', 'MALWARE_IN_LANDING_PAGE', 'LEGALLY_BLOCKED_REDIRECT_URL', 'MISREPRESENTATION_OF_PRODUCT', 'SELF_CLICKING_CREATIVE', 'GAMING_GOOGLE_NETWORK', 'DYNAMIC_DNS', 'CIRCUMVENTING_SYSTEMS', 'PHISHING', 'DOWNLOAD_PROMPT_IN_CREATIVE', 'UNAUTHORIZED_COOKIE_DETECTED', 'TEMPORARY_PAUSE_FOR_VENDOR_INVESTIGATION', 'ABUSIVE_EXPERIENCE', 'TRICK_TO_CLICK', 'USE_OF_NON_ALLOWLISTED_OMID_VERIFICATION_SCRIPT', 'MISUSE_OF_OMID_API', 'UNACCEPTABLE_HTML_AD', 'UNKNOWN' }Set of policy labels detected for this creative. This attribute is read-only.
- appliedLabels - optional, unbounded; type AppliedLabelRepresents a {@link Label} that can be applied to an entity. To negate an inherited label, create an {@code AppliedLabel} with {@code labelId} as the inherited label's ID and {@code isNegated} set to true.
- labelId - optional; type longThe ID of a created {@link Label}.
- isNegated - optional; type boolean{@code isNegated} should be set to {@code true} to negate the effects of {@code labelId}.
The set of labels applied to this creative. - labelId - optional; type long
- lastModifiedDateTime - optional; type DateTimeThe date and time this creative was last modified.Represents a date combined with the time of day.
- date - optional; type DateRepresents a date.
- year - optional; type intYear (e.g., 2009)
- month - optional; type intMonth (1..12)
- day - optional; type intDay (1..31)
- year - optional; type int
- hour - optional; type int
- minute - optional; type int
- second - optional; type int
- timeZoneId - optional; type string
- date - optional; type Date
- customFieldValues - optional, unbounded; type BaseCustomFieldValueThe value of a {@link CustomField} for a particular entity.
- customFieldId - optional; type longId of the {@code CustomField} to which this value belongs. This attribute is required.
The values of the custom fields associated with this creative. - customFieldId - optional; type long
- thirdPartyDataDeclaration - optional; type ThirdPartyDataDeclarationThe third party companies associated with this creative.
This is distinct from any associated companies that Google may detect programmatically.
Represents a set of declarations about what (if any) third party companies are associated with a given creative.This can be set at the network level, as a default for all creatives, or overridden for a particular creative.
- declarationType - optional; type DeclarationType - type string with restriction - enum { 'NONE', 'DECLARED', 'UNKNOWN' }
- thirdPartyCompanyIds - optional, unbounded; type long
- adBadgingEnabled - optional; type booleanWhether the creative has ad badging enabled.
Defaults to false for {@code CreativeType.VAST_REDIRECT}, {@code CreativeType.THIRD_PARTY}, {@code CreativeType.AUDIO_VAST_REDIRECT}, {@code CreativeType.PROGRAMMATIC}, {@code CreativeType.DFP_MOBILE_CREATIVE}, {@code CreativeType.FLASH_OVERLAY}, {@code CreativeType.GRAPHICAL_INTERSTITIAL}, {@code CreativeType.LEGACY_DFP_CREATIVE}, {@code CreativeType.MOBILE_AD_NETWORK_BACKFILL}, {@code CreativeType.MOBILE_VIDEO_INTERSTITIAL}, {@code CreativeType.SDK_MEDIATION} and {@code CreativeType.STANDARD_FLASH} creative types.
. Defaults to true for all other creative types.
- advertiserId - optional; type long
Output:updateCreativesResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type updateCreativesResponse- rval - optional, unbounded; type CreativeA {@code Creative} represents the media for the ad being served.
Read more about creatives on the Ad Manager Help Center.
- advertiserId - optional; type longThe ID of the advertiser that owns the creative. This attribute is required.
- id - optional; type longUniquely identifies the {@code Creative}. This value is read-only and is assigned by Google when the creative is created. This attribute is required for updates.
- name - optional; type stringThe name of the creative. This attribute is required and has a maximum length of 255 characters.
- size - optional; type SizeThe {@link Size} of the creative. This attribute is required for creation and then is read-only.Represents the dimensions of an {@link AdUnit}, {@link LineItem} or {@link Creative}.
For interstitial size (out-of-page), native, ignored and fluid size, {@link Size} must be 1x1.
- width - optional; type intThe width of the {@link AdUnit}, {@link LineItem} or {@link Creative}.
- height - optional; type intThe height of the {@link AdUnit}, {@link LineItem} or {@link Creative}.
- isAspectRatio - optional; type booleanWhether this size represents an aspect ratio.
- width - optional; type int
- previewUrl - optional; type stringThe URL of the creative for previewing the media. This attribute is read-only and is assigned by Google when a creative is created.
- policyLabels - optional, unbounded; type CreativePolicyViolation - type string with restriction - enum { 'MALWARE_IN_CREATIVE', 'MALWARE_IN_LANDING_PAGE', 'LEGALLY_BLOCKED_REDIRECT_URL', 'MISREPRESENTATION_OF_PRODUCT', 'SELF_CLICKING_CREATIVE', 'GAMING_GOOGLE_NETWORK', 'DYNAMIC_DNS', 'CIRCUMVENTING_SYSTEMS', 'PHISHING', 'DOWNLOAD_PROMPT_IN_CREATIVE', 'UNAUTHORIZED_COOKIE_DETECTED', 'TEMPORARY_PAUSE_FOR_VENDOR_INVESTIGATION', 'ABUSIVE_EXPERIENCE', 'TRICK_TO_CLICK', 'USE_OF_NON_ALLOWLISTED_OMID_VERIFICATION_SCRIPT', 'MISUSE_OF_OMID_API', 'UNACCEPTABLE_HTML_AD', 'UNKNOWN' }Set of policy labels detected for this creative. This attribute is read-only.
- appliedLabels - optional, unbounded; type AppliedLabelRepresents a {@link Label} that can be applied to an entity. To negate an inherited label, create an {@code AppliedLabel} with {@code labelId} as the inherited label's ID and {@code isNegated} set to true.
- labelId - optional; type longThe ID of a created {@link Label}.
- isNegated - optional; type boolean{@code isNegated} should be set to {@code true} to negate the effects of {@code labelId}.
The set of labels applied to this creative. - labelId - optional; type long
- lastModifiedDateTime - optional; type DateTimeThe date and time this creative was last modified.Represents a date combined with the time of day.
- date - optional; type DateRepresents a date.
- year - optional; type intYear (e.g., 2009)
- month - optional; type intMonth (1..12)
- day - optional; type intDay (1..31)
- year - optional; type int
- hour - optional; type int
- minute - optional; type int
- second - optional; type int
- timeZoneId - optional; type string
- date - optional; type Date
- customFieldValues - optional, unbounded; type BaseCustomFieldValueThe value of a {@link CustomField} for a particular entity.
- customFieldId - optional; type longId of the {@code CustomField} to which this value belongs. This attribute is required.
The values of the custom fields associated with this creative. - customFieldId - optional; type long
- thirdPartyDataDeclaration - optional; type ThirdPartyDataDeclarationThe third party companies associated with this creative.
This is distinct from any associated companies that Google may detect programmatically.
Represents a set of declarations about what (if any) third party companies are associated with a given creative.This can be set at the network level, as a default for all creatives, or overridden for a particular creative.
- declarationType - optional; type DeclarationType - type string with restriction - enum { 'NONE', 'DECLARED', 'UNKNOWN' }
- thirdPartyCompanyIds - optional, unbounded; type long
- adBadgingEnabled - optional; type booleanWhether the creative has ad badging enabled.
Defaults to false for {@code CreativeType.VAST_REDIRECT}, {@code CreativeType.THIRD_PARTY}, {@code CreativeType.AUDIO_VAST_REDIRECT}, {@code CreativeType.PROGRAMMATIC}, {@code CreativeType.DFP_MOBILE_CREATIVE}, {@code CreativeType.FLASH_OVERLAY}, {@code CreativeType.GRAPHICAL_INTERSTITIAL}, {@code CreativeType.LEGACY_DFP_CREATIVE}, {@code CreativeType.MOBILE_AD_NETWORK_BACKFILL}, {@code CreativeType.MOBILE_VIDEO_INTERSTITIAL}, {@code CreativeType.SDK_MEDIATION} and {@code CreativeType.STANDARD_FLASH} creative types.
. Defaults to true for all other creative types.
- advertiserId - optional; type long
Fault:ApiException (wsdlsoap:fault, use = literal)Source codeApiException type ApiExceptionFaultException class for holding a list of service errors.Base class for exceptions.- message - optional; type stringError message.
- errors - optional, unbounded; type ApiErrorThe API error base class that provides details about an error that occurred while processing a service request.
The OGNL field path is provided for parsers to identify the request data element that may have caused the error.
- fieldPath - optional; type stringThe OGNL field path to identify cause of error.
- fieldPathElements - optional, unbounded; type FieldPathElementA parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}.A segment of a field path. Each dot in a field path defines a new segment.
- field - optional; type stringThe name of a field in lower camelcase. (e.g. "biddingStrategy")
- index - optional; type intFor list fields, this is a 0-indexed position in the list. Null for non-list fields.
- field - optional; type string
- trigger - optional; type stringThe data that caused the error.
- errorString - optional; type stringA simple string representation of the error and reason.
List of errors. - fieldPath - optional; type string
A fault element of type ApiException. - creatives - optional, unbounded; type Creative
Port type CreativeServiceInterfaceSource code
WSDL source code
About wsdl-viewer.xsl
Author: tomi vanek
Download athttp://tomi.vanek.sk/xml/wsdl-viewer.xsl.
The transformation was inspired by the article
Uche Ogbuji: WSDL processing with XSLT