Community Discussion

Ask a Question
Back to All

Access Taboola API with R


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 = '[account_id]/campaigns/'
r <- GET(url = '',
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.