myTarGetFastStats {rmytarget}R Documentation

Returns Basic Statistics in Real Time

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

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

## Not run: 
rt_stat <- myTarGetFastStats()

## End(Not run)

[Package rmytarget version 2.4.0 Index]