dfp_getTrafficAdjustmentsByStatement: AdjustmentService

Description Usage Arguments Details Value See Also Examples

Description

Provides methods for creating, updating and retrieving Adjustment objects.

Usage

1
2
dfp_getTrafficAdjustmentsByStatement(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

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:

Value

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

See Also

Google Documentation for getTrafficAdjustmentsByStatement

Examples

1
2
3
4
5
## Not run: 
 dat <- list(filterStatement=list('query'="WHERE status='ACTIVE'")) 
 res <- dfp_getTrafficAdjustmentsByStatement(dat)

## End(Not run)

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