home / russian-ads

display_ads (view)

Data source: simonw/russian-ira-facebook-ads-datasette

4 rows where an ad_target was people_who_match:interests:Guns & Patriots

id img targeting impressions clicks url text spend_usd spend_amount spend_currency created ended
1885 no image location:united_states:Alabama, location:united_states:Arkansas, location:united_states:Georgia, location:united_states:Illinois, location:united_states:Iowa, location:united_states:Louisiana, location:united_states:Minnesota, location:united_states:Mississippi, location:united_states:Nebraska, location:united_states:Wisconsin, age:16 - 60, placements:Instagram Feed, people_who_match:interests:U.S. Patriot Tactical, people_who_match:interests:Flags of the Confederate States of America, people_who_match:interests:The Patriot Post, people_who_match:interests:Confederate States of America, people_who_match:interests:American Patriots, people_who_match:interests:Thank A Soldier, people_who_match:interests:Flag of the United States, people_who_match:interests:Guns & Patriots, people_who_match:interests:American Patriot, people_who_match:interests:Proud to be an American, people_who_match:interests:American patriotism, people_who_match:interests:Chris Kyle 13211 10 https://www.facebook.com/Lalalo-1028159433939877/ INSTagram Of The United States or simply - INSTOTUS. Unique Instagram page for American patriots only! FOLLOW! JUST DO IT! 36.44064 2277.54 RUB 2016-05-20T04:36:31-07:00  
2945 location_living_in:United States, excluded_connections:Exclude people who like Defend the 2nd, age:18 - 65+, language:English (US), placements:News Feed on desktop computers, placements:News Feed on mobile devices, placements:Right column on desktop computers, people_who_match:interests:The Second Amendment, people_who_match:interests:Anything About Guns, people_who_match:interests:Guns & Patriots, people_who_match:interests:Second Amendment Sisters, people_who_match:interests:Gun Rights, people_who_match:interests:American Guns, people_who_match:interests:Guns & Ammo, people_who_match:interests:Second Amendment Supporters, people_who_match:interests:Gunsoom, and_must_also_match:interests:Right to keep and bear arms 42 1 https://www.facebook.com/savethe2a/ Protect the 2nd. Without it, you won't have any others! Join! Defend The 2nd 0.20832 13.02 RUB 2017-02-07T23:28:35-08:00  
2958 location_living_in:United States, excluded_connections:Exclude people who like Defend the 2nd, age:18 - 65+, language:English (US), placements:News Feed on desktop computers, placements:News Feed on mobile devices, placements:Right column on desktop computers, people_who_match:interests:The Second Amendment, people_who_match:interests:Anything About Guns, people_who_match:interests:Guns & Patriots, people_who_match:interests:Second Amendment Sisters, people_who_match:interests:Gun Rights, people_who_match:interests:American Guns, people_who_match:interests:Guns & Ammo, people_who_match:interests:Second Amendment Supporters, people_who_match:interests:Gunsoom, and_must_also_match:interests:Right to keep and bear arms 25520 2614 https://www.facebook.com/savetheZa/ Protect the 2nd. Without it, you won't have any others! Join! Defend The 2nd 149.62207999999998 9351.38 RUB 2017-02-02T00:08:46-08:00  
2959 location_living_in:United States, excluded_connections:Exclude people who like Defend the 2nd, age:18 - 65+, language:English (US), placements:News Feed on desktop computers, placements:News Feed on mobile devices, placements:Right column on desktop computers, people_who_match:interests:The Second Amendment, people_who_match:interests:Anything About Guns, people_who_match:interests:Guns & Patriots, people_who_match:interests:Second Amendment Sisters, people_who_match:interests:Gun Rights, people_who_match:interests:American Guns, people_who_match:interests:Guns & Ammo, people_who_match:interests:Second Amendment Supporters, people_who_match:interests:Gunsoom, and_must_also_match:interests:Right to keep and bear arms 24705 1734 https://www.facebook.com/savethe2a/ Protect the 2nd. Without it, you won't have any others! Join! Defend The 2nd 104.22944000000001 6514.34 RUB 2017-02-13T04:42:23-08:00  

Advanced export

JSON shape: default, array

CSV options:

CREATE VIEW display_ads AS 
        select ads.id,
            case when image is not null then
                json_object("img_src", "https://raw.githubusercontent.com/umd-mith/irads/master/site/" || image, "width", 200)
            else
                "no image"
            end as img,
            json_group_array(
                json_object(
                    "label", targets.name,
                    "href", "/russian-ads/display_ads?_target="
                        || urllib_quote_plus(targets.id)
                )
            ) as targeting,
            ads.impressions, ads.clicks, ads.url, ads.text,
            cast(case
                when ads.spend_currency == "RUB" then ads.spend_amount * 0.016
                else ads.spend_amount
            end as float) as spend_usd,
            ads.spend_amount, ads.spend_currency,
            ads.created, ads.ended
        from ads
            join ad_targets on ads.id = ad_targets.ad_id
            join targets on ad_targets.target_id = targets.id
        group by ads.id
        order by ads.id
Powered by Datasette · Query took 1295.198ms · Data source: simonw/russian-ira-facebook-ads-datasette