dfp_createCompanies: CompanyService

Description Usage Arguments Details Value See Also Examples

Description

Provides operations for creating, updating and retrieving Company objects.

Usage

1
dfp_createCompanies(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

Details

createCompanies

Creates new Company objects.

Value

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

See Also

Google Documentation for createCompanies

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
request_data <- list(companies=list(name="TestCompany1", 
                                    type='HOUSE_ADVERTISER', 
                                    address='123 Main St Hometown, FL USA', 
                                    email='testcompany1@gmail.com', 
                                    comment='API Test'))
result <- dfp_createCompanies(request_data)

## End(Not run)

rdfp documentation built on June 6, 2019, 1:02 a.m.