Refactored loading of campaign templates to avoid excessive API calls. Fixes #49