RandaexDirect paketi yordamida statistikalarni yuklab olish uchun namunaviy kod
kutubxona (RandexDirect) stat<- yadirGetReport(ReportType = "ACCOUNT_PERFORMANCE_REPORT", DateRangeType = "CUSTOM_DATE", DateFrom = "2018-01-01", DateTo = "2018-05-10", FieldNames = c("AdNetworkType", "Impressions", "Clicks", "Cost"), FilterList = c("CampaignId IN 123456 ,987654","Clicks GREATER_THAN 100"), IncludeVAT = "YES", IncludeDiscount = "NO", Login = "ваш логин", TokenPath = "C:/token_yandex")
RadWords - Google reklamalaridan ma'lumotlarni yuklab olish (EX Google AdWords)
Kran bilan paketni o'rnatish: O'rnatish.packges ("radditlar")
Gitub bilan paketni o'rnatish: Devtools :: Istic_gitub ("JBurxardt / radduslar")
Rasmiy hujjatlar: havola
Aslida, printsipial jihatdan paket ko'p funktsiyalarni o'z ichiga olmaydi, lekin men har doim uchtadan foydalandim:
RadWors paketlari bilan ishlaydigan namuna
kutubxona (radduslar) # so'rov adv_token<- doAyth() # формирование запроса body <- statement(select=c("AccountDescriptiveName", "ExternalCustomerId", "AccountCurrencyCode", "AdNetworkType1", "RegionCriteriaId", "CountryCriteriaId", "CityCriteriaId", "Device", "Month", "Year", "Impressions", "Clicks", "Interactions", "VideoViews", "Cost", "Conversions"), report="GEO_PERFORMANCE_REPORT", start="2018-09-01", end="2018-09-20") my_data <- getData(clientCustomerId = "000-000-0000", google_auth = adw_token , statement = body, transformation = T)
API API hisobotida mavjud bo'lgan ma'ruzalar ro'yxati va siz havolani rasmiy yordamda topishingiz mumkin.
adwardsr - yuklab olish \u003d va google reklamalari ma'lumotlari uchun yangi va funktsional to'plam (EX Google AdWords)
Kran bilan paketni o'rnatish: O'rnatish.packs ("AdWordsr")
Github bilan paketni o'rnatish: Devtools :: Istoc_github ("Cran / Adversr")
AdWordsr paketi radvordlarga o'xshash, ammo u yangi va katta funktsiyalar to'plamiga ega.
Dostları ilə paylaş: |