myTarGetGoalsStats: Get Goal Statistics from 'MyTarget'

Description Usage Arguments Value See Also

View source: R/myTarGetGoalsStats.R

Description

Get Goal Statistics from 'MyTarget'

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
myTarGetGoalsStats(
  date_from = Sys.Date() - 7,
  date_to = Sys.Date(),
  object_type = "campaigns",
  object_id = NULL,
  attribution = c("impression", "conversion"),
  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, 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, default.

conversion_type

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

auth

MyTarget Autherization R object. See myTarAuth

login

Path to directory where you save credential data

token_path

Your login, or client name in MyTarget account

Value

data frame with goal statics

See Also

API Documentation


selesnow/rmytarget documentation built on Oct. 22, 2021, 12:04 p.m.