Web Service: LabelService
Port LabelServiceInterfacePort Port typeSource code
- createLabelsDetailSource code
- getLabelsByStatementDetailSource code
- performLabelActionDetailSource code
- updateLabelsDetailSource code
Operations
- createLabelsDescription:Creates new {@link Label} objects.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:createLabelsRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type createLabelsCreates new {@link Label} objects.
- labels - optional, unbounded; type LabelA {@code Label} is additional information that can be added to an entity.
- id - optional; type longUnique ID of the {@code Label}. This value is readonly and is assigned by Google.
- name - optional; type stringName of the {@code Label}. This is value is required to create a label and has a maximum length of 127 characters.
- description - optional; type stringA description of the label. This value is optional and its maximum length is 255 characters.
- isActive - optional; type booleanSpecifies whether or not the label is active. This attribute is read-only.
- adCategory - optional; type AdCategoryDtoA canonical ad category.
- id - optional; type longCanonical ID of the ad category.
- displayName - optional; type stringLocalized name of the category.
- parentId - optional; type longID of the category's parent, or 0 if it has no parent.
Indicates the Ad Category associated with the label. - id - optional; type long
- types - optional, unbounded; type LabelType - type string with restriction - enum { 'COMPETITIVE_EXCLUSION', 'AD_UNIT_FREQUENCY_CAP', 'AD_EXCLUSION', 'CREATIVE_WRAPPER', 'CANONICAL_CATEGORY', 'UNKNOWN' }The types of the {@code Label}.
- id - optional; type long
Output:createLabelsResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type createLabelsResponse- rval - optional, unbounded; type LabelA {@code Label} is additional information that can be added to an entity.
- id - optional; type longUnique ID of the {@code Label}. This value is readonly and is assigned by Google.
- name - optional; type stringName of the {@code Label}. This is value is required to create a label and has a maximum length of 127 characters.
- description - optional; type stringA description of the label. This value is optional and its maximum length is 255 characters.
- isActive - optional; type booleanSpecifies whether or not the label is active. This attribute is read-only.
- adCategory - optional; type AdCategoryDtoA canonical ad category.
- id - optional; type longCanonical ID of the ad category.
- displayName - optional; type stringLocalized name of the category.
- parentId - optional; type longID of the category's parent, or 0 if it has no parent.
Indicates the Ad Category associated with the label. - id - optional; type long
- types - optional, unbounded; type LabelType - type string with restriction - enum { 'COMPETITIVE_EXCLUSION', 'AD_UNIT_FREQUENCY_CAP', 'AD_EXCLUSION', 'CREATIVE_WRAPPER', 'CANONICAL_CATEGORY', 'UNKNOWN' }The types of the {@code Label}.
- id - 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. - labels - optional, unbounded; type Label
- getLabelsByStatementDescription:Gets a {@link LabelPage} of {@link Label} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
PQL Property Object Property {@code id} {@link Label#id} {@code type} {@link Label#type} {@code name} {@link Label#name} {@code description} {@link Label#description} {@code isActive} {@link Label#isActive} Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:getLabelsByStatementRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type getLabelsByStatementGets a {@link LabelPage} of {@link Label} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:PQL Property Object Property {@code id} {@link Label#id} {@code type} {@link Label#type} {@code name} {@link Label#name} {@code description} {@link Label#description} {@code isActive} {@link Label#isActive} - 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:getLabelsByStatementResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type getLabelsByStatementResponse- rval - optional; type LabelPageCaptures a page of {@link Label} 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 LabelA {@code Label} is additional information that can be added to an entity.
- id - optional; type longUnique ID of the {@code Label}. This value is readonly and is assigned by Google.
- name - optional; type stringName of the {@code Label}. This is value is required to create a label and has a maximum length of 127 characters.
- description - optional; type stringA description of the label. This value is optional and its maximum length is 255 characters.
- isActive - optional; type booleanSpecifies whether or not the label is active. This attribute is read-only.
- adCategory - optional; type AdCategoryDtoA canonical ad category.
- id - optional; type longCanonical ID of the ad category.
- displayName - optional; type stringLocalized name of the category.
- parentId - optional; type longID of the category's parent, or 0 if it has no parent.
Indicates the Ad Category associated with the label. - id - optional; type long
- types - optional, unbounded; type LabelType - type string with restriction - enum { 'COMPETITIVE_EXCLUSION', 'AD_UNIT_FREQUENCY_CAP', 'AD_EXCLUSION', 'CREATIVE_WRAPPER', 'CANONICAL_CATEGORY', 'UNKNOWN' }The types of the {@code Label}.
The collection of labels contained within this page. - id - 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
- performLabelActionDescription:Performs actions on {@link Label} objects that match the given {@link Statement#query}.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:performLabelActionRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type performLabelActionPerforms actions on {@link Label} objects that match the given {@link Statement#query}.
- labelAction - optional; type LabelActionRepresents the actions that can be performed on {@link Label} 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:performLabelActionResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type performLabelActionResponse- 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. - labelAction - optional; type LabelAction
- updateLabelsDescription:Updates the specified {@link Label} objects.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:updateLabelsRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type updateLabelsUpdates the specified {@link Label} objects.
- labels - optional, unbounded; type LabelA {@code Label} is additional information that can be added to an entity.
- id - optional; type longUnique ID of the {@code Label}. This value is readonly and is assigned by Google.
- name - optional; type stringName of the {@code Label}. This is value is required to create a label and has a maximum length of 127 characters.
- description - optional; type stringA description of the label. This value is optional and its maximum length is 255 characters.
- isActive - optional; type booleanSpecifies whether or not the label is active. This attribute is read-only.
- adCategory - optional; type AdCategoryDtoA canonical ad category.
- id - optional; type longCanonical ID of the ad category.
- displayName - optional; type stringLocalized name of the category.
- parentId - optional; type longID of the category's parent, or 0 if it has no parent.
Indicates the Ad Category associated with the label. - id - optional; type long
- types - optional, unbounded; type LabelType - type string with restriction - enum { 'COMPETITIVE_EXCLUSION', 'AD_UNIT_FREQUENCY_CAP', 'AD_EXCLUSION', 'CREATIVE_WRAPPER', 'CANONICAL_CATEGORY', 'UNKNOWN' }The types of the {@code Label}.
- id - optional; type long
Output:updateLabelsResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type updateLabelsResponse- rval - optional, unbounded; type LabelA {@code Label} is additional information that can be added to an entity.
- id - optional; type longUnique ID of the {@code Label}. This value is readonly and is assigned by Google.
- name - optional; type stringName of the {@code Label}. This is value is required to create a label and has a maximum length of 127 characters.
- description - optional; type stringA description of the label. This value is optional and its maximum length is 255 characters.
- isActive - optional; type booleanSpecifies whether or not the label is active. This attribute is read-only.
- adCategory - optional; type AdCategoryDtoA canonical ad category.
- id - optional; type longCanonical ID of the ad category.
- displayName - optional; type stringLocalized name of the category.
- parentId - optional; type longID of the category's parent, or 0 if it has no parent.
Indicates the Ad Category associated with the label. - id - optional; type long
- types - optional, unbounded; type LabelType - type string with restriction - enum { 'COMPETITIVE_EXCLUSION', 'AD_UNIT_FREQUENCY_CAP', 'AD_EXCLUSION', 'CREATIVE_WRAPPER', 'CANONICAL_CATEGORY', 'UNKNOWN' }The types of the {@code Label}.
- id - 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. - labels - optional, unbounded; type Label
Port type LabelServiceInterfaceSource 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