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

KeyError: 'demographic_distribution' #1

Open
minimaxir opened this issue Nov 21, 2019 · 2 comments
Open

KeyError: 'demographic_distribution' #1

minimaxir opened this issue Nov 21, 2019 · 2 comments

Comments

@minimaxir
Copy link
Owner

It appears Demographic distribution info is not included 100% of the time? Weird, but should catch that.

Only seems to happen when searching INACTIVE ads.

@hamik112
Copy link

hamik112 commented Dec 3, 2019

@minimaxir a lot of inactivate ads are ones that have actually been flagged for targeting certain audiences/demographics, that might explain why the demographic distribution doesn't show. If your looking to scrape facebook ads data real time without the limitations I can help you out with the nonofficial way.

@minimaxir
Copy link
Owner Author

Thanks for the offer, but for kosherness this script needs to follow the official approach.

I'll take a look to see if it is a distribution flag.

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