rdfp (version 0.1.2)

dfp_createLineItems: 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 list or data.frame of data elements to be formatted for a SOAP request (XML format, but passed as character string)

as_df

a boolean indicating whether to attempt to parse the result into a data.frame

verbose

a boolean indicating whether to print the service URL and POSTed XML

Value

a data.frame or list containing all the elements of a createLineItemsResponse

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.

See Also

Google Documentation for createLineItems

Examples

Run this code
# NOT RUN {
 res <- dfp_createLineItems(request_data)
# }

Run the code above in your browser using DataCamp Workspace