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
There is currently no straightforward way to fetch Ad Report Stats through asynchronous queries. get_report_stats in AdAccount only allows direct GET requests. And most historical data is not accessible through it, returning error 1487535. Will this be implemented in the future?
The text was updated successfully, but these errors were encountered:
Hey guys, we're working on building this out. Sorry for the delay.
A workaround would be to use the FacebookAdsApi::call method and parse the response yourself.
Here's a sample of how to make a call using that method.
# Instantiate an API object. You likely already have one so you
# can use FacebookAdsApi.get_default_api()
api = FacebookAdsApi.get_default_api()
response = api.call('GET', 'https://graph.facebook.com/me')
print response.json()
# Output
# {u'first_name': u'Evan', u'last_name': u'Chen', u'verified': True, u'name': u'Evan C...}
There is currently no straightforward way to fetch Ad Report Stats through asynchronous queries.
get_report_stats
inAdAccount
only allows directGET
requests. And most historical data is not accessible through it, returning error 1487535. Will this be implemented in the future?The text was updated successfully, but these errors were encountered: