rdfp (version 0.1.4)

dfp_createCreativeWrappers: CreativeWrapperService

Description

Provides methods for the creation and management of creative wrappers. CreativeWrapper CreativeWrappers allow HTML snippets to be served along with creatives. Creative wrappers must be associated with a LabelType#CREATIVE_WRAPPER label and applied to ad units by AdUnit#appliedLabels.

Usage

dfp_createCreativeWrappers(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 createCreativeWrappersResponse

Details

createCreativeWrappers

Creates a new CreativeWrapper objects. The following fields are required:

  • CreativeWrapper labelId

  • CreativeWrapper ordering

  • CreativeWrapper header or CreativeWrapper footer

See Also

Google Documentation for createCreativeWrappers

Examples

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

Run the code above in your browser using DataCamp Workspace