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:
- createSitesDetailSource code
- getSitesByStatementDetailSource code
- performSiteActionDetailSource code
- updateSitesDetailSource code
Operations
- createSitesDescription: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 codeparameters type createSitesCreates 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
- date - optional; type Date
- 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 codeparameters 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
- date - optional; type Date
- 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 codeApiException 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. - sites - optional, unbounded; type Site
- getSitesByStatementDescription:Gets a {@link SitePage} of {@link Site} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
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'"}).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} Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:getSitesByStatementRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type getSitesByStatementGets a {@link SitePage} of {@link Site} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
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'"}).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} - filterStatement - optional; type Statement
- query - optional; type string
- values - optional, unbounded; type String_ValueMapEntryThis 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 codeparameters 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
- date - optional; type Date
- 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 codeApiException 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. - filterStatement - optional; type Statement
- performSiteActionDescription: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 codeparameters type performSiteActionPerforms 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_ValueMapEntryThis 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 codeparameters type performSiteActionResponse- rval - optional; type UpdateResult
- numChanges - optional; type int
Fault:ApiException (wsdlsoap:fault, use = literal)Source codeApiException 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. - siteAction - optional; type SiteAction
- updateSitesDescription: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 codeparameters type updateSitesUpdates 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
- date - optional; type Date
- 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 codeparameters 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
- date - optional; type Date
- 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 codeApiException 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. - sites - optional, unbounded; type Site
Port type SiteServiceInterfaceSource code
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"
</wsdl:types> xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
><annotation></annotation>
<complexType abstract="true" name="ObjectValue">
<complexContent>
</complexType><extension base="tns:Value"></extension>
</complexContent><complexType name="AdSenseAccountError">
<complexContent></complexContent>
</complexType><complexType abstract="true" name="ApiError">
<sequence></sequence>
</complexType><complexType name="ApiException">
<complexContent></complexContent>
</complexType><complexType name="ApiVersionError">
<complexContent></complexContent>
</complexType><complexType name="ApplicationException"></complexType>
<complexType name="AuthenticationError">
<complexContent></complexContent>
</complexType><complexType name="BooleanValue">
<complexContent></complexContent>
</complexType><complexType name="CollectionSizeError">
<complexContent></complexContent>
</complexType><complexType name="CommonError">
<complexContent></complexContent>
</complexType><complexType name="Date"></complexType>
<complexType name="DateTime">
<sequence></sequence>
</complexType><complexType name="DateTimeValue">
<complexContent></complexContent>
</complexType><complexType name="DateValue">
<complexContent></complexContent>
</complexType><complexType name="DeactivateSite">
<complexContent>
</complexType><extension base="tns:SiteAction"></extension>
</complexContent><complexType name="DisapprovalReason"></complexType>
<complexType name="EntityLimitReachedError">
<complexContent></complexContent>
</complexType><complexType name="FeatureError">
<complexContent></complexContent>
</complexType><complexType name="FieldPathElement"></complexType>
<complexType name="InternalApiError">
<complexContent></complexContent>
</complexType><complexType name="NotNullError">
<complexContent></complexContent>
</complexType><complexType name="NullError">
<complexContent></complexContent>
</complexType><complexType name="NumberValue">
<complexContent></complexContent>
</complexType><complexType name="ParseError">
<complexContent></complexContent>
</complexType><complexType name="PermissionError">
<complexContent></complexContent>
</complexType><complexType name="PublisherQueryLanguageContextError"></complexType>
<complexType name="PublisherQueryLanguageSyntaxError"></complexType>
<complexType name="QuotaError">
<complexContent></complexContent>
</complexType><complexType name="RequiredCollectionError">
<complexContent></complexContent>
</complexType><complexType name="RequiredError">
<complexContent></complexContent>
</complexType><complexType name="ServerError">
<complexContent></complexContent>
</complexType><complexType name="SetValue">
<complexContent></complexContent>
</complexType><complexType name="Site">
<sequence></sequence>
</complexType><complexType name="SiteError">
<complexContent></complexContent>
</complexType><complexType name="SitePage"></complexType>
<complexType name="SoapRequestHeader"></complexType>
<complexType name="SoapResponseHeader"></complexType>
<complexType name="Statement"></complexType>
<complexType name="StatementError">
<complexContent></complexContent>
</complexType><complexType name="StringFormatError">
<complexContent></complexContent>
</complexType><complexType name="StringLengthError">
<complexContent></complexContent>
</complexType><complexType name="String_ValueMapEntry">
<annotation>
</complexType><documentation>This represents an entry in a map with a key of type String
and value of type Value.</documentation>
</annotation><complexType name="SubmitSiteForApproval">
<complexContent>
</complexType><extension base="tns:SiteAction"></extension>
</complexContent><complexType name="TextValue">
<complexContent></complexContent>
</complexType><complexType name="UpdateResult"></complexType>
<complexType name="UrlError">
<complexContent></complexContent>
</complexType><complexType abstract="true" name="Value"></complexType>
<simpleType name="AdSenseAccountError.Reason">
<restriction base="xsd:string"></restriction>
</simpleType><simpleType name="ApiVersionError.Reason"></simpleType>
<simpleType name="ApprovalStatus"></simpleType>
<simpleType name="AuthenticationError.Reason">
<restriction base="xsd:string"></restriction>
</simpleType><simpleType name="CollectionSizeError.Reason"></simpleType>
<simpleType name="CommonError.Reason">
<restriction base="xsd:string"></restriction>
</simpleType><simpleType name="DisapprovalReason.Type"></simpleType>
<simpleType name="EntityLimitReachedError.Reason">
<restriction base="xsd:string"></restriction>
</simpleType><simpleType name="FeatureError.Reason"></simpleType>
<simpleType name="InternalApiError.Reason"></simpleType>
<simpleType name="NotNullError.Reason"></simpleType>
<simpleType name="NullError.Reason"></simpleType>
<simpleType name="ParseError.Reason"></simpleType>
<simpleType name="PermissionError.Reason"></simpleType>
<simpleType name="QuotaError.Reason"></simpleType>
<simpleType name="RequiredCollectionError.Reason"></simpleType>
<simpleType name="RequiredError.Reason"></simpleType>
<simpleType name="ServerError.Reason"></simpleType>
<simpleType name="SiteError.Reason">
<restriction base="xsd:string"></restriction>
</simpleType><simpleType name="StatementError.Reason"></simpleType>
<simpleType name="StringFormatError.Reason"></simpleType>
<simpleType name="StringLengthError.Reason"></simpleType>
<simpleType name="UrlError.Reason"></simpleType>
<element name="createSites">
<annotation>
<documentation>Creates new {@link Site} objects.</documentation>
</annotation><complexType></complexType>
</element><element name="createSitesResponse">
<complexType></complexType>
</element><element name="ApiExceptionFault" type="tns:ApiException">
<annotation>
</element><documentation>A fault element of type ApiException.</documentation>
</annotation><element name="getSitesByStatement">
<annotation>
</element><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 name="getSitesByStatementResponse">
<complexType></complexType>
</element><element name="performSiteAction">
<annotation>
</element><documentation>Performs actions on {@link Site} objects that match the given {@link Statement#query}.</documentation>
</annotation><element name="performSiteActionResponse">
<complexType></complexType>
</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><complexType></complexType>
</element><element name="updateSitesResponse">
</schema><complexType></complexType>
</element><wsdl:message name="RequestHeader"></wsdl:message>
<wsdl:message name="ResponseHeader"></wsdl:message>
<wsdl:message name="createSitesRequest"></wsdl:message>
<wsdl:message name="createSitesResponse"></wsdl:message>
<wsdl:message name="ApiException"></wsdl:message>
<wsdl:message name="getSitesByStatementRequest"></wsdl:message>
<wsdl:message name="getSitesByStatementResponse"></wsdl:message>
<wsdl:message name="performSiteActionRequest"></wsdl:message>
<wsdl:message name="performSiteActionResponse"></wsdl:message>
<wsdl:message name="updateSitesRequest"></wsdl:message>
<wsdl:message name="updateSitesResponse"></wsdl:message>
<wsdl:portType name="SiteServiceInterface">
<wsdl:operation name="createSites">
<wsdl:documentation>Creates new {@link Site} objects.</wsdl:documentation>
</wsdl:operation><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="performSiteAction">
<wsdl:documentation>Performs actions on {@link Site} objects that match the given {@link Statement#query}.</wsdl:documentation>
</wsdl:operation><wsdl:operation name="updateSites">
</wsdl:portType><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:binding name="SiteServiceSoapBinding" type="tns:SiteServiceInterface">
</wsdl:definitions><wsdl:operation name="createSites">
<wsdl:input name="createSitesRequest"></wsdl:input>
<wsdl:output name="createSitesResponse"></wsdl:output>
</wsdl:operation><wsdl:operation name="getSitesByStatement">
<wsdl:input name="getSitesByStatementRequest"></wsdl:input>
<wsdl:output name="getSitesByStatementResponse"></wsdl:output>
</wsdl:operation><wsdl:operation name="performSiteAction">
<wsdl:input name="performSiteActionRequest"></wsdl:input>
<wsdl:output name="performSiteActionResponse"></wsdl:output>
</wsdl:operation><wsdl:operation name="updateSites">
</wsdl:binding><wsdl:input name="updateSitesRequest"></wsdl:input>
<wsdl:output name="updateSitesResponse"></wsdl:output>
</wsdl:operation>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
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