home / russian-ads

display_ads (view)

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

6 rows where an ad_target was behaviors:facebook_access_(mobile):all mobile devices

View and edit SQL

id img targeting impressions clicks url text spend_usd spend_amount spend_currency created ended
20 location:United States, interests:Patriotism, behaviors:facebook_access_(mobile):all mobile devices, age:14 - 65+, language:English (US), placements:Instagram Feed 514 0 https://www.instagram.Com/veterahs_us/ Click Learn More if you really love your country! A small puppy wandered up to US. Marines from Alpha Company. After following the Marines numerous miles, a soft hearted Marine picked the puppy up and carried the puppy in his drop pouch. Veterans USA ( @veterans GovSpending 0.0 0.00 USD 2015-12-16T04:26:55-08:00  
1886 location:United States, behaviors:facebook_access_(mobile):all mobile devices, behaviors:facebook_access_(mobile):African American (US), age:14 - 65+, language:English (US), placements:Instagram Feed 31110 114 https://www.instagram.Com/black_pride_us/ People, our race is in danger! Together we are an invincible power. Just say your word! Join us! Black Pride ( @black Yoyoyoyoyoy 122.97536000000001 7685.96 RUB 2015-12-17T02:46:47-08:00  
1905 location:united_states:Texas, behaviors:facebook_access_(mobile):all mobile devices, generation:Generation X, politics:US politics (very conservative), age:25 - 65+, language:English (US), placements:Instagram Feed 336 2 https://www.instagram.Com/tea_party_news/ Christmas is coming !We're sure that you won't be able to find a better present than a gun! Don't believe us? Just try once and you'll understand what we're talking about! Gun power, self-confidence, freedom! Tea Party News ( @tea Teapartypat 1.83824 114.89 RUB 2015-12-15T08:32:06-08:00  
1906 location:united_states:Texas, behaviors:facebook_access_(mobile):all mobile devices, generation:Millennials, politics:US politics (conservative), politics:US politics (very conservative), politics:Likely to engage with political content (conservative), age:13 - 65+, language:English (US), placements:Instagram Feed 0 0 https://www.instagram.Com/tea_party_news/ Christmas is coming !We're sure that you won't be able to find a better present than a gun! Don't believe us? Just try once and you'll understand what we're talking about! Gun power, self-confidence, freedom! Tea Party News ( @tea Teapartypat 0.0 0.00 USD 2015-12-18T03:25:39-08:00  
1907 location:united_states:Texas, behaviors:facebook_access_(mobile):all mobile devices, generation:Millennials, politics:US politics (conservative), politics:US politics (very conservative), politics:Likely to engage with political content (conservative), age:13 - 65+, language:English (US), placements:Instagram Feed 23781 78 https://www.instagram.Com/tea_party_news/ Christmas is coming !We're sure that you won't be able to find a better present than a gun! Don't believe us?Just try once and you'll understand what we're talking about! Gun power, self—confidence, freedom! Tea Party News ( @tea Teapartypat 51.92656 3245.41 RUB 2015-12-18T03:27:24-08:00  
1926 location:united_states:Baltimore (+40 km) Maryland, behaviors:facebook_access_(mobile):all mobile devices, behaviors:facebook_access_(mobile):African American (US), age:18 - 65+, placements:Instagram Feed 7436 33 https://www.instagram.Com/baltimore.blackvoice/ We are all Americans. We are all equal. But sometimes it seems like we are losing our freedom, we're losing our rights, we're losing equality. That's why I believe we have to fight to protect it. That's why I believe we have to unite to resist Baltimore News Balt 26.7056 1669.10 RUB 2015-12-21T06:56:11-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/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 1303.112ms · Data source: simonw/russian-ira-facebook-ads-datasette