Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

get political ads filtered by language from ProPublica? #88

Open
ohadcn opened this issue Jan 10, 2019 · 3 comments
Open

get political ads filtered by language from ProPublica? #88

ohadcn opened this issue Jan 10, 2019 · 3 comments

Comments

@ohadcn
Copy link
Contributor

ohadcn commented Jan 10, 2019

hello anyone
is there any API to get ads from ProPublica servers filtered by language? I can filter by region (also for region outside US), but it always showing me ads in english targeted to english speakers in the region.

this code is supposed to give me results filtered by region:

curl "https://projects.propublica.org/fbpac-api/ads/persona?location_bucket=Israel" 

but the results looks like they are intended for non-Israeli interested in Israel, not for Israelis.

I couldn't find how to filter by language or even get results in local language, adding Accept-Language header, locale, lang or language parameter do not help - still getting english results.

curl "https://projects.propublica.org/fbpac-api/ads/persona?location_bucket=Israel&lang=he-IL" -H "Accept-Language: he"

I've also tried the other API endpoint, which gave me empty arrays:

curl "https://projects.propublica.org/facebook-ads/ads" -H "Accept-Language: he-IL"

Do ProPublica keeps this data? Can I get it? If not - can I ask you to keep it? (it's going to be interesting before Isreali elections on April)

@jeremybmerrill
Copy link
Contributor

jeremybmerrill commented Jan 14, 2019

Hi @ohadcn

We're not currently publishing ads for countries besides the US and Germany. Adding additional countries requires a local journalistic partner and additional labor-intensive steps that we're not undertaking right now. Are you affiliated with a journalism organization? Whether new local partners are being added might (or might not!) change in the next few weeks.

(I see very few Israeli ads for the reasons I mention above, though I see ads from Meretz targeted to men who like Meretz's page; I see ads from various Likud politicians and the "New Likudniks" too.)

@ohadcn
Copy link
Contributor Author

ohadcn commented Jan 15, 2019

Hey @jeremybmerrill

You see very few ads because we haven't yet asked volunteers to install the addon, once we will have access to the collected data we will ask volunteers to install it.
I came up to this project when Tomer - a journalist from "shakuf" (transparent in hebrew) asked me to fork facebook political ads for collecting Israeli advertisements.
There are going to be elections in Israel in April, so we want to start tracking the ads as soon as possible.

@jeremybmerrill
Copy link
Contributor

@ohadcn okay! Can you send me an email so we can talk about details? my email address is my github username at gmail . (and it's also listed on my github profile page and on my website, jeremybmerrill.com)

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

No branches or pull requests

2 participants