criteo_access_token: Getting Criteo Access Token

Description Usage Arguments Value

View source: R/criteo_access_token.R

Description

Getting Criteo valid token object. Updates token if then expired and returning valid access token. Loads token to virtual environment in function, that not junking global env.

Usage

1
criteo_access_token(tok = "criteo_token.RDS")

Arguments

tok

file or object with authentification data. Object format:

You should use this fields (recommended list):

  • token = <access token [class: chr]>,

  • client_id = <Login (Client ID) Criteo REST API user [class: chr]>,

  • client_secret = <Client Secret Criteo REST API user [class: chr]>,

  • create_time = <Creating time [class: POSIXct]>

Value

String "Bearer <access token>" for using in other Criteo queries.


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