Provides operations for retrieving information related to the publisher's networks. This service can be used to obtain the list of all networks that the current login has access to, or to obtain information about a specific network.
- Production WSDL
-
https://ads.google.com/apis/ads/publisher/v202408/NetworkService?wsdl
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
- Operations
- Errors
-
- ApiVersionError
- AuthenticationError
- CollectionSizeError
- CommonError
- ExchangeSignupApiError
- FeatureError
- InternalApiError
- InvalidEmailError
- InventoryClientApiError
- LiveStreamEventSlateError
- McmError
- NetworkError
- NotNullError
- ParseError
- PermissionError
- PrecisionError
- PublisherQueryLanguageContextError
- PublisherQueryLanguageSyntaxError
- QuotaError
- RequestError
- RequiredCollectionError
- RequiredError
- RequiredNumberError
- ServerError
- SetTopBoxCreativeError
- StatementError
- StringFormatError
- StringLengthError
- TypeError
- UniqueError
- UrlError
getAllNetworks
Returns the list of Network objects to which the current login has access.
Intended to be used without a network code in the SOAP header when the login may have more than one network associated with it.
Parameters
Field | Type | Description |
---|
Response
Field | Type | Description |
---|---|---|
rval
|
|
getCurrentNetwork
Returns the current network for which requests are being made.
Parameters
Field | Type | Description |
---|
Response
Field | Type | Description |
---|---|---|
rval
|
|
getDefaultThirdPartyDataDeclaration
Returns the default ThirdPartyDataDeclaration for this network. If this setting has never been updated on your network, then this API response will be empty.
Parameters
Field | Type | Description |
---|
Response
Field | Type | Description |
---|---|---|
rval
|
|
makeTestNetwork
Creates a new blank network for testing purposes using the current login.
Each login(i.e. email address) can only have one test network. Data from any of your existing networks will not be transferred to the new test network. Once the test network is created, the test network can be used in the API by supplying the Network.networkCode in the SOAP header or by logging into the Ad Manager UI.
Test networks are limited in the following ways:
- Test networks cannot serve ads.
- Because test networks cannot serve ads, reports will always come back without data.
- Since forecasting requires serving history, forecast service results will be faked. See ForecastService for more info.
- Test networks are, by default, Ad Manager networks and don't have any features from Ad Manager 360. To have additional features turned on, please contact your account manager.
- Test networks are limited to 10,000 objects per entity type.
Parameters
Field | Type | Description |
---|
Response
Field | Type | Description |
---|---|---|
rval
|
|
updateNetwork
Updates the specified network. Currently, only the network display name can be updated.
Parameters
Field | Type | Description |
---|---|---|
network
|
|
Response
Field | Type | Description |
---|---|---|
rval
|
|
Errors
Error | Reasons |
---|---|
ApiVersionError
|
Errors related to the usage of API versions.
Enumerations
|
AuthenticationError
|
An error for an exception that occurred when authenticating.
Enumerations
|
CollectionSizeError
|
Error for the size of the collection being too large
Enumerations
|
CommonError
|
A place for common errors that can be used across services.
Enumerations
|
ExchangeSignupApiError
|
ApiError for exceptions thrown by ExchangeSignupService.
Enumerations
|
FeatureError
|
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.
Enumerations
|
InternalApiError
|
Indicates that a server-side error has occured. InternalApiError s
are generally not the result of an invalid request or message sent by the
client.
Enumerations
|
InvalidEmailError
|
Caused by supplying a value for an email attribute that is not a valid
email address.
Enumerations
|
InventoryClientApiError
|
ApiError for common exceptions thrown when accessing AdSense InventoryClient.
Enumerations
|
LiveStreamEventSlateError
|
Lists all errors associated with LiveStreamEvent slate creative id.
Enumerations
|
McmError
|
An error for multiple customer management.
Enumerations
|
NetworkError
|
An error for a network.
Enumerations
|
NotNullError
|
Caused by supplying a null value for an attribute that cannot be null.
Enumerations
|
ParseError
|
Lists errors related to parsing.
Enumerations
|
PermissionError
|
Errors related to incorrect permission.
Enumerations
|
PrecisionError
|
List all errors associated with number precisions.
Enumerations
|
PublisherQueryLanguageContextError
|
An error that occurs while executing a PQL query contained in
a Statement object.
Enumerations
|
PublisherQueryLanguageSyntaxError
|
An error that occurs while parsing a PQL query contained in a
Statement object.
Enumerations
|
QuotaError
|
Describes a client-side error on which a user is attempting
to perform an action to which they have no quota remaining.
Enumerations
|
RequestError
|
Encapsulates the generic errors thrown when there's an error with user
request.
Enumerations
|
RequiredCollectionError
|
A list of all errors to be used for validating sizes of collections.
Enumerations
|
RequiredError
|
Errors due to missing required field.
Enumerations
|
RequiredNumberError
|
A list of all errors to be used in conjunction with required number
validators.
Enumerations
|
ServerError
|
Errors related to the server.
Enumerations
|
SetTopBoxCreativeError
|
Errors associated with set-top box creatives.
Enumerations
|
StatementError
|
An error that occurs while parsing Statement objects.
Enumerations
|
StringFormatError
|
A list of error code for reporting invalid content of input strings.
Enumerations
|
StringLengthError
|
Errors for Strings which do not meet given length constraints.
Enumerations
|
TypeError
|
An error for a field which is an invalid type. |
UniqueError
|
An error for a field which must satisfy a uniqueness constraint |
UrlError
|
Common errors for URLs.
Enumerations
|