home / russian-ads

display_ads (view)

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

6 rows where an ad_target was people_who_match:interests:Veterans Day sorted by impressions

View and edit SQL

id img targeting impressions ▼ clicks url text spend_usd spend_amount spend_currency created ended
34 location:United States, age:13 - 35, language:English (US), placements:Instagram Feed, people_who_match:interests:Conservatism, people_who_match:interests:Veterans Day, people_who_match:interests:Tea Party Patriots, people_who_match:interests:Veterans, people_who_match:interests:Republican Party (United States), people_who_match:interests:Supporting Our Veterans 0 0 https://www.instagram.Com/veterans_us/ A Wounded Warrior and his service dog. Support our Veterans - Follow! Black America ( @black Instalol 0.0 0.00 USD 2016-05-12T02:31:30-07:00  
532 location:united_states:Atlanta (+50 km) Georgia, age:18 — 65+, language:English (UK), language:English (US), placements:News Feed on desktop computers, placements:News Feed on mobile devices, people_who_match:interests:Veterans Day, people_who_match:interests:Patriotism 0 0 Join our Rally on 'Free the patriots, stand for liberty and our rights! 0.0 0.00 USD 2016-04-14T04:15:52-07:00  
486 location:united_states:Atlanta (+50 km) Georgia, age:18 — 65+, language:English (UK), language:English (US), placements:News Feed on desktop computers, placements:News Feed on mobile devices, people_who_match:interests:Veterans Day, people_who_match:interests:Patriotism 560 39     13.14128 821.33 RUB 2016-04-14T04:15:57-07:00  
515 location:united_states:Atlanta (+50 km) Georgia, age:18 — 65+, language:English (UK), language:English (US), placements:News Feed on desktop computers, placements:News Feed on mobile devices, people_who_match:interests:Veterans Day, people_who_match:interests:Patriotism 636 41 Join our Rally on .Free the patriots, stand for liberty and our rights! 13.4048 837.80 RUB 2016-04-14T04:15:55-07:00  
487 location:united_states:Atlanta (+50 km) Georgia, age:18 — 65+, language:English (UK), language:English (US), placements:News Feed on desktop computers, placements:News Feed on mobile devices, people_who_match:interests:Veterans Day, people_who_match:interests:Patriotism 3335 171     69.82752 4364.22 RUB 2016-04-12T01:59:17-07:00  
2783 location:United States, excluded_connections:Exclude people who like Veterans Come First, 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:Veterans Day, people_who_match:interests:Wounded Warrior Project, people_who_match:interests:Support Our Veterans or Disabled American Veterans, people_who_match:interests:Employers: Veteran, people_who_match:interests:, job_title:Veteran, and_must_also_match:industry:Veterans (US) 41172 4134 https://www.facebook.comNeterans-Come-First-1757336424535312/ The community of brave people who make America Great and Free. 240.0 15000.00 RUB 2016-10-14T06:07:27-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 1609.113ms · Data source: simonw/russian-ira-facebook-ads-datasette