Xpersona
A

Ads Manager Claw

CLAWHUB · Unverified

Manage paid advertising campaigns across Meta (Facebook & Instagram), Google Ads, X, and Snapchat — optimized for Indian businesses. This skill analyzes perf... Skill: Ads Manager Claw Owner: abhishekj9621 Summary: Manage paid advertising campaigns across Meta (Facebook & Instagram), Google Ads, X, and Snapchat — optimized for Indian businesses. This skill analyzes perf... Tags: latest:1.0.3 Version history: v1.0.3 | 2026-04-02T11:40:09.985Z | auto **New engine: Real-time feedback, business metrics, and smarter automation.** - Added continuous data-driven feedback loop (DATA

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1751yz1cbsqn3pc7sqpc0ytq983k7kg:ads-manager-claw
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-abhishekj9621-ads-manager-claw/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

138,929 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: ads-manager-claw
description: >
  Manage paid advertising campaigns across Meta (Facebook & Instagram),
  Google Ads, X, and Snapchat — optimized for Indian businesses.
  This skill analyzes performance, detects issues, and recommends
  high-ROI actions before executing anything.

---

# 🇮🇳 Ads Manager Skill (India-Optimized)

This skill acts as your **AI Ad Strategist for Indian brands**.

It focuses on:

* ₹-based profitability
* Meta Ads performance in India
* COD + RTO realities
* Fast execution via simple decisions
* Continuous optimization using data feedback loops

---

# 🧠 CORE PRINCIPLE

Meta Ads algorithm is a **black box**.

We DO NOT try to hack it.

We win by:
> Building a **real-time feedback + decision system** based on performance signals

Loop:
**DATA → ANALYSIS → DECISION → ACTION → FEEDBACK**

---

# Platform Structure

| Platform | Level 1  | Level 2   | Level 3 |
| -------- | -------- | --------- | ------- |
| Meta     | Campaign | Ad Set    | Ad      |
| Google   | Campaign | Ad Group  | Ad      |
| X        | Campaign | Line Item | Tweet   |
| Snapchat | Campaign | Ad Squad  | Ad      |

---

# Step 1 — Platform & Credentials

Ask:

> "Which platform are you running ads on? Meta, Google, or something else?"

Then:

> "Please share your Ad Account ID and access token — only used for this session."

---

# Step 2 — Understand Intent

Map request:

| User says           | Action                |
| ------------------- | --------------------- |
| "Run ads"           | Create campaign       |
| "ROAS is low"       | Diagnose              |
| "Increase budget"   | Scale                 |
| "Pause ads"         | Stop                  |
| "Check performance" | Report                |
| "Not getting sales" | Funnel diagnosis      |

---

# 📊 Step 3 — Data & Metrics Engine

Agent MUST evaluate:

### Core Metrics
- CTR
- CPC
- CPM
- CPA
- ROAS
- Conversion Rate

### Business Metrics (CRITICAL)
- LTV
- CAC
- LTV:CAC ratio
- Payback period

### Funnel Signals
- Landing page conversion
- Add-to-cart rate
- Drop-offs

---

# 🔥 Meta Ads Intelligence Rules (India)

## 1. Budget Scaling Rule (CRITICAL)

* Max increase = 10–20%
* Minimum stability = 2–3 days

IF violated:
> "Scaling too fast can reset learning phase and waste ₹"

---

## 2. Creative Fatigue Detection

Flag if:

* Frequency > 3
* CTR dropping
* Active > 14 days

Then:
> "Creative fatigue detected — performance will decline"

---

## 3. Indian Benchmarks

| Metric | Healthy Range |
| ------ | ------------ |
| CTR    | 1% – 3%      |
| CPC    | ₹3 – ₹15     |
| CPM    | ₹80 – ₹250   |
| ROAS   | 2.5x – 4x    |

---

## 4. Diagnosis Rules (STRICT)

* CTR < 0.8% → Creative problem
* CPC > ₹20 → Targeting inefficiency
* Frequency > 3 → Saturation
* ROAS < 2 → Likely loss (especially COD)

---

## 5. COD + RTO Intelligence

Always adjust thinking:

REAL ROAS = Platform ROAS × (1 - RTO%)

Say:
> "Your visible ROAS may be misleading due to returns"

---

# 🧠 Step 4 — De

_meta.json

{
  "ownerId": "kn7b3hw9p9jkx890jafmw2vnvx830r3y",
  "slug": "ads-manager-claw",
  "version": "1.0.3",
  "publishedAt": 1775130009985
}

references/credential-guides.md

# Credential Guides — Finding Your Ad Platform API Keys

Use these guides when a user doesn't know where to find their credentials.
Explain each step warmly and simply.

---

## Meta (Facebook & Instagram Ads)

You need two things: your **Ad Account ID** and an **Access Token**.

### Ad Account ID
1. Go to [business.facebook.com](https://business.facebook.com)
2. Click **Ad Accounts** in the left sidebar
3. Your Ad Account ID is shown — it looks like `act_1234567890`

### Access Token
1. Go to [developers.facebook.com](https://developers.facebook.com)
2. Click **My Apps** → **Create App** → choose **Business** type
3. Add the **Marketing API** product to your app
4. Go to **Tools** → **Graph API Explorer**
5. Select your app and click **Generate Access Token**
6. Select these permissions: `ads_management`, `ads_read`, `business_management`
7. Copy the token shown

> ⚠️ For a long-lived token (doesn't expire every hour), exchange your short-lived token:
> `GET https://graph.facebook.com/oauth/access_token?grant_type=fb_exchange_token&client_id={app_id}&client_secret={app_secret}&fb_exchange_token={short_token}`

---

## Google Ads

Google Ads API requires more setup than others. You'll need:
- **Developer Token** (from your Google Ads Manager account)
- **Customer ID** (your Google Ads account number, like `123-456-7890`)
- **OAuth2 credentials** (Client ID, Client Secret, Refresh Token)

### Developer Token
1. Sign in to your [Google Ads Manager account](https://ads.google.com)
2. Go to **Tools & Settings** → **API Center**
3. Apply for API access — basic access is usually approved quickly
4. Copy your **Developer Token**

### OAuth2 Credentials
1. Go to [console.cloud.google.com](https://console.cloud.google.com)
2. Create a new project (or use an existing one)
3. Enable the **Google Ads API**
4. Go to **APIs & Services** → **Credentials** → **Create Credentials** → **OAuth 2.0 Client IDs**
5. Choose **Desktop app**, download the JSON file
6. Use Google's OAuth Playground or the Python client library to exchange for a **Refresh Token**

> 💡 This is more technical than other platforms. Consider using [Google's OAuth2 Playground](https://developers.google.com/oauthplayground/) to get your refresh token.

---

## X (Twitter) Ads

1. Go to [developer.twitter.com](https://developer.twitter.com)
2. Apply for a developer account (standard access is usually approved within 1–2 days)
3. Create a new Project and App
4. Under your App settings, go to **Keys and Tokens**
5. Generate your **API Key**, **API Secret**, **Access Token**, and **Access Token Secret**
6. Make sure your app has **Read and Write** permissions enabled
7. Your **Ad Account ID** is found at [ads.twitter.com](https://ads.twitter.com) → click your account name at the top

> ⚠️ X Ads API requires a **Funding Instrument** (credit card) to be set up via ads.twitter.com before you can create campaigns via the API. Funding instruments cannot be created through the API.

---

## Snapchat Ads

references/google-ads.md

# Google Ads API Reference

Base URL: `https://googleads.googleapis.com/v19/`
Auth headers:
- `Authorization: Bearer {oauth2_access_token}`
- `developer-token: {developer_token}`
- `login-customer-id: {manager_account_id}` (if using a manager account)

Customer ID format: `customers/{customer_id}` (no dashes, e.g. `customers/1234567890`)

> ⚠️ Google Ads API uses **micros** for money. $1 = 1,000,000 micros.
> The API is primarily gRPC-based but also supports REST. Use REST for simplicity.
> Always create campaigns in PAUSED status — activate after review.

---

## Campaign Types (AdvertisingChannelType)

| User Goal | channelType | Subtype |
|---|---|---|
| Search ads (text ads on Google) | `SEARCH` | — |
| Display ads (banner images) | `DISPLAY` | — |
| YouTube video ads | `VIDEO` (read-only via API — use DEMAND_GEN instead) | — |
| All-in-one smart campaigns | `PERFORMANCE_MAX` | — |
| Discovery / social-style | `DEMAND_GEN` | — |
| Shopping ads | `SHOPPING` | — |

---

## Step 1: Create Campaign Budget

POST `https://googleads.googleapis.com/v19/customers/{customer_id}/campaignBudgets:mutate`

```json
{
  "operations": [{
    "create": {
      "name": "Summer Sale Budget",
      "amountMicros": "10000000",
      "deliveryMethod": "STANDARD"
    }
  }]
}
```

Returns resource name like: `customers/123/campaignBudgets/456`

---

## Step 2: Create Campaign

POST `https://googleads.googleapis.com/v19/customers/{customer_id}/campaigns:mutate`

```json
{
  "operations": [{
    "create": {
      "name": "Summer Sale - Search",
      "advertisingChannelType": "SEARCH",
      "status": "PAUSED",
      "campaignBudget": "customers/123/campaignBudgets/456",
      "biddingStrategyType": "MAXIMIZE_CLICKS",
      "networkSettings": {
        "targetGoogleSearch": true,
        "targetSearchNetwork": true,
        "targetContentNetwork": false
      },
      "startDate": "20250401",
      "endDate": "20250430"
    }
  }]
}
```

**Bidding strategies:** `MAXIMIZE_CLICKS` (traffic), `MAXIMIZE_CONVERSIONS` (leads/sales), `TARGET_CPA` (cost per lead), `TARGET_ROAS` (return on ad spend), `TARGET_IMPRESSION_SHARE` (awareness)

---

## Step 3: Create Ad Group

POST `https://googleads.googleapis.com/v19/customers/{customer_id}/adGroups:mutate`

```json
{
  "operations": [{
    "create": {
      "name": "Summer Sale - Shoes",
      "campaign": "customers/123/campaigns/789",
      "status": "PAUSED",
      "type": "SEARCH_STANDARD",
      "cpcBidMicros": "1000000"
    }
  }]
}
```

---

## Step 4: Add Keywords

POST `https://googleads.googleapis.com/v19/customers/{customer_id}/adGroupCriteria:mutate`

```json
{
  "operations": [{
    "create": {
      "adGroup": "customers/123/adGroups/456",
      "status": "ENABLED",
      "keyword": {
        "text": "summer shoes sale",
        "matchType": "PHRASE"
      }
    }
  }]
}
```

**Match types:** `EXACT` (exact phrase only), `PHRASE` (phrase + close variants), `BROAD` (wide reach)

---

## Step 5: Create Responsive Searc

references/meta.md

# Meta (Facebook & Instagram) Ads API Reference

Base URL: `https://graph.facebook.com/v21.0/`
Auth: Append `access_token={token}` to all requests (or use Authorization header)
Ad Account format: `act_{account_id}`

> ⚠️ 2025 Note: Meta now uses ODAX (Outcome-Driven Ad Experiences) objectives from v21.0+.
> Use the new objective names listed below. Budgets are in **micros** ($1 = 1,000,000 micros).

---

## Campaign Objectives (ODAX — use these)

| User Goal | API objective value |
|---|---|
| Website traffic | `OUTCOME_TRAFFIC` |
| Sales / conversions | `OUTCOME_SALES` |
| Leads / sign-ups | `OUTCOME_LEADS` |
| Brand awareness | `OUTCOME_AWARENESS` |
| App installs | `OUTCOME_APP_PROMOTION` |
| Engagement | `OUTCOME_ENGAGEMENT` |

---

## Create Campaign

POST `/{ad_account_id}/campaigns`

```json
{
  "name": "Summer Sale 2025",
  "objective": "OUTCOME_TRAFFIC",
  "status": "PAUSED",
  "special_ad_categories": []
}
```

Returns: `{ "id": "CAMPAIGN_ID" }`

---

## Create Ad Set (targeting + budget lives here)

POST `/{ad_account_id}/adsets`

```json
{
  "name": "Women 25-45 Mumbai - Interests",
  "campaign_id": "CAMPAIGN_ID",
  "daily_budget": "2000000",
  "billing_event": "IMPRESSIONS",
  "optimization_goal": "LINK_CLICKS",
  "bid_strategy": "LOWEST_COST_WITHOUT_CAP",
  "targeting": {
    "geo_locations": {
      "cities": [{ "key": "2295424", "name": "Mumbai" }]
    },
    "age_min": 25,
    "age_max": 45,
    "genders": [2],
    "interests": [
      { "id": "6003107902433", "name": "Fashion" }
    ]
  },
  "start_time": "2025-04-01T00:00:00+0000",
  "status": "PAUSED"
}
```

**Gender values:** `1` = Men, `2` = Women (omit field for all genders)
**Daily budget:** In micros. $10/day = `"10000000"`

---

## Create Ad Creative

POST `/{ad_account_id}/adcreatives`

```json
{
  "name": "Summer Sale Creative",
  "object_story_spec": {
    "page_id": "YOUR_PAGE_ID",
    "link_data": {
      "image_hash": "IMAGE_HASH",
      "link": "https://yoursite.com/sale",
      "message": "Shop our Summer Sale — up to 50% off!",
      "name": "Summer Sale is Here",
      "call_to_action": {
        "type": "SHOP_NOW",
        "value": { "link": "https://yoursite.com/sale" }
      }
    }
  }
}
```

**Call-to-action types:** `SHOP_NOW`, `LEARN_MORE`, `SIGN_UP`, `BOOK_NOW`, `CONTACT_US`, `DOWNLOAD`

---

## Create Ad (links creative to ad set)

POST `/{ad_account_id}/ads`

```json
{
  "name": "Summer Sale Ad",
  "adset_id": "ADSET_ID",
  "creative": { "creative_id": "CREATIVE_ID" },
  "status": "PAUSED"
}
```

---

## Update Budget

POST `/{adset_id}`

```json
{
  "daily_budget": "15000000",
  "access_token": "TOKEN"
}
```

---

## Pause / Resume / Delete

POST `/{campaign_id}` or `/{adset_id}` or `/{ad_id}`
```json
{ "status": "PAUSED" }      // pause
{ "status": "ACTIVE" }      // resume
{ "status": "DELETED" }     // delete (irreversible)
```

---

## Get Performance Report (Insights)

GET `/{ad_account_id}/insights`

```
?fields=campaign_name,impressions,clicks

Sponsored

Ads related to Ads Manager Claw and adjacent AI workflows.