In this version of the package we have upgraded from
v201811
to v201905
. Please read the announced
changes on Google’s website since they will be reflected in the package
exactly as explained there at
https://developers.google.com/ad-manager/api/rel_notes#v201905
as_df
argument will now return tidier tibbles,
meaning that elements that are nested lists will stay as nested lists.
For example, if you use dfp_getLineItemsByStatement()
then
each row will be a line item, but the nested parts, like
targeting
will be in a single column as a column of lists.
Also, setting as_df=FALSE
will no longer return lists of
length one, but the actual result so you do not need to always be using
result[[1]] to get after the returned result. This means that some of
your existing scripts may break if you are stil using this notation.
Please view the examples and/or vignettes to see the current structure
you should be using if you are having trouble.dfp_full_report_wrapper()
that
was ignoring the check_interval
argument (#11)Note: DoubleClick for Publishers was recently
renamed to Google Ad Manager. For this version we will continue to use
the “dfp” abbreviation although everything else has been updated to
v201811
from the Google Ad Manager API reference.
Also, please note that the API has changed the name of
timeZoneID
to timeZoneId
. We have modified
functions to follow suit. You may need to update this argument in
existing scripts, especially when dealing with forecasts, reports,
orders, and lineitems.
v201811
(#8)".httr-oauth-rdfp"
so that it does not clash with other
package token namesdfp_date_to_list()
now infers the timezone if not
provided. Previously it always defaulted to a value of
America/New_York
(#6)max_tries
argument in
dfp_full_report_wrapper()
from 10 to 20 tries so that long
running queries do not “timeout” by reaching the max number of tries
without completingdfp_report_url_to_dataframe()
now returns a
tbl_df
object for better printing and casted data
typesdfp_select()
so that it automatically uses
dfp_select_parse()
to format the result into a
tbl_df
dfp_date_as_list()
that will convert a date or
datetime representation in R to the required list format for submission
to DFPaddtl_scopes
arugment to dfp_auth()
so
that users can create token that can be used with other R packages to
connect to other Google servicesv201802
parse_soap_response()
.
Warning: This will cause some breaking changes because how certain
results are returned may be different.dfp_getCurrentUser()
dfp_getCurrentNetwork()
dfp_createTeams()
dfp_createUsers()
dfp_createUserTeamAssociations()
dfp_createCompanies()
dfp_createContacts()
dfp_createLabels()
dfp_createCustomFields()
dfp_createCustomFieldOptions()
dfp_createCustomTargetingKeys()
dfp_createCustomTargetingValues()
dfp_createOrders()
dfp_getLineItemsByStatement()
dfp_full_report_wrapper()
dfp_getDeliveryForecast()
dfp_getAvailabilityForecast()