[2026-05-12T12:09:01.888793] Job 155943 queued by schedule:2026-05-12T12:09:00 Connection: Iberdrola (meta_ads) Sync template: Meta Ads - Incremental Sync Queue class: foreground Procrastinate queue: kpiper Command: python meta_ads_pipeline.py [2026-05-12T12:09:02.005720] Queued via Procrastinate as job 154794 (queue=kpiper, priority=50). [2026-05-12T12:09:37.977590] Starting job 155943 for connection Iberdrola (meta_ads) / sync template Meta Ads - Incremental Sync (type=dlt) Resolved command: cd /srv/kpiper && python meta_ads_pipeline.py Injected profile context env vars (tokens exported: 1). Pipeline env overrides applied: AD_ACCOUNT_ID, BACKFILL_CHUNK_DAYS, CAMPAIGN_TOTALS_LOOKBACK_DAYS, ENABLE_ACCOUNT_INSIGHTS, ENABLE_ADS, ENABLE_AD_ACCOUNT_OBJECTS, ENABLE_AD_INSIGHTS, ENABLE_AD_SETS, ENABLE_AD_SET_INSIGHTS, ENABLE_CAMPAIGNS, ENABLE_CAMPAIGN_INSIGHTS, ENABLE_CAMPAIGN_TOTALS_SNAPSHOT, INSIGHTS_FIELDS, INSIGHTS_LOOKBACK_DAYS, INSIGHT_WINDOW_DAYS, OBJECT_LIMIT, PAGE_SIZE, SOURCES__META_ADS_REST_API_SOURCE__ACCESS_TOKEN, SYNC_MODE Synced Meta system user token at 2026-05-12T12:09:37.952923. Forced unbuffered Python output for child process. /usr/local/lib/python3.11/site-packages/dlt/pipeline/progress.py:27: UserWarning: psutil dependency is not installed and memory stats will not be available. Add psutil to your environment or pass dump_system_stats=False to disable this warning. return log() ----------------------- Extract meta_ads_rest_api_source ----------------------- Resources: 0/11 (0.0%) | Time: 0.00s | Rate: 0.00/s ----------------------- Extract meta_ads_rest_api_source ----------------------- Resources: 0/11 (0.0%) | Time: 0.40s | Rate: 0.00/s ad_account_objects: 1 | Time: 0.00s | Rate: 97541.95/s ----------------------- Extract meta_ads_rest_api_source ----------------------- Resources: 0/11 (0.0%) | Time: 0.89s | Rate: 0.00/s ad_account_objects: 1 | Time: 0.49s | Rate: 2.06/s campaign_objects: 1 | Time: 0.00s | Rate: 116508.44/s ----------------------- Extract meta_ads_rest_api_source ----------------------- Resources: 4/11 (36.4%) | Time: 2.98s | Rate: 1.34/s ad_account_objects: 1 | Time: 2.57s | Rate: 0.39/s campaign_objects: 1 | Time: 2.09s | Rate: 0.48/s ----------------------- Extract meta_ads_rest_api_source ----------------------- Resources: 4/11 (36.4%) | Time: 2.99s | Rate: 1.34/s ad_account_objects: 1 | Time: 2.59s | Rate: 0.39/s campaign_objects: 1 | Time: 2.10s | Rate: 0.48/s campaign_total_snapshots: 1 | Time: 0.00s | Rate: 93206.76/s ----------------------- Extract meta_ads_rest_api_source ----------------------- Resources: 11/11 (100.0%) | Time: 3.06s | Rate: 3.60/s ad_account_objects: 1 | Time: 2.65s | Rate: 0.38/s campaign_objects: 12 | Time: 2.17s | Rate: 5.54/s campaign_total_snapshots: 12 | Time: 0.06s | Rate: 185.87/s ----------- Normalize meta_ads_rest_api_source in 1778587782.256278 ------------ Files: 0/3 (0.0%) | Time: 0.00s | Rate: 0.00/s ----------- Normalize meta_ads_rest_api_source in 1778587782.256278 ------------ Files: 0/3 (0.0%) | Time: 0.02s | Rate: 0.00/s ad_account_objects: 0 | Time: 0.00s | Rate: 0.00/s ----------- Normalize meta_ads_rest_api_source in 1778587782.256278 ------------ Files: 1/3 (33.3%) | Time: 0.03s | Rate: 35.43/s ad_account_objects: 1 | Time: 0.01s | Rate: 176.65/s campaign_objects: 0 | Time: 0.00s | Rate: 0.00/s ----------- Normalize meta_ads_rest_api_source in 1778587782.256278 ------------ Files: 2/3 (66.7%) | Time: 0.04s | Rate: 53.40/s ad_account_objects: 1 | Time: 0.01s | Rate: 67.17/s campaign_objects: 12 | Time: 0.01s | Rate: 1299.15/s campaign_total_snapshots: 0 | Time: 0.00s | Rate: 0.00/s ----------- Normalize meta_ads_rest_api_source in 1778587782.256278 ------------ Files: 3/3 (100.0%) | Time: 0.05s | Rate: 59.03/s ad_account_objects: 1 | Time: 0.03s | Rate: 35.39/s campaign_objects: 12 | Time: 0.02s | Rate: 530.83/s campaign_total_snapshots: 12 | Time: 0.01s | Rate: 897.08/s -------------- Load meta_ads_rest_api_source in 1778587782.256278 -------------- Jobs: 0/3 (0.0%) | Time: 0.00s | Rate: 0.00/s -------------- Load meta_ads_rest_api_source in 1778587782.256278 -------------- Jobs: 6/6 (100.0%) | Time: 0.32s | Rate: 18.60/s Pipeline meta_ads_pipeline load step completed in 0.32 seconds 1 load package(s) were loaded to destination postgres and into dataset meta_ads The postgres destination used postgresql://kpiper_dlt_app:***@[/cloudsql/pacelab-487114:europe-west4:pacelab-pg18-ew4]:5432/kpiper_data location to store data Load package 1778587782.256278 is LOADED and contains no failed jobs [2026-05-12T12:09:46.416282] Command completed successfully. [2026-05-12T12:09:46.416686] Pipeline status payload: {"ad_account_id": "900535462183003", "backfill_complete": true, "backfill_progress_mode": "incremental", "campaign_totals_effective_start_date": "2024-11-17", "campaign_totals_end_date": "2026-05-12", "campaign_totals_start_date": "2016-05-15", "requested_end_date": "2026-05-12", "requested_start_date": "2026-05-10", "sync_mode": "incremental"}