public interface LineItemServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
LineItem[] |
createLineItems(LineItem[] lineItems)
Creates new
LineItem objects. |
LineItemPage |
getLineItemsByStatement(Statement filterStatement)
|
Boolean |
hasCustomPacingCurve(Long lineItemId)
Returns whether a custom pacing curve has been uploaded to
Google Cloud Storage for a line
item.
|
UpdateResult |
performLineItemAction(LineItemAction lineItemAction,
Statement filterStatement)
Performs actions on
LineItem objects that match the
given
Statement.query. |
LineItem[] |
updateLineItems(LineItem[] lineItems)
Updates the specified
LineItem objects. |
LineItem[] createLineItems(LineItem[] lineItems) throws RemoteException, ApiException
LineItem objects.lineItems - the line items to createRemoteExceptionApiExceptionLineItemPage getLineItemsByStatement(Statement filterStatement) throws RemoteException, ApiException
LineItemPage of LineItem objects that
satisfy the
given Statement.query. The following fields are supported
for
filtering:
| PQL property | Entity property |
|---|---|
CostType
|
LineItemSummary.costType
|
CreationDateTime
|
LineItemSummary.creationDateTime
|
DeliveryRateType
|
LineItemSummary.deliveryRateType
|
EndDateTime
|
LineItemSummary.endDateTime
|
ExternalId
|
LineItemSummary.externalId
|
Id
|
LineItemSummary.id
|
IsMissingCreatives
|
LineItemSummary.isMissingCreatives
|
IsSetTopBoxEnabled
|
LineItemSummary.isSetTopBoxEnabled
|
LastModifiedDateTime
|
LineItemSummary.lastModifiedDateTime
|
LineItemType
|
LineItemSummary.lineItemType
|
Name
|
LineItemSummary.name
|
OrderId
|
LineItemSummary.orderId
|
StartDateTime
|
LineItemSummary.startDateTime
|
Status
|
LineItemSummary.status
|
UnitsBought
|
LineItem#unitsBought
|
filterStatement - a Publisher Query Language statement used to
filter
a set of line items.RemoteExceptionApiExceptionBoolean hasCustomPacingCurve(Long lineItemId) throws RemoteException, ApiException
lineItemId - the ID of the line itemRemoteExceptionApiExceptionUpdateResult performLineItemAction(LineItemAction lineItemAction, Statement filterStatement) throws RemoteException, ApiException
LineItem objects that match the
given
Statement.query.lineItemAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter
a set of line itemsRemoteExceptionApiExceptionLineItem[] updateLineItems(LineItem[] lineItems) throws RemoteException, ApiException
LineItem objects.lineItems - the line items to updateRemoteExceptionApiExceptionCopyright © 2020. All rights reserved.