myTarGetFastStats: Returns Basic Statistics in Real Time

Description Usage Arguments Value Examples

View source: R/myTarGetFastStats.R

Description

returns basic statistics on advertising objects in real time, without taking into account the filtering of incorrect traffic. The summary statistics can vary significantly.

Usage

1
2
3
4
5
6
7
myTarGetFastStats(
  object_type = "campaigns",
  object_id = NULL,
  auth = NULL,
  login = getOption("rmytarget.login"),
  token_path = myTarTokenPath()
)

Arguments

object_type

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

object_id

ID of API object (id campaign or any object)

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.