Skip to content

Task catalog

Tasks follow a Wrapper → leaf pattern: a *Wrapper task fans out work per provider, site, or account; leaf Sync* / *Executor tasks perform the sync.

Entry points are always python -m luigi --module <path> <ClassName>.

Provider sync

Module Wrapper / entry classes Purpose
pipes/tasks/cost_sync.py CostSyncWrapper, SyncCost Provider cost ingestion
pipes/tasks/cost_rt_sync.py CostRealTimeSyncWrapper Real-time cost
pipes/tasks/revenue_sync.py RevenueSyncWrapper, SyncRevenue Revenue sync
pipes/tasks/revenue_rt_sync.py RevenueRealtimeSyncWrapper Real-time revenue
pipes/tasks/campaign_sync.py CampaignSyncWrapper, SyncCampaigns Campaign enrichment
pipes/tasks/campaign_sync_search.py CampaignSyncWrapper Search campaign sync
pipes/tasks/creatives/ SyncCreativesWrapper, CreativeReportWrapper Creative sync/report
pipes/tasks/accounts_sync.py SyncAccountsWrapper Provider accounts
pipes/tasks/credit_sync.py CreditSyncWrapper Credits
pipes/tasks/keyword_sync.py KeywordSyncWrapper Keywords
pipes/tasks/placement_sync.py PlacementSyncWrapper Placements
pipes/tasks/medium_*.py Various wrappers Medium / ad-unit pipelines
pipes/tasks/redis_token_cleanup.py TokenCleanupWrapper OAuth token cleanup

See Taboola campaign parallelism for SyncCampaigns threading details.

DFP / Google Ad Manager

Module Entry classes
pipes/tasks/dfp_sync.py SyncDFPWrapper, SyncDFP
pipes/tasks/dfp_sync_country.py SyncDFPCountryWrapper
pipes/tasks/dfp_reports/ DFPAdX, DFPHourly, DFPKeyValue, DFPHeaderBidder, …
pipes/tasks/dfp_revenue_report.py DfpRevenueReportWrapper
pipes/tasks/ad_manager/ Key-value sync, orders/lines/creatives, ad units

AI content & training

Module Entry classes
pipes/tasks/alerts/ai_content_actions.py AiScheduler, AIActionExecutor, AIActionExecutorFarm
pipes/tasks/ai_actions_logic/ Wordpress, SearchAPI, GenerateAiImage, DB, …
pipes/tasks/ai_training_sync.py AISyncWrapper
pipes/tasks/alerts/ai_training.py AITrainScheduler, AITrainer

Shared helpers: pipes/tasks/utils/homepage_batch.py, wordpress_publish_config.py, html_section_quality.py, etc.

Verticals & content

Module Entry classes
pipes/tasks/vertical/verticals_ai.py VerticalsAIPatternScheduler, AIExecute
pipes/tasks/vertical/mail.py VerticalMailScheduler, VerticalMailExecutor
pipes/tasks/sync_content.py Content sync wrappers
pipes/tasks/websites_settings.py WebsitesSettings, WebsitesBuild

Analytics & reporting

Module Entry classes
pipes/tasks/google_analytics_*.py GA report/enrich wrappers
pipes/tasks/google_trends.py DailyGoogleTrendsWrapper
pipes/tasks/audience_report.py Audience reporting
pipes/tasks/assertive_yield_data_*.py Assertive Yield sync/insert
pipes/tasks/hb_provider_site_report_sync.py Header-bidder provider reports

Alerts (pipes/tasks/alerts/)

Scheduler/executor pairs: db.py, db_per_site.py, dealer.py, mail.py, sms.py, s3.py, redshift.py, chatgpt.py, losing.py, Slack monitors, tasks_executor.py, queue_executor.py.

ML (pipes/tasks/ml/)

Module Entry classes
training_model.py TrainingModelWrapper
prediction_model.py PredictionModelWrapper

Base classes

File Role
pipes/libs/basepipe.py BaseDefault extends SkynetTask
pipes/libs/base_wrapper.py BaseWrapper — logs run start/success/failure to MySQL

To discover parameters for any task, read the class attributes in the module or run with --help where Luigi exposes task params.