Integration of Reddit Ads with BigQuery

Connect Reddit Ads to Google BigQuery with WitCloud and collect daily account, campaign, ad group and ad performance data.

Updated

Introduction

This module connects to the Reddit Ads API and collects daily performance reports (spend, impressions, reach, clicks, video views and conversions) at four levels: account, campaign, ad group and ad. The data is stored in Google Cloud BigQuery, in your project's dataset.

Configuration guide

Follow the steps below to connect Reddit Ads with BigQuery. Once the setup is complete, your ad data is transferred to your BigQuery project automatically.

You need a Reddit account with access to the ad accounts you want to connect. The list shows the ad accounts of every Reddit Ads business your Reddit login belongs to.

Module setup

Go to Integrations in the menu and click Add integration.

Integrations list with the Add integration button

Select Reddit Ads from the list of available integrations.

Integration catalog filtered to Reddit Ads

Enter the Collect name, e.g. Reddit Ads PL. A good name helps you recognize the data source later.

Collect name field filled in with the example name Reddit Ads PL

Authorization

If you have already authorized Reddit in this project, pick that authorization from the Select Reddit authorization drop-down and skip the authorization step.

Click Authorize.

Authorize button next to the Select Reddit authorization field

A Reddit window opens. Log in and click Allow. WitCloud asks for read-only access: it can read the advertising data of your Reddit account and cannot change anything in Reddit. The access lasts until you revoke it, so data keeps being collected without logging in again. When the window closes, the new authorization is selected for you.

Reddit permission request asking to allow WitCloud to read advertising data

Select accounts

Open the Select accounts field and choose one or more ad accounts. The field stays disabled until an authorization is selected. Each account is shown with the name of its Reddit Ads business in brackets, so you can tell apart accounts of different businesses.

Select accounts drop-down open with example Reddit ad accounts and their business name

You can select several accounts at once. Each selected account becomes its own data collect, named "your collect name - the account name", with the same settings.

Select accounts field with two example Reddit ad accounts selected

Advanced settings

Click Show advanced settings to open the Tables to collect field. All four tables are selected by default (account, campaigns, ad_groups, ads). Remove the ones you do not need to shorten data retrieval. At least one table must stay selected.

Advanced settings open with the Tables to collect field

Click Next.

Historical data and scheduling

In the Historical Data field, enter the number of days to fetch, counted back from today. The maximum is 365 days.

Historical Data field filled in with 365 days

A data synchronization schedule is created automatically. More information on this topic can be found here.

Click Create to complete the configuration.

Data collection settings with the Create button

Done! Your Reddit Ads data is now synchronized with BigQuery, one data collect per selected account.

Data schema

Each run collects the reports for one day. Days are counted in the ad account's time zone, the same way Reddit Ads Manager counts them; the time zone is stored in time_zone_id. Amounts such as spend, cpc and conversion_purchase_total_value are in the ad account's currency, stored in currency. The tables below hold the data of one ad account.

