Skip to content

Update to insight API 19.0#3

Open
dobemad wants to merge 11 commits intohalsandr:masterfrom
dobemad:master
Open

Update to insight API 19.0#3
dobemad wants to merge 11 commits intohalsandr:masterfrom
dobemad:master

Conversation

@dobemad
Copy link

@dobemad dobemad commented Mar 27, 2024

Updated the code to work with Facebook API 19.0.
Updated Oauth2 process
Updated Api call and endpoints
Updated base metrics.
Updated request limit to max (5000 results).

Note this code does not fetch page matrics, rather it fetch advertising metrics such as Ads spend, Conversions, impressions etc.

Still missing:
pagination / cursors to handle multiple batch request.

dobemad added 11 commits March 27, 2024 15:42
Updated to use v19.0 Ad Insights API
Updated to match new API 19.0 requirements
fixed typo in batch request
- Added pagination
- Updated to API 21.0
- Added attribution window (script is set to take 7d_click only)
Comments for new script version
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

Successfully merging this pull request may close these issues.

1 participant