Web Service: SiteService

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

Port SiteServiceInterfacePort Port typeSource code

Location:
https://ads.google.com/apis/ads/publisher/v202502/SiteService
Protocol:
SOAP
Default style:
document
Transport protocol:
SOAP over HTTP
Operations:
  1. createSitesDetailSource code
  2. getSitesByStatementDetailSource code
  3. performSiteActionDetailSource code
  4. updateSitesDetailSource code

Operations

    Port type SiteServiceInterfaceSource code

    1. createSites
      Description:
      Creates new {@link Site} objects.
      Operation type:
      Request-response. The endpoint receives a message, and sends a correlated message.
      Input:
      createSitesRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source code
      parameters type createSites
      Creates new {@link Site} objects.
      • sites - optional, unbounded; type Site
        • id - optional; type long
        • url - optional; type string
        • childNetworkCode - optional; type string
        • approvalStatus - optional; type ApprovalStatus - type string with restriction - enum { 'DRAFT', 'UNCHECKED', 'APPROVED', 'DISAPPROVED', 'REQUIRES_REVIEW', 'UNKNOWN' }
        • approvalStatusUpdateTime - optional; type DateTime
          • date - optional; type Date
            • year - optional; type int
            • month - optional; type int
            • day - optional; type int
          • hour - optional; type int
          • minute - optional; type int
          • second - optional; type int
          • timeZoneId - optional; type string
        • disapprovalReasons - optional, unbounded; type DisapprovalReason
          • type - optional; type DisapprovalReason.Type - type string with restriction - enum { 'CONTENT', 'OWNERSHIP', 'OTHER', 'UNKNOWN' }
          • details - optional; type string
      Output:
      createSitesResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source code
      parameters type createSitesResponse
      • rval - optional, unbounded; type Site
        • id - optional; type long
        • url - optional; type string
        • childNetworkCode - optional; type string
        • approvalStatus - optional; type ApprovalStatus - type string with restriction - enum { 'DRAFT', 'UNCHECKED', 'APPROVED', 'DISAPPROVED', 'REQUIRES_REVIEW', 'UNKNOWN' }
        • approvalStatusUpdateTime - optional; type DateTime
          • date - optional; type Date
            • year - optional; type int
            • month - optional; type int
            • day - optional; type int
          • hour - optional; type int
          • minute - optional; type int
          • second - optional; type int
          • timeZoneId - optional; type string
        • disapprovalReasons - optional, unbounded; type DisapprovalReason
          • type - optional; type DisapprovalReason.Type - type string with restriction - enum { 'CONTENT', 'OWNERSHIP', 'OTHER', 'UNKNOWN' }
          • details - optional; type string
      Fault:
      ApiException (wsdlsoap:fault, use = literal)Source code
      ApiException type ApiExceptionFault
      • message - optional; type string
      • errors - optional, unbounded; type ApiError
        • fieldPath - optional; type string
        • fieldPathElements - optional, unbounded; type FieldPathElement
          • field - optional; type string
          • index - optional; type int
        • trigger - optional; type string
        • errorString - optional; type string
      A fault element of type ApiException.
    2. getSitesByStatement
      Description:
      Gets a {@link SitePage} of {@link Site} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
      PQL Property Object Property
      {@code id} {@link Site#id}
      {@code url} {@link Site#url}
      {@code childNetworkCode} {@link Site#childNetworkCode}
      {@code approvalStatus} {@link Site#approvalStatus}
      {@code lastModifiedApprovalStatusDateTime}
      Restriction: The {@code lastModifiedApprovalStatusDateTime} PQL property can only be used in a top-level expression scoping the {@code filterStatement} to {@link Site}s whose {@code approvalStatus} was modified on or after a specified date and time. (e.x. {@code "WHERE lastModifiedApprovalStatusDateTime >= '2022-01-01T00:00:00'"}).
      Operation type:
      Request-response. The endpoint receives a message, and sends a correlated message.
      Input:
      getSitesByStatementRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source code
      parameters type getSitesByStatement
      Gets a {@link SitePage} of {@link Site} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
      PQL Property Object Property
      {@code id} {@link Site#id}
      {@code url} {@link Site#url}
      {@code childNetworkCode} {@link Site#childNetworkCode}
      {@code approvalStatus} {@link Site#approvalStatus}
      {@code lastModifiedApprovalStatusDateTime}
      Restriction: The {@code lastModifiedApprovalStatusDateTime} PQL property can only be used in a top-level expression scoping the {@code filterStatement} to {@link Site}s whose {@code approvalStatus} was modified on or after a specified date and time. (e.x. {@code "WHERE lastModifiedApprovalStatusDateTime >= '2022-01-01T00:00:00'"}).
      • filterStatement - optional; type Statement
        • query - optional; type string
        • values - optional, unbounded; type String_ValueMapEntry
          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
        Output:
        getSitesByStatementResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source code
        parameters type getSitesByStatementResponse
        • rval - optional; type SitePage
          • totalResultSetSize - optional; type int
          • startIndex - optional; type int
          • results - optional, unbounded; type Site
            • id - optional; type long
            • url - optional; type string
            • childNetworkCode - optional; type string
            • approvalStatus - optional; type ApprovalStatus - type string with restriction - enum { 'DRAFT', 'UNCHECKED', 'APPROVED', 'DISAPPROVED', 'REQUIRES_REVIEW', 'UNKNOWN' }
            • approvalStatusUpdateTime - optional; type DateTime
              • date - optional; type Date
                • year - optional; type int
                • month - optional; type int
                • day - optional; type int
              • hour - optional; type int
              • minute - optional; type int
              • second - optional; type int
              • timeZoneId - optional; type string
            • disapprovalReasons - optional, unbounded; type DisapprovalReason
              • type - optional; type DisapprovalReason.Type - type string with restriction - enum { 'CONTENT', 'OWNERSHIP', 'OTHER', 'UNKNOWN' }
              • details - optional; type string
        Fault:
        ApiException (wsdlsoap:fault, use = literal)Source code
        ApiException type ApiExceptionFault
        • message - optional; type string
        • errors - optional, unbounded; type ApiError
          • fieldPath - optional; type string
          • fieldPathElements - optional, unbounded; type FieldPathElement
            • field - optional; type string
            • index - optional; type int
          • trigger - optional; type string
          • errorString - optional; type string
        A fault element of type ApiException.
      • performSiteAction
        Description:
        Performs actions on {@link Site} objects that match the given {@link Statement#query}.
        Operation type:
        Request-response. The endpoint receives a message, and sends a correlated message.
        Input:
        performSiteActionRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source code
        parameters type performSiteAction
        Performs actions on {@link Site} objects that match the given {@link Statement#query}.
        • siteAction - optional; type SiteAction
          • filterStatement - optional; type Statement
            • query - optional; type string
            • values - optional, unbounded; type String_ValueMapEntry
              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
          Output:
          performSiteActionResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source code
          parameters type performSiteActionResponse
          • rval - optional; type UpdateResult
            • numChanges - optional; type int
          Fault:
          ApiException (wsdlsoap:fault, use = literal)Source code
          ApiException type ApiExceptionFault
          • message - optional; type string
          • errors - optional, unbounded; type ApiError
            • fieldPath - optional; type string
            • fieldPathElements - optional, unbounded; type FieldPathElement
              • field - optional; type string
              • index - optional; type int
            • trigger - optional; type string
            • errorString - optional; type string
          A fault element of type ApiException.
        • updateSites
          Description:
          Updates the specified {@link Site} objects.

          The {@link Site#childNetworkCode} can be updated in order to 1) change the child network, 2) move a site from O&O to represented, or 3) move a site from represented to O&O.

          Operation type:
          Request-response. The endpoint receives a message, and sends a correlated message.
          Input:
          updateSitesRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source code
          parameters type updateSites
          Updates the specified {@link Site} objects.

          The {@link Site#childNetworkCode} can be updated in order to 1) change the child network, 2) move a site from O&O to represented, or 3) move a site from represented to O&O.

          • sites - optional, unbounded; type Site
            • id - optional; type long
            • url - optional; type string
            • childNetworkCode - optional; type string
            • approvalStatus - optional; type ApprovalStatus - type string with restriction - enum { 'DRAFT', 'UNCHECKED', 'APPROVED', 'DISAPPROVED', 'REQUIRES_REVIEW', 'UNKNOWN' }
            • approvalStatusUpdateTime - optional; type DateTime
              • date - optional; type Date
                • year - optional; type int
                • month - optional; type int
                • day - optional; type int
              • hour - optional; type int
              • minute - optional; type int
              • second - optional; type int
              • timeZoneId - optional; type string
            • disapprovalReasons - optional, unbounded; type DisapprovalReason
              • type - optional; type DisapprovalReason.Type - type string with restriction - enum { 'CONTENT', 'OWNERSHIP', 'OTHER', 'UNKNOWN' }
              • details - optional; type string
          Output:
          updateSitesResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source code
          parameters type updateSitesResponse
          • rval - optional, unbounded; type Site
            • id - optional; type long
            • url - optional; type string
            • childNetworkCode - optional; type string
            • approvalStatus - optional; type ApprovalStatus - type string with restriction - enum { 'DRAFT', 'UNCHECKED', 'APPROVED', 'DISAPPROVED', 'REQUIRES_REVIEW', 'UNKNOWN' }
            • approvalStatusUpdateTime - optional; type DateTime
              • date - optional; type Date
                • year - optional; type int
                • month - optional; type int
                • day - optional; type int
              • hour - optional; type int
              • minute - optional; type int
              • second - optional; type int
              • timeZoneId - optional; type string
            • disapprovalReasons - optional, unbounded; type DisapprovalReason
              • type - optional; type DisapprovalReason.Type - type string with restriction - enum { 'CONTENT', 'OWNERSHIP', 'OTHER', 'UNKNOWN' }
              • details - optional; type string
          Fault:
          ApiException (wsdlsoap:fault, use = literal)Source code
          ApiException type ApiExceptionFault
          • message - optional; type string
          • errors - optional, unbounded; type ApiError
            • fieldPath - optional; type string
            • fieldPathElements - optional, unbounded; type FieldPathElement
              • field - optional; type string
              • index - optional; type int
            • trigger - optional; type string
            • errorString - optional; type string
          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"
      >
      <element name="ApiExceptionFault" type="tns:ApiException">
      <annotation>
      <documentation>A fault element of type ApiException.</documentation>
      </annotation>
      </element>
      <element name="getSitesByStatement">
      <annotation>
      <documentation>Gets a {@link SitePage} of {@link Site} 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 id}</td> <td>{@link Site#id}</td> </tr> <tr> <td>{@code url}</td> <td>{@link Site#url}</td> </tr> <tr> <td>{@code childNetworkCode}</td> <td>{@link Site#childNetworkCode}</td> </tr> <tr> <td>{@code approvalStatus}</td> <td>{@link Site#approvalStatus}</td> </tr> <tr> <td>{@code lastModifiedApprovalStatusDateTime}</td> <td></td> </tr> </table> Restriction: The {@code lastModifiedApprovalStatusDateTime} PQL property can only be used in a top-level expression scoping the {@code filterStatement} to {@link Site}s whose {@code approvalStatus} was modified on or after a specified date and time. (e.x. {@code "WHERE lastModifiedApprovalStatusDateTime >= '2022-01-01T00:00:00'"}).</documentation>
      </annotation>
      </element>
      <element name="updateSites">
      <annotation>
      <documentation>Updates the specified {@link Site} objects. <p>The {@link Site#childNetworkCode} can be updated in order to 1) change the child network, 2) move a site from O&O to represented, or 3) move a site from represented to O&O.</documentation>
      </annotation>
      </element>
      </schema>
      </wsdl:types>
      <wsdl:portType name="SiteServiceInterface">
      <wsdl:operation name="getSitesByStatement">
      <wsdl:documentation>Gets a {@link SitePage} of {@link Site} 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 id}</td> <td>{@link Site#id}</td> </tr> <tr> <td>{@code url}</td> <td>{@link Site#url}</td> </tr> <tr> <td>{@code childNetworkCode}</td> <td>{@link Site#childNetworkCode}</td> </tr> <tr> <td>{@code approvalStatus}</td> <td>{@link Site#approvalStatus}</td> </tr> <tr> <td>{@code lastModifiedApprovalStatusDateTime}</td> <td></td> </tr> </table> Restriction: The {@code lastModifiedApprovalStatusDateTime} PQL property can only be used in a top-level expression scoping the {@code filterStatement} to {@link Site}s whose {@code approvalStatus} was modified on or after a specified date and time. (e.x. {@code "WHERE lastModifiedApprovalStatusDateTime >= '2022-01-01T00:00:00'"}).</wsdl:documentation>
      </wsdl:operation>
      <wsdl:operation name="updateSites">
      <wsdl:documentation>Updates the specified {@link Site} objects. <p>The {@link Site#childNetworkCode} can be updated in order to 1) change the child network, 2) move a site from O&O to represented, or 3) move a site from represented to O&O.</wsdl:documentation>
      </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="SiteServiceSoapBinding" type="tns:SiteServiceInterface"></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