myTarGetInAppStats: Returns statistics on mobile app events attributed with...

Description Usage Arguments Value Examples

View source: R/myTarGetInAppStats.R

Description

Returns statistics on mobile app events attributed with advertising impressions myTarget by campaigns and banners

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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()
)

Arguments

date_from

Start date

date_to

End date

object_type

API object type, character value, apply one of campaigns, banners, users

object_id

ID of API object (id campaign or any object)

attribution

Attributing by event time or impression time. Available options: conversion, impression

conversion_type

Conversion type: postclick - postclick, postview - postview, total - total.

auth

R auth object

login

Your login, or client name in MyTarget account

token_path

Path to directory where you save credential data

Value

tibble with fast statistics

Examples

1
2
3
4
## Not run: 
rt_stat <- myTarGetFastStats()

## End(Not run)

rmytarget documentation built on Oct. 20, 2021, 5:08 p.m.