Closed diegocgaona closed 4 years ago
Thanks for the report! Seems like a bug that has been around for a while .. that I did not bump into as not really using the Insights API on a single (Ad Account) target. Just pushed a fix, please install from master
and report back how it works.
Hi @daroczig,
Thank you very much!! I installed the master and it worked fine! (like before)
Best regards, Diego
Hi,
I didn't used the package for sometime and the Facebook Marketing API changed a lot.
I'm trying to get data from my campaigns, but I receive only a dataframe with three columns. Two columns of start and end date and one column of a field I asked, but only one field, not all I listed.
I'm doing this way:
l <- fb_insights(date_preset = 'last_month', level = 'campaign', fields = c('campaign_id','campaign_name','unique_clicks','impressions','objective'))
I this case I receive a list with one dataframe with the date columns and the objective column. I always receive only the data from the last field I put in the fields parameter.
The data I receive are like the example bellow:
I tried the example from the help and doesn't work too.
I'm using the API 4.0 and fbrads 0.2
What I am doing wrong? Can you help me?
Thanks!!