Facebook Ads report transformation
This document describes how your Facebook Ads reports are transformed when you run a Facebook Ads transfer to BigQuery .
Table mapping for Facebook Ads reports
When your Facebook Ads reports are transferred to BigQuery, the reports are transformed into the following BigQuery tables and views.
AdAccounts
report
| Meta API field name | Mapped BigQuery field name | Type | Description |
|---|---|---|---|
id
|
ID [KEY] | String | The Id of Ad Account. |
|
Target | String | The target used to get ad accounts from. This value is `null` - to get all ad accounts. |
account_id
|
AccountId | String | The Id of the Ad Account when viewed directly in Facebook. |
account_status
|
AccountStatus | Integer | Status of the account. 1 = Active, 2 = Disabled, 3 = Unsettled, 7 = Pending Review, 9 = in Grace Period, 101 = temporarily unavailable, 100 = pending closure. |
age
|
Age | Double | Amount of time the ad account has been open, in days. |
amount_spent
|
AmountSpent | Integer | Current total amount spent by the account. This can be reset. |
balance
|
Balance | Integer | Bill amount due. |
business_city
|
BusinessCity | String | City for business address. |
business_country_code
|
BusinessCountryCode | String | Country code for the business address. |
business_name
|
BusinessName | String | The business name for the account. |
business_state
|
BusinessState | String | State abbreviation for business address. |
business_street
|
BusinessStreet | String | First line of the business street address for the account. |
business_street2
|
BusinessStreet2 | String | Second line of the business street address for the account. |
business_zip
|
BusinessZip | String | Zip code for business address. |
capabilities
|
Capabilities | String | Capabilities allowed for this ad account. |
created_time
|
CreatedTime | Datetime | The time the account was created. |
currency
|
Currency | String | The currency used for the account, based on the corresponding value in the account settings. |
min_campaign_group_spend_cap
|
MinCampaignGroupSpendCap | String | The minimum campaign group spend limit. |
name
|
Name | String | Name of the account; note that many accounts are unnamed, so this field may be empty. |
offsite_pixels_tos_accepted
|
OffsitePixelsTosAccepted | String | Indicates whether the offsite pixel Terms Of Service contract was signed. |
owner
|
OwnerId | String | Facebook ID of the owner for the Ad Account. |
spend_cap
|
SpendCap | Integer | The maximum that can be spent by this account after which campaigns will be paused. A value of 0 signifies no spending-cap. |
timezone_id
|
TimezoneId | String | ID for the timezone. |
timezone_name
|
TimezoneName | String | Name for the timezone. |
timezone_offset_hours_utc
|
TimezoneOffsetHoursUTC | Double | Time Zone difference from UTC. |
AdInsights
report
date_start
date_stop
account_currency
action_attribution_windows
account_id
account_name
campaign_id
campaign_name
adset_id
adset_name
ad_id
ad_name
buying_type
clicks
conversion_rate_ranking
cost_per_estimated_ad_recallers
cost_per_inline_link_click
cost_per_inline_post_engagement
cost_per_unique_click
cost_per_unique_inline_link_click
cpc
cpm
cpp
ctr
estimated_ad_recall_rate
estimated_ad_recallers
frequency
impressions
inline_link_clicks
inline_link_click_ctr
inline_post_engagement
instant_experience_clicks_to_open
instant_experience_clicks_to_start
instant_experience_outbound_clicks
objective
quality_ranking
reach
spend
inline_link_clicks
inline_link_clicks
outbound_clicks
AdInsightsActions
report
ACTION_COLLECTION
refers to the types of actions
people have taken in response to your ad. For a full list of action collections,
see Action collections
.
date_start
date_stop
ad
.action_attribution_windows
account_id
account_name
campaign_id
campaign_name
adset_id
adset_name
ad_id
ad_name
ACTION_COLLECTION
.value
ACTION_COLLECTION
.1d_click
ACTION_COLLECTION
.1d_view
ACTION_COLLECTION
.7d_click
ACTION_COLLECTION
.7d_view
ACTION_COLLECTION
.28d_click
ACTION_COLLECTION
.28d_view
ACTION_COLLECTION
.dda

