From 94da6b700fdd5c8e768c0699fdb35b75cd9f4497 Mon Sep 17 00:00:00 2001 From: Alexey Seleznev Date: Wed, 28 Sep 2022 10:18:55 +0300 Subject: [PATCH] Facebook Marketing API v15.0 --- CRAN-SUBMISSION | 4 ++-- DESCRIPTION | 5 ++--- NEWS.md | 4 ++++ R/zzz.R | 2 +- cran-comments.md | 4 +--- vignettes/rfacebookstat-authorization.Rmd | 4 ++-- vignettes/rfacebookstat-cost-data.Rmd | 4 ++-- vignettes/rfacebookstat-get-statistics.Rmd | 4 ++-- 8 files changed, 16 insertions(+), 15 deletions(-) diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index d5e4610..92667ca 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ Version: 2.7.0 -Date: 2022-06-06 09:50:46 UTC -SHA: e9dcb65bf3727f163ed7cb63bac2525c67c2fe86 +Date: 2022-06-09 10:52:45 UTC +SHA: 50288d0c8b4462ccc39c151dc429fc5967ad9fb7 diff --git a/DESCRIPTION b/DESCRIPTION index f91ced0..98a2c4f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,7 @@ Package: rfacebookstat Type: Package Title: Load Data from Facebook API Marketing -Version: 2.7.0 -Date: 2022-05-23 +Version: 2.8.0 Authors@R: c(person(given = "Alexey", family = "Seleznev", @@ -28,5 +27,5 @@ URL: https://selesnow.github.io/rfacebookstat/, https://www.youtube.com/playlist License: MIT + file LICENSE Suggests: knitr, rmarkdown Encoding: UTF-8 -RoxygenNote: 7.1.2 +RoxygenNote: 7.2.1 VignetteBuilder: knitr diff --git a/NEWS.md b/NEWS.md index 6283d3e..7db776d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# rfacebookstat 2.8.0 + +* Пакет переведён на работу с Facebook Marketing API v15.0 + # rfacebookstat 2.7.0 * В результат функции `fbGetAdAccounts()` добавленоо поле `spend_cap`, в котором содержится информация об установленном в аккаунте лимите затрат. diff --git a/R/zzz.R b/R/zzz.R index 591afe5..f97ca5e 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -101,7 +101,7 @@ rfacebookstatWelcomeMessage <- function(){ } op <- options() - op.rfacebookstat <- list(rfacebookstat.api_version = "v14.0", + op.rfacebookstat <- list(rfacebookstat.api_version = "v15.0", rfacebookstat.access_token = fb_token, rfacebookstat.accounts_id = NULL, rfacebookstat.business_id = NULL, diff --git a/cran-comments.md b/cran-comments.md index 82394a3..683b0de 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -2,6 +2,4 @@ 0 errors | 0 warnings | 1 note -* Migrate to Facebook Marketing API v14.0 -* Update `fbGetAdAccounts()` -* Returned vignettes +* Migrate to Facebook Marketing API v15.0 diff --git a/vignettes/rfacebookstat-authorization.Rmd b/vignettes/rfacebookstat-authorization.Rmd index 011fde7..87c0881 100644 --- a/vignettes/rfacebookstat-authorization.Rmd +++ b/vignettes/rfacebookstat-authorization.Rmd @@ -1,8 +1,8 @@ --- -title: "Авторизация в API facebook" +title: "1. API facebook Authorization" output: rmarkdown::html_vignette vignette: > - %\VignetteIndexEntry{Авторизация в API facebook} + %\VignetteIndexEntry{1. API facebook Authorization} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- diff --git a/vignettes/rfacebookstat-cost-data.Rmd b/vignettes/rfacebookstat-cost-data.Rmd index 5e230dc..7658cf5 100644 --- a/vignettes/rfacebookstat-cost-data.Rmd +++ b/vignettes/rfacebookstat-cost-data.Rmd @@ -1,8 +1,8 @@ --- -title: "Загрузка данных о расходах на рекламу из Facebook в Google Analytics" +title: "3. Loadind click and cost data from Facebook into Google Analytics" output: rmarkdown::html_vignette vignette: > - %\VignetteIndexEntry{Загрузка данных о расходах на рекламу из Facebook в Google Analytics} + %\VignetteIndexEntry{3. Loadind click and cost data from Facebook into Google Analytics} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- diff --git a/vignettes/rfacebookstat-get-statistics.Rmd b/vignettes/rfacebookstat-get-statistics.Rmd index adf5752..eaef3ef 100644 --- a/vignettes/rfacebookstat-get-statistics.Rmd +++ b/vignettes/rfacebookstat-get-statistics.Rmd @@ -1,8 +1,8 @@ --- -title: "Загрузки статистики из рекламных аккаунтов Facebook" +title: "2. Get Facebook Marketing Insight" output: rmarkdown::html_vignette vignette: > - %\VignetteIndexEntry{Загрузки статистики из рекламных аккаунтов Facebook} + %\VignetteIndexEntry{2. Get Facebook Marketing Insight} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} ---