rdfp (version 0.1.2)

dfp_getProposalsByStatement: getProposalsByStatement

Description

Gets a ProposalPage of Proposal objects that satisfy the given Statement query. The following fields are supported for filtering:

  • id

  • dfpOrderId

  • name

  • status

  • isArchived

  • approvalStatus Only applicable for proposals using sales management

  • lastModifiedDateTime

  • thirdPartyAdServerId Only applicable for non-programmatic proposals using sales management

  • customThirdPartyAdServerName Only applicable for non-programmatic proposals using sales management

  • hasOfflineErrors

  • isProgrammatic

  • negotiationStatus Only applicable for programmatic proposals

Usage

dfp_getProposalsByStatement(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 getProposalsByStatementResponse

See Also

Google Documentation for getProposalsByStatement

Examples

Run this code
# NOT RUN {
 dat <- list(filterStatement=list('query'="WHERE status='ACTIVE'")) 
 res <- dfp_getProposalsByStatement(dat)
# }

Run the code above in your browser using DataCamp Workspace