You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.
Sorry for the long delay with my reply, I've just seen your ticket -- not sure how I missed the notification on this. I think the problem with your above call is that you are not quoting the fields, eg:
toJSON(c('impressions', 'clicks'))
So R is trying to look up the impressions and clicks objects. Can you please verify if you have this issue with the quotes as well? Another issue might be that clicks is not a valid field as per https://developers.facebook.com/docs/marketing-api/reference/ads-insights/, so you may want to include eg unique_clicks.
Can you please reopen the ticket with more details after verifying the above?
Taken from #7
When trying to run
fbInsights()
, the parameterfields=
is converted to JSON, but when running the code this happens:You get this error:
If I enclose the
job_type = "async"
inside thetoJSON()
command, the function returns the correct result.The text was updated successfully, but these errors were encountered: