dfp_getTrafficAdjustmentsByStatement {rdfp} | R Documentation |
AdjustmentService
Description
Provides methods for creating, updating and retrieving Adjustment objects.
Usage
dfp_getTrafficAdjustmentsByStatement(request_data, as_df = TRUE,
verbose = FALSE)
Arguments
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 |
Details
Adjustments are used to adjust a particular ad unit for forecasting. For, example you might have a manual adjustment for an inventory unit that will be seeing a spike for a movie premiere coming up. Or you may have a historical adjustment to tell forecasting that you have a seasonal trend coming up and you want Christmas this year to look like Christmas last year plus five percent.
getTrafficAdjustmentsByStatement
Returns a TrafficForecastAdjustmentPage of all TrafficForecastAdjustments that satisfy the given Statement query. The following fields are supported for filtering:
id
lastModifiedDateTime
Value
a data.frame
or list
containing all the elements of a getTrafficAdjustmentsByStatementResponse
See Also
Google Documentation for getTrafficAdjustmentsByStatement
Examples
## Not run:
dat <- list(filterStatement=list('query'="WHERE status='ACTIVE'"))
res <- dfp_getTrafficAdjustmentsByStatement(dat)
## End(Not run)