dfp_createLineItems {rdfp} | R Documentation |
LineItemService
Description
#' Provides methods for creating, updating and retrieving LineItem objects.
Usage
dfp_createLineItems(request_data, as_df = TRUE, verbose = FALSE)
Arguments
request_data |
a |
as_df |
a boolean indicating whether to attempt to parse the result into
a |
verbose |
a boolean indicating whether to print the service URL and POSTed XML |
Details
Line items define the campaign. For example, line items define:
a budget
a span of time to run
ad unit targeting
In short, line items connect all of the elements of an ad campaign. Line items and creatives can be associated with each other through LineItemCreativeAssociation objects. An ad unit will host a creative through both this association and the LineItem#targeting to it.
createLineItems
Creates new LineItem objects.
Value
a data.frame
or list
containing all the elements of a createLineItemsResponse
See Also
Google Documentation for createLineItems
Examples
## Not run:
res <- dfp_createLineItems(request_data)
## End(Not run)