criteo_auth: Criteo REST API Access token

Description Usage Arguments Value Examples

View source: R/criteo_auth.R

Description

Create token object and save it into .RDS file. Return object, if needed. You need to create REST API user in Criteo Marketing account.

Usage

1
criteo_auth(client_id = NULL, client_secret = NULL, save_to_env = F)

Arguments

client_id

Login (Client ID) of Criteo REST API user.

client_secret

Client Secret of Criteo REST API user.

save_to_env

by default, False. If TRUE, saving auth data into global environment.

Value

By default, file "criteo_tokes.RDS" into folder with script and success message.

This is list with 4 parameters:

Examples

1
2
3
4
5
6
7
8
# Authentification in first package use
criteo_auth("mapi-41jf7549-fa1r-90af-pt54-o5jfhan91nty",
            "D1s1by_X)Dgasd;g!*") # it is not real auth data

# If you want also save all data to global environment.
criteo_auth("mapi-41jf7549-fa1r-90af-pt54-o5jfhan91nty",
            "D1s1by_X)Dgasd;g!*",
            save_to_env = T)

sergeymong/CriteoR documentation built on May 20, 2019, 1 a.m.