Gets a LineItemPage of LineItem objects that satisfy the given Statement query. The following fields are supported for filtering:
CostType
CreationDateTime
DeliveryRateType
EndDateTime
ExternalId
Id
IsMissingCreatives
IsSetTopBoxEnabled
LastModifiedDateTime
LineItemType
Name
OrderId
StartDateTime
Status
Targeting
UnitsBought
dfp_getLineItemsByStatement(request_data, as_df = FALSE, verbose = FALSE)
a list or data.frame of data elements to be formatted for a SOAP request (XML format, but passed as character string)
list
data.frame
a boolean indicating whether to attempt to parse the result into a data.frame
a boolean indicating whether to print the service URL and POSTed XML
a data.frame or list containing all the elements of a getLineItemsByStatementResponse
Google Documentation for getLineItemsByStatement
# NOT RUN { filter <- "WHERE LineItemType='STANDARD' and Status='DELIVERING' LIMIT 10" result <- dfp_getLineItemsByStatement(list(filterStatement=list(query=filter))) # }
Run the code above in your browser using DataLab