Does anyone know the main difference between AdInsights Vs. Ad Account-Level Rate Limit? Can I use AdInsights to get metrics from specific ads? If yes, does anyone know what would be the syntax? I notice in the Dashboard that AdInsights is calculated based on calls, am I reading this correctly?
Right now I'm importing:
from facebook_business.api import FacebookAdsApi
from facebook_business.adobjects.ad import Ad
from facebook_business.adobjects.campaign import Campaign
from facebook_business.adobjects.adaccount import AdAccount
And using:
insights = str(Ad(ad).get_insights(
params=kwargs['params'],
fields=kwargs['fields']))
This works, but I'm hitting limits very quickly so I had to add a sleep(300) to let the rate "cool-off"
The overall plan is to loop through all AdAccounts (4 in total), and grab all ACTIVE ad insights. As you can imagine, this can be up to 2K+ different ads.
Any suggestions?
Thank you in advance!