Please reduce the amount of data you're asking for, then retry your request?
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
Research direction
Start by reviewing the request that retrieves ads for a start and stop date and how paging is applied after roughly 32,000 ads. Reproduce the error with the same interval, then consult the Ad Library API request and paging behavior to determine whether smaller date ranges or another query limit are required; done means explaining the limit and a workable retrieval approach.
Written by the indexing model from the issue text.
Description
Hi, I get the following error after getting 32,000 ads:
{'error': {'code': 1,
'message': "Please reduce the amount of data you're asking for, then retry your request"}}
Can you explain what it means and how I can overcome this, as I am trying to gather all ads published within a given time interval of start and stop dates?
It's not clear how I can "cut" my query in chunks since that was what the paging is already supposed to do, right?
Thanks.
- Dominant language
- Python
- Stars
- 338
- Forks
- 131
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from facebookresearch/Ad-Library-API-Script-Repository
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
facebookresearch/Ad-Library-API-Script-Repository#62 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
facebookresearch/Ad-Library-API-Script-Repository#51 · 6 comments ·
All issues in facebookresearch/Ad-Library-API-Script-Repository
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100