Files
meta_api_grabber/schema_info.txt

552 lines
39 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

================================================================================
SCHEMA: meta
================================================================================
Table: ad_sets
--------------------------------------------------------------------------------
- id: character varying (NULL)
- name: character varying (NULL)
- adlabels: jsonb (NULL)
- bid_info: jsonb (NULL)
- account_id: character varying (NULL)
- bid_amount: numeric (NULL)
- start_time: timestamp with time zone (NULL)
- campaign_id: character varying (NULL)
- created_time: timestamp with time zone (NULL)
- daily_budget: numeric (NULL)
- updated_time: timestamp with time zone (NULL)
- bid_constraints: jsonb (NULL)
- lifetime_budget: numeric (NULL)
- promoted_object: jsonb (NULL)
- _airbyte_raw_id: character varying (NOT NULL)
- _airbyte_extracted_at: timestamp with time zone (NOT NULL)
- _airbyte_generation_id: bigint (NULL)
- _airbyte_meta: jsonb (NOT NULL)
Rows: 47
Sample: {'id': '120207428712700382', 'name': 'Neue Anzeigengruppe für Leads', 'adlabels': None, 'bid_info': None, 'account_id': '1416908162571377', 'bid_amount': None, 'start_time': datetime.datetime(2024, 3, 15, 8, 50, 7, tzinfo=datetime.timezone.utc), 'campaign_id': '120207428712650382', 'created_time': datetime.datetime(2024, 3, 15, 8, 50, 7, tzinfo=datetime.timezone.utc), 'daily_budget': Decimal('1000.000000000'), 'updated_time': datetime.datetime(2025, 1, 4, 6, 42, tzinfo=datetime.timezone.utc), 'bid_constraints': None, 'lifetime_budget': Decimal('0E-9'), 'promoted_object': '{"page_id": "106160371809313"}', '_airbyte_raw_id': 'dccb9c4b-7fa8-4e98-9249-7a359dd86521', '_airbyte_extracted_at': datetime.datetime(2025, 11, 13, 16, 6, 6, 112000, tzinfo=datetime.timezone.utc), '_airbyte_generation_id': 2, '_airbyte_meta': '{"changes": [], "sync_id": 42}'}
Table: ads
--------------------------------------------------------------------------------
- id: character varying (NULL)
- name: character varying (NULL)
- status: character varying (NULL)
- adlabels: jsonb (NULL)
- adset_id: character varying (NULL)
- bid_info: jsonb (NULL)
- bid_type: character varying (NULL)
- creative: jsonb (NULL)
- account_id: character varying (NULL)
- bid_amount: bigint (NULL)
- campaign_id: character varying (NULL)
- created_time: timestamp with time zone (NULL)
- source_ad_id: character varying (NULL)
- updated_time: timestamp with time zone (NULL)
- tracking_specs: jsonb (NULL)
- recommendations: jsonb (NULL)
- conversion_specs: jsonb (NULL)
- effective_status: character varying (NULL)
- last_updated_by_app_id: character varying (NULL)
- _airbyte_raw_id: character varying (NOT NULL)
- _airbyte_extracted_at: timestamp with time zone (NOT NULL)
- _airbyte_generation_id: bigint (NULL)
- _airbyte_meta: jsonb (NOT NULL)
Rows: 163
Sample: {'id': '120236221098270382', 'name': 'Vertriebsmitarbeiter_14.11.2025_Grafik_1', 'status': 'ACTIVE', 'adlabels': None, 'adset_id': '120236221098250382', 'bid_info': None, 'bid_type': 'ABSOLUTE_OCPM', 'creative': '{"id": "2042451856579224"}', 'account_id': '1416908162571377', 'bid_amount': None, 'campaign_id': '120219679742650382', 'created_time': datetime.datetime(2025, 11, 14, 9, 30, 29, tzinfo=datetime.timezone.utc), 'source_ad_id': '0', 'updated_time': datetime.datetime(2025, 11, 14, 9, 45, 27, tzinfo=datetime.timezone.utc), 'tracking_specs': '[{"fb_pixel": ["1165111234632775"], "action.type": ["offsite_conversion"]}, {"action.type": ["onsite_conversion"], "conversion_id": ["9883202595118306"]}, {"action.type": ["onsite_conversion"]}, {"page": ["106160371809313"], "post": ["860615083140579"], "action.type": ["post_engagement"]}, {"page": ["106160371809313"], "post": ["860615083140579"], "action.type": ["post_interaction_gross"]}, {"post": ["860615083140579"], "post.wall": ["106160371809313"], "action.type": ["link_click"]}]', 'recommendations': None, 'conversion_specs': '[{"action.type": ["offsite_conversion"], "conversion_id": ["25218548091171302"]}]', 'effective_status': 'ACTIVE', 'last_updated_by_app_id': '119211728144504', '_airbyte_raw_id': '826ad572-f17f-4f94-a682-fe633da5092d', '_airbyte_extracted_at': datetime.datetime(2025, 11, 14, 16, 6, 20, 979000, tzinfo=datetime.timezone.utc), '_airbyte_generation_id': 1, '_airbyte_meta': '{"changes": [], "sync_id": 44}'}
Table: ads_insights
--------------------------------------------------------------------------------
- cpc: numeric (NULL)
- cpm: numeric (NULL)
- cpp: numeric (NULL)
- ctr: numeric (NULL)
- ad_id: character varying (NULL)
- reach: bigint (NULL)
- spend: numeric (NULL)
- clicks: bigint (NULL)
- actions: jsonb (NULL)
- ad_name: character varying (NULL)
- adset_id: character varying (NULL)
- date_stop: date (NULL)
- frequency: numeric (NULL)
- objective: character varying (NULL)
- account_id: character varying (NULL)
- adset_name: character varying (NULL)
- date_start: date (NULL)
- campaign_id: character varying (NULL)
- conversions: jsonb (NULL)
- impressions: bigint (NULL)
- account_name: character varying (NULL)
- created_time: date (NULL)
- action_values: jsonb (NULL)
- account_currency: character varying (NULL)
- ad_click_actions: jsonb (NULL)
- conversion_values: jsonb (NULL)
- optimization_goal: character varying (NULL)
- cost_per_conversion: jsonb (NULL)
- ad_impression_actions: jsonb (NULL)
- _airbyte_raw_id: character varying (NOT NULL)
- _airbyte_extracted_at: timestamp with time zone (NOT NULL)
- _airbyte_generation_id: bigint (NULL)
- _airbyte_meta: jsonb (NOT NULL)
Rows: 6654
Sample: {'cpc': Decimal('1.190000000'), 'cpm': Decimal('10.967742000'), 'cpp': Decimal('13.678161000'), 'ctr': Decimal('0.921659000'), 'ad_id': '120226947319320382', 'reach': 174, 'spend': Decimal('2.380000000'), 'clicks': 2, 'actions': '[{"value": 15, "1d_view": 15, "7d_view": 15, "28d_view": 15, "action_type": "page_engagement", "action_target_id": "0", "action_destination": "unknown"}, {"value": 3, "1d_view": 3, "7d_view": 3, "28d_view": 3, "action_type": "page_engagement", "action_target_id": "1240005757657489", "action_destination": "Content Creator (m/w/d) gesucht Jetzt bewerben!"}, {"value": 15, "1d_view": 15, "7d_view": 15, "28d_view": 15, "action_type": "post_engagement", "action_target_id": "0", "action_destination": "unknown"}, {"value": 3, "1d_view": 3, "7d_view": 3, "28d_view": 3, "action_type": "post_engagement", "action_target_id": "1240005757657489", "action_destination": "Content Creator (m/w/d) gesucht Jetzt bewerben!"}, {"value": 15, "1d_view": 15, "7d_view": 15, "28d_view": 15, "action_type": "video_view", "action_target_id": "0", "action_destination": "unknown"}, {"value": 3, "1d_view": 3, "7d_view": 3, "28d_view": 3, "action_type": "video_view", "action_target_id": "1240005757657489", "action_destination": "Content Creator (m/w/d) gesucht Jetzt bewerben!"}]', 'ad_name': 'Content_Creator_11.06.25', 'adset_id': '120226947319300382', 'date_stop': datetime.date(2025, 11, 14), 'frequency': Decimal('1.247126000'), 'objective': 'OUTCOME_LEADS', 'account_id': '1416908162571377', 'adset_name': 'Content Creator Bewerber 25_InstantForm_DE', 'date_start': datetime.date(2025, 11, 14), 'campaign_id': '120219679742650382', 'conversions': None, 'impressions': 217, 'account_name': '99tales', 'created_time': datetime.date(2025, 6, 11), 'action_values': None, 'account_currency': 'EUR', 'ad_click_actions': None, 'conversion_values': None, 'optimization_goal': 'LEAD_GENERATION', 'cost_per_conversion': None, 'ad_impression_actions': None, '_airbyte_raw_id': '1603d437-0177-4fb7-9f25-0a1f2e91a548', '_airbyte_extracted_at': datetime.datetime(2025, 11, 14, 16, 8, 38, 501000, tzinfo=datetime.timezone.utc), '_airbyte_generation_id': 3, '_airbyte_meta': '{"changes": [], "sync_id": 44}'}
Table: ads_insights_age_and_gender
--------------------------------------------------------------------------------
- age: character varying (NULL)
- cpc: numeric (NULL)
- cpm: numeric (NULL)
- cpp: numeric (NULL)
- ad_id: character varying (NULL)
- clicks: bigint (NULL)
- gender: character varying (NULL)
- actions: jsonb (NULL)
- adset_id: character varying (NULL)
- account_id: character varying (NULL)
- date_start: date (NULL)
- campaign_id: character varying (NULL)
- conversions: jsonb (NULL)
- account_name: character varying (NULL)
- created_time: date (NULL)
- _airbyte_raw_id: character varying (NOT NULL)
- _airbyte_extracted_at: timestamp with time zone (NOT NULL)
- _airbyte_generation_id: bigint (NULL)
- _airbyte_meta: jsonb (NOT NULL)
Rows: 5962
Sample: {'age': '45-54', 'cpc': None, 'cpm': Decimal('3.750000000'), 'cpp': Decimal('4.285714000'), 'ad_id': '120236395246040196', 'clicks': 0, 'gender': 'male', 'actions': None, 'adset_id': '120223804684640196', 'account_id': '238334370765317', 'date_start': datetime.date(2025, 10, 5), 'campaign_id': '120223804684630196', 'conversions': None, 'account_name': 'Hotel Bemelmans Post', 'created_time': datetime.date(2025, 8, 26), '_airbyte_raw_id': 'fc0e034f-5938-4fe7-9364-d36743807245', '_airbyte_extracted_at': datetime.datetime(2025, 11, 3, 15, 47, 3, 587000, tzinfo=datetime.timezone.utc), '_airbyte_generation_id': 0, '_airbyte_meta': '{"changes": [], "sync_id": 1}'}
Table: ads_insights_country
--------------------------------------------------------------------------------
- cpc: numeric (NULL)
- cpm: numeric (NULL)
- cpp: numeric (NULL)
- ctr: numeric (NULL)
- ad_id: character varying (NULL)
- clicks: bigint (NULL)
- country: character varying (NULL)
- objective: character varying (NULL)
- account_id: character varying (NULL)
- date_start: date (NULL)
- conversions: jsonb (NULL)
- impressions: bigint (NULL)
- created_time: date (NULL)
- account_currency: character varying (NULL)
- _airbyte_raw_id: character varying (NOT NULL)
- _airbyte_extracted_at: timestamp with time zone (NOT NULL)
- _airbyte_generation_id: bigint (NULL)
- _airbyte_meta: jsonb (NOT NULL)
Rows: 1701
Sample: {'cpc': Decimal('0.459545000'), 'cpm': Decimal('12.086073000'), 'cpp': Decimal('15.033457000'), 'ctr': Decimal('2.630006000'), 'ad_id': '120224889911030196', 'clicks': 44, 'country': 'IT', 'objective': 'OUTCOME_LEADS', 'account_id': '238334370765317', 'date_start': datetime.date(2025, 10, 5), 'conversions': None, 'impressions': 1673, 'created_time': datetime.date(2025, 4, 10), 'account_currency': 'EUR', '_airbyte_raw_id': '37a9805d-66c5-4288-ac51-04ec995a1ba6', '_airbyte_extracted_at': datetime.datetime(2025, 11, 3, 15, 51, 24, 448000, tzinfo=datetime.timezone.utc), '_airbyte_generation_id': 0, '_airbyte_meta': '{"changes": [], "sync_id": 1}'}
Table: campaigns
--------------------------------------------------------------------------------
- id: character varying (NULL)
- name: character varying (NULL)
- status: character varying (NULL)
- adlabels: jsonb (NULL)
- objective: character varying (NULL)
- spend_cap: numeric (NULL)
- stop_time: timestamp with time zone (NULL)
- account_id: character varying (NULL)
- start_time: timestamp with time zone (NULL)
- buying_type: character varying (NULL)
- issues_info: jsonb (NULL)
- bid_strategy: character varying (NULL)
- created_time: timestamp with time zone (NULL)
- daily_budget: numeric (NULL)
- updated_time: timestamp with time zone (NULL)
- lifetime_budget: numeric (NULL)
- budget_remaining: numeric (NULL)
- effective_status: character varying (NULL)
- boosted_object_id: character varying (NULL)
- configured_status: character varying (NULL)
- source_campaign_id: numeric (NULL)
- special_ad_category: character varying (NULL)
- smart_promotion_type: character varying (NULL)
- budget_rebalance_flag: boolean (NULL)
- special_ad_category_country: jsonb (NULL)
- _airbyte_raw_id: character varying (NOT NULL)
- _airbyte_extracted_at: timestamp with time zone (NOT NULL)
- _airbyte_generation_id: bigint (NULL)
- _airbyte_meta: jsonb (NOT NULL)
Rows: 25
Sample: {'id': '120207428712650382', 'name': 'Bewerber_99tales', 'status': 'PAUSED', 'adlabels': None, 'objective': 'OUTCOME_LEADS', 'spend_cap': None, 'stop_time': None, 'account_id': '1416908162571377', 'start_time': datetime.datetime(2024, 3, 15, 8, 50, 7, tzinfo=datetime.timezone.utc), 'buying_type': 'AUCTION', 'issues_info': None, 'bid_strategy': None, 'created_time': datetime.datetime(2024, 3, 15, 8, 50, 6, tzinfo=datetime.timezone.utc), 'daily_budget': None, 'updated_time': datetime.datetime(2025, 10, 10, 5, 42, 18, tzinfo=datetime.timezone.utc), 'lifetime_budget': None, 'budget_remaining': Decimal('0E-9'), 'effective_status': 'PAUSED', 'boosted_object_id': None, 'configured_status': 'PAUSED', 'source_campaign_id': Decimal('0E-9'), 'special_ad_category': 'EMPLOYMENT', 'smart_promotion_type': 'GUIDED_CREATION', 'budget_rebalance_flag': False, 'special_ad_category_country': '["IT"]', '_airbyte_raw_id': 'd94ca411-6b5a-4382-871c-681de8f35440', '_airbyte_extracted_at': datetime.datetime(2025, 11, 13, 17, 24, 46, 639000, tzinfo=datetime.timezone.utc), '_airbyte_generation_id': 12, '_airbyte_meta': '{"changes": [], "sync_id": 42}'}
Table: custom_campaign_country
--------------------------------------------------------------------------------
- cpc: numeric (NULL)
- cpm: numeric (NULL)
- cpp: numeric (NULL)
- ctr: numeric (NULL)
- reach: bigint (NULL)
- spend: numeric (NULL)
- clicks: bigint (NULL)
- actions: jsonb (NULL)
- country: character varying (NULL)
- date_stop: date (NULL)
- frequency: numeric (NULL)
- objective: character varying (NULL)
- account_id: character varying (NULL)
- date_start: date (NULL)
- campaign_id: character varying (NULL)
- impressions: bigint (NULL)
- created_time: date (NULL)
- social_spend: numeric (NULL)
- _airbyte_raw_id: character varying (NOT NULL)
- _airbyte_extracted_at: timestamp with time zone (NOT NULL)
- _airbyte_generation_id: bigint (NULL)
- _airbyte_meta: jsonb (NOT NULL)
Rows: 2038
Sample: {'cpc': Decimal('0.908257000'), 'cpm': Decimal('7.444729000'), 'cpp': Decimal('9.872357000'), 'ctr': Decimal('0.819672000'), 'reach': 92, 'spend': Decimal('0.908257000'), 'clicks': 1, 'actions': '[{"value": 18, "1d_view": 17, "7d_view": 17, "1d_click": 1, "28d_view": 17, "7d_click": 1, "28d_click": 1, "action_type": "page_engagement"}, {"value": 18, "1d_view": 17, "7d_view": 17, "1d_click": 1, "28d_view": 17, "7d_click": 1, "28d_click": 1, "action_type": "post_engagement"}, {"value": 1, "1d_click": 1, "7d_click": 1, "28d_click": 1, "action_type": "link_click"}, {"value": 17, "1d_view": 17, "7d_view": 17, "28d_view": 17, "action_type": "video_view"}]', 'country': 'AT', 'date_stop': datetime.date(2025, 11, 14), 'frequency': Decimal('1.326087000'), 'objective': 'OUTCOME_LEADS', 'account_id': '1416908162571377', 'date_start': datetime.date(2025, 11, 14), 'campaign_id': '120235573403300382', 'impressions': 122, 'created_time': datetime.date(2025, 10, 31), 'social_spend': None, '_airbyte_raw_id': '31ca2e7a-6757-4c8e-96e8-6e3768c86315', '_airbyte_extracted_at': datetime.datetime(2025, 11, 14, 16, 14, 21, 341000, tzinfo=datetime.timezone.utc), '_airbyte_generation_id': 1, '_airbyte_meta': '{"changes": [], "sync_id": 44}'}
Table: custom_campaign_device
--------------------------------------------------------------------------------
- ad_id: character varying (NULL)
- reach: bigint (NULL)
- spend: numeric (NULL)
- clicks: bigint (NULL)
- actions: jsonb (NULL)
- date_stop: date (NULL)
- frequency: numeric (NULL)
- account_id: character varying (NULL)
- date_start: date (NULL)
- campaign_id: character varying (NULL)
- impressions: bigint (NULL)
- campaign_name: character varying (NULL)
- device_platform: character varying (NULL)
- _airbyte_raw_id: character varying (NOT NULL)
- _airbyte_extracted_at: timestamp with time zone (NOT NULL)
- _airbyte_generation_id: bigint (NULL)
- _airbyte_meta: jsonb (NOT NULL)
Rows: 1291
Sample: {'ad_id': None, 'reach': 5, 'spend': Decimal('0.111560000'), 'clicks': 0, 'actions': None, 'date_stop': datetime.date(2025, 11, 14), 'frequency': Decimal('1.000000000'), 'account_id': '1416908162571377', 'date_start': datetime.date(2025, 11, 14), 'campaign_id': '120235573403300382', 'impressions': 5, 'campaign_name': 'MairLorenz_Cold_Traffic_Conversions_InstantForm', 'device_platform': 'desktop', '_airbyte_raw_id': 'a9231688-5cde-4f02-a84d-99759e7ea3d6', '_airbyte_extracted_at': datetime.datetime(2025, 11, 14, 16, 18, 56, 210000, tzinfo=datetime.timezone.utc), '_airbyte_generation_id': 0, '_airbyte_meta': '{"changes": [], "sync_id": 44}'}
Table: custom_campaign_gender
--------------------------------------------------------------------------------
- age: character varying (NULL)
- cpc: numeric (NULL)
- cpm: numeric (NULL)
- cpp: numeric (NULL)
- ctr: numeric (NULL)
- reach: bigint (NULL)
- spend: numeric (NULL)
- clicks: bigint (NULL)
- gender: character varying (NULL)
- actions: jsonb (NULL)
- date_stop: date (NULL)
- frequency: numeric (NULL)
- account_id: character varying (NULL)
- date_start: date (NULL)
- campaign_id: character varying (NULL)
- conversions: jsonb (NULL)
- impressions: bigint (NULL)
- created_time: date (NULL)
- updated_time: date (NULL)
- campaign_name: character varying (NULL)
- purchase_roas: jsonb (NULL)
- account_currency: character varying (NULL)
- _airbyte_raw_id: character varying (NOT NULL)
- _airbyte_extracted_at: timestamp with time zone (NOT NULL)
- _airbyte_generation_id: bigint (NULL)
- _airbyte_meta: jsonb (NOT NULL)
Rows: 8554
Sample: {'age': '18-24', 'cpc': None, 'cpm': Decimal('12.060708000'), 'cpp': Decimal('13.916202000'), 'ctr': Decimal('0E-9'), 'reach': 13, 'spend': Decimal('0.180911000'), 'clicks': 0, 'gender': 'female', 'actions': '[{"value": 3, "1d_view": 3, "7d_view": 3, "28d_view": 3, "action_type": "page_engagement"}, {"value": 3, "1d_view": 3, "7d_view": 3, "28d_view": 3, "action_type": "post_engagement"}, {"value": 3, "1d_view": 3, "7d_view": 3, "28d_view": 3, "action_type": "video_view"}]', 'date_stop': datetime.date(2025, 11, 14), 'frequency': Decimal('1.153846000'), 'account_id': '1416908162571377', 'date_start': datetime.date(2025, 11, 14), 'campaign_id': '120218699205090382', 'conversions': None, 'impressions': 15, 'created_time': datetime.date(2025, 3, 15), 'updated_time': datetime.date(2025, 10, 10), 'campaign_name': '15_03_25_Adverto_Hotelmarketing', 'purchase_roas': None, 'account_currency': 'EUR', '_airbyte_raw_id': '4642fee0-6c01-4297-b4fd-48acddf44062', '_airbyte_extracted_at': datetime.datetime(2025, 11, 14, 16, 16, 22, 159000, tzinfo=datetime.timezone.utc), '_airbyte_generation_id': 3, '_airbyte_meta': '{"changes": [], "sync_id": 44}'}
Table: custom_campaign_gender_ab_soft_reset
--------------------------------------------------------------------------------
- age: character varying (NULL)
- cpc: numeric (NULL)
- cpm: numeric (NULL)
- cpp: numeric (NULL)
- ctr: numeric (NULL)
- reach: bigint (NULL)
- spend: numeric (NULL)
- clicks: bigint (NULL)
- gender: character varying (NULL)
- actions: jsonb (NULL)
- date_stop: date (NULL)
- frequency: numeric (NULL)
- account_id: character varying (NULL)
- date_start: date (NULL)
- campaign_id: character varying (NULL)
- conversions: jsonb (NULL)
- impressions: bigint (NULL)
- created_time: date (NULL)
- updated_time: date (NULL)
- campaign_name: character varying (NULL)
- purchase_roas: jsonb (NULL)
- account_currency: character varying (NULL)
- _airbyte_raw_id: character varying (NOT NULL)
- _airbyte_extracted_at: timestamp with time zone (NOT NULL)
- _airbyte_generation_id: bigint (NULL)
- _airbyte_meta: jsonb (NOT NULL)
Rows: 1105
Sample: {'age': None, 'cpc': Decimal('1.044085000'), 'cpm': Decimal('22.273805000'), 'cpp': Decimal('24.281038000'), 'ctr': Decimal('2.133333000'), 'reach': 344, 'spend': Decimal('8.352677000'), 'clicks': 8, 'gender': 'female', 'actions': '[{"value": 7, "1d_click": 7, "7d_click": 7, "28d_click": 7, "action_type": "page_engagement"}, {"value": 2, "1d_click": 2, "7d_click": 2, "28d_click": 2, "action_type": "landing_page_view"}, {"value": 2, "1d_click": 2, "7d_click": 2, "28d_click": 2, "action_type": "omni_landing_page_view"}, {"value": 7, "1d_click": 7, "7d_click": 7, "28d_click": 7, "action_type": "post_engagement"}, {"value": 7, "1d_click": 7, "7d_click": 7, "28d_click": 7, "action_type": "link_click"}]', 'date_stop': datetime.date(2025, 11, 11), 'frequency': Decimal('1.090116000'), 'account_id': '238334370765317', 'date_start': datetime.date(2025, 11, 11), 'campaign_id': '120223804684630196', 'conversions': None, 'impressions': 375, 'created_time': datetime.date(2025, 4, 4), 'updated_time': datetime.date(2025, 5, 23), 'campaign_name': 'Conversions_Hotel_Bemelmans_DEU', 'purchase_roas': None, 'account_currency': 'EUR', '_airbyte_raw_id': '37862ffc-80d4-4c32-bb17-85656877ab99', '_airbyte_extracted_at': datetime.datetime(2025, 11, 11, 16, 27, 40, 468000, tzinfo=datetime.timezone.utc), '_airbyte_generation_id': 1, '_airbyte_meta': '{"changes": [], "sync_id": 29}'}
Table: custom_conversions
--------------------------------------------------------------------------------
- id: character varying (NULL)
- name: character varying (NULL)
- rule: character varying (NULL)
- business: character varying (NULL)
- account_id: character varying (NULL)
- description: character varying (NULL)
- is_archived: boolean (NULL)
- data_sources: jsonb (NULL)
- creation_time: timestamp with time zone (NULL)
- is_unavailable: boolean (NULL)
- retention_days: numeric (NULL)
- last_fired_time: timestamp with time zone (NULL)
- first_fired_time: timestamp with time zone (NULL)
- custom_event_type: character varying (NULL)
- event_source_type: character varying (NULL)
- default_conversion_value: numeric (NULL)
- offline_conversion_data_set: character varying (NULL)
- _airbyte_raw_id: character varying (NOT NULL)
- _airbyte_extracted_at: timestamp with time zone (NOT NULL)
- _airbyte_generation_id: bigint (NULL)
- _airbyte_meta: jsonb (NOT NULL)
Rows: 12
Sample: {'id': '1049186899714335', 'name': 'Purchase', 'rule': '{"and":[{"event":{"eq":"PageView"}},{"or":[{"Event Parameters":{"eq":"purchase"}}]}]}', 'business': None, 'account_id': '277560745', 'description': None, 'is_archived': True, 'data_sources': '[{"id": "7753250311370403", "name": "Spitalerhof Facebook Pixel", "source_type": "PIXEL"}]', 'creation_time': datetime.datetime(2024, 1, 25, 10, 21, 3, tzinfo=datetime.timezone.utc), 'is_unavailable': False, 'retention_days': Decimal('0E-9'), 'last_fired_time': None, 'first_fired_time': None, 'custom_event_type': 'OTHER', 'event_source_type': 'pixel', 'default_conversion_value': Decimal('0E-9'), 'offline_conversion_data_set': None, '_airbyte_raw_id': 'e9adb670-8ebb-441e-b3dc-5163ac5922ec', '_airbyte_extracted_at': datetime.datetime(2025, 11, 14, 16, 9, 25, 869000, tzinfo=datetime.timezone.utc), '_airbyte_generation_id': 41, '_airbyte_meta': '{"changes": [], "sync_id": 44}'}
Table: customcampaign_insights
--------------------------------------------------------------------------------
- cpc: numeric (NULL)
- cpm: numeric (NULL)
- cpp: numeric (NULL)
- ctr: numeric (NULL)
- ad_id: character varying (NULL)
- reach: bigint (NULL)
- spend: numeric (NULL)
- clicks: bigint (NULL)
- actions: jsonb (NULL)
- date_stop: date (NULL)
- frequency: numeric (NULL)
- objective: character varying (NULL)
- account_id: character varying (NULL)
- date_start: date (NULL)
- campaign_id: character varying (NULL)
- impressions: bigint (NULL)
- created_time: date (NULL)
- campaign_name: character varying (NULL)
- purchase_roas: jsonb (NULL)
- optimization_goal: character varying (NULL)
- _airbyte_raw_id: character varying (NOT NULL)
- _airbyte_extracted_at: timestamp with time zone (NOT NULL)
- _airbyte_generation_id: bigint (NULL)
- _airbyte_meta: jsonb (NOT NULL)
Rows: 2328
Sample: {'cpc': Decimal('0.565714000'), 'cpm': Decimal('13.846154000'), 'cpp': Decimal('17.217391000'), 'ctr': Decimal('2.447552000'), 'ad_id': None, 'reach': 690, 'spend': Decimal('11.880000000'), 'clicks': 21, 'actions': '[{"value": 3, "1d_click": 3, "7d_click": 3, "28d_click": 3, "action_type": "offsite_complete_registration_add_meta_leads"}, {"value": 174, "1d_view": 161, "7d_view": 161, "1d_click": 13, "28d_view": 161, "7d_click": 13, "28d_click": 13, "action_type": "page_engagement"}, {"value": 174, "1d_view": 161, "7d_view": 161, "1d_click": 13, "28d_view": 161, "7d_click": 13, "28d_click": 13, "action_type": "post_engagement"}, {"value": 3, "1d_click": 3, "7d_click": 3, "28d_click": 3, "action_type": "offsite_content_view_add_meta_leads"}, {"value": 3, "1d_click": 3, "7d_click": 3, "28d_click": 3, "action_type": "lead"}, {"value": 3, "1d_click": 3, "7d_click": 3, "28d_click": 3, "action_type": "offsite_search_add_meta_leads"}, {"value": 11, "1d_click": 11, "7d_click": 11, "28d_click": 11, "action_type": "link_click"}, {"value": 3, "1d_click": 3, "7d_click": 3, "28d_click": 3, "action_type": "onsite_conversion.lead_grouped"}, {"value": 163, "1d_view": 161, "7d_view": 161, "1d_click": 2, "28d_view": 161, "7d_click": 2, "28d_click": 2, "action_type": "video_view"}]', 'date_stop': datetime.date(2025, 11, 14), 'frequency': Decimal('1.243478000'), 'objective': 'OUTCOME_LEADS', 'account_id': '1416908162571377', 'date_start': datetime.date(2025, 11, 14), 'campaign_id': '120218699205090382', 'impressions': 858, 'created_time': datetime.date(2025, 3, 15), 'campaign_name': '15_03_25_Adverto_Hotelmarketing', 'purchase_roas': None, 'optimization_goal': 'Unknown Optimization Goal', '_airbyte_raw_id': '4ad10a16-dd49-4599-bd7c-65a349edbd4c', '_airbyte_extracted_at': datetime.datetime(2025, 11, 14, 16, 11, 34, 572000, tzinfo=datetime.timezone.utc), '_airbyte_generation_id': 4, '_airbyte_meta': '{"changes": [], "sync_id": 44}'}
================================================================================
SCHEMA: google
================================================================================
Table: account_performance_report
--------------------------------------------------------------------------------
- customer_id: bigint (NULL)
- metrics_ctr: numeric (NULL)
- segments_date: date (NULL)
- metrics_clicks: bigint (NULL)
- segments_device: character varying (NULL)
- customer_manager: boolean (NULL)
- customer_time_zone: character varying (NULL)
- metrics_average_cpc: numeric (NULL)
- metrics_average_cpe: numeric (NULL)
- metrics_average_cpm: numeric (NULL)
- metrics_average_cpv: numeric (NULL)
- metrics_conversions: numeric (NULL)
- metrics_cost_micros: bigint (NULL)
- metrics_engagements: bigint (NULL)
- metrics_impressions: bigint (NULL)
- metrics_video_views: bigint (NULL)
- metrics_average_cost: numeric (NULL)
- metrics_interactions: bigint (NULL)
- segments_day_of_week: character varying (NULL)
- customer_test_account: boolean (NULL)
- customer_currency_code: character varying (NULL)
- metrics_active_view_cpm: numeric (NULL)
- metrics_active_view_ctr: numeric (NULL)
- metrics_all_conversions: numeric (NULL)
- metrics_engagement_rate: numeric (NULL)
- metrics_video_view_rate: numeric (NULL)
- metrics_interaction_rate: numeric (NULL)
- segments_ad_network_type: character varying (NULL)
- customer_descriptive_name: character varying (NULL)
- metrics_conversions_value: numeric (NULL)
- metrics_cost_per_conversion: numeric (NULL)
- metrics_value_per_conversion: numeric (NULL)
- customer_auto_tagging_enabled: boolean (NULL)
- metrics_all_conversions_value: numeric (NULL)
- metrics_active_view_impressions: bigint (NULL)
- metrics_active_view_viewability: numeric (NULL)
- metrics_interaction_event_types: jsonb (NULL)
- metrics_search_impression_share: numeric (NULL)
- metrics_content_impression_share: numeric (NULL)
- metrics_cost_per_all_conversions: numeric (NULL)
- metrics_cross_device_conversions: numeric (NULL)
- metrics_view_through_conversions: bigint (NULL)
- metrics_active_view_measurability: numeric (NULL)
- metrics_value_per_all_conversions: numeric (NULL)
- metrics_search_rank_lost_impression_share: numeric (NULL)
- metrics_active_view_measurable_cost_micros: bigint (NULL)
- metrics_active_view_measurable_impressions: bigint (NULL)
- metrics_content_rank_lost_impression_share: numeric (NULL)
- metrics_conversions_from_interactions_rate: numeric (NULL)
- metrics_search_budget_lost_impression_share: numeric (NULL)
- metrics_search_exact_match_impression_share: numeric (NULL)
- metrics_content_budget_lost_impression_share: numeric (NULL)
- metrics_all_conversions_from_interactions_rate: numeric (NULL)
- _airbyte_raw_id: character varying (NOT NULL)
- _airbyte_extracted_at: timestamp with time zone (NOT NULL)
- _airbyte_generation_id: bigint (NULL)
- _airbyte_meta: jsonb (NOT NULL)
Rows: 543
Sample: {'customer_id': 7581209925, 'metrics_ctr': Decimal('0.083333333'), 'segments_date': datetime.date(2025, 11, 14), 'metrics_clicks': 1, 'segments_device': 'DESKTOP', 'customer_manager': False, 'customer_time_zone': 'Europe/Rome', 'metrics_average_cpc': Decimal('10000.000000000'), 'metrics_average_cpe': None, 'metrics_average_cpm': Decimal('833333.333333333'), 'metrics_average_cpv': None, 'metrics_conversions': Decimal('0E-9'), 'metrics_cost_micros': 10000, 'metrics_engagements': 0, 'metrics_impressions': 12, 'metrics_video_views': 0, 'metrics_average_cost': Decimal('10000.000000000'), 'metrics_interactions': 1, 'segments_day_of_week': 'FRIDAY', 'customer_test_account': False, 'customer_currency_code': 'EUR', 'metrics_active_view_cpm': None, 'metrics_active_view_ctr': None, 'metrics_all_conversions': Decimal('0E-9'), 'metrics_engagement_rate': None, 'metrics_video_view_rate': None, 'metrics_interaction_rate': Decimal('0.083333333'), 'segments_ad_network_type': 'MIXED', 'customer_descriptive_name': 'Hotel Bemelmans Post', 'metrics_conversions_value': Decimal('0E-9'), 'metrics_cost_per_conversion': None, 'metrics_value_per_conversion': None, 'customer_auto_tagging_enabled': True, 'metrics_all_conversions_value': Decimal('0E-9'), 'metrics_active_view_impressions': 0, 'metrics_active_view_viewability': None, 'metrics_interaction_event_types': '["2"]', 'metrics_search_impression_share': None, 'metrics_content_impression_share': None, 'metrics_cost_per_all_conversions': None, 'metrics_cross_device_conversions': Decimal('0E-9'), 'metrics_view_through_conversions': 0, 'metrics_active_view_measurability': Decimal('0E-9'), 'metrics_value_per_all_conversions': None, 'metrics_search_rank_lost_impression_share': None, 'metrics_active_view_measurable_cost_micros': 0, 'metrics_active_view_measurable_impressions': 0, 'metrics_content_rank_lost_impression_share': None, 'metrics_conversions_from_interactions_rate': Decimal('0E-9'), 'metrics_search_budget_lost_impression_share': None, 'metrics_search_exact_match_impression_share': None, 'metrics_content_budget_lost_impression_share': None, 'metrics_all_conversions_from_interactions_rate': Decimal('0E-9'), '_airbyte_raw_id': '2ed0b149-adef-4b9d-a7f8-2276ec48d9ee', '_airbyte_extracted_at': datetime.datetime(2025, 11, 14, 19, 8, 43, 233000, tzinfo=datetime.timezone.utc), '_airbyte_generation_id': 1, '_airbyte_meta': '{"changes": [], "sync_id": 45}'}
Table: campaign_metrics
--------------------------------------------------------------------------------
- campaign_id: bigint (NULL)
- campaign_name: character varying (NULL)
- segments_date: date (NULL)
- metrics_clicks: bigint (NULL)
- metrics_orders: numeric (NULL)
- campaign_status: character varying (NULL)
- campaign_start_date: character varying (NULL)
- metrics_conversions: numeric (NULL)
- metrics_cost_micros: bigint (NULL)
- metrics_impressions: bigint (NULL)
- metrics_interactions: bigint (NULL)
- metrics_all_conversions: numeric (NULL)
- campaign_campaign_budget: character varying (NULL)
- metrics_conversions_value: numeric (NULL)
- campaign_optimization_score: numeric (NULL)
- _airbyte_raw_id: character varying (NOT NULL)
- _airbyte_extracted_at: timestamp with time zone (NOT NULL)
- _airbyte_generation_id: bigint (NULL)
- _airbyte_meta: jsonb (NOT NULL)
Rows: 510
Sample: {'campaign_id': 183901432, 'campaign_name': 'WW_DE_Brand', 'segments_date': datetime.date(2025, 10, 27), 'metrics_clicks': 8, 'metrics_orders': Decimal('0E-9'), 'campaign_status': 'ENABLED', 'campaign_start_date': '2015-01-25', 'metrics_conversions': Decimal('0E-9'), 'metrics_cost_micros': 9660000, 'metrics_impressions': 60, 'metrics_interactions': 8, 'metrics_all_conversions': Decimal('0E-9'), 'campaign_campaign_budget': 'customers/7581209925/campaignBudgets/173136112', 'metrics_conversions_value': Decimal('0E-9'), 'campaign_optimization_score': Decimal('0.474560674'), '_airbyte_raw_id': 'b992b3dd-07cb-4ef6-ad60-0a27454de75c', '_airbyte_extracted_at': datetime.datetime(2025, 11, 11, 10, 30, 54, 31000, tzinfo=datetime.timezone.utc), '_airbyte_generation_id': 1, '_airbyte_meta': '{"changes": [], "sync_id": 26}'}
================================================================================
SCHEMA: alpinebits
================================================================================
Table: acked_requests
--------------------------------------------------------------------------------
- id: integer (NOT NULL)
- client_id: character varying (NULL)
- unique_id: character varying (NULL)
- timestamp: timestamp with time zone (NULL)
- username: character varying (NULL)
Rows: 814
Sample: {'id': 1, 'client_id': 'ASA HOTEL 25.10 @', 'unique_id': '666247dc-9d5a-4eb7-87a7-677bf646', 'timestamp': datetime.datetime(2025, 10, 8, 8, 55, 44, 149632, tzinfo=datetime.timezone.utc), 'username': None}
Table: conversions
--------------------------------------------------------------------------------
- id: integer (NOT NULL)
- reservation_id: integer (NULL)
- customer_id: integer (NULL)
- hashed_customer_id: integer (NULL)
- hotel_id: character varying (NULL)
- pms_reservation_id: character varying (NULL)
- reservation_number: character varying (NULL)
- reservation_date: date (NULL)
- creation_time: timestamp with time zone (NULL)
- reservation_type: character varying (NULL)
- booking_channel: character varying (NULL)
- advertising_medium: character varying (NULL)
- advertising_partner: character varying (NULL)
- advertising_campagne: character varying (NULL)
- arrival_date: date (NULL)
- departure_date: date (NULL)
- room_status: character varying (NULL)
- room_type: character varying (NULL)
- room_number: character varying (NULL)
- num_adults: integer (NULL)
- rate_plan_code: character varying (NULL)
- sale_date: date (NULL)
- revenue_total: character varying (NULL)
- revenue_logis: character varying (NULL)
- revenue_board: character varying (NULL)
- revenue_fb: character varying (NULL)
- revenue_spa: character varying (NULL)
- revenue_other: character varying (NULL)
- created_at: timestamp with time zone (NULL)
Rows: 0
Table: customers
--------------------------------------------------------------------------------
- id: integer (NOT NULL)
- given_name: character varying (NULL)
- contact_id: character varying (NULL)
- surname: character varying (NULL)
- name_prefix: character varying (NULL)
- email_address: character varying (NULL)
- phone: character varying (NULL)
- email_newsletter: boolean (NULL)
- address_line: character varying (NULL)
- city_name: character varying (NULL)
- postal_code: character varying (NULL)
- country_code: character varying (NULL)
- gender: character varying (NULL)
- birth_date: character varying (NULL)
- language: character varying (NULL)
- address_catalog: boolean (NULL)
- name_title: character varying (NULL)
Rows: 487
Sample: {'id': 1, 'given_name': 'Adriana', 'contact_id': 'd2e59109-a911-4f8f-8339-d9b119a29e56', 'surname': 'Balasa', 'name_prefix': 'Familie', 'email_address': 'adriana.balasa@yahoo.com', 'phone': '+4917645952405', 'email_newsletter': False, 'address_line': None, 'city_name': None, 'postal_code': None, 'country_code': None, 'gender': None, 'birth_date': None, 'language': 'de', 'address_catalog': False, 'name_title': None}
Table: hashed_customers
--------------------------------------------------------------------------------
- id: integer (NOT NULL)
- customer_id: integer (NOT NULL)
- contact_id: character varying (NULL)
- hashed_email: character varying (NULL)
- hashed_phone: character varying (NULL)
- hashed_given_name: character varying (NULL)
- hashed_surname: character varying (NULL)
- hashed_city: character varying (NULL)
- hashed_postal_code: character varying (NULL)
- hashed_country_code: character varying (NULL)
- hashed_gender: character varying (NULL)
- hashed_birth_date: character varying (NULL)
- created_at: timestamp with time zone (NULL)
Rows: 487
Sample: {'id': 387, 'customer_id': 196, 'contact_id': 'e7718c11-b5b1-43bb-a74e-4c0a2edf7938', 'hashed_email': 'b56472d4360348ef2aa9df7479d9adcb031aa83291c9b6d93eaa9c1b38ad9522', 'hashed_phone': '29cbb04171b6cf2ad9f49a01904d94bf1e4e5d5f41460b5e085b9d832376918a', 'hashed_given_name': 'c49b876c05fd376922883ceaf5b7e7871ae4ae9f24e79958f3fc70efe114627d', 'hashed_surname': 'fb18245487ca9ab219a007c65da495254f9cf8b3a89a2341e1d9a9b2a1e26ba4', 'hashed_city': None, 'hashed_postal_code': None, 'hashed_country_code': None, 'hashed_gender': None, 'hashed_birth_date': None, 'created_at': datetime.datetime(2025, 10, 20, 15, 51, 14, 783241, tzinfo=datetime.timezone.utc)}
Table: reservations
--------------------------------------------------------------------------------
- id: integer (NOT NULL)
- customer_id: integer (NULL)
- unique_id: character varying (NULL)
- md5_unique_id: character varying (NULL)
- start_date: date (NULL)
- end_date: date (NULL)
- num_adults: integer (NULL)
- num_children: integer (NULL)
- children_ages: character varying (NULL)
- offer: character varying (NULL)
- created_at: timestamp with time zone (NULL)
- utm_source: character varying (NULL)
- utm_medium: character varying (NULL)
- utm_campaign: character varying (NULL)
- utm_term: character varying (NULL)
- utm_content: character varying (NULL)
- user_comment: character varying (NULL)
- fbclid: character varying (NULL)
- gclid: character varying (NULL)
- hotel_code: character varying (NULL)
- hotel_name: character varying (NULL)
- room_type_code: character varying (NULL)
- room_classification_code: character varying (NULL)
- room_type: character varying (NULL)
- meta_account_id: character varying (NULL)
- google_account_id: character varying (NULL)
Rows: 517
Sample: {'id': 1, 'customer_id': 1, 'unique_id': '5abe9219-37f6-415f-97ff-96846313f16c', 'md5_unique_id': '161e4c2752efd919e8b03a1178bfe61c', 'start_date': datetime.date(2025, 12, 26), 'end_date': datetime.date(2025, 9, 28), 'num_adults': 2, 'num_children': 2, 'children_ages': '9,16', 'offer': 'Zimmer: Doppelzimmer', 'created_at': datetime.datetime(2025, 10, 6, 13, 55, 18, 195026, tzinfo=datetime.timezone.utc), 'utm_source': 'fb', 'utm_medium': 'Facebook_Mobile_Reels', 'utm_campaign': 'Conversions_Hotel_Bemelmans_DEU', 'utm_term': 'Cold_Traffic_Conversions_Hotel_Bemelmans_DEU', 'utm_content': 'Grafik_1_Advent am Ritten', 'user_comment': '', 'fbclid': 'IwZXh0bgNhZW0BMABhZGlkAasrrpKSEUQBHrQyRa1AdOw96ax7dXZoqFypxoThi7Rudg8daveq68g7gpYOI2uO2GEjlkFh_aem_K79wHg9HhLRag_qyO_ibzQ', 'gclid': '', 'hotel_code': '123', 'hotel_name': 'Frangart Inn', 'room_type_code': None, 'room_classification_code': None, 'room_type': None, 'meta_account_id': None, 'google_account_id': None}
================================================================================
Exploration complete! Output saved to schema_info.txt