Authorisation
All API methods demand authorisation. Learn more about how to authorise using Aitarget API in Authorization.
Getting statistics via Aitarget API
To get all the statistics you first need to get the access to the API. To do this, you need to request access by writing to info@aitarget.com. As soon as you get access you can see the methods descriptions here: https://fb.aitarget.com/api/doc/statistics
The algorithm for getting statistics:
- https://fb.aitarget.com/api/doc/statistics#get--api-facebook-adaccounts - getting the accounts list.
- https://fb.aitarget.com/api/doc/statistics#get--api-facebook-stats-items - getting the campaigns/ad sets/creative list.
- https://fb.aitarget.com/api/doc/statistics#get--api-facebook-stats-elements - getting the available statistics fields.
- https://fb.aitarget.com/api/doc/statistics#get--api-facebook-stats-filter - getting the statistics. Here you need to transfer the object from point 2 and point 3 with id_ prefix separated by commas, for example: id_2,id_5,id_100, etc.
Comments
0 comments
Please sign in to leave a comment.