Community Discussion
Access Taboola API with R
over 3 years ago by Senan Mele(edited)
Has anyone tried this and can provide information and recommendations? Which R package did you use? How did you go about it?
I tried the httr package and used the code below:
url = 'https://ads.taboola.com//backstage/api/1.0/[account_id]/campaigns/'
r <- GET(url = 'https://ads.taboola.com//backstage/oauth/token',
config = list(username, password, type = "basic")))
data <- r$content
The account ID was not alphabetical, it was numerical. and the username and password are for the ad campaigns account. I did not get any media fields, even though the response showed 200 - which confirmed some sort of connection was made.