{"data":{"slug":"github-claude-office-skills-skills-facebook-ads-d204d9b1a062","title":"Facebook\/Meta Ads Campaign Automation","summary":"Automate Facebook and Instagram advertising campaigns, including audience targeting, ad creative optimization, and performance reporting. Deliverables include campaign performance metrics, audience insights, ROAS reports, and optimization recommendations.","url":"https:\/\/skillshunter.net\/skills\/github-claude-office-skills-skills-facebook-ads-d204d9b1a062","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-claude-office-skills-skills-facebook-ads-d204d9b1a062","markdown_url":"https:\/\/skillshunter.net\/skills\/github-claude-office-skills-skills-facebook-ads-d204d9b1a062.md","download_url":"https:\/\/skillshunter.net\/skills\/github-claude-office-skills-skills-facebook-ads-d204d9b1a062\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"Ensure campaign objectives are defined before starting, and prepare input files such as customer lists (e.g., 'customers.csv') for custom audience creation.","instructions":"---\nname: Facebook\/Meta Ads\ndescription: Automate Facebook and Instagram advertising campaigns, audience targeting, and performance optimization\nversion: 1.0.0\nauthor: Claude Office Skills\ncategory: advertising\ntags:\n  - facebook\n  - meta\n  - instagram\n  - ads\n  - marketing\ndepartment: marketing\nmodels:\n  - claude-3-opus\n  - claude-3-sonnet\n  - gpt-4\nmcp:\n  server: ads-mcp\n  tools:\n    - meta_ads_create\n    - meta_ads_report\n    - meta_audience\n    - meta_pixel\ncapabilities:\n  - Campaign management\n  - Audience targeting\n  - Ad creative optimization\n  - Performance reporting\ninput:\n  - Campaign objectives\n  - Target audiences\n  - Ad creatives\n  - Budget settings\noutput:\n  - Campaign performance\n  - Audience insights\n  - ROAS reports\n  - Optimization recommendations\nlanguages:\n  - en\nrelated_skills:\n  - google-ads-manager\n  - tiktok-marketing\n  - ads-copywriter\n---\n\n# Facebook\/Meta Ads\n\nComprehensive skill for automating Facebook and Instagram advertising.\n\n## Core Workflows\n\n### 1. Campaign Structure\n\n```\nMETA ADS HIERARCHY:\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502 \ud83c\udfaf CAMPAIGN (Objective)                                 \u2502\n\u2502    Goal: Conversions, Traffic, Awareness, etc.         \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502   \u251c\u2500\u2500 \ud83d\udcca AD SET 1 (Audience + Budget)                  \u2502\n\u2502   \u2502   \u251c\u2500\u2500 Audience: Lookalike 1%                       \u2502\n\u2502   \u2502   \u251c\u2500\u2500 Budget: $50\/day                              \u2502\n\u2502   \u2502   \u251c\u2500\u2500 Placement: Feed + Stories                    \u2502\n\u2502   \u2502   \u2502                                                 \u2502\n\u2502   \u2502   \u251c\u2500\u2500 \ud83d\udcdd Ad 1: Image + Copy A                      \u2502\n\u2502   \u2502   \u251c\u2500\u2500 \ud83d\udcdd Ad 2: Video + Copy A                      \u2502\n\u2502   \u2502   \u2514\u2500\u2500 \ud83d\udcdd Ad 3: Carousel + Copy B                   \u2502\n\u2502   \u2502                                                     \u2502\n\u2502   \u2514\u2500\u2500 \ud83d\udcca AD SET 2 (Different Audience)                 \u2502\n\u2502       \u251c\u2500\u2500 Audience: Interest Targeting                 \u2502\n\u2502       \u251c\u2500\u2500 Budget: $30\/day                              \u2502\n\u2502       \u2502                                                 \u2502\n\u2502       \u251c\u2500\u2500 \ud83d\udcdd Ad 4: Image + Copy A                      \u2502\n\u2502       \u2514\u2500\u2500 \ud83d\udcdd Ad 5: Video + Copy B                      \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n```\n\n### 2. Campaign Objectives\n\n```yaml\ncampaign_objectives:\n  awareness:\n    - brand_awareness\n    - reach\n    \n  consideration:\n    - traffic\n    - engagement\n    - app_installs\n    - video_views\n    - lead_generation\n    - messages\n    \n  conversion:\n    - conversions\n    - catalog_sales\n    - store_traffic\n```\n\n## Audience Targeting\n\n### Custom Audiences\n\n```yaml\ncustom_audiences:\n  website_visitors:\n    source: pixel\n    rules:\n      - event: ViewContent\n        retention_days: 30\n        \n  email_list:\n    source: customer_file\n    file: \"customers.csv\"\n    mapping:\n      - email\n      - phone\n      - first_name\n      - last_name\n      \n  video_viewers:\n    source: engagement\n    video_id: \"123456\"\n    watched_percentage: 75\n    retention_days: 365\n    \n  page_engagers:\n    source: page\n    actions:\n      - liked_page\n      - commented\n      - shared\n    retention_days: 90\n```\n\n### Lookalike Audiences\n\n```yaml\nlookalike_audiences:\n  - name: \"High Value Lookalike 1%\"\n    source: purchasers_180d\n    country: \"US\"\n    percentage: 1\n    \n  - name: \"Leads Lookalike 2%\"\n    source: lead_form_submitters\n    country: \"US\"\n    percentage: 2\n    \n  - name: \"Engagers Lookalike 3%\"\n    source: page_engagers\n    country: [\"US\", \"CA\", \"UK\"]\n    percentage: 3\n```\n\n### Interest Targeting\n\n```yaml\ninterest_targeting:\n  detailed_targeting:\n    interests:\n      - \"Online shopping\"\n      - \"E-commerce\"\n      - \"Fashion\"\n      \n    behaviors:\n      - \"Engaged shoppers\"\n      - \"Online buyers\"\n      \n    demographics:\n      age: [25, 54]\n      gender: all\n      \n  exclusions:\n    custom_audiences:\n      - existing_customers\n    interests:\n      - competitors\n```\n\n## Ad Creative\n\n### Ad Formats\n\n```yaml\nad_formats:\n  single_image:\n    image_specs:\n      ratio: \"1:1\"\n      size: \"1080x1080\"\n      format: [\"jpg\", \"png\"]\n    text:\n      primary: 125 chars\n      headline: 40 chars\n      description: 30 chars\n      \n  video:\n    specs:\n      ratio: [\"1:1\", \"4:5\", \"9:16\"]\n      duration: \"15-60 seconds\"\n      format: [\"mp4\", \"mov\"]\n    text:\n      primary: 125 chars\n      headline: 40 chars\n      \n  carousel:\n    cards: [2, 10]\n    specs:\n      ratio: \"1:1\"\n      size: \"1080x1080\"\n    features:\n      - swipeable\n      - deep_links\n      \n  collection:\n    cover: video_or_image\n    products: 4\n    instant_experience: required\n```\n\n### Creative Testing\n\n```yaml\ncreative_testing:\n  strategy: dynamic_creative\n  \n  assets:\n    images:\n      - \"lifestyle_1.jpg\"\n      - \"product_1.jpg\"\n      - \"ugc_1.jpg\"\n      \n    videos:\n      - \"hero_15s.mp4\"\n      - \"testimonial_30s.mp4\"\n      \n    headlines:\n      - \"Shop the Sale\"\n      - \"Limited Time Offer\"\n      - \"Free Shipping Today\"\n      \n    primary_text:\n      - \"Discover our best-selling products...\"\n      - \"Join thousands of happy customers...\"\n      \n    cta:\n      - SHOP_NOW\n      - LEARN_MORE\n      - GET_OFFER\n      \n  optimization:\n    goal: conversions\n    auto_optimize: true\n```\n\n## Budget & Bidding\n\n### Budget Strategies\n\n```yaml\nbudget_config:\n  campaign_budget_optimization:\n    enabled: true\n    daily_budget: 200\n    \n  ad_set_budgets:\n    - ad_set: \"prospecting\"\n      allocation: 60%\n    - ad_set: \"retargeting\"\n      allocation: 40%\n      \n  bid_strategy:\n    type: lowest_cost  # or cost_cap, bid_cap\n    \n  scheduling:\n    start_time: \"2024-01-15T00:00:00\"\n    end_time: \"2024-01-31T23:59:59\"\n    dayparting:\n      enabled: true\n      hours: [8, 22]  # 8 AM - 10 PM\n```\n\n### Automated Rules\n\n```yaml\nautomated_rules:\n  - name: \"Pause Low Performers\"\n    conditions:\n      - metric: cpa\n        operator: greater_than\n        value: 50\n      - metric: spend\n        operator: greater_than\n        value: 100\n    action:\n      type: pause_ad\n      notification: email\n      \n  - name: \"Scale Winners\"\n    conditions:\n      - metric: roas\n        operator: greater_than\n        value: 3\n      - metric: impressions\n        operator: greater_than\n        value: 1000\n    action:\n      type: increase_budget\n      value: 20%\n      max_budget: 500\n      \n  - name: \"Ad Fatigue Alert\"\n    conditions:\n      - metric: frequency\n        operator: greater_than\n        value: 3\n    action:\n      type: notification\n      channel: slack\n```\n\n## Pixel & Tracking\n\n### Pixel Events\n\n```yaml\npixel_events:\n  standard_events:\n    - PageView\n    - ViewContent\n    - AddToCart\n    - InitiateCheckout\n    - Purchase\n    - Lead\n    - CompleteRegistration\n    \n  custom_events:\n    - name: \"ProductViewed\"\n      parameters:\n        content_ids: [\"SKU123\"]\n        content_type: \"product\"\n        value: 29.99\n        currency: \"USD\"\n        \n  conversions_api:\n    enabled: true\n    events:\n      - Purchase\n      - Lead\n    deduplication: true\n```\n\n### Attribution Settings\n\n```yaml\nattribution:\n  window:\n    click: 7_days\n    view: 1_day\n    \n  model: data_driven  # or last_touch\n  \n  conversion_events:\n    - name: \"Purchase\"\n      value_optimization: true\n    - name: \"Lead\"\n      value_optimization: false\n```\n\n## Analytics Dashboard\n\n```\nMETA ADS PERFORMANCE - LAST 7 DAYS\n\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n\nSPEND: $2,450\nRESULTS: 156 purchases\nCPA: $15.70\nROAS: 4.2x\n\nBY CAMPAIGN:\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502 Campaign           \u2502 Spend   \u2502 Conv.  \u2502 ROAS  \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502 Prospecting - LAL  \u2502 $1,200  \u2502 68     \u2502 3.8x  \u2502\n\u2502 Retargeting - Cart \u2502 $450    \u2502 52     \u2502 6.2x  \u2502\n\u2502 Retargeting - View \u2502 $350    \u2502 24     \u2502 4.5x  \u2502\n\u2502 Brand Awareness    \u2502 $450    \u2502 12     \u2502 2.1x  \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n\nBY PLACEMENT:\nFeed        \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 62%\nStories     \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 24%\nReels       \u2588\u2588\u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 10%\nAudience Net \u2588\u2588\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591\u2591 4%\n\nTOP CREATIVE:\n1. Video testimonial: 4.8x ROAS\n2. Carousel product: 4.2x ROAS\n3. Static lifestyle: 3.5x ROAS\n```\n\n## API Examples\n\n### Create Campaign\n\n```javascript\n\/\/ Create Campaign\nconst campaign = await fb.api('\/act_123\/campaigns', 'POST', {\n  name: 'Q1 Prospecting',\n  objective: 'CONVERSIONS',\n  status: 'PAUSED',\n  special_ad_categories: []\n});\n\n\/\/ Create Ad Set\nconst adSet = await fb.api('\/act_123\/adsets', 'POST', {\n  name: 'LAL 1% - US',\n  campaign_id: campaign.id,\n  optimization_goal: 'OFFSITE_CONVERSIONS',\n  billing_event: 'IMPRESSIONS',\n  bid_strategy: 'LOWEST_COST_WITHOUT_CAP',\n  daily_budget: 5000, \/\/ cents\n  targeting: {\n    geo_locations: { countries: ['US'] },\n    custom_audiences: [{ id: 'lookalike_id' }]\n  },\n  promoted_object: {\n    pixel_id: 'pixel_123',\n    custom_event_type: 'PURCHASE'\n  }\n});\n\n\/\/ Create Ad\nconst ad = await fb.api('\/act_123\/ads', 'POST', {\n  name: 'Video Ad - Copy A',\n  adset_id: adSet.id,\n  creative: {\n    creative_id: 'creative_123'\n  },\n  status: 'PAUSED'\n});\n```\n\n## Best Practices\n\n1. **Test Audiences**: Start broad, then refine\n2. **Creative Diversity**: Test multiple formats\n3. **Pixel Accuracy**: Verify tracking setup\n4. **Budget Allocation**: 70% prospecting, 30% retargeting\n5. **Frequency Cap**: Watch for ad fatigue\n6. **Mobile First**: Design for mobile experience\n7. **A\/B Testing**: Systematic creative tests\n8. **Attribution**: Understand your customer journey\n","use_cases":["Create and manage multi-ad set campaigns with audience targeting and budget allocation","Generate performance reports and optimization recommendations","Implement custom and lookalike audiences for precise targeting"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/claude-office-skills\/skills\/blob\/9c4c7d5cd2813a8936bf2c9fdb174ea883b85a11\/facebook-ads\/SKILL.md","source_commit":"9c4c7d5cd2813a8936bf2c9fdb174ea883b85a11","license":null,"version":"1.0.0","listing_approved_at":"2026-11-22","created_at":"2026-11-21T13:46:07.000000Z","updated_at":"2026-11-22T11:17:55.000000Z","seo_title":"Facebook Meta Ads Automation Tool","seo_description":"Automate Facebook and Instagram ad campaigns with audience targeting and performance optimization.","seo_keywords":["Facebook ad automation","Meta audience targeting","Instagram campaign management","Ad performance reporting","Lookalike audience creation"]}}