manage-campaign

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Manage Campaign

管理广告活动

Overview

概述

Retrieve and manage advertising campaign state. Campaigns progress through a defined workflow: parameters → research → ad copy → images → mixed media. This skill helps track progress and determine next steps.
检索并管理广告活动状态。广告活动会按照既定工作流推进:参数设置 → 调研 → 广告文案 → 图片 → 混合媒体。本技能可帮助跟踪进度并确定下一步操作。

When to Use This Skill

适用场景

Use this skill when:
  • Retrieving campaign data by ID
  • Checking campaign completion status
  • Determining next workflow step
  • Viewing stored campaign parameters, research, or assets
  • Understanding what components are complete or pending
在以下场景中使用本技能:
  • 按ID检索活动数据
  • 查看活动完成状态
  • 确定工作流的下一步操作
  • 查看已存储的活动参数、调研内容或素材
  • 了解哪些组件已完成或待处理

Campaign Lifecycle

活动生命周期

Campaigns follow this workflow:
1. parseAdRequirements → Creates campaign with parameters
2. conductAdResearch → Adds research report
3. generateAdCopy → Adds ad copy variations (A/B)
4. generateAdImages → Adds image variations (A/B)
5. generateMixedMedia → Creates final composite
Each step stores results in the campaign record.
广告活动遵循以下工作流:
1. parseAdRequirements → Creates campaign with parameters
2. conductAdResearch → Adds research report
3. generateAdCopy → Adds ad copy variations (A/B)
4. generateAdImages → Adds image variations (A/B)
5. generateMixedMedia → Creates final composite
每个步骤的结果都会存储到活动记录中。

Campaign Data Structure

活动数据结构

A campaign contains:
FieldDescriptionSet By
idUUID identifierparseAdRequirements
parametersCampaign parameters (product, audience, platform, etc.)parseAdRequirements
researchResearch report with insights and recommendationsconductAdResearch
ad_copyTwo ad copy variations (A/B)generateAdCopy
imagesTwo image variations (A/B)generateAdImages
mixed_mediaFinal composite creativegenerateMixedMedia
selected_ad_copy_variationUser's chosen copy (A or B)User selection
selected_image_variationUser's chosen image (A or B)User selection
活动包含以下字段:
字段描述设置方
idUUID标识符parseAdRequirements
parameters活动参数(产品、受众、平台等)parseAdRequirements
research包含洞察和建议的调研报告conductAdResearch
ad_copy两版广告文案(A/B测试用)generateAdCopy
images两版图片(A/B测试用)generateAdImages
mixed_media最终复合创意素材generateMixedMedia
selected_ad_copy_variation用户选择的文案版本(A或B)用户选择
selected_image_variation用户选择的图片版本(A或B)用户选择

Completion Status

完成状态

Check these flags to determine campaign progress:
  • hasParameters: Campaign parameters are set
  • hasResearch: Research report is complete
  • hasAdCopy: Ad copy variations generated
  • hasImages: Image variations generated
  • hasMixedMedia: Final creative is ready
  • hasSelectedAdCopy: User selected a copy variation
  • hasSelectedImage: User selected an image variation
  • isComplete: All components are present
通过以下标记判断活动进度:
  • hasParameters:活动参数已设置
  • hasResearch:调研报告已完成
  • hasAdCopy:多版广告文案已生成
  • hasImages:多版图片已生成
  • hasMixedMedia:最终创意素材已就绪
  • hasSelectedAdCopy:用户已选择文案版本
  • hasSelectedImage:用户已选择图片版本
  • isComplete:所有组件均已完成

Workflow Guidance

工作流指导

Determining Next Step

确定下一步操作

Based on completion status, recommend:
StatusNext Action
No parametersCall parseAdRequirements
Parameters onlyCall conductAdResearch
Has researchCall generateAdCopy
Has ad copyCall generateAdImages
Has imagesUser selects variations, then generateMixedMedia
CompleteCampaign ready for deployment
根据完成状态,推荐以下操作:
状态下一步操作
无参数调用parseAdRequirements
仅设置参数调用conductAdResearch
已有调研内容调用generateAdCopy
已有广告文案调用generateAdImages
已有图片用户选择版本,之后调用generateMixedMedia
已完成活动就绪,可部署

Handling Missing Selections

处理未选择的版本

Before generating mixed media:
  1. Check if ad copy variation is selected
  2. Check if image variation is selected
  3. If not selected, prompt user to choose A or B
在生成混合媒体之前:
  1. 检查是否已选择广告文案版本
  2. 检查是否已选择图片版本
  3. 若未选择,提示用户选择A或B版本

Output Format

输出格式

When reporting campaign status, return:
json
{
  "campaign_id": "uuid",
  "campaign_name": "name or null",
  "status": "in_progress or complete",
  "completion": {
    "hasParameters": true,
    "hasResearch": true,
    "hasAdCopy": false,
    "hasImages": false,
    "hasMixedMedia": false,
    "hasSelectedAdCopy": false,
    "hasSelectedImage": false
  },
  "next_step": "generateAdCopy",
  "next_step_description": "Generate ad copy variations based on research insights",
  "created_at": "ISO timestamp",
  "updated_at": "ISO timestamp"
}
报告活动状态时,返回以下格式:
json
{
  "campaign_id": "uuid",
  "campaign_name": "name or null",
  "status": "in_progress or complete",
  "completion": {
    "hasParameters": true,
    "hasResearch": true,
    "hasAdCopy": false,
    "hasImages": false,
    "hasMixedMedia": false,
    "hasSelectedAdCopy": false,
    "hasSelectedImage": false
  },
  "next_step": "generateAdCopy",
  "next_step_description": "Generate ad copy variations based on research insights",
  "created_at": "ISO timestamp",
  "updated_at": "ISO timestamp"
}

Important Notes

重要说明

  • Campaign IDs are UUIDs - validate format before querying
  • All campaign data is persisted in PostgreSQL
  • Each workflow step updates the campaign record
  • Missing components block downstream steps
  • User selections are required before mixed media generation
  • 活动ID为UUID格式,查询前请验证格式
  • 所有活动数据均持久化存储在PostgreSQL中
  • 每个工作流步骤都会更新活动记录
  • 缺失组件会阻塞后续步骤
  • 生成混合媒体前必须完成用户版本选择