The campaigns dataset generated by the source Face...
# ask-ai
c
The campaigns dataset generated by the source Facebook Marketing to destination BigQuery doesn’t include all the campaigns in the Facebook Ad account. There are 114 campaigns in total in the Facebook Ad account. while only 2 of them were loaded in to the campaigns dataset in BQ. Nothing is specified under “Campaign Statuses” when setting up the source. What am I missing?
u
Based on the information provided in the knowledge sources, there are a few potential reasons why you might be experiencing this issue with the Facebook Marketing source connector not retrieving all campaigns in your BigQuery destination. Let's explore some possible solutions: 1. Campaign Statuses: Although you mentioned that nothing is specified under "Campaign Statuses" when setting up the source, it's worth double-checking this setting. According to the [Facebook Marketing Source Settings documentation](https://docs.airbyte.com/integrations/sources/facebook-marketing#facebook-marketing-source-settings), you can optionally multiselect the Campaign Statuses to include data from Campaigns for particular statuses. Ensure that all relevant statuses are selected to capture all your campaigns. 2. Sync Mode: There's a reported issue with the FULL OVERWRITE sync mode for certain streams, including campaigns. As mentioned in a [GitHub issue](https://github.com/airbytehq/airbyte/issues/44393), a user found that switching to the INCREMENTAL - APPEND + DEDUPED mode resolved their problem with incomplete data ingestion. You might want to try changing your sync mode to see if it improves the data retrieval. 3. API Version: Make sure you're using the latest version of the Facebook Marketing source connector. There was a recent upgrade to API v19 due to the deprecation of v18. If you're using an older version, upgrading might resolve the issue. 4. Date Range: Check if you have specified a Start Date and End Date in your source configuration. If these are set, make sure they encompass the full range of your campaign data. 5. Custom Insights Configuration: If you're using custom insights, ensure that your configuration is correct and not inadvertently filtering out campaigns. A [GitHub issue](https://github.com/airbytehq/airbyte/issues/38088) describes a problem with custom insights configurations affecting data retrieval. 6. Account ID: Verify that you've entered the correct Facebook Ad Account ID(s) in your source configuration. If you have multiple ad accounts, make sure all relevant account IDs are included. If none of these suggestions resolve the issue, you may want to: 1. Check the sync logs for any error messages or warnings that might provide more insight. 2. Try resetting the stream and running a new sync to see if it captures all the campaigns. 3. Verify that you have the necessary permissions on the Facebook Ad account to access all campaign data. If the problem persists after trying these solutions, it would be advisable to open a new issue on the Airbyte GitHub repository or seek further assistance from the Airbyte community, providing detailed information about your setup and the steps you've already taken to troubleshoot.