Web Service: UserService

Target Namespace:
https://www.google.com/apis/ads/publisher/v202502

Port UserServiceInterfacePort Port typeSource code

Location:
https://ads.google.com/apis/ads/publisher/v202502/UserService
Protocol:
SOAP
Default style:
document
Transport protocol:
SOAP over HTTP
Operations:
  1. createUsersDetailSource code
  2. getAllRolesDetailSource code
  3. getCurrentUserDetailSource code
  4. getUsersByStatementDetailSource code
  5. performUserActionDetailSource code
  6. updateUsersDetailSource code

Operations

    Port type UserServiceInterfaceSource code

    1. createUsers
      Description:
      Creates new {@link User} objects.
      Operation type:
      Request-response. The endpoint receives a message, and sends a correlated message.
      Input:
      createUsersRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source code
      parameters type createUsers
      Creates new {@link User} objects.
      • users - optional, unbounded; type User - extension of type UserRecord
        Represents a user of the system.

        Users may be assigned at most one {@link Role} per network. Each role provides a user with permissions to perform specific operations. Without a role, they will not be able to perform any actions.

        The {@code UserRecord} represents the base class from which a {@code User} is derived.
        • id - optional; type long
          The unique ID of the {@code User}. This attribute is readonly and is assigned by Google.
        • name - optional; type string
          The name of the {@code User}. It has a maximum length of 128 characters.
        • email - optional; type string
          The email or login of the {@code User}. In order to create a new user, you must already have a Google Account.
        • roleId - optional; type long
          The unique role ID of the {@code User}. Roles that are created by Google will have negative IDs.
        • roleName - optional; type string
          The name of the role assigned to the {@code User}. This attribute is readonly.
        • isActive - optional; type boolean
          Specifies whether or not the {@code User} is active. An inactive user cannot log in to the system or perform any operations. This attribute is read-only.
        • externalId - optional; type string
          An identifier for the {@code User} that is meaningful to the publisher. This attribute is optional and has a maximum length of 255 characters.
        • isServiceAccount - optional; type boolean
          Whether the user is an OAuth2 service account user. This attribute is read-only. Service account users can only be added through the UI.
        • ordersUiLocalTimeZoneId - optional; type string
          The long format timezone id (e.g. "America/Los_Angeles") used in the orders and line items UI for this {@code User}. Set this to {@code null} to indicate that no such value is defined for the {@code User} - UI then defaults to using the Network's timezone.

          This setting only affects the UI for this user and does not in particular affect the timezone of any dates and times returned in API responses.

      Output:
      createUsersResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source code
      parameters type createUsersResponse
      • rval - optional, unbounded; type User - extension of type UserRecord
        Represents a user of the system.

        Users may be assigned at most one {@link Role} per network. Each role provides a user with permissions to perform specific operations. Without a role, they will not be able to perform any actions.

        The {@code UserRecord} represents the base class from which a {@code User} is derived.
        • id - optional; type long
          The unique ID of the {@code User}. This attribute is readonly and is assigned by Google.
        • name - optional; type string
          The name of the {@code User}. It has a maximum length of 128 characters.
        • email - optional; type string
          The email or login of the {@code User}. In order to create a new user, you must already have a Google Account.
        • roleId - optional; type long
          The unique role ID of the {@code User}. Roles that are created by Google will have negative IDs.
        • roleName - optional; type string
          The name of the role assigned to the {@code User}. This attribute is readonly.
        • isActive - optional; type boolean
          Specifies whether or not the {@code User} is active. An inactive user cannot log in to the system or perform any operations. This attribute is read-only.
        • externalId - optional; type string
          An identifier for the {@code User} that is meaningful to the publisher. This attribute is optional and has a maximum length of 255 characters.
        • isServiceAccount - optional; type boolean
          Whether the user is an OAuth2 service account user. This attribute is read-only. Service account users can only be added through the UI.
        • ordersUiLocalTimeZoneId - optional; type string
          The long format timezone id (e.g. "America/Los_Angeles") used in the orders and line items UI for this {@code User}. Set this to {@code null} to indicate that no such value is defined for the {@code User} - UI then defaults to using the Network's timezone.

          This setting only affects the UI for this user and does not in particular affect the timezone of any dates and times returned in API responses.

      Fault:
      ApiException (wsdlsoap:fault, use = literal)Source code
      ApiException type ApiExceptionFault
      Exception class for holding a list of service errors.
      Base class for exceptions.
      • message - optional; type string
        Error message.
      • errors - optional, unbounded; type ApiError
        The 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 string
          The OGNL field path to identify cause of error.
        • fieldPathElements - optional, unbounded; type FieldPathElement
          A 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 string
            The name of a field in lower camelcase. (e.g. "biddingStrategy")
          • index - optional; type int
            For list fields, this is a 0-indexed position in the list. Null for non-list fields.
        • trigger - optional; type string
          The data that caused the error.
        • errorString - optional; type string
          A simple string representation of the error and reason.
        List of errors.
      A fault element of type ApiException.
    2. getAllRoles
      Description:
      Returns the {@link Role} objects that are defined for the users of the network.
      Operation type:
      Request-response. The endpoint receives a message, and sends a correlated message.
      Input:
      getAllRolesRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source code
      parameters type getAllRoles
      Returns the {@link Role} objects that are defined for the users of the network.
        Output:
        getAllRolesResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source code
        parameters type getAllRolesResponse
        • rval - optional, unbounded; type Role
          Each {@code Role} provides a user with permissions to perform specific operations in the system.
          • id - optional; type long
            The unique ID of the role. This value is readonly and is assigned by Google. Roles that are created by Google will have negative IDs.
          • name - optional; type string
            The name of the role. This value is readonly and is assigned by Google.
          • description - optional; type string
            The description of the role. This value is readonly and is assigned by Google.
          • status - optional; type RoleStatus - type string with restriction - enum { 'ACTIVE', 'INACTIVE', 'UNKNOWN' }
            The status of the {@link Role}. This field is read-only and can have the values {@link RoleStatus#ACTIVE} (default) or {@link RoleStatus#INACTIVE}, which determines the visibility of the role in the UI.
        Fault:
        ApiException (wsdlsoap:fault, use = literal)Source code
        ApiException type ApiExceptionFault
        Exception class for holding a list of service errors.
        Base class for exceptions.
        • message - optional; type string
          Error message.
        • errors - optional, unbounded; type ApiError
          The 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 string
            The OGNL field path to identify cause of error.
          • fieldPathElements - optional, unbounded; type FieldPathElement
            A 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 string
              The name of a field in lower camelcase. (e.g. "biddingStrategy")
            • index - optional; type int
              For list fields, this is a 0-indexed position in the list. Null for non-list fields.
          • trigger - optional; type string
            The data that caused the error.
          • errorString - optional; type string
            A simple string representation of the error and reason.
          List of errors.
        A fault element of type ApiException.
      • getCurrentUser
        Description:
        Returns the current {@link User}.
        Operation type:
        Request-response. The endpoint receives a message, and sends a correlated message.
        Input:
        getCurrentUserRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source code
        parameters type getCurrentUser
        Returns the current {@link User}.
          Output:
          getCurrentUserResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source code
          parameters type getCurrentUserResponse
          • rval - optional; type User - extension of type UserRecord
            Represents a user of the system.

            Users may be assigned at most one {@link Role} per network. Each role provides a user with permissions to perform specific operations. Without a role, they will not be able to perform any actions.

            The {@code UserRecord} represents the base class from which a {@code User} is derived.
            • id - optional; type long
              The unique ID of the {@code User}. This attribute is readonly and is assigned by Google.
            • name - optional; type string
              The name of the {@code User}. It has a maximum length of 128 characters.
            • email - optional; type string
              The email or login of the {@code User}. In order to create a new user, you must already have a Google Account.
            • roleId - optional; type long
              The unique role ID of the {@code User}. Roles that are created by Google will have negative IDs.
            • roleName - optional; type string
              The name of the role assigned to the {@code User}. This attribute is readonly.
            • isActive - optional; type boolean
              Specifies whether or not the {@code User} is active. An inactive user cannot log in to the system or perform any operations. This attribute is read-only.
            • externalId - optional; type string
              An identifier for the {@code User} that is meaningful to the publisher. This attribute is optional and has a maximum length of 255 characters.
            • isServiceAccount - optional; type boolean
              Whether the user is an OAuth2 service account user. This attribute is read-only. Service account users can only be added through the UI.
            • ordersUiLocalTimeZoneId - optional; type string
              The long format timezone id (e.g. "America/Los_Angeles") used in the orders and line items UI for this {@code User}. Set this to {@code null} to indicate that no such value is defined for the {@code User} - UI then defaults to using the Network's timezone.

              This setting only affects the UI for this user and does not in particular affect the timezone of any dates and times returned in API responses.

          Fault:
          ApiException (wsdlsoap:fault, use = literal)Source code
          ApiException type ApiExceptionFault
          Exception class for holding a list of service errors.
          Base class for exceptions.
          • message - optional; type string
            Error message.
          • errors - optional, unbounded; type ApiError
            The 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 string
              The OGNL field path to identify cause of error.
            • fieldPathElements - optional, unbounded; type FieldPathElement
              A 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 string
                The name of a field in lower camelcase. (e.g. "biddingStrategy")
              • index - optional; type int
                For list fields, this is a 0-indexed position in the list. Null for non-list fields.
            • trigger - optional; type string
              The data that caused the error.
            • errorString - optional; type string
              A simple string representation of the error and reason.
            List of errors.
          A fault element of type ApiException.
        • getUsersByStatement
          Description:
          Gets a {@link UserPage} of {@link User} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
          PQL Property Object Property
          {@code email} {@link User#email}
          {@code id} {@link User#id}
          {@code name} {@link User#name}
          {@code roleId} {@link User#roleId}
          {@code rolename} {@link User#roleName}
          {@code status} {@code ACTIVE} if {@link User#isActive} is true; {@code INACTIVE} otherwise
          Operation type:
          Request-response. The endpoint receives a message, and sends a correlated message.
          Input:
          getUsersByStatementRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source code
          parameters type getUsersByStatement
          Gets a {@link UserPage} of {@link User} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
          PQL Property Object Property
          {@code email} {@link User#email}
          {@code id} {@link User#id}
          {@code name} {@link User#name}
          {@code roleId} {@link User#roleId}
          {@code rolename} {@link User#roleName}
          {@code status} {@code ACTIVE} if {@link User#isActive} is true; {@code INACTIVE} otherwise
          • filterStatement - optional; type Statement
            Captures 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 string
              Holds 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_ValueMapEntry
              Holds 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.
            Output:
            getUsersByStatementResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source code
            parameters type getUsersByStatementResponse
            • rval - optional; type UserPage
              Captures a page of {@link User} objects
              • totalResultSetSize - optional; type int
                The size of the total result set to which this page belongs.
              • startIndex - optional; type int
                The absolute index in the total result set on which this page begins.
              • results - optional, unbounded; type User - extension of type UserRecord
                Represents a user of the system.

                Users may be assigned at most one {@link Role} per network. Each role provides a user with permissions to perform specific operations. Without a role, they will not be able to perform any actions.

                The {@code UserRecord} represents the base class from which a {@code User} is derived.
                • id - optional; type long
                  The unique ID of the {@code User}. This attribute is readonly and is assigned by Google.
                • name - optional; type string
                  The name of the {@code User}. It has a maximum length of 128 characters.
                • email - optional; type string
                  The email or login of the {@code User}. In order to create a new user, you must already have a Google Account.
                • roleId - optional; type long
                  The unique role ID of the {@code User}. Roles that are created by Google will have negative IDs.
                • roleName - optional; type string
                  The name of the role assigned to the {@code User}. This attribute is readonly.
                • isActive - optional; type boolean
                  Specifies whether or not the {@code User} is active. An inactive user cannot log in to the system or perform any operations. This attribute is read-only.
                • externalId - optional; type string
                  An identifier for the {@code User} that is meaningful to the publisher. This attribute is optional and has a maximum length of 255 characters.
                • isServiceAccount - optional; type boolean
                  Whether the user is an OAuth2 service account user. This attribute is read-only. Service account users can only be added through the UI.
                • ordersUiLocalTimeZoneId - optional; type string
                  The long format timezone id (e.g. "America/Los_Angeles") used in the orders and line items UI for this {@code User}. Set this to {@code null} to indicate that no such value is defined for the {@code User} - UI then defaults to using the Network's timezone.

                  This setting only affects the UI for this user and does not in particular affect the timezone of any dates and times returned in API responses.

                The collection of users contained within this page.
            Fault:
            ApiException (wsdlsoap:fault, use = literal)Source code
            ApiException type ApiExceptionFault
            Exception class for holding a list of service errors.
            Base class for exceptions.
            • message - optional; type string
              Error message.
            • errors - optional, unbounded; type ApiError
              The 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 string
                The OGNL field path to identify cause of error.
              • fieldPathElements - optional, unbounded; type FieldPathElement
                A 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 string
                  The name of a field in lower camelcase. (e.g. "biddingStrategy")
                • index - optional; type int
                  For list fields, this is a 0-indexed position in the list. Null for non-list fields.
              • trigger - optional; type string
                The data that caused the error.
              • errorString - optional; type string
                A simple string representation of the error and reason.
              List of errors.
            A fault element of type ApiException.
          • performUserAction
            Description:
            Performs actions on {@link User} objects that match the given {@link Statement#query}.
            Operation type:
            Request-response. The endpoint receives a message, and sends a correlated message.
            Input:
            performUserActionRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source code
            parameters type performUserAction
            Performs actions on {@link User} objects that match the given {@link Statement#query}.
            • userAction - optional; type UserAction
              Represents the actions that can be performed on {@link User} objects.
              • filterStatement - optional; type Statement
                Captures 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 string
                  Holds 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_ValueMapEntry
                  Holds 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.
              Output:
              performUserActionResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source code
              parameters type performUserActionResponse
              • rval - optional; type UpdateResult
                Represents the result of performing an action on objects.
                • numChanges - optional; type int
                  The number of objects that were changed as a result of performing the action.
              Fault:
              ApiException (wsdlsoap:fault, use = literal)Source code
              ApiException type ApiExceptionFault
              Exception class for holding a list of service errors.
              Base class for exceptions.
              • message - optional; type string
                Error message.
              • errors - optional, unbounded; type ApiError
                The 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 string
                  The OGNL field path to identify cause of error.
                • fieldPathElements - optional, unbounded; type FieldPathElement
                  A 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 string
                    The name of a field in lower camelcase. (e.g. "biddingStrategy")
                  • index - optional; type int
                    For list fields, this is a 0-indexed position in the list. Null for non-list fields.
                • trigger - optional; type string
                  The data that caused the error.
                • errorString - optional; type string
                  A simple string representation of the error and reason.
                List of errors.
              A fault element of type ApiException.
            • updateUsers
              Description:
              Updates the specified {@link User} objects.
              Operation type:
              Request-response. The endpoint receives a message, and sends a correlated message.
              Input:
              updateUsersRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source code
              parameters type updateUsers
              Updates the specified {@link User} objects.
              • users - optional, unbounded; type User - extension of type UserRecord
                Represents a user of the system.

                Users may be assigned at most one {@link Role} per network. Each role provides a user with permissions to perform specific operations. Without a role, they will not be able to perform any actions.

                The {@code UserRecord} represents the base class from which a {@code User} is derived.
                • id - optional; type long
                  The unique ID of the {@code User}. This attribute is readonly and is assigned by Google.
                • name - optional; type string
                  The name of the {@code User}. It has a maximum length of 128 characters.
                • email - optional; type string
                  The email or login of the {@code User}. In order to create a new user, you must already have a Google Account.
                • roleId - optional; type long
                  The unique role ID of the {@code User}. Roles that are created by Google will have negative IDs.
                • roleName - optional; type string
                  The name of the role assigned to the {@code User}. This attribute is readonly.
                • isActive - optional; type boolean
                  Specifies whether or not the {@code User} is active. An inactive user cannot log in to the system or perform any operations. This attribute is read-only.
                • externalId - optional; type string
                  An identifier for the {@code User} that is meaningful to the publisher. This attribute is optional and has a maximum length of 255 characters.
                • isServiceAccount - optional; type boolean
                  Whether the user is an OAuth2 service account user. This attribute is read-only. Service account users can only be added through the UI.
                • ordersUiLocalTimeZoneId - optional; type string
                  The long format timezone id (e.g. "America/Los_Angeles") used in the orders and line items UI for this {@code User}. Set this to {@code null} to indicate that no such value is defined for the {@code User} - UI then defaults to using the Network's timezone.

                  This setting only affects the UI for this user and does not in particular affect the timezone of any dates and times returned in API responses.

              Output:
              updateUsersResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source code
              parameters type updateUsersResponse
              • rval - optional, unbounded; type User - extension of type UserRecord
                Represents a user of the system.

                Users may be assigned at most one {@link Role} per network. Each role provides a user with permissions to perform specific operations. Without a role, they will not be able to perform any actions.

                The {@code UserRecord} represents the base class from which a {@code User} is derived.
                • id - optional; type long
                  The unique ID of the {@code User}. This attribute is readonly and is assigned by Google.
                • name - optional; type string
                  The name of the {@code User}. It has a maximum length of 128 characters.
                • email - optional; type string
                  The email or login of the {@code User}. In order to create a new user, you must already have a Google Account.
                • roleId - optional; type long
                  The unique role ID of the {@code User}. Roles that are created by Google will have negative IDs.
                • roleName - optional; type string
                  The name of the role assigned to the {@code User}. This attribute is readonly.
                • isActive - optional; type boolean
                  Specifies whether or not the {@code User} is active. An inactive user cannot log in to the system or perform any operations. This attribute is read-only.
                • externalId - optional; type string
                  An identifier for the {@code User} that is meaningful to the publisher. This attribute is optional and has a maximum length of 255 characters.
                • isServiceAccount - optional; type boolean
                  Whether the user is an OAuth2 service account user. This attribute is read-only. Service account users can only be added through the UI.
                • ordersUiLocalTimeZoneId - optional; type string
                  The long format timezone id (e.g. "America/Los_Angeles") used in the orders and line items UI for this {@code User}. Set this to {@code null} to indicate that no such value is defined for the {@code User} - UI then defaults to using the Network's timezone.

                  This setting only affects the UI for this user and does not in particular affect the timezone of any dates and times returned in API responses.

              Fault:
              ApiException (wsdlsoap:fault, use = literal)Source code
              ApiException type ApiExceptionFault
              Exception class for holding a list of service errors.
              Base class for exceptions.
              • message - optional; type string
                Error message.
              • errors - optional, unbounded; type ApiError
                The 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 string
                  The OGNL field path to identify cause of error.
                • fieldPathElements - optional, unbounded; type FieldPathElement
                  A 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 string
                    The name of a field in lower camelcase. (e.g. "biddingStrategy")
                  • index - optional; type int
                    For list fields, this is a 0-indexed position in the list. Null for non-list fields.
                • trigger - optional; type string
                  The data that caused the error.
                • errorString - optional; type string
                  A simple string representation of the error and reason.
                List of errors.
              A fault element of type ApiException.

          WSDL source code

          <?xml version="1.0"?>
          <!-- Generated file, do not edit -->
          <!-- Copyright 2025 Google Inc. All Rights Reserved -->
          <wsdl:definitions targetNamespace="https://www.google.com/apis/ads/publisher/v202502"
          xmlns:tns="https://www.google.com/apis/ads/publisher/v202502"
          xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
          xmlns:xsd="http://www.w3.org/2001/XMLSchema"
          xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
          >
          <wsdl:types>
          <schema elementFormDefault="qualified" jaxb:version="1.0" targetNamespace="https://www.google.com/apis/ads/publisher/v202502"
          xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
          >
          <complexType abstract="true" name="ObjectValue">
          <annotation>
          <documentation>Contains an object value. <p> <b>This object is experimental! <code>ObjectValue</code> is an experimental, innovative, and rapidly changing new feature for Ad Manager. Unfortunately, being on the bleeding edge means that we may make backwards-incompatible changes to <code>ObjectValue</code>. We will inform the community when this feature is no longer experimental.</b></documentation>
          </annotation>
          </complexType>
          <complexType name="ActivateUsers">
          <annotation>
          <documentation>The action used for activating {@link User} objects.</documentation>
          </annotation>
          </complexType>
          <complexType abstract="true" name="ApiError">
          <annotation>
          <documentation>The API error base class that provides details about an error that occurred while processing a service request. <p>The OGNL field path is provided for parsers to identify the request data element that may have caused the error.</p></documentation>
          </annotation>
          <sequence>
          <element maxOccurs="1" minOccurs="0" name="fieldPath" type="xsd:string">
          <annotation>
          <documentation>The OGNL field path to identify cause of error.</documentation>
          </annotation>
          </element>
          <element maxOccurs="unbounded" minOccurs="0" name="fieldPathElements" type="tns:FieldPathElement">
          <annotation>
          <documentation>A 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)}.</documentation>
          </annotation>
          </element>
          <element maxOccurs="1" minOccurs="0" name="trigger" type="xsd:string">
          <annotation>
          <documentation>The data that caused the error.</documentation>
          </annotation>
          </element>
          <element maxOccurs="1" minOccurs="0" name="errorString" type="xsd:string">
          <annotation>
          <documentation>A simple string representation of the error and reason.</documentation>
          </annotation>
          </element>
          </sequence>
          </complexType>
          <complexType name="ApiException">
          <annotation>
          <documentation>Exception class for holding a list of service errors.</documentation>
          </annotation>
          </complexType>
          <complexType name="ApplicationException">
          <annotation>
          <documentation>Base class for exceptions.</documentation>
          </annotation>
          </complexType>
          <complexType name="AuthenticationError">
          <annotation>
          <documentation>An error for an exception that occurred when authenticating.</documentation>
          </annotation>
          </complexType>
          <complexType name="BooleanValue">
          <annotation>
          <documentation>Contains a boolean value.</documentation>
          </annotation>
          </complexType>
          <complexType name="CommonError">
          <annotation>
          <documentation>A place for common errors that can be used across services.</documentation>
          </annotation>
          </complexType>
          <complexType name="CustomFieldValueError">
          <annotation>
          <documentation>Errors specific to editing custom field values</documentation>
          </annotation>
          <complexContent></complexContent>
          </complexType>
          <complexType name="Date">
          <annotation>
          <documentation>Represents a date.</documentation>
          </annotation>
          </complexType>
          <complexType name="DateTimeValue">
          <annotation>
          <documentation>Contains a date-time value.</documentation>
          </annotation>
          <complexContent></complexContent>
          </complexType>
          <complexType name="DateValue">
          <annotation>
          <documentation>Contains a date value.</documentation>
          </annotation>
          <complexContent></complexContent>
          </complexType>
          <complexType name="DeactivateUsers">
          <annotation>
          <documentation>The action used for deactivating {@link User} objects.</documentation>
          </annotation>
          </complexType>
          <complexType name="EntityLimitReachedError">
          <annotation>
          <documentation>An error that occurs when creating an entity if the limit on the number of allowed entities for a network has already been reached.</documentation>
          </annotation>
          </complexType>
          <complexType name="FeatureError">
          <annotation>
          <documentation>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.</documentation>
          </annotation>
          </complexType>
          <complexType name="FieldPathElement">
          <annotation>
          <documentation>A segment of a field path. Each dot in a field path defines a new segment.</documentation>
          </annotation>
          <sequence>
          <element maxOccurs="1" minOccurs="0" name="field" type="xsd:string">
          <annotation>
          <documentation>The name of a field in lower camelcase. (e.g. "biddingStrategy")</documentation>
          </annotation>
          </element>
          <element maxOccurs="1" minOccurs="0" name="index" type="xsd:int">
          <annotation>
          <documentation>For list fields, this is a 0-indexed position in the list. Null for non-list fields.</documentation>
          </annotation>
          </element>
          </sequence>
          </complexType>
          <complexType name="InternalApiError">
          <annotation>
          <documentation>Indicates that a server-side error has occured. {@code InternalApiError}s are generally not the result of an invalid request or message sent by the client.</documentation>
          </annotation>
          <complexContent></complexContent>
          </complexType>
          <complexType name="InvalidEmailError">
          <annotation>
          <documentation>Caused by supplying a value for an email attribute that is not a valid email address.</documentation>
          </annotation>
          </complexType>
          <complexType name="NotNullError">
          <annotation>
          <documentation>Caused by supplying a null value for an attribute that cannot be null.</documentation>
          </annotation>
          <complexContent>
          <extension base="tns:ApiError">
          <sequence>
          <element maxOccurs="1" minOccurs="0" name="reason" type="tns:NotNullError.Reason">
          <annotation>
          <documentation>The error reason represented by an enum.</documentation>
          </annotation>
          </element>
          </sequence>
          </extension>
          </complexContent>
          </complexType>
          <complexType name="NumberValue">
          <annotation>
          <documentation>Contains a numeric value.</documentation>
          </annotation>
          <complexContent>
          <extension base="tns:Value">
          <sequence>
          <element maxOccurs="1" minOccurs="0" name="value" type="xsd:string">
          <annotation>
          <documentation>The numeric value represented as a string.</documentation>
          </annotation>
          </element>
          </sequence>
          </extension>
          </complexContent>
          </complexType>
          <complexType name="ParseError">
          <annotation>
          <documentation>Lists errors related to parsing.</documentation>
          </annotation>
          <complexContent>
          <extension base="tns:ApiError">
          <sequence>
          <element maxOccurs="1" minOccurs="0" name="reason" type="tns:ParseError.Reason">
          <annotation>
          <documentation>The error reason represented by an enum.</documentation>
          </annotation>
          </element>
          </sequence>
          </extension>
          </complexContent>
          </complexType>
          <complexType name="PublisherQueryLanguageContextError">
          <annotation>
          <documentation>An error that occurs while executing a PQL query contained in a {@link Statement} object.</documentation>
          </annotation>
          </complexType>
          <complexType name="PublisherQueryLanguageSyntaxError">
          <annotation>
          <documentation>An error that occurs while parsing a PQL query contained in a {@link Statement} object.</documentation>
          </annotation>
          </complexType>
          <complexType name="QuotaError">
          <annotation>
          <documentation>Describes a client-side error on which a user is attempting to perform an action to which they have no quota remaining.</documentation>
          </annotation>
          </complexType>
          <complexType name="RequiredCollectionError">
          <annotation>
          <documentation>A list of all errors to be used for validating sizes of collections.</documentation>
          </annotation>
          </complexType>
          <complexType name="RequiredError">
          <annotation>
          <documentation>Errors due to missing required field.</documentation>
          </annotation>
          <complexContent>
          <extension base="tns:ApiError">
          <sequence>
          <element maxOccurs="1" minOccurs="0" name="reason" type="tns:RequiredError.Reason">
          <annotation>
          <documentation>The error reason represented by an enum.</documentation>
          </annotation>
          </element>
          </sequence>
          </extension>
          </complexContent>
          </complexType>
          <complexType name="Role">
          <annotation>
          <documentation>Each {@code Role} provides a user with permissions to perform specific operations in the system.</documentation>
          </annotation>
          <sequence>
          <element maxOccurs="1" minOccurs="0" name="id" type="xsd:long">
          <annotation>
          <documentation>The unique ID of the role. This value is readonly and is assigned by Google. Roles that are created by Google will have negative IDs.</documentation>
          </annotation>
          </element>
          <element maxOccurs="1" minOccurs="0" name="name" type="xsd:string">
          <annotation>
          <documentation>The name of the role. This value is readonly and is assigned by Google.</documentation>
          </annotation>
          </element>
          <element maxOccurs="1" minOccurs="0" name="description" type="xsd:string">
          <annotation>
          <documentation>The description of the role. This value is readonly and is assigned by Google.</documentation>
          </annotation>
          </element>
          <element maxOccurs="1" minOccurs="0" name="status" type="tns:RoleStatus">
          <annotation>
          <documentation>The status of the {@link Role}. This field is read-only and can have the values {@link RoleStatus#ACTIVE} (default) or {@link RoleStatus#INACTIVE}, which determines the visibility of the role in the UI.</documentation>
          </annotation>
          </element>
          </sequence>
          </complexType>
          <complexType name="SetValue">
          <annotation>
          <documentation>Contains a set of {@link Value Values}. May not contain duplicates.</documentation>
          </annotation>
          <complexContent>
          <extension base="tns:Value">
          <sequence>
          <element maxOccurs="unbounded" minOccurs="0" name="values" type="tns:Value">
          <annotation>
          <documentation>The values. They must all be the same type of {@code Value} and not contain duplicates.</documentation>
          </annotation>
          </element>
          </sequence>
          </extension>
          </complexContent>
          </complexType>
          <complexType name="SoapRequestHeader">
          <annotation>
          <documentation>Represents the SOAP request header used by API requests.</documentation>
          </annotation>
          <sequence>
          <element maxOccurs="1" minOccurs="0" name="networkCode" type="xsd:string">
          <annotation>
          <documentation>The network code to use in the context of a request.</documentation>
          </annotation>
          </element>
          <element maxOccurs="1" minOccurs="0" name="applicationName" type="xsd:string">
          <annotation>
          <documentation>The name of client library application.</documentation>
          </annotation>
          </element>
          </sequence>
          </complexType>
          <complexType name="Statement">
          <annotation>
          <documentation>Captures 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. <p> An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id LIMIT 30"}. </p> <p> Statements support bind variables. These are substitutes for literals and can be thought of as input parameters to a PQL query. </p> <p> An example of such a query might be {@code "WHERE id = :idValue"}. </p> <p> Statements also support use of the LIKE keyword. This provides wildcard string matching. </p> <p> An example of such a query might be {@code "WHERE name LIKE '%searchString%'"}. </p> 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}.</documentation>
          </annotation>
          <sequence>
          <element maxOccurs="1" minOccurs="0" name="query" type="xsd:string">
          <annotation>
          <documentation>Holds the query in PQL syntax. The syntax is:<br> <code>[WHERE <condition> {[AND | OR] <condition> ...}]</code><br> <code>[ORDER BY <property> [ASC | DESC]]</code><br> <code>[LIMIT {[<offset>,] <count>} | {<count> OFFSET <offset>}]</code><br> <p> <code><condition></code><br> &nbsp;&nbsp;&nbsp;&nbsp; <code>:= <property> {< | <= | > | >= | = | != } <value></code><br> <code><condition></code><br> &nbsp;&nbsp;&nbsp;&nbsp; <code>:= <property> {< | <= | > | >= | = | != } <bind variable></code><br> <code><condition> := <property> IN <list></code><br> <code><condition> := <property> IS NULL</code><br> <code><condition> := <property> LIKE <wildcard%match></code><br> <code><bind variable> := :<name></code><br> </p></documentation>
          </annotation>
          </element>
          <element maxOccurs="unbounded" minOccurs="0" name="values" type="tns:String_ValueMapEntry">
          <annotation>
          <documentation>Holds 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. <p> 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")}. </p></documentation>
          </annotation>
          </element>
          </sequence>
          </complexType>
          <complexType name="StatementError">
          <annotation>
          <documentation>An error that occurs while parsing {@link Statement} objects.</documentation>
          </annotation>
          <complexContent>
          <extension base="tns:ApiError">
          <sequence>
          <element maxOccurs="1" minOccurs="0" name="reason" type="tns:StatementError.Reason">
          <annotation>
          <documentation>The error reason represented by an enum.</documentation>
          </annotation>
          </element>
          </sequence>
          </extension>
          </complexContent>
          </complexType>
          <complexType name="StringFormatError">
          <annotation>
          <documentation>A list of error code for reporting invalid content of input strings.</documentation>
          </annotation>
          </complexType>
          <complexType name="StringLengthError">
          <annotation>
          <documentation>Errors for Strings which do not meet given length constraints.</documentation>
          </annotation>
          </complexType>
          <complexType name="TeamError">
          <annotation>
          <documentation>Errors related to a Team.</documentation>
          </annotation>
          <complexContent>
          <extension base="tns:ApiError">
          <sequence>
          <element maxOccurs="1" minOccurs="0" name="reason" type="tns:TeamError.Reason">
          <annotation>
          <documentation>The error reason represented by an enum.</documentation>
          </annotation>
          </element>
          </sequence>
          </extension>
          </complexContent>
          </complexType>
          <complexType name="TextValue">
          <annotation>
          <documentation>Contains a string value.</documentation>
          </annotation>
          </complexType>
          <complexType name="TokenError">
          <annotation>
          <documentation>An error for an exception that occurred when using a token.</documentation>
          </annotation>
          </complexType>
          <complexType name="TypeError">
          <annotation>
          <documentation>An error for a field which is an invalid type.</documentation>
          </annotation>
          </complexType>
          <complexType name="UniqueError">
          <annotation>
          <documentation>An error for a field which must satisfy a uniqueness constraint</documentation>
          </annotation>
          </complexType>
          <complexType name="UpdateResult">
          <annotation>
          <documentation>Represents the result of performing an action on objects.</documentation>
          </annotation>
          <sequence>
          <element maxOccurs="1" minOccurs="0" name="numChanges" type="xsd:int">
          <annotation>
          <documentation>The number of objects that were changed as a result of performing the action.</documentation>
          </annotation>
          </element>
          </sequence>
          </complexType>
          <complexType abstract="true" name="UserAction">
          <annotation>
          <documentation>Represents the actions that can be performed on {@link User} objects.</documentation>
          </annotation>
          </complexType>
          <complexType name="User">
          <annotation>
          <documentation>Represents a user of the system. <p>Users may be assigned at most one {@link Role} per network. Each role provides a user with permissions to perform specific operations. Without a role, they will not be able to perform any actions.</documentation>
          </annotation>
          <complexContent>
          <extension base="tns:UserRecord">
          <sequence>
          <element maxOccurs="1" minOccurs="0" name="isActive" type="xsd:boolean">
          <annotation>
          <documentation>Specifies whether or not the {@code User} is active. An inactive user cannot log in to the system or perform any operations. This attribute is read-only.</documentation>
          </annotation>
          </element>
          <element maxOccurs="1" minOccurs="0" name="externalId" type="xsd:string">
          <annotation>
          <documentation>An identifier for the {@code User} that is meaningful to the publisher. This attribute is optional and has a maximum length of 255 characters.</documentation>
          </annotation>
          </element>
          <element maxOccurs="1" minOccurs="0" name="isServiceAccount" type="xsd:boolean">
          <annotation>
          <documentation>Whether the user is an OAuth2 service account user. This attribute is read-only. Service account users can only be added through the UI.</documentation>
          </annotation>
          </element>
          <element maxOccurs="1" minOccurs="0" name="ordersUiLocalTimeZoneId" type="xsd:string">
          <annotation>
          <documentation>The long format timezone id (e.g. "America/Los_Angeles") used in the orders and line items UI for this {@code User}. Set this to {@code null} to indicate that no such value is defined for the {@code User} - UI then defaults to using the Network's timezone. <p>This setting only affects the UI for this user and does not in particular affect the timezone of any dates and times returned in API responses.</documentation>
          </annotation>
          </element>
          </sequence>
          </extension>
          </complexContent>
          </complexType>
          <complexType name="UserPage">
          <annotation>
          <documentation>Captures a page of {@link User} objects</documentation>
          </annotation>
          <sequence>
          <element maxOccurs="1" minOccurs="0" name="totalResultSetSize" type="xsd:int">
          <annotation>
          <documentation>The size of the total result set to which this page belongs.</documentation>
          </annotation>
          </element>
          <element maxOccurs="1" minOccurs="0" name="startIndex" type="xsd:int">
          <annotation>
          <documentation>The absolute index in the total result set on which this page begins.</documentation>
          </annotation>
          </element>
          <element maxOccurs="unbounded" minOccurs="0" name="results" type="tns:User">
          <annotation>
          <documentation>The collection of users contained within this page.</documentation>
          </annotation>
          </element>
          </sequence>
          </complexType>
          <complexType name="UserRecord">
          <annotation>
          <documentation>The {@code UserRecord} represents the base class from which a {@code User} is derived.</documentation>
          </annotation>
          <sequence>
          <element maxOccurs="1" minOccurs="0" name="id" type="xsd:long">
          <annotation>
          <documentation>The unique ID of the {@code User}. This attribute is readonly and is assigned by Google.</documentation>
          </annotation>
          </element>
          <element maxOccurs="1" minOccurs="0" name="name" type="xsd:string">
          <annotation>
          <documentation>The name of the {@code User}. It has a maximum length of 128 characters.</documentation>
          </annotation>
          </element>
          <element maxOccurs="1" minOccurs="0" name="email" type="xsd:string">
          <annotation>
          <documentation>The email or login of the {@code User}. In order to create a new user, you must already have a <a href="https://www.google.com/accounts/ManageAccount">Google Account</a>.</documentation>
          </annotation>
          </element>
          <element maxOccurs="1" minOccurs="0" name="roleId" type="xsd:long">
          <annotation>
          <documentation>The unique role ID of the {@code User}. Roles that are created by Google will have negative IDs.</documentation>
          </annotation>
          </element>
          <element maxOccurs="1" minOccurs="0" name="roleName" type="xsd:string">
          <annotation>
          <documentation>The name of the role assigned to the {@code User}. This attribute is readonly.</documentation>
          </annotation>
          </element>
          </sequence>
          </complexType>
          <complexType abstract="true" name="Value">
          <annotation>
          <documentation>{@code Value} represents a value.</documentation>
          </annotation>
          </complexType>
          <simpleType name="ApiVersionError.Reason">
          <restriction base="xsd:string">
          <enumeration value="UPDATE_TO_NEWER_VERSION">
          <annotation>
          <documentation>Indicates that the operation is not allowed in the version the request was made in.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="AuthenticationError.Reason">
          <restriction base="xsd:string">
          <enumeration value="AMBIGUOUS_SOAP_REQUEST_HEADER">
          <annotation>
          <documentation>The SOAP message contains a request header with an ambiguous definition of the authentication header fields. This means either the {@code authToken} and {@code oAuthToken} fields were both null or both were specified. Exactly one value should be specified with each request.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="INVALID_EMAIL">
          <annotation>
          <documentation>The login provided is invalid.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="AUTHENTICATION_FAILED">
          <annotation>
          <documentation>Tried to authenticate with provided information, but failed.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="INVALID_OAUTH_SIGNATURE">
          <annotation>
          <documentation>The OAuth provided is invalid.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="INVALID_SERVICE">
          <annotation>
          <documentation>The specified service to use was not recognized.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="MISSING_SOAP_REQUEST_HEADER">
          <annotation>
          <documentation>The SOAP message is missing a request header with an {@code authToken} and optional {@code networkCode}.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="MISSING_AUTHENTICATION_HTTP_HEADER">
          <annotation>
          <documentation>The HTTP request is missing a request header with an {@code authToken}</documentation>
          </annotation>
          </enumeration>
          <enumeration value="MISSING_AUTHENTICATION">
          <annotation>
          <documentation>The request is missing an {@code authToken}</documentation>
          </annotation>
          </enumeration>
          <enumeration value="NETWORK_API_ACCESS_DISABLED">
          <annotation>
          <documentation>The network does not have API access enabled.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="NO_NETWORKS_TO_ACCESS">
          <annotation>
          <documentation>The user is not associated with any network.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="NETWORK_NOT_FOUND">
          <annotation>
          <documentation>No network for the given {@code networkCode} was found.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="NETWORK_CODE_REQUIRED">
          <annotation>
          <documentation>The user has access to more than one network, but did not provide a {@code networkCode}.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="CONNECTION_ERROR">
          <annotation>
          <documentation>An error happened on the server side during connection to authentication service.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK">
          <annotation>
          <documentation>The user tried to create a test network using an account that already is associated with a network.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNDER_INVESTIGATION">
          <annotation>
          <documentation>The account is blocked and under investigation by the collections team. Please contact Google for more information.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="CollectionSizeError.Reason">
          <restriction base="xsd:string">
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="CommonError.Reason">
          <annotation>
          <documentation>Describes reasons for common errors</documentation>
          </annotation>
          <restriction base="xsd:string">
          <enumeration value="NOT_FOUND">
          <annotation>
          <documentation>Indicates that an attempt was made to retrieve an entity that does not exist.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="ALREADY_EXISTS">
          <annotation>
          <documentation>Indicates that an attempt was made to create an entity that already exists.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="NOT_APPLICABLE">
          <annotation>
          <documentation>Indicates that a value is not applicable for given use case.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="DUPLICATE_OBJECT">
          <annotation>
          <documentation>Indicates that two elements in the collection were identical.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="CANNOT_UPDATE">
          <annotation>
          <documentation>Indicates that an attempt was made to change an immutable field.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNSUPPORTED_OPERATION">
          <annotation>
          <documentation>Indicates that the requested operation is not supported.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="CONCURRENT_MODIFICATION">
          <annotation>
          <documentation>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.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="CustomFieldValueError.Reason">
          <annotation>
          <documentation>The reasons for the target error.</documentation>
          </annotation>
          <restriction base="xsd:string">
          <enumeration value="CUSTOM_FIELD_NOT_FOUND">
          <annotation>
          <documentation>An attempt was made to modify or create a {@link CustomFieldValue} for a {@link CustomField} that does not exist.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="CUSTOM_FIELD_INACTIVE">
          <annotation>
          <documentation>An attempt was made to create a new value for a custom field that is inactive.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="CUSTOM_FIELD_OPTION_NOT_FOUND">
          <annotation>
          <documentation>An attempt was made to modify or create a {@link CustomFieldValue} corresponding to a {@link CustomFieldOption} that could not be found.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="INVALID_ENTITY_TYPE">
          <annotation>
          <documentation>An attempt was made to modify or create a {@link CustomFieldValue} with an association to an entity of the wrong type for its field.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="EntityLimitReachedError.Reason">
          <annotation>
          <documentation>The reasons for the entity limit reached error.</documentation>
          </annotation>
          <restriction base="xsd:string">
          <enumeration value="CUSTOM_TARGETING_VALUES_LIMIT_REACHED">
          <annotation>
          <documentation>The number of custom targeting values exceeds the max number allowed in the network.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="AD_EXCLUSION_RULES_LIMIT_REACHED">
          <annotation>
          <documentation>The number of ad exclusion rules exceeds the max number allowed in the network.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="FIRST_PARTY_AUDIENCE_SEGMENTS_LIMIT_REACHED">
          <annotation>
          <documentation>The number of first party audience segments exceeds the max number allowed in the network.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="PLACEMENTS_LIMIT_REACHED">
          <annotation>
          <documentation>The number of active placements exceeds the max number allowed in the network.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="LINE_ITEMS_LIMIT_REACHED">
          <annotation>
          <documentation>The number of line items excceeds the max number allowed in the network.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="ACTIVE_LINE_ITEMS_LIMIT_REACHED">
          <annotation>
          <documentation>The number of active line items exceeds the max number allowed in the network.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="DAI_ENCODING_PROFILES_LIMIT_REACHED">
          <annotation>
          <documentation>The number of not-archived encoding profiles exceeds the max number allowed in the network.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="TRAFFIC_FORECAST_SEGMENTS_LIMIT_REACHED">
          <annotation>
          <documentation>The number of traffic forecast segments exceeds the max number allowed in the network.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="FORECAST_ADJUSTMENTS_LIMIT_REACHED">
          <annotation>
          <documentation>The number of forecast adjustments exceeds the max number allowed in the network.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="ACTIVE_EXPERIMENTS_LIMIT_REACHED">
          <annotation>
          <documentation>The number of active experiments exceeds the max number allowed in the network.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="SITES_LIMIT_REACHED">
          <annotation>
          <documentation>The number of sites exceeds the max number allowed in the network.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="USER_TEAMS_LIMIT_REACHED">
          <annotation>
          <documentation>The number of teams on the user exceeds the max number allowed.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="ACTIVE_TARGETING_PRESETS_LIMIT_REACHED">
          <annotation>
          <documentation>The count of active targeting presets exceeds the limit.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="FeatureError.Reason">
          <restriction base="xsd:string">
          <enumeration value="MISSING_FEATURE">
          <annotation>
          <documentation>A feature is being used that is not enabled on the current network.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="InternalApiError.Reason">
          <annotation>
          <documentation>The single reason for the internal API error.</documentation>
          </annotation>
          <restriction base="xsd:string">
          <enumeration value="UNEXPECTED_INTERNAL_API_ERROR">
          <annotation>
          <documentation>API encountered an unexpected internal error.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="TRANSIENT_ERROR">
          <annotation>
          <documentation>A temporary error occurred during the request. Please retry.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The cause of the error is not known or only defined in newer versions.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="DOWNTIME">
          <annotation>
          <documentation>The API is currently unavailable for a planned downtime.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="ERROR_GENERATING_RESPONSE">
          <annotation>
          <documentation>Mutate succeeded but server was unable to build response. Client should not retry mutate.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="InvalidEmailError.Reason">
          <annotation>
          <documentation>Describes reasons for an email to be invalid.</documentation>
          </annotation>
          <restriction base="xsd:string">
          <enumeration value="INVALID_FORMAT">
          <annotation>
          <documentation>The value is not a valid email address.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="NotNullError.Reason">
          <annotation>
          <documentation>The reasons for the target error.</documentation>
          </annotation>
          <restriction base="xsd:string">
          <enumeration value="ARG1_NULL">
          <annotation>
          <documentation>Assuming that a method will not have more than 3 arguments, if it does, return NULL</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="ParseError.Reason">
          <annotation>
          <documentation>The reasons for the target error.</documentation>
          </annotation>
          <restriction base="xsd:string">
          <enumeration value="UNPARSABLE">
          <annotation>
          <documentation>Indicates an error in parsing an attribute.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="PermissionError.Reason">
          <annotation>
          <documentation>Describes reasons for permission errors.</documentation>
          </annotation>
          <restriction base="xsd:string">
          <enumeration value="PERMISSION_DENIED">
          <annotation>
          <documentation>User does not have the required permission for the request.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="PublisherQueryLanguageContextError.Reason">
          <annotation>
          <documentation>The reasons for the target error.</documentation>
          </annotation>
          <restriction base="xsd:string">
          <enumeration value="UNEXECUTABLE">
          <annotation>
          <documentation>Indicates that there was an error executing the PQL.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="PublisherQueryLanguageSyntaxError.Reason">
          <annotation>
          <documentation>The reasons for the target error.</documentation>
          </annotation>
          <restriction base="xsd:string">
          <enumeration value="UNPARSABLE">
          <annotation>
          <documentation>Indicates that there was a PQL syntax error.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="QuotaError.Reason">
          <restriction base="xsd:string">
          <enumeration value="EXCEEDED_QUOTA">
          <annotation>
          <documentation>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. <p>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.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="REPORT_JOB_LIMIT">
          <annotation>
          <documentation>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 {@link 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. <p>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.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="SEGMENT_POPULATION_LIMIT">
          <annotation>
          <documentation>This network has exceeded the allowed number of identifiers uploaded within a 24 hour period. The recommended approach to handle this error is to wait 30 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.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="RequiredCollectionError.Reason">
          <restriction base="xsd:string">
          <enumeration value="REQUIRED">
          <annotation>
          <documentation>A required collection is missing.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="TOO_LARGE">
          <annotation>
          <documentation>Collection size is too large.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="TOO_SMALL">
          <annotation>
          <documentation>Collection size is too small.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="RequiredError.Reason">
          <annotation>
          <documentation>The reasons for the target error.</documentation>
          </annotation>
          <restriction base="xsd:string">
          <enumeration value="REQUIRED">
          <annotation>
          <documentation>Missing required field.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="RoleStatus">
          <annotation>
          <documentation>Represents the status of the role, weather the role is active or inactive.</documentation>
          </annotation>
          <restriction base="xsd:string">
          <enumeration value="ACTIVE">
          <annotation>
          <documentation>The status of an active role. (i.e. visible in the UI)</documentation>
          </annotation>
          </enumeration>
          <enumeration value="INACTIVE">
          <annotation>
          <documentation>The status of an inactive role. (i.e. hidden in the UI)</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="ServerError.Reason">
          <annotation>
          <documentation>Describes reasons for server errors</documentation>
          </annotation>
          <restriction base="xsd:string">
          <enumeration value="SERVER_ERROR">
          <annotation>
          <documentation>Indicates that an unexpected error occured.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="SERVER_BUSY">
          <annotation>
          <documentation>Indicates that the server is currently experiencing a high load. Please wait and try your request again.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="StatementError.Reason">
          <restriction base="xsd:string">
          <enumeration value="VARIABLE_NOT_BOUND_TO_VALUE">
          <annotation>
          <documentation>A bind variable has not been bound to a value.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="StringFormatError.Reason">
          <annotation>
          <documentation>The reasons for the target error.</documentation>
          </annotation>
          <restriction base="xsd:string">
          <enumeration value="ILLEGAL_CHARS">
          <annotation>
          <documentation>The input string value contains disallowed characters.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="INVALID_FORMAT">
          <annotation>
          <documentation>The input string value is invalid for the associated field.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="StringLengthError.Reason">
          <restriction base="xsd:string">
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="TeamError.Reason">
          <annotation>
          <documentation>The reasons for the target error.</documentation>
          </annotation>
          <restriction base="xsd:string">
          <enumeration value="ENTITY_NOT_ON_USERS_TEAMS">
          <annotation>
          <documentation>User cannot use this entity because it is not on any of the user's teams.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="AD_UNITS_NOT_ON_ORDER_TEAMS">
          <annotation>
          <documentation>The targeted or excluded ad unit must be on the order's teams.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="PLACEMENTS_NOT_ON_ORDER_TEAMS">
          <annotation>
          <documentation>The targeted placement must be on the order's teams.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="MISSING_USERS_TEAM">
          <annotation>
          <documentation>Entity cannot be created because it is not on any of the user's teams.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="ALL_TEAM_ASSOCIATION_NOT_ALLOWED">
          <annotation>
          <documentation>A team that gives access to all entities of a given type cannot be associated with an entity of that type.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="INVALID_TEAM_ASSIGNMENT">
          <annotation>
          <documentation>The assignment of team to entities is invalid.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="CANNOT_UPDATE_INACTIVE_TEAM">
          <annotation>
          <documentation>Cannot modify or create a team with an inactive status.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="TimeZoneError.Reason">
          <annotation>
          <documentation>Describes reasons for invalid timezone.</documentation>
          </annotation>
          <restriction base="xsd:string">
          <enumeration value="INVALID_TIMEZONE_ID">
          <annotation>
          <documentation>Indicates that the timezone ID provided is not supported.</documentation>
          </annotation>
          </enumeration>
          <enumeration value="TIMEZONE_ID_IN_WRONG_FORMAT">
          <annotation>
          <documentation>Indicates that the timezone ID provided is in the wrong format. The timezone ID must be in tz database format (e.g. "America/Los_Angeles").</documentation>
          </annotation>
          </enumeration>
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <simpleType name="TokenError.Reason">
          <restriction base="xsd:string">
          <enumeration value="UNKNOWN">
          <annotation>
          <documentation>The value returned if the actual value is not exposed by the requested API version.</documentation>
          </annotation>
          </enumeration>
          </restriction>
          </simpleType>
          <element name="ApiExceptionFault" type="tns:ApiException">
          <annotation>
          <documentation>A fault element of type ApiException.</documentation>
          </annotation>
          </element>
          <element name="getAllRoles">
          <annotation>
          <documentation>Returns the {@link Role} objects that are defined for the users of the network.</documentation>
          </annotation>
          </element>
          <element name="getCurrentUser">
          <annotation>
          <documentation>Returns the current {@link User}.</documentation>
          </annotation>
          </element>
          <element name="getUsersByStatement">
          <annotation>
          <documentation>Gets a {@link UserPage} of {@link User} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering: <table> <tr> <th scope="col">PQL Property</th> <th scope="col">Object Property</th> </tr> <tr> <td>{@code email}</td> <td>{@link User#email}</td> </tr> <tr> <td>{@code id}</td> <td>{@link User#id}</td> </tr> <tr> <td>{@code name}</td> <td>{@link User#name}</td> </tr> <tr> <td>{@code roleId}</td> <td>{@link User#roleId} </tr> <tr> <td>{@code rolename}</td> <td>{@link User#roleName} </tr> <tr> <td>{@code status}</td> <td>{@code ACTIVE} if {@link User#isActive} is true; {@code INACTIVE} otherwise</td> </tr> </table></documentation>
          </annotation>
          </element>
          <element name="updateUsers">
          <annotation>
          <documentation>Updates the specified {@link User} objects.</documentation>
          </annotation>
          </element>
          </schema>
          </wsdl:types>
          <wsdl:portType name="UserServiceInterface">
          <wsdl:documentation>Provides operations for creating, updating and retrieving {@link User} objects. <p>A user is assigned one of several different roles. Each {@link Role} type has a unique ID that is used to identify that role in an organization. Role types and their IDs can be retrieved by invoking {@link #getAllRoles}.</wsdl:documentation>
          <wsdl:operation name="getUsersByStatement">
          <wsdl:documentation>Gets a {@link UserPage} of {@link User} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering: <table> <tr> <th scope="col">PQL Property</th> <th scope="col">Object Property</th> </tr> <tr> <td>{@code email}</td> <td>{@link User#email}</td> </tr> <tr> <td>{@code id}</td> <td>{@link User#id}</td> </tr> <tr> <td>{@code name}</td> <td>{@link User#name}</td> </tr> <tr> <td>{@code roleId}</td> <td>{@link User#roleId} </tr> <tr> <td>{@code rolename}</td> <td>{@link User#roleName} </tr> <tr> <td>{@code status}</td> <td>{@code ACTIVE} if {@link User#isActive} is true; {@code INACTIVE} otherwise</td> </tr> </table></wsdl:documentation>
          </wsdl:operation>
          </wsdl:portType>
          <wsdl:binding name="UserServiceSoapBinding" type="tns:UserServiceInterface"></wsdl:binding>
          </wsdl:definitions>

          About wsdl-viewer.xsl

          This document was generated by SAXON 9.1.0.8 from Saxonica XSLT engine. The engine processed the WSDL in XSLT 2.0 compliant mode.
          This page has been generated bywsdl-viewer.xsl, version 3.1.02
          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