guardian / guardian/google-ad-database-processing-scripts

API endpoint not working

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
15
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am trying to extract the video by running VideoParser.py. In your code you are hitting API endpoint
`ad_api_url = f"https://transparencyreport.google.com/transparencyreport/api/v3/politicalads/creatives/details?entity_id={ar_id}&creative_id={cr_id}&hl=en"`

However, when I send a GET/POST request to this endpoint using any valid creative ID and advertiser ID, I am getting a 404 error.

Has the API endpoint changed?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading VideoParser.py and reproducing the GET or POST request to the listed Google Transparency Report endpoint with valid advertiser and creative IDs. Check whether the endpoint or request format has changed; done means the script can extract the video successfully instead of receiving a 404 response.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.