Last chance! 50% off unlimited learning
Sale ends in
Returns statistics on mobile app events attributed with advertising impressions myTarget by campaigns and banners
myTarGetInAppStats(
date_from = Sys.Date() - 7,
date_to = Sys.Date(),
object_type = "campaigns",
object_id = NULL,
attribution = c("conversion", "impression"),
conversion_type = c("postview", "postclick", "total"),
auth = NULL,
login = getOption("rmytarget.login"),
token_path = myTarTokenPath()
)
Start date
End date
API object type, character value, apply one of campaigns, banners, users
ID of API object (id campaign or any object)
Attributing by event time or impression time. Available options: conversion, impression
Conversion type: postclick - postclick, postview - postview, total - total.
R auth object
Your login, or client name in MyTarget account
Path to directory where you save credential data
tibble with fast statistics
# NOT RUN {
rt_stat <- myTarGetFastStats()
# }
Run the code above in your browser using DataLab