Web Service: NetworkService
Port NetworkServiceInterfacePort Port typeSource code
- getAllNetworksDetailSource code
- getCurrentNetworkDetailSource code
- getDefaultThirdPartyDataDeclarationDetailSource code
- makeTestNetworkDetailSource code
- updateNetworkDetailSource code
Operations
- getAllNetworksDescription:Returns the list of {@link 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.
Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:getAllNetworksRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type getAllNetworksReturns the list of {@link 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.
Output:getAllNetworksResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type getAllNetworksResponse- rval - optional, unbounded; type Network{@code Network} represents a network.
- id - optional; type longThe unique ID of the {@code Network}. This value is readonly and is assigned by Google.
- displayName - optional; type stringThe display name of the network.
- networkCode - optional; type stringThe network code. If the current login has access to multiple networks, then the network code must be provided in the SOAP request headers for all requests. Otherwise, it is optional to provide the network code in the SOAP headers. This field is read-only.
- propertyCode - optional; type stringThe property code. This field is read-only.
- timeZone - optional; type stringThe time zone associated with the delivery of orders and reporting. This field is read-only.
- currencyCode - optional; type stringThe primary currency code. This field is read-only.
- secondaryCurrencyCodes - optional, unbounded; type stringCurrencies that can be used as an alternative to the {@link Network#currencyCode} for trafficking {@link LineItem line items}.
- effectiveRootAdUnitId - optional; type stringThe {@link AdUnit#id} of the top most ad unit to which descendant ad units can be added. Should be used for the {@link AdUnit#parentId} when first building inventory hierarchy. This field is read-only.
- isTest - optional; type booleanWhether this is a test network. This field is read-only.
- id - optional; type long
Fault:ApiException (wsdlsoap:fault, use = literal)Source codeApiException type ApiExceptionFaultException class for holding a list of service errors.Base class for exceptions.- message - optional; type stringError message.
- errors - optional, unbounded; type ApiErrorThe 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 stringThe OGNL field path to identify cause of error.
- fieldPathElements - optional, unbounded; type FieldPathElementA 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 stringThe name of a field in lower camelcase. (e.g. "biddingStrategy")
- index - optional; type intFor list fields, this is a 0-indexed position in the list. Null for non-list fields.
- field - optional; type string
- trigger - optional; type stringThe data that caused the error.
- errorString - optional; type stringA simple string representation of the error and reason.
List of errors. - fieldPath - optional; type string
A fault element of type ApiException. - rval - optional, unbounded; type Network
- getCurrentNetworkDescription:Returns the current network for which requests are being made.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:getCurrentNetworkRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type getCurrentNetworkReturns the current network for which requests are being made.Output:getCurrentNetworkResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type getCurrentNetworkResponse
- rval - optional; type Network{@code Network} represents a network.
- id - optional; type longThe unique ID of the {@code Network}. This value is readonly and is assigned by Google.
- displayName - optional; type stringThe display name of the network.
- networkCode - optional; type stringThe network code. If the current login has access to multiple networks, then the network code must be provided in the SOAP request headers for all requests. Otherwise, it is optional to provide the network code in the SOAP headers. This field is read-only.
- propertyCode - optional; type stringThe property code. This field is read-only.
- timeZone - optional; type stringThe time zone associated with the delivery of orders and reporting. This field is read-only.
- currencyCode - optional; type stringThe primary currency code. This field is read-only.
- secondaryCurrencyCodes - optional, unbounded; type stringCurrencies that can be used as an alternative to the {@link Network#currencyCode} for trafficking {@link LineItem line items}.
- effectiveRootAdUnitId - optional; type stringThe {@link AdUnit#id} of the top most ad unit to which descendant ad units can be added. Should be used for the {@link AdUnit#parentId} when first building inventory hierarchy. This field is read-only.
- isTest - optional; type booleanWhether this is a test network. This field is read-only.
- id - optional; type long
Fault:ApiException (wsdlsoap:fault, use = literal)Source codeApiException type ApiExceptionFaultException class for holding a list of service errors.Base class for exceptions.- message - optional; type stringError message.
- errors - optional, unbounded; type ApiErrorThe 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 stringThe OGNL field path to identify cause of error.
- fieldPathElements - optional, unbounded; type FieldPathElementA 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 stringThe name of a field in lower camelcase. (e.g. "biddingStrategy")
- index - optional; type intFor list fields, this is a 0-indexed position in the list. Null for non-list fields.
- field - optional; type string
- trigger - optional; type stringThe data that caused the error.
- errorString - optional; type stringA simple string representation of the error and reason.
List of errors. - fieldPath - optional; type string
A fault element of type ApiException. - rval - optional; type Network
- getDefaultThirdPartyDataDeclarationDescription:Returns the default {@link ThirdPartyDataDeclaration} for this network. If this setting has never been updated on your network, then this API response will be empty.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:getDefaultThirdPartyDataDeclarationRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type getDefaultThirdPartyDataDeclarationReturns the default {@link ThirdPartyDataDeclaration} for this network. If this setting has never been updated on your network, then this API response will be empty.Output:getDefaultThirdPartyDataDeclarationResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type getDefaultThirdPartyDataDeclarationResponse
- rval - optional; type ThirdPartyDataDeclarationRepresents a set of declarations about what (if any) third party companies are associated with a given creative.
This can be set at the network level, as a default for all creatives, or overridden for a particular creative.
- declarationType - optional; type DeclarationType - type string with restriction - enum { 'NONE', 'DECLARED', 'UNKNOWN' }
- thirdPartyCompanyIds - optional, unbounded; type long
Fault:ApiException (wsdlsoap:fault, use = literal)Source codeApiException type ApiExceptionFaultException class for holding a list of service errors.Base class for exceptions.- message - optional; type stringError message.
- errors - optional, unbounded; type ApiErrorThe 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 stringThe OGNL field path to identify cause of error.
- fieldPathElements - optional, unbounded; type FieldPathElementA 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 stringThe name of a field in lower camelcase. (e.g. "biddingStrategy")
- index - optional; type intFor list fields, this is a 0-indexed position in the list. Null for non-list fields.
- field - optional; type string
- trigger - optional; type stringThe data that caused the error.
- errorString - optional; type stringA simple string representation of the error and reason.
List of errors. - fieldPath - optional; type string
A fault element of type ApiException. - rval - optional; type ThirdPartyDataDeclaration
- makeTestNetworkDescription: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 {@link 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 {@link 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.
Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:makeTestNetworkRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type makeTestNetworkCreates 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 {@link 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 {@link 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.
Output:makeTestNetworkResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type makeTestNetworkResponse- rval - optional; type Network{@code Network} represents a network.
- id - optional; type longThe unique ID of the {@code Network}. This value is readonly and is assigned by Google.
- displayName - optional; type stringThe display name of the network.
- networkCode - optional; type stringThe network code. If the current login has access to multiple networks, then the network code must be provided in the SOAP request headers for all requests. Otherwise, it is optional to provide the network code in the SOAP headers. This field is read-only.
- propertyCode - optional; type stringThe property code. This field is read-only.
- timeZone - optional; type stringThe time zone associated with the delivery of orders and reporting. This field is read-only.
- currencyCode - optional; type stringThe primary currency code. This field is read-only.
- secondaryCurrencyCodes - optional, unbounded; type stringCurrencies that can be used as an alternative to the {@link Network#currencyCode} for trafficking {@link LineItem line items}.
- effectiveRootAdUnitId - optional; type stringThe {@link AdUnit#id} of the top most ad unit to which descendant ad units can be added. Should be used for the {@link AdUnit#parentId} when first building inventory hierarchy. This field is read-only.
- isTest - optional; type booleanWhether this is a test network. This field is read-only.
- id - optional; type long
Fault:ApiException (wsdlsoap:fault, use = literal)Source codeApiException type ApiExceptionFaultException class for holding a list of service errors.Base class for exceptions.- message - optional; type stringError message.
- errors - optional, unbounded; type ApiErrorThe 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 stringThe OGNL field path to identify cause of error.
- fieldPathElements - optional, unbounded; type FieldPathElementA 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 stringThe name of a field in lower camelcase. (e.g. "biddingStrategy")
- index - optional; type intFor list fields, this is a 0-indexed position in the list. Null for non-list fields.
- field - optional; type string
- trigger - optional; type stringThe data that caused the error.
- errorString - optional; type stringA simple string representation of the error and reason.
List of errors. - fieldPath - optional; type string
A fault element of type ApiException. - updateNetworkDescription:Updates the specified network. Currently, only the network display name can be updated.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:updateNetworkRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type updateNetworkUpdates the specified network. Currently, only the network display name can be updated.
- network - optional; type Network{@code Network} represents a network.
- id - optional; type longThe unique ID of the {@code Network}. This value is readonly and is assigned by Google.
- displayName - optional; type stringThe display name of the network.
- networkCode - optional; type stringThe network code. If the current login has access to multiple networks, then the network code must be provided in the SOAP request headers for all requests. Otherwise, it is optional to provide the network code in the SOAP headers. This field is read-only.
- propertyCode - optional; type stringThe property code. This field is read-only.
- timeZone - optional; type stringThe time zone associated with the delivery of orders and reporting. This field is read-only.
- currencyCode - optional; type stringThe primary currency code. This field is read-only.
- secondaryCurrencyCodes - optional, unbounded; type stringCurrencies that can be used as an alternative to the {@link Network#currencyCode} for trafficking {@link LineItem line items}.
- effectiveRootAdUnitId - optional; type stringThe {@link AdUnit#id} of the top most ad unit to which descendant ad units can be added. Should be used for the {@link AdUnit#parentId} when first building inventory hierarchy. This field is read-only.
- isTest - optional; type booleanWhether this is a test network. This field is read-only.
- id - optional; type long
Output:updateNetworkResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type updateNetworkResponse- rval - optional; type Network{@code Network} represents a network.
- id - optional; type longThe unique ID of the {@code Network}. This value is readonly and is assigned by Google.
- displayName - optional; type stringThe display name of the network.
- networkCode - optional; type stringThe network code. If the current login has access to multiple networks, then the network code must be provided in the SOAP request headers for all requests. Otherwise, it is optional to provide the network code in the SOAP headers. This field is read-only.
- propertyCode - optional; type stringThe property code. This field is read-only.
- timeZone - optional; type stringThe time zone associated with the delivery of orders and reporting. This field is read-only.
- currencyCode - optional; type stringThe primary currency code. This field is read-only.
- secondaryCurrencyCodes - optional, unbounded; type stringCurrencies that can be used as an alternative to the {@link Network#currencyCode} for trafficking {@link LineItem line items}.
- effectiveRootAdUnitId - optional; type stringThe {@link AdUnit#id} of the top most ad unit to which descendant ad units can be added. Should be used for the {@link AdUnit#parentId} when first building inventory hierarchy. This field is read-only.
- isTest - optional; type booleanWhether this is a test network. This field is read-only.
- id - optional; type long
Fault:ApiException (wsdlsoap:fault, use = literal)Source codeApiException type ApiExceptionFaultException class for holding a list of service errors.Base class for exceptions.- message - optional; type stringError message.
- errors - optional, unbounded; type ApiErrorThe 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 stringThe OGNL field path to identify cause of error.
- fieldPathElements - optional, unbounded; type FieldPathElementA 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 stringThe name of a field in lower camelcase. (e.g. "biddingStrategy")
- index - optional; type intFor list fields, this is a 0-indexed position in the list. Null for non-list fields.
- field - optional; type string
- trigger - optional; type stringThe data that caused the error.
- errorString - optional; type stringA simple string representation of the error and reason.
List of errors. - fieldPath - optional; type string
A fault element of type ApiException. - network - optional; type Network
Port type NetworkServiceInterfaceSource code
WSDL source code
About wsdl-viewer.xsl
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