rdfp (version 0.1.2)

dfp_createCustomTargetingKeys: CustomTargetingService

Description

Provides operations for creating, updating and retrieving CustomTargetingKey and CustomTargetingValue objects.

Usage

dfp_createCustomTargetingKeys(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 createCustomTargetingKeysResponse

Details

createCustomTargetingKeys

Creates new CustomTargetingKey objects. The following fields are required:

  • CustomTargetingKey name

  • CustomTargetingKey type

See Also

Google Documentation for createCustomTargetingKeys

Examples

Run this code
# NOT RUN {
request_data <- list(keys=list(name="Test1", 
                               displayName="TestKey1", 
                               type='FREEFORM'))
result <- dfp_createCustomTargetingKeys(request_data)
# }

Run the code above in your browser using DataCamp Workspace