Data schema for reddit_account
Field NameModeType
dateNULLABLEDATE
account_idNULLABLESTRING
account_nameNULLABLESTRING
currencyNULLABLESTRING
time_zone_idNULLABLESTRING
impressionsNULLABLEINTEGER
reachNULLABLEINTEGER
frequencyNULLABLEFLOAT
clicksNULLABLEINTEGER
ctrNULLABLEFLOAT
spendNULLABLEFLOAT
cpcNULLABLEFLOAT
ecpmNULLABLEFLOAT
engaged_clickNULLABLEINTEGER
video_startedNULLABLEINTEGER
video_viewable_impressionsNULLABLEINTEGER
video_watched_3_secondsNULLABLEINTEGER
video_watched_25_percentNULLABLEINTEGER
video_watched_50_percentNULLABLEINTEGER
video_watched_75_percentNULLABLEINTEGER
video_watched_100_percentNULLABLEINTEGER
cpvNULLABLEFLOAT
conversion_purchase_clicksNULLABLEINTEGER
conversion_purchase_viewsNULLABLEINTEGER
conversion_purchase_total_itemsNULLABLEINTEGER
conversion_purchase_total_valueNULLABLEFLOAT
conversion_purchase_ecpaNULLABLEFLOAT
conversion_roasNULLABLEFLOAT
conversion_add_to_cart_clicksNULLABLEINTEGER
conversion_add_to_cart_viewsNULLABLEINTEGER
conversion_add_to_cart_total_valueNULLABLEFLOAT
conversion_lead_clicksNULLABLEINTEGER
conversion_lead_viewsNULLABLEINTEGER
conversion_sign_up_clicksNULLABLEINTEGER
conversion_sign_up_viewsNULLABLEINTEGER
conversion_page_visit_clicksNULLABLEINTEGER
conversion_page_visit_viewsNULLABLEINTEGER
conversion_view_content_clicksNULLABLEINTEGER
conversion_view_content_viewsNULLABLEINTEGER
key_conversion_total_countNULLABLEINTEGER
key_conversion_clicksNULLABLEINTEGER
key_conversion_viewsNULLABLEINTEGER
Data schema for reddit_campaigns
Field NameModeType
dateNULLABLEDATE
account_idNULLABLESTRING
account_nameNULLABLESTRING
currencyNULLABLESTRING
time_zone_idNULLABLESTRING
campaign_idNULLABLESTRING
campaign_nameNULLABLESTRING
campaign_objectiveNULLABLESTRING
campaign_statusNULLABLESTRING
impressionsNULLABLEINTEGER
reachNULLABLEINTEGER
frequencyNULLABLEFLOAT
clicksNULLABLEINTEGER
ctrNULLABLEFLOAT
spendNULLABLEFLOAT
cpcNULLABLEFLOAT
ecpmNULLABLEFLOAT
engaged_clickNULLABLEINTEGER
video_startedNULLABLEINTEGER
video_viewable_impressionsNULLABLEINTEGER
video_watched_3_secondsNULLABLEINTEGER
video_watched_25_percentNULLABLEINTEGER
video_watched_50_percentNULLABLEINTEGER
video_watched_75_percentNULLABLEINTEGER
video_watched_100_percentNULLABLEINTEGER
cpvNULLABLEFLOAT
conversion_purchase_clicksNULLABLEINTEGER
conversion_purchase_viewsNULLABLEINTEGER
conversion_purchase_total_itemsNULLABLEINTEGER
conversion_purchase_total_valueNULLABLEFLOAT
conversion_purchase_ecpaNULLABLEFLOAT
conversion_roasNULLABLEFLOAT
conversion_add_to_cart_clicksNULLABLEINTEGER
conversion_add_to_cart_viewsNULLABLEINTEGER
conversion_add_to_cart_total_valueNULLABLEFLOAT
conversion_lead_clicksNULLABLEINTEGER
conversion_lead_viewsNULLABLEINTEGER
conversion_sign_up_clicksNULLABLEINTEGER
conversion_sign_up_viewsNULLABLEINTEGER
conversion_page_visit_clicksNULLABLEINTEGER
conversion_page_visit_viewsNULLABLEINTEGER
conversion_view_content_clicksNULLABLEINTEGER
conversion_view_content_viewsNULLABLEINTEGER
key_conversion_total_countNULLABLEINTEGER
key_conversion_clicksNULLABLEINTEGER
key_conversion_viewsNULLABLEINTEGER
Data schema for reddit_ad_groups
Field NameModeType
dateNULLABLEDATE
account_idNULLABLESTRING
account_nameNULLABLESTRING
currencyNULLABLESTRING
time_zone_idNULLABLESTRING
campaign_idNULLABLESTRING
campaign_nameNULLABLESTRING
ad_group_idNULLABLESTRING
ad_group_nameNULLABLESTRING
ad_group_statusNULLABLESTRING
impressionsNULLABLEINTEGER
reachNULLABLEINTEGER
frequencyNULLABLEFLOAT
clicksNULLABLEINTEGER
ctrNULLABLEFLOAT
spendNULLABLEFLOAT
cpcNULLABLEFLOAT
ecpmNULLABLEFLOAT
engaged_clickNULLABLEINTEGER
video_startedNULLABLEINTEGER
video_viewable_impressionsNULLABLEINTEGER
video_watched_3_secondsNULLABLEINTEGER
video_watched_25_percentNULLABLEINTEGER
video_watched_50_percentNULLABLEINTEGER
video_watched_75_percentNULLABLEINTEGER
video_watched_100_percentNULLABLEINTEGER
cpvNULLABLEFLOAT
conversion_purchase_clicksNULLABLEINTEGER
conversion_purchase_viewsNULLABLEINTEGER
conversion_purchase_total_itemsNULLABLEINTEGER
conversion_purchase_total_valueNULLABLEFLOAT
conversion_purchase_ecpaNULLABLEFLOAT
conversion_roasNULLABLEFLOAT
conversion_add_to_cart_clicksNULLABLEINTEGER
conversion_add_to_cart_viewsNULLABLEINTEGER
conversion_add_to_cart_total_valueNULLABLEFLOAT
conversion_lead_clicksNULLABLEINTEGER
conversion_lead_viewsNULLABLEINTEGER
conversion_sign_up_clicksNULLABLEINTEGER
conversion_sign_up_viewsNULLABLEINTEGER
conversion_page_visit_clicksNULLABLEINTEGER
conversion_page_visit_viewsNULLABLEINTEGER
conversion_view_content_clicksNULLABLEINTEGER
conversion_view_content_viewsNULLABLEINTEGER
key_conversion_total_countNULLABLEINTEGER
key_conversion_clicksNULLABLEINTEGER
key_conversion_viewsNULLABLEINTEGER
Data schema for reddit_ads
Field NameModeType
dateNULLABLEDATE
account_idNULLABLESTRING
account_nameNULLABLESTRING
currencyNULLABLESTRING
time_zone_idNULLABLESTRING
campaign_idNULLABLESTRING
campaign_nameNULLABLESTRING
ad_group_idNULLABLESTRING
ad_group_nameNULLABLESTRING
ad_idNULLABLESTRING
ad_nameNULLABLESTRING
ad_statusNULLABLESTRING
post_idNULLABLESTRING
impressionsNULLABLEINTEGER
reachNULLABLEINTEGER
frequencyNULLABLEFLOAT
clicksNULLABLEINTEGER
ctrNULLABLEFLOAT
spendNULLABLEFLOAT
cpcNULLABLEFLOAT
ecpmNULLABLEFLOAT
engaged_clickNULLABLEINTEGER
video_startedNULLABLEINTEGER
video_viewable_impressionsNULLABLEINTEGER
video_watched_3_secondsNULLABLEINTEGER
video_watched_25_percentNULLABLEINTEGER
video_watched_50_percentNULLABLEINTEGER
video_watched_75_percentNULLABLEINTEGER
video_watched_100_percentNULLABLEINTEGER
cpvNULLABLEFLOAT
conversion_purchase_clicksNULLABLEINTEGER
conversion_purchase_viewsNULLABLEINTEGER
conversion_purchase_total_itemsNULLABLEINTEGER
conversion_purchase_total_valueNULLABLEFLOAT
conversion_purchase_ecpaNULLABLEFLOAT
conversion_roasNULLABLEFLOAT
conversion_add_to_cart_clicksNULLABLEINTEGER
conversion_add_to_cart_viewsNULLABLEINTEGER
conversion_add_to_cart_total_valueNULLABLEFLOAT
conversion_lead_clicksNULLABLEINTEGER
conversion_lead_viewsNULLABLEINTEGER
conversion_sign_up_clicksNULLABLEINTEGER
conversion_sign_up_viewsNULLABLEINTEGER
conversion_page_visit_clicksNULLABLEINTEGER
conversion_page_visit_viewsNULLABLEINTEGER
conversion_view_content_clicksNULLABLEINTEGER
conversion_view_content_viewsNULLABLEINTEGER
key_conversion_total_countNULLABLEINTEGER
key_conversion_clicksNULLABLEINTEGER
key_conversion_viewsNULLABLEINTEGER

Troubleshooting

An account shows "(No access)". The Reddit login behind the selected authorization can no longer see that ad account. Ask for access to the account in Reddit Ads, or authorize again with a Reddit login that has it, and select the account again.

The collect fails with an authorization error. The Reddit authorization is no longer valid. Open the data collect, click Re-authorize next to the authorization, select the account again and click Save.