creating-campaigns-ads-audiences
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "creating-campaigns-ads-audiences" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-57cc36e9a6a354757c42a2bf5f2850c8b7ba8651cde812ada9ec402f83a9c7da. Verify the upstream source and version against https://github.com/swan-gtm/gtm-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
An operational skill for creating campaigns, ad sets, ads, or audiences on Meta. Provides step-by-step instructions for the build process and key settings to correctly assemble and configure ad structures.
Introduction source: third_party · swan-gtm · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Use this skill when creating campaigns, ad sets, ads, or audiences on Meta — the build chain and the settings that matter, step by step.
- Audience
- The full build chain, end to end. Meta's structure is strict and nested: Golden rules (always):** **Everything is created PAUSED.** Never set a campaign, ad set, or ad to `ACTIVE` without explicit user confirmation. Spend only starts when the user says go. **Budgets are in cents.** `5000` = $50.00. **Build order:** audiences first (ad sets reference them) -> campaign -> ad set -> creative -> ad. Full field-level schemas (every param, every enum) are in ../api-reference.md. This guide is the flow; the api-reference is the dictionary.
- Testing
- Not tested
Browse files
Frontmatter
name: "creating-campaigns-ads-audiences"
title: "Create Meta campaigns & audiences"
description: "Use this skill when creating campaigns, ad sets, ads, or audiences on Meta — the build chain and the settings that matter, step by step."
category: AdsCreating Campaigns, Ads, and Audiences on Meta
The full build chain, end to end. Meta's structure is strict and nested:
Campaign (objective, budget if CBO)
-> Ad Set (audience, placement, budget if ABO, optimization goal, schedule)
-> Ad (references a creative + an ad set)
-> Ad Creative (media, copy, CTA, link, url_tags)
Custom / Lookalike Audiences (built at the account level, referenced by ad sets)
Golden rules (always):
- Everything is created PAUSED. Never set a campaign, ad set, or ad to
ACTIVEwithout explicit user confirmation. Spend only starts when the user says go. - Budgets are in cents.
5000= $50.00. - Build order: audiences first (ad sets reference them) -> campaign -> ad set -> creative -> ad.
- Full field-level schemas (every param, every enum) are in ../api-reference.md. This guide is the flow; the api-reference is the dictionary.
1. Audiences
Custom audience (from a customer list, pixel traffic, engagement) - use the script:
python create_custom_audience.py --name "CRM - Closed Won" --type CUSTOM --subtype CRM
For B2B, follow the data hierarchy in audience-strategy.md: CRM lookalikes (Tier 1) -> third-party data (Tier 2) -> broad (Tier 3). Validate audience quality before scaling creative.
Lookalike - create the source custom audience first, then create a lookalike from it (subtype=LOOKALIKE, with origin_audience_id and country/ratio). See api-reference.md for the lookalike spec.
2. Campaign
Use the script:
python create_campaign.py --name "Q2 Leads" --objective OUTCOME_LEADS --daily-budget 5000
OUTCOME_LEADSfor lead gen. Objectives are listed increate_campaign.py.- Add
is_adset_budget_sharing_enabled: "true"for CBO (budget on the campaign) or"false"for ABO (budget on each ad set). ABO is the default for audience testing - one ad set per audience source, same ads across all. - Starts PAUSED. The script prints the
campaign_idfor the next step.
3. Ad Set
Endpoint: POST /{account_id}/adsets (see api-reference.md "Ad Set Schema" for all fields). Create with api_post from client.py. Key fields:
campaign_id(from step 2),name,status: "PAUSED"optimization_goal(e.g.OFFSITE_CONVERSIONS,LEAD_GENERATION),billing_event,bid_strategytargeting(JSON): the audience -custom_audiences,geo_locations,age, plusflexible_specfor interests if broad. For B2B, lean on your custom/lookalike audiences and let creative do the ICP filtering (see meta-ads-operating-system.md).daily_budget(cents) only if ABO.promoted_objectwhen optimizing for conversions/leads (pixel + custom event, or the lead form / page).
Validate the audience before scaling: one ad set per audience source, same ads across all, audit lead quality by job title and company.
4. Ad Creative
Endpoint: POST /{account_id}/adcreatives (see api-reference.md "Ad Creative Schema"). The creative holds the actual content via object_story_spec (page id + link data: image/video, message, headline, description, CTA, link). Notes:
url_tags(UTMs) are set at creative-creation time and cannot be edited later - get them right up front.- Creative IS targeting on Meta. The copy must call out who the ad is for. On broad audiences the creative does the filtering (see creative-strategy.md).
- Never invent ad copy. Use exactly the headline / body / description / CTA the user provides.
5. Ad
Endpoint: POST /{account_id}/ads. Fields: name, adset_id (step 3), creative: {creative_id} (step 4), status: "PAUSED". That wires the creative into the ad set.
6. Go live
When the user confirms, flip status to ACTIVE (campaign, ad set, and ad all need to be ACTIVE to spend):
python update_campaign.py --campaign-id <id> --status ACTIVE
Confirm the budget and audience one more time before enabling spend. Maintain 4-6 unique creative concepts per campaign so the algorithm has diversity to learn from.
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 Meta 广告创建端到端完整流程指导
- 解决实际商业营销痛点,具有广泛实用价值
- 涵盖从受众构建到广告上线的全链路操作
Highlights
- 触发描述清晰准确,覆盖多种使用场景
- 边界定义明确,不易与其他技能混淆
Highlights
- Phase 划分清晰,步骤逻辑严谨
- 包含具体脚本示例和详细参数说明
- frontmatter 完整规范
Areas to improve
-
引用文件缺失 Reported severity: Major
Skill 中引用了多个重要参考文件(api-reference.md, audience-strategy.md等)但未传入
Recommendation: 请补充所有被引用的参考文档文件,确保用户能获取完整的执行信息
Highlights
- 工具来源明确,参数说明详细
- 覆盖主要异常处理场景
- 不可逆操作有确认机制保障安全
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.