Open main menu
Edit
MediaWiki:Apihelp-query+allcampaigns-param-enabledonly
Only list campaigns that are enabled.