home / russian-ads

display_ads (view)

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

8 rows where an ad_target was age:17 - 65+

id img targeting impressions clicks url text spend_usd spend_amount spend_currency created ended
679 location:United States, excluded_connections:Exclude people who like Secured Borders, age:17 - 65+, gender:Male, language:English (UK), language:English (US), placements:News Feed on desktop computers, placements:News Feed on mobile devices, people_who_match:interests:Stop Illegal Immigration, people_who_match:interests:National Rifle Association 0 0 https://www.facebook.com/Secured.Borders/ America is at risk. To protect our country we need to secure the border. 0.0 0.00 USD 2016-10-17T07:07:28-07:00  
680 location:United States, excluded_connections:Exclude people who like Secured Borders, age:17 - 65+, gender:Male, language:English (UK), language:English (US), placements:News Feed on desktop computers, placements:News Feed on mobile devices, people_who_match:interests:Stop Illegal Immigration 9264 1237 https://www.facebook.com/Secured.Borders/ America is at risk. To protect our country we need to secure the border. 63.54288 3971.43 RUB 2016-10-17T07:08:58-07:00  
686 location:united_states:Alabama, location:united_states:Georgia, location:united_states:New Mexico, people_who_match:interests:Same-sex marriage, excluded_connections:Exclude people who like Secured Borders, age:17 - 65+, gender:Male, placements:News Feed on desktop computers, placements:News Feed on mobile devices, people_who_match:interests:Right to keep and bear arms, people_who_match:interests:The Second Amendment, people_who_match:interests:Stop Illegal Immigration, people_who_match:interests:National Rifle Association, people_who_match:interests:Donald Trump for President 0 0 https://www.facebook.com/Secured-Borders-757183957716200/ Secured borders - only salvation of US land! 0.0 0.00 USD 2016-10-11T09:11:47-07:00  
687 location:United States, excluded_connections:Exclude people who like Secured Borders, age:17 - 65+, gender:Male, language:English (UK), language:English (US), placements:News Feed on desktop computers, placements:News Feed on mobile devices, people_who_match:interests:Stop Illegal Immigration, people_who_match:interests:National Rifle Association 0 0 https://www.facebook.com/Secured-Borders-757183957716200/ Secured borders - only salvation of US land! 0.0 0.00 USD 2016-10-17T06:28:17-07:00  
688 location:United States, excluded_connections:Exclude people who like Secured Borders, age:17 - 65+, gender:Male, language:English (UK), language:English (US), placements:News Feed on desktop computers, placements:News Feed on mobile devices, people_who_match:interests:Stop Illegal Immigration 0 0 https://www.facebook.com/Secured-Borders-757183957716200/ Secured borders - only salvation of US land! 0.0 0.00 USD 2016-10-17T07:08:58-07:00  
691 location:united_states:Alabama, location:united_states:Georgia, location:united_states:New Mexico, people_who_match:interests:Same-sex marriage, excluded_connections:Exclude people who like Secured Borders, age:17 - 65+, gender:Male, placements:News Feed on desktop computers, placements:News Feed on mobile devices, people_who_match:interests:Right to keep and bear arms, people_who_match:interests:The Second Amendment, people_who_match:interests:Stop Illegal Immigration, people_who_match:interests:National Rifle Association, people_who_match:interests:Donald Trump for President 2502 258 https://www.facebook.com/Secured-Borders-757183957716200/ Every man should stand for our borders! Join! 48.40832 3025.52 RUB 2016-10-11T09:11:47-07:00  
692 location:United States, excluded_connections:Exclude people who like Secured Borders, age:17 - 65+, gender:Male, language:English (UK), language:English (US), placements:News Feed on desktop computers, placements:News Feed on mobile devices, people_who_match:interests:Stop Illegal Immigration, people_who_match:interests:National Rifle Association 0 0 https://www.facebook.com/Secured-Borders-757183957716200/ Every man should stand for our borders! Join! 0.0 0.00 USD 2016-10-17T06:28:17-07:00  
693 location:United States, excluded_connections:Exclude people who like Secured Borders, age:17 - 65+, gender:Male, language:English (UK), language:English (US), placements:News Feed on desktop computers, placements:News Feed on mobile devices, people_who_match:interests:Stop Illegal Immigration 0 0 https://www.facebook.com/Secured-Borders-757183957716200/ Every man should stand for our borders! Join! 0.0 0.00 USD 2016-10-17T07:08:58-07: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/edsu/irads/03fb4b/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 1255.485ms · Data source: simonw/russian-ira-facebook-ads-datasette