Web Service: OrderService
Port OrderServiceInterfacePort Port typeSource code
- createOrdersDetailSource code
- getOrdersByStatementDetailSource code
- performOrderActionDetailSource code
- updateOrdersDetailSource code
Operations
- createOrdersDescription:Creates new {@link Order} objects.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:createOrdersRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type createOrdersCreates new {@link Order} objects.
- orders - optional, unbounded; type OrderAn {@code Order} represents a grouping of individual {@link LineItem} objects, each of which fulfill an ad request from a particular advertiser.
- id - optional; type longThe unique ID of the {@code Order}. This value is readonly and is assigned by Google.
- name - optional; type stringThe name of the {@code Order}. This value is required to create an order and has a maximum length of 255 characters.
- startDateTime - 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 at which the {@code Order} and its associated line items are eligible to begin serving. This attribute is readonly and is derived from the line item of the order which has the earliest {@link LineItem#startDateTime}. - date - optional; type Date
- endDateTime - 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 at which the {@code Order} and its associated line items stop being served. This attribute is readonly and is derived from the line item of the order which has the latest {@link LineItem#endDateTime}. - date - optional; type Date
- unlimitedEndDateTime - optional; type booleanSpecifies whether or not the {@code Order} has an unlimited end date. This attribute is readonly and is {@code true} if any of the order's line items has {@link LineItem#unlimitedEndDateTime} set to {@code true}.
- status - optional; type OrderStatus - type string with restriction - enum { 'DRAFT', 'PENDING_APPROVAL', 'APPROVED', 'DISAPPROVED', 'PAUSED', 'CANCELED', 'DELETED', 'UNKNOWN' }The status of the {@code Order}. This attribute is read-only.
- isArchived - optional; type booleanThe archival status of the {@code Order}. This attribute is readonly.
- notes - optional; type stringProvides any additional notes that may annotate the {@code Order}. This attribute is optional and has a maximum length of 65,535 characters.
- externalOrderId - optional; type intAn arbitrary ID to associate to the {@code Order}, which can be used as a key to an external system. This value is optional.
- poNumber - optional; type stringThe purchase order number for the {@code Order}. This value is optional and has a maximum length of 63 characters.
- currencyCode - optional; type stringThe ISO currency code for the currency used by the {@code Order}. This value is read-only and is the network's currency code.
- advertiserId - optional; type longThe unique ID of the {@link Company}, which is of type {@link Company.Type#ADVERTISER}, to which this order belongs. This attribute is required.
- advertiserContactIds - optional, unbounded; type longList of IDs for advertiser contacts of the order.
- agencyId - optional; type longThe unique ID of the {@link Company}, which is of type {@link Company.Type#AGENCY}, with which this order is associated. This attribute is optional.
- agencyContactIds - optional, unbounded; type longList of IDs for agency contacts of the order.
- creatorId - optional; type longThe unique ID of the {@link User} who created the {@code Order} on behalf of the advertiser. This value is readonly and is assigned by Google.
- traffickerId - optional; type longThe unique ID of the {@link User} responsible for trafficking the {@code Order}. This value is required for creating an order.
- secondaryTraffickerIds - optional, unbounded; type longThe IDs of the secondary traffickers associated with the order. This value is optional.
- salespersonId - optional; type longThe unique ID of the {@link User} responsible for the sales of the {@code Order}. This value is optional.
- secondarySalespersonIds - optional, unbounded; type longThe IDs of the secondary salespeople associated with the order. This value is optional.
- totalImpressionsDelivered - optional; type longTotal impressions delivered for all line items of this {@code Order}. This value is read-only and is assigned by Google.
- totalClicksDelivered - optional; type longTotal clicks delivered for all line items of this {@code Order}. This value is read-only and is assigned by Google.
- totalViewableImpressionsDelivered - optional; type longTotal viewable impressions delivered for all line items of this {@code Order}. This value is read-only and is assigned by Google. Starting in v201705, this will be {@code null} when the order does not have line items trafficked against a viewable impressions goal.
- totalBudget - optional; type MoneyRepresents a money amount.
- currencyCode - optional; type stringThree letter currency code in string format.
- microAmount - optional; type longMoney values are always specified in terms of micros which are a millionth of the fundamental currency unit. For US dollars, $1 is 1,000,000 micros.
Total budget for all line items of this {@code Order}. This value is a readonly field assigned by Google and is calculated from the associated {@link LineItem#costPerUnit} values. - currencyCode - optional; type string
- appliedLabels - optional, unbounded; type AppliedLabelRepresents a {@link Label} that can be applied to an entity. To negate an inherited label, create an {@code AppliedLabel} with {@code labelId} as the inherited label's ID and {@code isNegated} set to true.
- labelId - optional; type longThe ID of a created {@link Label}.
- isNegated - optional; type boolean{@code isNegated} should be set to {@code true} to negate the effects of {@code labelId}.
The set of labels applied directly to this order. - labelId - optional; type long
- effectiveAppliedLabels - optional, unbounded; type AppliedLabelRepresents a {@link Label} that can be applied to an entity. To negate an inherited label, create an {@code AppliedLabel} with {@code labelId} as the inherited label's ID and {@code isNegated} set to true.
- labelId - optional; type longThe ID of a created {@link Label}.
- isNegated - optional; type boolean{@code isNegated} should be set to {@code true} to negate the effects of {@code labelId}.
Contains the set of labels applied directly to the order as well as those inherited from the company that owns the order. If a label has been negated, only the negated label is returned. This field is readonly and is assigned by Google. - labelId - optional; type long
- lastModifiedByApp - optional; type stringThe application which modified this order. This attribute is read only and is assigned by Google.
- isProgrammatic - optional; type booleanSpecifies whether or not the {@code Order} is a programmatic order. This value is optional and defaults to false.
- appliedTeamIds - optional, unbounded; type longThe IDs of all teams that this order is on directly.
- 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 order was last modified. - date - optional; type Date
- customFieldValues - optional, unbounded; type BaseCustomFieldValueThe value of a {@link CustomField} for a particular entity.
- customFieldId - optional; type longId of the {@code CustomField} to which this value belongs. This attribute is required.
The values of the custom fields associated with this order. - customFieldId - optional; type long
- id - optional; type long
Output:createOrdersResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type createOrdersResponse- rval - optional, unbounded; type OrderAn {@code Order} represents a grouping of individual {@link LineItem} objects, each of which fulfill an ad request from a particular advertiser.
- id - optional; type longThe unique ID of the {@code Order}. This value is readonly and is assigned by Google.
- name - optional; type stringThe name of the {@code Order}. This value is required to create an order and has a maximum length of 255 characters.
- startDateTime - 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 at which the {@code Order} and its associated line items are eligible to begin serving. This attribute is readonly and is derived from the line item of the order which has the earliest {@link LineItem#startDateTime}. - date - optional; type Date
- endDateTime - 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 at which the {@code Order} and its associated line items stop being served. This attribute is readonly and is derived from the line item of the order which has the latest {@link LineItem#endDateTime}. - date - optional; type Date
- unlimitedEndDateTime - optional; type booleanSpecifies whether or not the {@code Order} has an unlimited end date. This attribute is readonly and is {@code true} if any of the order's line items has {@link LineItem#unlimitedEndDateTime} set to {@code true}.
- status - optional; type OrderStatus - type string with restriction - enum { 'DRAFT', 'PENDING_APPROVAL', 'APPROVED', 'DISAPPROVED', 'PAUSED', 'CANCELED', 'DELETED', 'UNKNOWN' }The status of the {@code Order}. This attribute is read-only.
- isArchived - optional; type booleanThe archival status of the {@code Order}. This attribute is readonly.
- notes - optional; type stringProvides any additional notes that may annotate the {@code Order}. This attribute is optional and has a maximum length of 65,535 characters.
- externalOrderId - optional; type intAn arbitrary ID to associate to the {@code Order}, which can be used as a key to an external system. This value is optional.
- poNumber - optional; type stringThe purchase order number for the {@code Order}. This value is optional and has a maximum length of 63 characters.
- currencyCode - optional; type stringThe ISO currency code for the currency used by the {@code Order}. This value is read-only and is the network's currency code.
- advertiserId - optional; type longThe unique ID of the {@link Company}, which is of type {@link Company.Type#ADVERTISER}, to which this order belongs. This attribute is required.
- advertiserContactIds - optional, unbounded; type longList of IDs for advertiser contacts of the order.
- agencyId - optional; type longThe unique ID of the {@link Company}, which is of type {@link Company.Type#AGENCY}, with which this order is associated. This attribute is optional.
- agencyContactIds - optional, unbounded; type longList of IDs for agency contacts of the order.
- creatorId - optional; type longThe unique ID of the {@link User} who created the {@code Order} on behalf of the advertiser. This value is readonly and is assigned by Google.
- traffickerId - optional; type longThe unique ID of the {@link User} responsible for trafficking the {@code Order}. This value is required for creating an order.
- secondaryTraffickerIds - optional, unbounded; type longThe IDs of the secondary traffickers associated with the order. This value is optional.
- salespersonId - optional; type longThe unique ID of the {@link User} responsible for the sales of the {@code Order}. This value is optional.
- secondarySalespersonIds - optional, unbounded; type longThe IDs of the secondary salespeople associated with the order. This value is optional.
- totalImpressionsDelivered - optional; type longTotal impressions delivered for all line items of this {@code Order}. This value is read-only and is assigned by Google.
- totalClicksDelivered - optional; type longTotal clicks delivered for all line items of this {@code Order}. This value is read-only and is assigned by Google.
- totalViewableImpressionsDelivered - optional; type longTotal viewable impressions delivered for all line items of this {@code Order}. This value is read-only and is assigned by Google. Starting in v201705, this will be {@code null} when the order does not have line items trafficked against a viewable impressions goal.
- totalBudget - optional; type MoneyRepresents a money amount.
- currencyCode - optional; type stringThree letter currency code in string format.
- microAmount - optional; type longMoney values are always specified in terms of micros which are a millionth of the fundamental currency unit. For US dollars, $1 is 1,000,000 micros.
Total budget for all line items of this {@code Order}. This value is a readonly field assigned by Google and is calculated from the associated {@link LineItem#costPerUnit} values. - currencyCode - optional; type string
- appliedLabels - optional, unbounded; type AppliedLabelRepresents a {@link Label} that can be applied to an entity. To negate an inherited label, create an {@code AppliedLabel} with {@code labelId} as the inherited label's ID and {@code isNegated} set to true.
- labelId - optional; type longThe ID of a created {@link Label}.
- isNegated - optional; type boolean{@code isNegated} should be set to {@code true} to negate the effects of {@code labelId}.
The set of labels applied directly to this order. - labelId - optional; type long
- effectiveAppliedLabels - optional, unbounded; type AppliedLabelRepresents a {@link Label} that can be applied to an entity. To negate an inherited label, create an {@code AppliedLabel} with {@code labelId} as the inherited label's ID and {@code isNegated} set to true.
- labelId - optional; type longThe ID of a created {@link Label}.
- isNegated - optional; type boolean{@code isNegated} should be set to {@code true} to negate the effects of {@code labelId}.
Contains the set of labels applied directly to the order as well as those inherited from the company that owns the order. If a label has been negated, only the negated label is returned. This field is readonly and is assigned by Google. - labelId - optional; type long
- lastModifiedByApp - optional; type stringThe application which modified this order. This attribute is read only and is assigned by Google.
- isProgrammatic - optional; type booleanSpecifies whether or not the {@code Order} is a programmatic order. This value is optional and defaults to false.
- appliedTeamIds - optional, unbounded; type longThe IDs of all teams that this order is on directly.
- 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 order was last modified. - date - optional; type Date
- customFieldValues - optional, unbounded; type BaseCustomFieldValueThe value of a {@link CustomField} for a particular entity.
- customFieldId - optional; type longId of the {@code CustomField} to which this value belongs. This attribute is required.
The values of the custom fields associated with this order. - customFieldId - optional; type long
- 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. - orders - optional, unbounded; type Order
- getOrdersByStatementDescription:Gets an {@link OrderPage} of {@link Order} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
PQL Property Object Property {@code advertiserId} {@link Order#advertiserId} {@code endDateTime} {@link Order#endDateTime} {@code id} {@link Order#id} {@code name} {@link Order#name} {@code salespersonId} {@link Order#salespersonId} {@code startDateTime} {@link Order#startDateTime} {@code status} {@link Order#status} {@code traffickerId} {@link Order#traffickerId} {@code lastModifiedDateTime} {@link Order#lastModifiedDateTime} Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:getOrdersByStatementRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type getOrdersByStatementGets an {@link OrderPage} of {@link Order} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:PQL Property Object Property {@code advertiserId} {@link Order#advertiserId} {@code endDateTime} {@link Order#endDateTime} {@code id} {@link Order#id} {@code name} {@link Order#name} {@code salespersonId} {@link Order#salespersonId} {@code startDateTime} {@link Order#startDateTime} {@code status} {@link Order#status} {@code traffickerId} {@link Order#traffickerId} {@code lastModifiedDateTime} {@link Order#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:getOrdersByStatementResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type getOrdersByStatementResponse- rval - optional; type OrderPageCaptures a page of {@link Order} 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 OrderAn {@code Order} represents a grouping of individual {@link LineItem} objects, each of which fulfill an ad request from a particular advertiser.
- id - optional; type longThe unique ID of the {@code Order}. This value is readonly and is assigned by Google.
- name - optional; type stringThe name of the {@code Order}. This value is required to create an order and has a maximum length of 255 characters.
- startDateTime - 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 at which the {@code Order} and its associated line items are eligible to begin serving. This attribute is readonly and is derived from the line item of the order which has the earliest {@link LineItem#startDateTime}. - date - optional; type Date
- endDateTime - 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 at which the {@code Order} and its associated line items stop being served. This attribute is readonly and is derived from the line item of the order which has the latest {@link LineItem#endDateTime}. - date - optional; type Date
- unlimitedEndDateTime - optional; type booleanSpecifies whether or not the {@code Order} has an unlimited end date. This attribute is readonly and is {@code true} if any of the order's line items has {@link LineItem#unlimitedEndDateTime} set to {@code true}.
- status - optional; type OrderStatus - type string with restriction - enum { 'DRAFT', 'PENDING_APPROVAL', 'APPROVED', 'DISAPPROVED', 'PAUSED', 'CANCELED', 'DELETED', 'UNKNOWN' }The status of the {@code Order}. This attribute is read-only.
- isArchived - optional; type booleanThe archival status of the {@code Order}. This attribute is readonly.
- notes - optional; type stringProvides any additional notes that may annotate the {@code Order}. This attribute is optional and has a maximum length of 65,535 characters.
- externalOrderId - optional; type intAn arbitrary ID to associate to the {@code Order}, which can be used as a key to an external system. This value is optional.
- poNumber - optional; type stringThe purchase order number for the {@code Order}. This value is optional and has a maximum length of 63 characters.
- currencyCode - optional; type stringThe ISO currency code for the currency used by the {@code Order}. This value is read-only and is the network's currency code.
- advertiserId - optional; type longThe unique ID of the {@link Company}, which is of type {@link Company.Type#ADVERTISER}, to which this order belongs. This attribute is required.
- advertiserContactIds - optional, unbounded; type longList of IDs for advertiser contacts of the order.
- agencyId - optional; type longThe unique ID of the {@link Company}, which is of type {@link Company.Type#AGENCY}, with which this order is associated. This attribute is optional.
- agencyContactIds - optional, unbounded; type longList of IDs for agency contacts of the order.
- creatorId - optional; type longThe unique ID of the {@link User} who created the {@code Order} on behalf of the advertiser. This value is readonly and is assigned by Google.
- traffickerId - optional; type longThe unique ID of the {@link User} responsible for trafficking the {@code Order}. This value is required for creating an order.
- secondaryTraffickerIds - optional, unbounded; type longThe IDs of the secondary traffickers associated with the order. This value is optional.
- salespersonId - optional; type longThe unique ID of the {@link User} responsible for the sales of the {@code Order}. This value is optional.
- secondarySalespersonIds - optional, unbounded; type longThe IDs of the secondary salespeople associated with the order. This value is optional.
- totalImpressionsDelivered - optional; type longTotal impressions delivered for all line items of this {@code Order}. This value is read-only and is assigned by Google.
- totalClicksDelivered - optional; type longTotal clicks delivered for all line items of this {@code Order}. This value is read-only and is assigned by Google.
- totalViewableImpressionsDelivered - optional; type longTotal viewable impressions delivered for all line items of this {@code Order}. This value is read-only and is assigned by Google. Starting in v201705, this will be {@code null} when the order does not have line items trafficked against a viewable impressions goal.
- totalBudget - optional; type MoneyRepresents a money amount.
- currencyCode - optional; type stringThree letter currency code in string format.
- microAmount - optional; type longMoney values are always specified in terms of micros which are a millionth of the fundamental currency unit. For US dollars, $1 is 1,000,000 micros.
Total budget for all line items of this {@code Order}. This value is a readonly field assigned by Google and is calculated from the associated {@link LineItem#costPerUnit} values. - currencyCode - optional; type string
- appliedLabels - optional, unbounded; type AppliedLabelRepresents a {@link Label} that can be applied to an entity. To negate an inherited label, create an {@code AppliedLabel} with {@code labelId} as the inherited label's ID and {@code isNegated} set to true.
- labelId - optional; type longThe ID of a created {@link Label}.
- isNegated - optional; type boolean{@code isNegated} should be set to {@code true} to negate the effects of {@code labelId}.
The set of labels applied directly to this order. - labelId - optional; type long
- effectiveAppliedLabels - optional, unbounded; type AppliedLabelRepresents a {@link Label} that can be applied to an entity. To negate an inherited label, create an {@code AppliedLabel} with {@code labelId} as the inherited label's ID and {@code isNegated} set to true.
- labelId - optional; type longThe ID of a created {@link Label}.
- isNegated - optional; type boolean{@code isNegated} should be set to {@code true} to negate the effects of {@code labelId}.
Contains the set of labels applied directly to the order as well as those inherited from the company that owns the order. If a label has been negated, only the negated label is returned. This field is readonly and is assigned by Google. - labelId - optional; type long
- lastModifiedByApp - optional; type stringThe application which modified this order. This attribute is read only and is assigned by Google.
- isProgrammatic - optional; type booleanSpecifies whether or not the {@code Order} is a programmatic order. This value is optional and defaults to false.
- appliedTeamIds - optional, unbounded; type longThe IDs of all teams that this order is on directly.
- 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 order was last modified. - date - optional; type Date
- customFieldValues - optional, unbounded; type BaseCustomFieldValueThe value of a {@link CustomField} for a particular entity.
- customFieldId - optional; type longId of the {@code CustomField} to which this value belongs. This attribute is required.
The values of the custom fields associated with this order. - customFieldId - optional; type long
The collection of orders 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
- performOrderActionDescription:Performs actions on {@link Order} objects that match the given {@link Statement#query}.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:performOrderActionRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type performOrderActionPerforms actions on {@link Order} objects that match the given {@link Statement#query}.
- orderAction - optional; type OrderActionRepresents the actions that can be performed on {@link Order} 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:performOrderActionResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type performOrderActionResponse- 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. - orderAction - optional; type OrderAction
- updateOrdersDescription:Updates the specified {@link Order} objects.Operation type:Request-response. The endpoint receives a message, and sends a correlated message.Input:updateOrdersRequest (wsdlsoap:header, use = literal, part = RequestHeader)Source codeparameters type updateOrdersUpdates the specified {@link Order} objects.
- orders - optional, unbounded; type OrderAn {@code Order} represents a grouping of individual {@link LineItem} objects, each of which fulfill an ad request from a particular advertiser.
- id - optional; type longThe unique ID of the {@code Order}. This value is readonly and is assigned by Google.
- name - optional; type stringThe name of the {@code Order}. This value is required to create an order and has a maximum length of 255 characters.
- startDateTime - 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 at which the {@code Order} and its associated line items are eligible to begin serving. This attribute is readonly and is derived from the line item of the order which has the earliest {@link LineItem#startDateTime}. - date - optional; type Date
- endDateTime - 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 at which the {@code Order} and its associated line items stop being served. This attribute is readonly and is derived from the line item of the order which has the latest {@link LineItem#endDateTime}. - date - optional; type Date
- unlimitedEndDateTime - optional; type booleanSpecifies whether or not the {@code Order} has an unlimited end date. This attribute is readonly and is {@code true} if any of the order's line items has {@link LineItem#unlimitedEndDateTime} set to {@code true}.
- status - optional; type OrderStatus - type string with restriction - enum { 'DRAFT', 'PENDING_APPROVAL', 'APPROVED', 'DISAPPROVED', 'PAUSED', 'CANCELED', 'DELETED', 'UNKNOWN' }The status of the {@code Order}. This attribute is read-only.
- isArchived - optional; type booleanThe archival status of the {@code Order}. This attribute is readonly.
- notes - optional; type stringProvides any additional notes that may annotate the {@code Order}. This attribute is optional and has a maximum length of 65,535 characters.
- externalOrderId - optional; type intAn arbitrary ID to associate to the {@code Order}, which can be used as a key to an external system. This value is optional.
- poNumber - optional; type stringThe purchase order number for the {@code Order}. This value is optional and has a maximum length of 63 characters.
- currencyCode - optional; type stringThe ISO currency code for the currency used by the {@code Order}. This value is read-only and is the network's currency code.
- advertiserId - optional; type longThe unique ID of the {@link Company}, which is of type {@link Company.Type#ADVERTISER}, to which this order belongs. This attribute is required.
- advertiserContactIds - optional, unbounded; type longList of IDs for advertiser contacts of the order.
- agencyId - optional; type longThe unique ID of the {@link Company}, which is of type {@link Company.Type#AGENCY}, with which this order is associated. This attribute is optional.
- agencyContactIds - optional, unbounded; type longList of IDs for agency contacts of the order.
- creatorId - optional; type longThe unique ID of the {@link User} who created the {@code Order} on behalf of the advertiser. This value is readonly and is assigned by Google.
- traffickerId - optional; type longThe unique ID of the {@link User} responsible for trafficking the {@code Order}. This value is required for creating an order.
- secondaryTraffickerIds - optional, unbounded; type longThe IDs of the secondary traffickers associated with the order. This value is optional.
- salespersonId - optional; type longThe unique ID of the {@link User} responsible for the sales of the {@code Order}. This value is optional.
- secondarySalespersonIds - optional, unbounded; type longThe IDs of the secondary salespeople associated with the order. This value is optional.
- totalImpressionsDelivered - optional; type longTotal impressions delivered for all line items of this {@code Order}. This value is read-only and is assigned by Google.
- totalClicksDelivered - optional; type longTotal clicks delivered for all line items of this {@code Order}. This value is read-only and is assigned by Google.
- totalViewableImpressionsDelivered - optional; type longTotal viewable impressions delivered for all line items of this {@code Order}. This value is read-only and is assigned by Google. Starting in v201705, this will be {@code null} when the order does not have line items trafficked against a viewable impressions goal.
- totalBudget - optional; type MoneyRepresents a money amount.
- currencyCode - optional; type stringThree letter currency code in string format.
- microAmount - optional; type longMoney values are always specified in terms of micros which are a millionth of the fundamental currency unit. For US dollars, $1 is 1,000,000 micros.
Total budget for all line items of this {@code Order}. This value is a readonly field assigned by Google and is calculated from the associated {@link LineItem#costPerUnit} values. - currencyCode - optional; type string
- appliedLabels - optional, unbounded; type AppliedLabelRepresents a {@link Label} that can be applied to an entity. To negate an inherited label, create an {@code AppliedLabel} with {@code labelId} as the inherited label's ID and {@code isNegated} set to true.
- labelId - optional; type longThe ID of a created {@link Label}.
- isNegated - optional; type boolean{@code isNegated} should be set to {@code true} to negate the effects of {@code labelId}.
The set of labels applied directly to this order. - labelId - optional; type long
- effectiveAppliedLabels - optional, unbounded; type AppliedLabelRepresents a {@link Label} that can be applied to an entity. To negate an inherited label, create an {@code AppliedLabel} with {@code labelId} as the inherited label's ID and {@code isNegated} set to true.
- labelId - optional; type longThe ID of a created {@link Label}.
- isNegated - optional; type boolean{@code isNegated} should be set to {@code true} to negate the effects of {@code labelId}.
Contains the set of labels applied directly to the order as well as those inherited from the company that owns the order. If a label has been negated, only the negated label is returned. This field is readonly and is assigned by Google. - labelId - optional; type long
- lastModifiedByApp - optional; type stringThe application which modified this order. This attribute is read only and is assigned by Google.
- isProgrammatic - optional; type booleanSpecifies whether or not the {@code Order} is a programmatic order. This value is optional and defaults to false.
- appliedTeamIds - optional, unbounded; type longThe IDs of all teams that this order is on directly.
- 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 order was last modified. - date - optional; type Date
- customFieldValues - optional, unbounded; type BaseCustomFieldValueThe value of a {@link CustomField} for a particular entity.
- customFieldId - optional; type longId of the {@code CustomField} to which this value belongs. This attribute is required.
The values of the custom fields associated with this order. - customFieldId - optional; type long
- id - optional; type long
Output:updateOrdersResponse (wsdlsoap:header, use = literal, part = ResponseHeader)Source codeparameters type updateOrdersResponse- rval - optional, unbounded; type OrderAn {@code Order} represents a grouping of individual {@link LineItem} objects, each of which fulfill an ad request from a particular advertiser.
- id - optional; type longThe unique ID of the {@code Order}. This value is readonly and is assigned by Google.
- name - optional; type stringThe name of the {@code Order}. This value is required to create an order and has a maximum length of 255 characters.
- startDateTime - 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 at which the {@code Order} and its associated line items are eligible to begin serving. This attribute is readonly and is derived from the line item of the order which has the earliest {@link LineItem#startDateTime}. - date - optional; type Date
- endDateTime - 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 at which the {@code Order} and its associated line items stop being served. This attribute is readonly and is derived from the line item of the order which has the latest {@link LineItem#endDateTime}. - date - optional; type Date
- unlimitedEndDateTime - optional; type booleanSpecifies whether or not the {@code Order} has an unlimited end date. This attribute is readonly and is {@code true} if any of the order's line items has {@link LineItem#unlimitedEndDateTime} set to {@code true}.
- status - optional; type OrderStatus - type string with restriction - enum { 'DRAFT', 'PENDING_APPROVAL', 'APPROVED', 'DISAPPROVED', 'PAUSED', 'CANCELED', 'DELETED', 'UNKNOWN' }The status of the {@code Order}. This attribute is read-only.
- isArchived - optional; type booleanThe archival status of the {@code Order}. This attribute is readonly.
- notes - optional; type stringProvides any additional notes that may annotate the {@code Order}. This attribute is optional and has a maximum length of 65,535 characters.
- externalOrderId - optional; type intAn arbitrary ID to associate to the {@code Order}, which can be used as a key to an external system. This value is optional.
- poNumber - optional; type stringThe purchase order number for the {@code Order}. This value is optional and has a maximum length of 63 characters.
- currencyCode - optional; type stringThe ISO currency code for the currency used by the {@code Order}. This value is read-only and is the network's currency code.
- advertiserId - optional; type longThe unique ID of the {@link Company}, which is of type {@link Company.Type#ADVERTISER}, to which this order belongs. This attribute is required.
- advertiserContactIds - optional, unbounded; type longList of IDs for advertiser contacts of the order.
- agencyId - optional; type longThe unique ID of the {@link Company}, which is of type {@link Company.Type#AGENCY}, with which this order is associated. This attribute is optional.
- agencyContactIds - optional, unbounded; type longList of IDs for agency contacts of the order.
- creatorId - optional; type longThe unique ID of the {@link User} who created the {@code Order} on behalf of the advertiser. This value is readonly and is assigned by Google.
- traffickerId - optional; type longThe unique ID of the {@link User} responsible for trafficking the {@code Order}. This value is required for creating an order.
- secondaryTraffickerIds - optional, unbounded; type longThe IDs of the secondary traffickers associated with the order. This value is optional.
- salespersonId - optional; type longThe unique ID of the {@link User} responsible for the sales of the {@code Order}. This value is optional.
- secondarySalespersonIds - optional, unbounded; type longThe IDs of the secondary salespeople associated with the order. This value is optional.
- totalImpressionsDelivered - optional; type longTotal impressions delivered for all line items of this {@code Order}. This value is read-only and is assigned by Google.
- totalClicksDelivered - optional; type longTotal clicks delivered for all line items of this {@code Order}. This value is read-only and is assigned by Google.
- totalViewableImpressionsDelivered - optional; type longTotal viewable impressions delivered for all line items of this {@code Order}. This value is read-only and is assigned by Google. Starting in v201705, this will be {@code null} when the order does not have line items trafficked against a viewable impressions goal.
- totalBudget - optional; type MoneyRepresents a money amount.
- currencyCode - optional; type stringThree letter currency code in string format.
- microAmount - optional; type longMoney values are always specified in terms of micros which are a millionth of the fundamental currency unit. For US dollars, $1 is 1,000,000 micros.
Total budget for all line items of this {@code Order}. This value is a readonly field assigned by Google and is calculated from the associated {@link LineItem#costPerUnit} values. - currencyCode - optional; type string
- appliedLabels - optional, unbounded; type AppliedLabelRepresents a {@link Label} that can be applied to an entity. To negate an inherited label, create an {@code AppliedLabel} with {@code labelId} as the inherited label's ID and {@code isNegated} set to true.
- labelId - optional; type longThe ID of a created {@link Label}.
- isNegated - optional; type boolean{@code isNegated} should be set to {@code true} to negate the effects of {@code labelId}.
The set of labels applied directly to this order. - labelId - optional; type long
- effectiveAppliedLabels - optional, unbounded; type AppliedLabelRepresents a {@link Label} that can be applied to an entity. To negate an inherited label, create an {@code AppliedLabel} with {@code labelId} as the inherited label's ID and {@code isNegated} set to true.
- labelId - optional; type longThe ID of a created {@link Label}.
- isNegated - optional; type boolean{@code isNegated} should be set to {@code true} to negate the effects of {@code labelId}.
Contains the set of labels applied directly to the order as well as those inherited from the company that owns the order. If a label has been negated, only the negated label is returned. This field is readonly and is assigned by Google. - labelId - optional; type long
- lastModifiedByApp - optional; type stringThe application which modified this order. This attribute is read only and is assigned by Google.
- isProgrammatic - optional; type booleanSpecifies whether or not the {@code Order} is a programmatic order. This value is optional and defaults to false.
- appliedTeamIds - optional, unbounded; type longThe IDs of all teams that this order is on directly.
- 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 order was last modified. - date - optional; type Date
- customFieldValues - optional, unbounded; type BaseCustomFieldValueThe value of a {@link CustomField} for a particular entity.
- customFieldId - optional; type longId of the {@code CustomField} to which this value belongs. This attribute is required.
The values of the custom fields associated with this order. - customFieldId - optional; type long
- 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. - orders - optional, unbounded; type Order
Port type OrderServiceInterfaceSource 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