Reputation: 1628
I am trying to make a call to Facebook using their Graph API Explorer, to try and find the following information about an ad:
To do that, I have constructed the following URL:
act_1234/ads?fields=id,adcreatives{branded_content_sponsor_page_id},insights{video_p100_watched_actions}&limit=1000
However, when I receive back the insights list, it is giving me just one row, for the last month. If I was making a call directly to insights, I would add the 'timeincrement=1' parameter to separate this out by day. Is there a way to add second-tier parameters to a nested query like this?
Upvotes: 3
Views: 1040
Reputation: 96
You can pass parameters to nested queries this way:
act_1234/ads?fields=id,adcreatives{branded_content_sponsor_page_id},insights.fields(video_p100_watched_actions).date_preset(lifetime).time_increment(1)
Upvotes: 8