SiteService (v202008)


Production WSDL
https://ads.google.com/apis/ads/publisher/v202008/SiteService?wsdl
Namespace
https://www.google.com/apis/ads/publisher/v202008
Operations
Errors

createSites

Creates new Site objects.

Parameters

Field Type Description
sites Site[] the sites to create

Response

Field Type Description
rval Site[] the created sites with their IDs filled in

getSitesByStatement

Gets a SitePage of Site objects that satisfy the given Statement.query. The following fields are supported for filtering:

PQL Property Object Property
id Site.id
url Site.url
childNetworkCode Site.childNetworkCode
approvalStatus Site.approvalStatus
active Site.active

Parameters

Field Type Description
filterStatement Statement a Publisher Query Language statement used to filter a set of sites

Response

Field Type Description
rval SitePage the sites that match the given filter

performSiteAction

Performs actions on Site objects that match the given Statement.query.

Parameters

Field Type Description
siteAction
  1. SiteAction
    1. DeactivateSite
    2. SubmitSiteForApproval
the action to perform
filterStatement Statement a Publisher Query Language statement used to filter a set of sites

Response

Field Type Description
rval UpdateResult the result of the action performed

Errors

Error Reasons
ApiVersionError
Enumerations
UPDATE_TO_NEWER_VERSION
UNKNOWN
AuthenticationError
Enumerations
AMBIGUOUS_SOAP_REQUEST_HEADER
INVALID_EMAIL
AUTHENTICATION_FAILED
INVALID_OAUTH_SIGNATURE
INVALID_SERVICE
MISSING_SOAP_REQUEST_HEADER
MISSING_AUTHENTICATION_HTTP_HEADER
MISSING_AUTHENTICATION
NOT_WHITELISTED_FOR_API_ACCESS
NO_NETWORKS_TO_ACCESS
NETWORK_NOT_FOUND
NETWORK_CODE_REQUIRED
CONNECTION_ERROR
GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK
UNDER_INVESTIGATION
UNKNOWN
CollectionSizeError
Enumerations
TOO_LARGE
UNKNOWN
CommonError
Enumerations
NOT_FOUND
ALREADY_EXISTS
NOT_APPLICABLE
DUPLICATE_OBJECT
CANNOT_UPDATE
CONCURRENT_MODIFICATION
UNKNOWN
FeatureError
Enumerations
MISSING_FEATURE
UNKNOWN
InternalApiError
Enumerations
UNEXPECTED_INTERNAL_API_ERROR
TRANSIENT_ERROR
UNKNOWN
DOWNTIME
ERROR_GENERATING_RESPONSE
NotNullError
Enumerations
ARG1_NULL
ARG2_NULL
ARG3_NULL
NULL
UNKNOWN
ParseError
Enumerations
UNPARSABLE
UNKNOWN
PermissionError
Enumerations
PERMISSION_DENIED
UNKNOWN
PublisherQueryLanguageContextError
Enumerations
UNEXECUTABLE
UNKNOWN
PublisherQueryLanguageSyntaxError
Enumerations
UNPARSABLE
UNKNOWN
QuotaError
Enumerations
EXCEEDED_QUOTA
UNKNOWN
REPORT_JOB_LIMIT
RequiredCollectionError
Enumerations
REQUIRED
TOO_LARGE
TOO_SMALL
UNKNOWN
RequiredError
Enumerations
REQUIRED
ServerError
Enumerations
SERVER_ERROR
SERVER_BUSY
UNKNOWN
SiteError
Enumerations
INVALID_CHILD_NETWORK_CODE
INVALID_URL_FOR_SITE
TOO_MANY_SITES_PER_REVIEW_REQUEST
TOO_MANY_REVIEW_REQUESTS_FOR_SITE
INVALID_APPROVAL_STATUS_FOR_REVIEW
UNKNOWN
StatementError
Enumerations
VARIABLE_NOT_BOUND_TO_VALUE
UNKNOWN
StringFormatError
Enumerations
UNKNOWN
ILLEGAL_CHARS
INVALID_FORMAT
StringLengthError
Enumerations
TOO_LONG
TOO_SHORT
UNKNOWN
UrlError
Enumerations
CANNOT_USE_RESERVED_URL
CANNOT_USE_GOOGLE_URL
INVALID_URL
UNKNOWN