I'm sorry, but the knowledge sources do not provide a specific mapping table schema or ERD (Entity Relationship Diagram) for the Facebook/Meta Advertising connector when using PyAirbyte, nor do they provide a direct mapping for end tables in Supabase. However, here are some relevant points from the available documentation: -
PyAirbyte allows you to run Airbyte syncs in Python and access the resulting data as tables (e.g., in DuckDB), which you can then query with SQL. The structure of these tables will reflect the streams and fields provided by the Facebook Marketing connector, but the exact schema depends on the streams you select and the data returned by the Facebook API. You can inspect the resulting tables after a sync to understand their structure and use that as a basis for mapping to your Supabase tables. There is no pre-built ERD or mapping table provided in the documentation for this purpose. You can see an example of how to access and inspect tables in PyAirbyte in the [PyAirbyte tutorial](
https://airbyte.com/tutorials/leverage-pyairbyte-with-this-demo). -
Supabase is built on PostgreSQL, and you can use the Postgres connector to sync data from Airbyte to Supabase, as noted in a [GitHub discussion](
https://github.com/airbytehq/airbyte/issues/47351). The schema in Supabase will mirror the structure of the data streams you sync from Facebook Marketing, but you will need to design your own ERD based on the actual data and your business requirements. - The Facebook Marketing connector's schema is defined by the streams and fields available from the Facebook API. You can review and refresh the schema in the Airbyte UI after connecting your source, but there is no published ERD or mapping table in the official documentation. For more details on schema changes and how to refresh them, see the [Facebook Marketing Migration Guide](
https://docs.airbyte.com/integrations/sources/facebook-marketing-migrations).
Summary: You will need to inspect the output tables generated by PyAirbyte (or Airbyte in general) after syncing your Facebook Marketing data to understand the schema. From there, you can design your own mapping or ERD for Supabase. There is no official or pre-built mapping table or ERD provided in the current Airbyte documentation or tutorials. If you need to see the schema, the best approach is to run a sync, inspect the resulting tables, and use that as the basis for your Supabase mapping. If you need further guidance on how to inspect or export the schema from PyAirbyte or Airbyte, let me know!