facebookresearch / Radlibrary

An R package for accessing the Facebook Ad Library API

Home Page:https://facebookresearch.github.io/Radlibrary/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

adlib_response_to_tables() failing on is.response(x)?

kylescotshank opened this issue · comments

Following code fails:

query <- adlib_build_query(ad_reached_countries = 'US', 
                           ad_active_status = 'ACTIVE', 
                           impression_condition = 'HAS_IMPRESSIONS_LAST_90_DAYS', 
                           search_terms = "healthcare")

result <- adlib_get(query = query,
                    token = token_get())

adlib_data_frame(result)

result_paginated <- adlib_get_paginated(query = query,
                                        token = token_get(),
                                        max_gets = 1)

all are failing with is.response(x) is not TRUE

I'm aligned. Closing task and making a note to myself to update pagination files.