laravel-facebook-ads
laravel-facebook-ads copied to clipboard
Filter amount spent in Ad Account
How to filter amount spent in a Ad Account by start and end date? When I do $adAccounts->get(['amount_spent', 'name'], 'act_' . $id); it returns the total amount spent. I want it between two dates.
Hi @DzinPerformmaOnline
Actually, for this you need to use the insights API, I've not implemented this yet.
Ref: https://developers.facebook.com/docs/marketing-api/insights/parameters