Initiates the execution of a ReportQuery on the server. The following fields are required:
ReportJob reportQuery
dfp_runReportJob(request_data, as_df = TRUE, verbose = FALSE)
| 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 |
a data.frame or list containing all the elements of a runReportJobResponse
# NOT RUN { request_data <- list(reportJob= list(reportQuery= list(dimensions='MONTH_AND_YEAR', dimensions='AD_UNIT_ID', adUnitView='FLAT', columns='AD_SERVER_CLICKS', dateRangeType='LAST_WEEK'))) # the result is a list and most importantly the ID is included for checking its status dfp_runReportJob_result <- dfp_runReportJob(request_data) dfp_runReportJob_result$id # }