Web Service: PlacementService
Port PlacementServiceInterfacePort Port typeSource code
- createPlacementsDetailSource code
- getPlacementsByStatementDetailSource code
- performPlacementActionDetailSource code
- updatePlacementsDetailSource code
Operations
- createPlacementsDescription:Creates new {@link Placement} objects.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:createPlacementsRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type createPlacementsCreates new {@link Placement} objects.
- placements - optional, unbounded; type Placement - extension of type SiteTargetingInfoA {@code Placement} groups related {@code AdUnit} objects.Deprecated container for information required for AdWords advertisers to place their ads.
- id - optional; type longUniquely identifies the {@code Placement}. This attribute is read-only and is assigned by Google when a placement is created.
- name - optional; type stringThe name of the {@code Placement}. This value is required and has a maximum length of 255 characters.
- description - optional; type stringA description of the {@code Placement}. This value is optional and its maximum length is 65,535 characters.
- placementCode - optional; type stringA string used to uniquely identify the {@code Placement} for purposes of serving the ad. This attribute is read-only and is assigned by Google when a placement is created.
- status - optional; type InventoryStatus - type string with restriction - enum { 'ACTIVE', 'INACTIVE', 'ARCHIVED' }The status of the {@code Placement}. This attribute is read-only.
- targetedAdUnitIds - optional, unbounded; type stringThe collection of {@code AdUnit} object IDs that constitute the {@code Placement}.
- lastModifiedDateTime - optional; type DateTimeRepresents a date combined with the time of day.
- date - optional; type DateRepresents a date.
- year - optional; type intYear (e.g., 2009)
- month - optional; type intMonth (1..12)
- day - optional; type intDay (1..31)
- year - optional; type int
- hour - optional; type int
- minute - optional; type int
- second - optional; type int
- timeZoneId - optional; type string
The date and time this placement was last modified. - date - optional; type Date
- id - optional; type long
Output:createPlacementsResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type createPlacementsResponse- rval - optional, unbounded; type Placement - extension of type SiteTargetingInfoA {@code Placement} groups related {@code AdUnit} objects.Deprecated container for information required for AdWords advertisers to place their ads.
- id - optional; type longUniquely identifies the {@code Placement}. This attribute is read-only and is assigned by Google when a placement is created.
- name - optional; type stringThe name of the {@code Placement}. This value is required and has a maximum length of 255 characters.
- description - optional; type stringA description of the {@code Placement}. This value is optional and its maximum length is 65,535 characters.
- placementCode - optional; type stringA string used to uniquely identify the {@code Placement} for purposes of serving the ad. This attribute is read-only and is assigned by Google when a placement is created.
- status - optional; type InventoryStatus - type string with restriction - enum { 'ACTIVE', 'INACTIVE', 'ARCHIVED' }The status of the {@code Placement}. This attribute is read-only.
- targetedAdUnitIds - optional, unbounded; type stringThe collection of {@code AdUnit} object IDs that constitute the {@code Placement}.
- lastModifiedDateTime - optional; type DateTimeRepresents a date combined with the time of day.
- date - optional; type DateRepresents a date.
- year - optional; type intYear (e.g., 2009)
- month - optional; type intMonth (1..12)
- day - optional; type intDay (1..31)
- year - optional; type int
- hour - optional; type int
- minute - optional; type int
- second - optional; type int
- timeZoneId - optional; type string
The date and time this placement was last modified. - date - optional; type Date
- 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. - placements - optional, unbounded; type Placement - extension of type SiteTargetingInfo
- getPlacementsByStatementDescription:Gets a {@link PlacementPage} of {@link Placement} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
PQL Property Object Property {@code description} {@link Placement#description} {@code id} {@link Placement#id} {@code name} {@link Placement#name} {@code placementCode} {@link Placement#placementCode} {@code status} {@link Placement#status} {@code lastModifiedDateTime} {@link Placement#lastModifiedDateTime} Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:getPlacementsByStatementRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type getPlacementsByStatementGets a {@link PlacementPage} of {@link Placement} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:PQL Property Object Property {@code description} {@link Placement#description} {@code id} {@link Placement#id} {@code name} {@link Placement#name} {@code placementCode} {@link Placement#placementCode} {@code status} {@link Placement#status} {@code lastModifiedDateTime} {@link Placement#lastModifiedDateTime} - filterStatement - optional; type StatementCaptures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a PQL query. Statements are typically used to retrieve objects of a predefined domain type, which makes SELECT clause unnecessary.
An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id LIMIT 30"}.
Statements support bind variables. These are substitutes for literals and can be thought of as input parameters to a PQL query.
An example of such a query might be {@code "WHERE id = :idValue"}.
Statements also support use of the LIKE keyword. This provides wildcard string matching.
An example of such a query might be {@code "WHERE name LIKE '%searchString%'"}.
The value for the variable idValue must then be set with an object of type {@link Value}, e.g., {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.- query - optional; type stringHolds the query in PQL syntax. The syntax is:
[WHERE{[AND | OR] ...}]
[ORDER BY[ASC | DESC]]
[LIMIT {[,] } | { OFFSET }]
:={< | <= | > | >= | = | != }
:={< | <= | > | >= | = | != }
:= IN
:= IS NULL
:= LIKE
:= :
- values - optional, unbounded; type String_ValueMapEntryHolds keys and values for bind variables and their values. The key is the name of the bind variable. The value is the literal value of the variable.
In the example {@code "WHERE status = :bindStatus ORDER BY id LIMIT 30"}, the bind variable, represented by {@code :bindStatus} is named {@code bindStatus}, which would also be the parameter map key. The bind variable's value would be represented by a parameter map value of type {@link TextValue}. The final result, for example, would be an entry of {@code "bindStatus" => StringParam("ACTIVE")}.
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{@code Value} represents a value.
- query - optional; type string
Output:getPlacementsByStatementResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type getPlacementsByStatementResponse- rval - optional; type PlacementPageCaptures a page of {@link Placement} objects.
- totalResultSetSize - optional; type intThe size of the total result set to which this page belongs.
- startIndex - optional; type intThe absolute index in the total result set on which this page begins.
- results - optional, unbounded; type Placement - extension of type SiteTargetingInfoA {@code Placement} groups related {@code AdUnit} objects.Deprecated container for information required for AdWords advertisers to place their ads.
- id - optional; type longUniquely identifies the {@code Placement}. This attribute is read-only and is assigned by Google when a placement is created.
- name - optional; type stringThe name of the {@code Placement}. This value is required and has a maximum length of 255 characters.
- description - optional; type stringA description of the {@code Placement}. This value is optional and its maximum length is 65,535 characters.
- placementCode - optional; type stringA string used to uniquely identify the {@code Placement} for purposes of serving the ad. This attribute is read-only and is assigned by Google when a placement is created.
- status - optional; type InventoryStatus - type string with restriction - enum { 'ACTIVE', 'INACTIVE', 'ARCHIVED' }The status of the {@code Placement}. This attribute is read-only.
- targetedAdUnitIds - optional, unbounded; type stringThe collection of {@code AdUnit} object IDs that constitute the {@code Placement}.
- lastModifiedDateTime - optional; type DateTimeRepresents a date combined with the time of day.
- date - optional; type DateRepresents a date.
- year - optional; type intYear (e.g., 2009)
- month - optional; type intMonth (1..12)
- day - optional; type intDay (1..31)
- year - optional; type int
- hour - optional; type int
- minute - optional; type int
- second - optional; type int
- timeZoneId - optional; type string
The date and time this placement was last modified. - date - optional; type Date
The collection of placements contained within this page. - id - optional; type long
- totalResultSetSize - optional; type int
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. - filterStatement - optional; type Statement
- performPlacementActionDescription:Performs actions on {@link Placement} objects that match the given {@link Statement#query}.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:performPlacementActionRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type performPlacementActionPerforms actions on {@link Placement} objects that match the given {@link Statement#query}.
- placementAction - optional; type PlacementActionRepresents the actions that can be performed on {@link Placement} objects.
- filterStatement - optional; type StatementCaptures the {@code WHERE}, {@code ORDER BY} and {@code LIMIT} clauses of a PQL query. Statements are typically used to retrieve objects of a predefined domain type, which makes SELECT clause unnecessary.
An example query text might be {@code "WHERE status = 'ACTIVE' ORDER BY id LIMIT 30"}.
Statements support bind variables. These are substitutes for literals and can be thought of as input parameters to a PQL query.
An example of such a query might be {@code "WHERE id = :idValue"}.
Statements also support use of the LIKE keyword. This provides wildcard string matching.
An example of such a query might be {@code "WHERE name LIKE '%searchString%'"}.
The value for the variable idValue must then be set with an object of type {@link Value}, e.g., {@link NumberValue}, {@link TextValue} or {@link BooleanValue}.- query - optional; type stringHolds the query in PQL syntax. The syntax is:
[WHERE{[AND | OR] ...}]
[ORDER BY[ASC | DESC]]
[LIMIT {[,] } | { OFFSET }]
:={< | <= | > | >= | = | != }
:={< | <= | > | >= | = | != }
:= IN
:= IS NULL
:= LIKE
:= :
- values - optional, unbounded; type String_ValueMapEntryHolds keys and values for bind variables and their values. The key is the name of the bind variable. The value is the literal value of the variable.
In the example {@code "WHERE status = :bindStatus ORDER BY id LIMIT 30"}, the bind variable, represented by {@code :bindStatus} is named {@code bindStatus}, which would also be the parameter map key. The bind variable's value would be represented by a parameter map value of type {@link TextValue}. The final result, for example, would be an entry of {@code "bindStatus" => StringParam("ACTIVE")}.
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{@code Value} represents a value.
- query - optional; type string
Output:performPlacementActionResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type performPlacementActionResponse- rval - optional; type UpdateResultRepresents the result of performing an action on objects.
- numChanges - optional; type intThe number of objects that were changed as a result of performing the action.
- numChanges - optional; type int
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. - placementAction - optional; type PlacementAction
- updatePlacementsDescription:Updates the specified {@link Placement} objects.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:updatePlacementsRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type updatePlacementsUpdates the specified {@link Placement} objects.
- placements - optional, unbounded; type Placement - extension of type SiteTargetingInfoA {@code Placement} groups related {@code AdUnit} objects.Deprecated container for information required for AdWords advertisers to place their ads.
- id - optional; type longUniquely identifies the {@code Placement}. This attribute is read-only and is assigned by Google when a placement is created.
- name - optional; type stringThe name of the {@code Placement}. This value is required and has a maximum length of 255 characters.
- description - optional; type stringA description of the {@code Placement}. This value is optional and its maximum length is 65,535 characters.
- placementCode - optional; type stringA string used to uniquely identify the {@code Placement} for purposes of serving the ad. This attribute is read-only and is assigned by Google when a placement is created.
- status - optional; type InventoryStatus - type string with restriction - enum { 'ACTIVE', 'INACTIVE', 'ARCHIVED' }The status of the {@code Placement}. This attribute is read-only.
- targetedAdUnitIds - optional, unbounded; type stringThe collection of {@code AdUnit} object IDs that constitute the {@code Placement}.
- lastModifiedDateTime - optional; type DateTimeRepresents a date combined with the time of day.
- date - optional; type DateRepresents a date.
- year - optional; type intYear (e.g., 2009)
- month - optional; type intMonth (1..12)
- day - optional; type intDay (1..31)
- year - optional; type int
- hour - optional; type int
- minute - optional; type int
- second - optional; type int
- timeZoneId - optional; type string
The date and time this placement was last modified. - date - optional; type Date
- id - optional; type long
Output:updatePlacementsResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type updatePlacementsResponse- rval - optional, unbounded; type Placement - extension of type SiteTargetingInfoA {@code Placement} groups related {@code AdUnit} objects.Deprecated container for information required for AdWords advertisers to place their ads.
- id - optional; type longUniquely identifies the {@code Placement}. This attribute is read-only and is assigned by Google when a placement is created.
- name - optional; type stringThe name of the {@code Placement}. This value is required and has a maximum length of 255 characters.
- description - optional; type stringA description of the {@code Placement}. This value is optional and its maximum length is 65,535 characters.
- placementCode - optional; type stringA string used to uniquely identify the {@code Placement} for purposes of serving the ad. This attribute is read-only and is assigned by Google when a placement is created.
- status - optional; type InventoryStatus - type string with restriction - enum { 'ACTIVE', 'INACTIVE', 'ARCHIVED' }The status of the {@code Placement}. This attribute is read-only.
- targetedAdUnitIds - optional, unbounded; type stringThe collection of {@code AdUnit} object IDs that constitute the {@code Placement}.
- lastModifiedDateTime - optional; type DateTimeRepresents a date combined with the time of day.
- date - optional; type DateRepresents a date.
- year - optional; type intYear (e.g., 2009)
- month - optional; type intMonth (1..12)
- day - optional; type intDay (1..31)
- year - optional; type int
- hour - optional; type int
- minute - optional; type int
- second - optional; type int
- timeZoneId - optional; type string
The date and time this placement was last modified. - date - optional; type Date
- 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. - placements - optional, unbounded; type Placement - extension of type SiteTargetingInfo
Port type PlacementServiceInterfaceSource 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