Skip to content

Commit cdc9a27

Browse files
Updated Dates in README
1 parent 80666d0 commit cdc9a27

File tree

3 files changed

+21
-22
lines changed

3 files changed

+21
-22
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
before_install:
2-
- openssl aes-256-cbc -K $encrypted_9568539fc584_key -iv $encrypted_9568539fc584_iv
3-
-in tests/testthat/setup.tar.enc -out tests/testthat/setup.tar -d
2+
- openssl aes-256-cbc -K $encrypted_9568539fc584_key -iv $encrypted_9568539fc584_iv -in tests/testthat/setup.tar.enc -out tests/testthat/setup.tar -d
43
- tar xvf tests/testthat/setup.tar -C tests/testthat
54
- R -q -e 'install.packages(c("remotes", "curl")); remotes::install_github("ropenscilabs/tic");
65
tic::prepare_all_stages(); tic::before_install()'

README.Rmd

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,12 @@ request_data <- list('filterStatement'=list('query'="WHERE name = 'TestCompany1'
278278
dfp_getCompaniesByStatement_result <- dfp_getCompaniesByStatement(request_data)
279279
280280
request_data <- list(list(name=paste0('TestOrder'),
281-
startDateTime=list(date=list(year=2017, month=12, day=1),
281+
startDateTime=list(date=list(year=2018, month=12, day=1),
282282
hour=0,
283283
minute=0,
284284
second=0,
285285
timeZoneID='America/New_York'),
286-
endDateTime=list(date=list(year=2017, month=12, day=31),
286+
endDateTime=list(date=list(year=2018, month=12, day=31),
287287
hour=23,
288288
minute=59,
289289
second=59,
@@ -301,7 +301,7 @@ dfp_createOrders_result <- dfp_createOrders(request_data)
301301
Below is an example of how to get objects by Publishers Query Language (PQL) statement.
302302
The statement is constructed as a list of lists that are nested to emulate
303303
the hierarchy of the XML to be created. The example uses the `dfp_getLineItemsByStatement`
304-
function from the [LineItemService] (https://developers.google.com/doubleclick-publishers/docs/reference/v201702/LineItemService)
304+
function from the [LineItemService] (https://developers.google.com/doubleclick-publishers/docs/reference/v201802/LineItemService)
305305

306306
```{r eval = FALSE}
307307
@@ -330,13 +330,13 @@ Below is an example of how to make a simple report request.
330330
# Documentation for the reportQuery object can be found in R using
331331
# ?dfp_ReportService_object_factory and searching for ReportQuery
332332
# Also online documentation is available that lists available child elements for reportQuery
333-
# https://developers.google.com/doubleclick-publishers/docs/reference/v201702/ReportService.ReportQuery
333+
# https://developers.google.com/doubleclick-publishers/docs/reference/v201802/ReportService.ReportQuery
334334
request_data <- list(reportJob=list(reportQuery=list(dimensions='MONTH_AND_YEAR',
335335
dimensions='AD_UNIT_ID',
336336
adUnitView='FLAT',
337337
columns='TOTAL_INVENTORY_LEVEL_IMPRESSIONS',
338-
startDate=list(year=2015, month=10, day=1),
339-
endDate=list(year=2015, month=10, day=31),
338+
startDate=list(year=2018, month=10, day=1),
339+
endDate=list(year=2018, month=10, day=31),
340340
dateRangeType='CUSTOM_DATE'
341341
)))
342342
@@ -349,7 +349,7 @@ head(report_data)
349349

350350
#### A More Detailed Explanation of the Report Process
351351

352-
Reports actually require 3 steps from the [ReportService] (https://developers.google.com/doubleclick-publishers/docs/reference/v201702/ReportService):
352+
Reports actually require 3 steps from the [ReportService] (https://developers.google.com/doubleclick-publishers/docs/reference/v201802/ReportService):
353353
1) to request the report, 2) check on its status, and 3) download. This basic process flow
354354
is required for all reports requested via this service. The wrapper function used above
355355
named `dfp_full_report_wrapper` manages all aspects of reporting, so this level of
@@ -362,13 +362,13 @@ detail is not needed unless the wrapper service does not quite fit your needs.
362362
# Documentation for the reportQuery object can be found in R using
363363
# ?dfp_ReportService_object_factory and searching for ReportQuery
364364
# Also online documentation is available that lists available child elements for reportQuery
365-
# https://developers.google.com/doubleclick-publishers/docs/reference/v201702/ReportService.ReportQuery
365+
# https://developers.google.com/doubleclick-publishers/docs/reference/v201802/ReportService.ReportQuery
366366
request_data <- list(reportJob=list(reportQuery=list(dimensions='MONTH_AND_YEAR',
367367
dimensions='AD_UNIT_ID',
368368
adUnitView='FLAT',
369369
columns='TOTAL_INVENTORY_LEVEL_IMPRESSIONS',
370-
startDate=list(year=2015, month=10, day=1),
371-
endDate=list(year=2015, month=10, day=31),
370+
startDate=list(year=2018, month=10, day=1),
371+
endDate=list(year=2018, month=10, day=31),
372372
dateRangeType='CUSTOM_DATE'
373373
)))
374374

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -229,12 +229,12 @@ request_data <- list('filterStatement'=list('query'="WHERE name = 'TestCompany1'
229229
dfp_getCompaniesByStatement_result <- dfp_getCompaniesByStatement(request_data)
230230

231231
request_data <- list(list(name=paste0('TestOrder'),
232-
startDateTime=list(date=list(year=2017, month=12, day=1),
232+
startDateTime=list(date=list(year=2018, month=12, day=1),
233233
hour=0,
234234
minute=0,
235235
second=0,
236236
timeZoneID='America/New_York'),
237-
endDateTime=list(date=list(year=2017, month=12, day=31),
237+
endDateTime=list(date=list(year=2018, month=12, day=31),
238238
hour=23,
239239
minute=59,
240240
second=59,
@@ -248,7 +248,7 @@ dfp_createOrders_result <- dfp_createOrders(request_data)
248248

249249
#### Get Line Items By A Filter
250250

251-
Below is an example of how to get objects by Publishers Query Language (PQL) statement. The statement is constructed as a list of lists that are nested to emulate the hierarchy of the XML to be created. The example uses the `dfp_getLineItemsByStatement` function from the \[LineItemService\] (<https://developers.google.com/doubleclick-publishers/docs/reference/v201702/LineItemService>)
251+
Below is an example of how to get objects by Publishers Query Language (PQL) statement. The statement is constructed as a list of lists that are nested to emulate the hierarchy of the XML to be created. The example uses the `dfp_getLineItemsByStatement` function from the \[LineItemService\] (<https://developers.google.com/doubleclick-publishers/docs/reference/v201802/LineItemService>)
252252

253253
``` r
254254

@@ -276,13 +276,13 @@ Below is an example of how to make a simple report request.
276276
# Documentation for the reportQuery object can be found in R using
277277
# ?dfp_ReportService_object_factory and searching for ReportQuery
278278
# Also online documentation is available that lists available child elements for reportQuery
279-
# https://developers.google.com/doubleclick-publishers/docs/reference/v201702/ReportService.ReportQuery
279+
# https://developers.google.com/doubleclick-publishers/docs/reference/v201802/ReportService.ReportQuery
280280
request_data <- list(reportJob=list(reportQuery=list(dimensions='MONTH_AND_YEAR',
281281
dimensions='AD_UNIT_ID',
282282
adUnitView='FLAT',
283283
columns='TOTAL_INVENTORY_LEVEL_IMPRESSIONS',
284-
startDate=list(year=2015, month=10, day=1),
285-
endDate=list(year=2015, month=10, day=31),
284+
startDate=list(year=2018, month=10, day=1),
285+
endDate=list(year=2018, month=10, day=31),
286286
dateRangeType='CUSTOM_DATE'
287287
)))
288288

@@ -295,7 +295,7 @@ head(report_data)
295295

296296
#### A More Detailed Explanation of the Report Process
297297

298-
Reports actually require 3 steps from the \[ReportService\] (<https://developers.google.com/doubleclick-publishers/docs/reference/v201702/ReportService>): 1) to request the report, 2) check on its status, and 3) download. This basic process flow is required for all reports requested via this service. The wrapper function used above named `dfp_full_report_wrapper` manages all aspects of reporting, so this level of detail is not needed unless the wrapper service does not quite fit your needs.
298+
Reports actually require 3 steps from the \[ReportService\] (<https://developers.google.com/doubleclick-publishers/docs/reference/v201802/ReportService>): 1) to request the report, 2) check on its status, and 3) download. This basic process flow is required for all reports requested via this service. The wrapper function used above named `dfp_full_report_wrapper` manages all aspects of reporting, so this level of detail is not needed unless the wrapper service does not quite fit your needs.
299299

300300
``` r
301301

@@ -304,13 +304,13 @@ Reports actually require 3 steps from the \[ReportService\] (<https://developers
304304
# Documentation for the reportQuery object can be found in R using
305305
# ?dfp_ReportService_object_factory and searching for ReportQuery
306306
# Also online documentation is available that lists available child elements for reportQuery
307-
# https://developers.google.com/doubleclick-publishers/docs/reference/v201702/ReportService.ReportQuery
307+
# https://developers.google.com/doubleclick-publishers/docs/reference/v201802/ReportService.ReportQuery
308308
request_data <- list(reportJob=list(reportQuery=list(dimensions='MONTH_AND_YEAR',
309309
dimensions='AD_UNIT_ID',
310310
adUnitView='FLAT',
311311
columns='TOTAL_INVENTORY_LEVEL_IMPRESSIONS',
312-
startDate=list(year=2015, month=10, day=1),
313-
endDate=list(year=2015, month=10, day=31),
312+
startDate=list(year=2018, month=10, day=1),
313+
endDate=list(year=2018, month=10, day=31),
314314
dateRangeType='CUSTOM_DATE'
315315
)))
316316

0 commit comments

Comments
 (0)