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 email@example.com. As soon as you get access you can see the methods descriptions here.
The algorithm for getting statistics
- Getting the accounts list.
- Getting the campaigns/ad sets/creative list.
- Getting the available statistics fields.
- 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.