Web Service: TeamService
Port TeamServiceInterfacePort Port typeSource code
- createTeamsDetailSource code
- getTeamsByStatementDetailSource code
- performTeamActionDetailSource code
- updateTeamsDetailSource code
Operations
- createTeamsDescription:Creates new {@link Team} objects.
The following fields are required:
- {@link Team#name}
Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:createTeamsRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type createTeamsCreates new {@link Team} objects.The following fields are required:
- {@link Team#name}
- teams - optional, unbounded; type TeamA {@code Team} defines a grouping of users and what entities they have access to. Users are added to teams with {@link UserTeamAssociation} objects.
- id - optional; type longThe unique ID of the {@code Team}. This value is readonly and is assigned by Google. Teams that are created by Google will have negative IDs.
- name - optional; type stringThe name of the {@code Team}. This value is required to create a team and has a maximum length of 106 characters.
- description - optional; type stringThe description of the {@code Team}. This value is optional and has a maximum length of 255 characters.
- status - optional; type TeamStatus - type string with restriction - enum { 'ACTIVE', 'INACTIVE', 'UNKNOWN' }The status of the {@link Team}. This value can be {@link TeamStatus#ACTIVE} (default) or {@link TeamStatus#INACTIVE} and determines the visibility of the team in the UI.
- hasAllCompanies - optional; type booleanWhether or not users on this team have access to all companies. If this value is true, then an error will be thrown if an attempt is made to associate this team with a Company.
- hasAllInventory - optional; type booleanWhether or not users on this team have access to all inventory. If this value is true, then an error will be thrown if an attempt is made to associate this team with an AdUnit.
- teamAccessType - optional; type TeamAccessType - type string with restriction - enum { 'NONE', 'READ_ONLY', 'READ_WRITE' }The default access to orders, for users on this team.
- id - optional; type long
Output:createTeamsResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type createTeamsResponse- rval - optional, unbounded; type TeamA {@code Team} defines a grouping of users and what entities they have access to. Users are added to teams with {@link UserTeamAssociation} objects.
- id - optional; type longThe unique ID of the {@code Team}. This value is readonly and is assigned by Google. Teams that are created by Google will have negative IDs.
- name - optional; type stringThe name of the {@code Team}. This value is required to create a team and has a maximum length of 106 characters.
- description - optional; type stringThe description of the {@code Team}. This value is optional and has a maximum length of 255 characters.
- status - optional; type TeamStatus - type string with restriction - enum { 'ACTIVE', 'INACTIVE', 'UNKNOWN' }The status of the {@link Team}. This value can be {@link TeamStatus#ACTIVE} (default) or {@link TeamStatus#INACTIVE} and determines the visibility of the team in the UI.
- hasAllCompanies - optional; type booleanWhether or not users on this team have access to all companies. If this value is true, then an error will be thrown if an attempt is made to associate this team with a Company.
- hasAllInventory - optional; type booleanWhether or not users on this team have access to all inventory. If this value is true, then an error will be thrown if an attempt is made to associate this team with an AdUnit.
- teamAccessType - optional; type TeamAccessType - type string with restriction - enum { 'NONE', 'READ_ONLY', 'READ_WRITE' }The default access to orders, for users on this team.
- 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. - getTeamsByStatementDescription:Gets a {@code TeamPage} of {@code Team} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
PQL Property Object Property {@code id} {@link Team#id} {@code name} {@link Team#name} {@code description} {@link Team#description} Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:getTeamsByStatementRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type getTeamsByStatementGets a {@code TeamPage} of {@code Team} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:PQL Property Object Property {@code id} {@link Team#id} {@code name} {@link Team#name} {@code description} {@link Team#description} - 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:getTeamsByStatementResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type getTeamsByStatementResponse- rval - optional; type TeamPageCaptures a page of {@link Team} 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 TeamA {@code Team} defines a grouping of users and what entities they have access to. Users are added to teams with {@link UserTeamAssociation} objects.
- id - optional; type longThe unique ID of the {@code Team}. This value is readonly and is assigned by Google. Teams that are created by Google will have negative IDs.
- name - optional; type stringThe name of the {@code Team}. This value is required to create a team and has a maximum length of 106 characters.
- description - optional; type stringThe description of the {@code Team}. This value is optional and has a maximum length of 255 characters.
- status - optional; type TeamStatus - type string with restriction - enum { 'ACTIVE', 'INACTIVE', 'UNKNOWN' }The status of the {@link Team}. This value can be {@link TeamStatus#ACTIVE} (default) or {@link TeamStatus#INACTIVE} and determines the visibility of the team in the UI.
- hasAllCompanies - optional; type booleanWhether or not users on this team have access to all companies. If this value is true, then an error will be thrown if an attempt is made to associate this team with a Company.
- hasAllInventory - optional; type booleanWhether or not users on this team have access to all inventory. If this value is true, then an error will be thrown if an attempt is made to associate this team with an AdUnit.
- teamAccessType - optional; type TeamAccessType - type string with restriction - enum { 'NONE', 'READ_ONLY', 'READ_WRITE' }The default access to orders, for users on this team.
The collection of teams 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
- performTeamActionDescription:Performs actions on {@link Team} objects that match the given {@link Statement#query}.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:performTeamActionRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type performTeamActionPerforms actions on {@link Team} objects that match the given {@link Statement#query}.
- teamAction - optional; type TeamActionRepresents the actions that can be performed on {@link Team} 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:performTeamActionResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type performTeamActionResponse- 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. - teamAction - optional; type TeamAction
- updateTeamsDescription:Updates the specified {@link Team} objects.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:updateTeamsRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type updateTeamsUpdates the specified {@link Team} objects.
- teams - optional, unbounded; type TeamA {@code Team} defines a grouping of users and what entities they have access to. Users are added to teams with {@link UserTeamAssociation} objects.
- id - optional; type longThe unique ID of the {@code Team}. This value is readonly and is assigned by Google. Teams that are created by Google will have negative IDs.
- name - optional; type stringThe name of the {@code Team}. This value is required to create a team and has a maximum length of 106 characters.
- description - optional; type stringThe description of the {@code Team}. This value is optional and has a maximum length of 255 characters.
- status - optional; type TeamStatus - type string with restriction - enum { 'ACTIVE', 'INACTIVE', 'UNKNOWN' }The status of the {@link Team}. This value can be {@link TeamStatus#ACTIVE} (default) or {@link TeamStatus#INACTIVE} and determines the visibility of the team in the UI.
- hasAllCompanies - optional; type booleanWhether or not users on this team have access to all companies. If this value is true, then an error will be thrown if an attempt is made to associate this team with a Company.
- hasAllInventory - optional; type booleanWhether or not users on this team have access to all inventory. If this value is true, then an error will be thrown if an attempt is made to associate this team with an AdUnit.
- teamAccessType - optional; type TeamAccessType - type string with restriction - enum { 'NONE', 'READ_ONLY', 'READ_WRITE' }The default access to orders, for users on this team.
- id - optional; type long
Output:updateTeamsResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type updateTeamsResponse- rval - optional, unbounded; type TeamA {@code Team} defines a grouping of users and what entities they have access to. Users are added to teams with {@link UserTeamAssociation} objects.
- id - optional; type longThe unique ID of the {@code Team}. This value is readonly and is assigned by Google. Teams that are created by Google will have negative IDs.
- name - optional; type stringThe name of the {@code Team}. This value is required to create a team and has a maximum length of 106 characters.
- description - optional; type stringThe description of the {@code Team}. This value is optional and has a maximum length of 255 characters.
- status - optional; type TeamStatus - type string with restriction - enum { 'ACTIVE', 'INACTIVE', 'UNKNOWN' }The status of the {@link Team}. This value can be {@link TeamStatus#ACTIVE} (default) or {@link TeamStatus#INACTIVE} and determines the visibility of the team in the UI.
- hasAllCompanies - optional; type booleanWhether or not users on this team have access to all companies. If this value is true, then an error will be thrown if an attempt is made to associate this team with a Company.
- hasAllInventory - optional; type booleanWhether or not users on this team have access to all inventory. If this value is true, then an error will be thrown if an attempt is made to associate this team with an AdUnit.
- teamAccessType - optional; type TeamAccessType - type string with restriction - enum { 'NONE', 'READ_ONLY', 'READ_WRITE' }The default access to orders, for users on this team.
- 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. - teams - optional, unbounded; type Team
Port type TeamServiceInterfaceSource 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