For filteringparam, This page is unmounted, INand CONTAIN,
https://developers.facebook.com/docs/marketing-api/insights/v2.4#filtering
curl -G \
-d "filtering=[{'field':'adgroup.delivery_info','operator':'IN','value':['archived']}]" \
-d "access_token=<ACCESS_TOKEN>" \
"https://graph.facebook.com/<API_VERSION>/act_<AD_ACCOUNT_ID>/insights"
curl -G \
-d "filtering=[{'field':'adcampaign.name','operator':'CONTAIN','value':'18-25'}]" \
-d "access_token=<ACCESS_TOKEN>" \
"https://graph.facebook.com/<API_VERSION>/act_<AD_ACCOUNT_ID>/insights"
But the information is very limited. Where can I find additional usage information filtering? for example. How should it be if I want to filter out all elements with empty (advertising campaigns) names? Or only elements with some attr (any type, for example, dict or array) are not empty (undefined).
mitnk source
share