Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter amount spent in Ad Account #36

Open
DzinPerformmaOnline opened this issue Aug 3, 2018 · 1 comment
Open

Filter amount spent in Ad Account #36

DzinPerformmaOnline opened this issue Aug 3, 2018 · 1 comment

Comments

@DzinPerformmaOnline
Copy link

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.

@edbizarro
Copy link
Owner

edbizarro commented Sep 11, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants