> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tess.im/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Step | MetaAds

El step Meta Ads permite que tus agentes analicen el rendimiento, identifiquen presupuestos desperdiciados y redistribuyan la inversión automáticamente en campañas de Facebook e Instagram. Con esto, Tess actúa como un optimizador de medios pagos orientado por datos.

### **¿Qué es el Step?**

La integración con Meta Ads ofrece 6 acciones, divididas en:

### Acciones (ejecución)

* Change Campaign Daily Budget → cambia el presupuesto diario
* Change Campaign Status → activa o pausa campañas
* Budget Shift Campaigns → redistribuye el presupuesto automáticamente

### Análisis (insights)

* Creative Image Analysis → analiza creativos (imágenes)
* Identify Overactive Ads → identifica la fatiga de anuncios
* Metrics Trend Report → analiza tendencias de rendimiento

## **Cómo usar (Campos por acción)**

### 1. Change Campaign Daily Budget

| Campo                   | Descripción                                         |
| :---------------------- | :-------------------------------------------------- |
| Step Name               | Nombre interno del step                             |
| Ad Account ID \*        | ID de la cuenta de anuncios en Meta                 |
| Campaign ID \*          | ID de la campaña a modificar                        |
| Budget Change Method \* | Método: `Set Exact Amount` o `Adjust by Percentage` |
| Budget Change Value \*  | Valor del cambio (ej: `100.00`, `30`, `-20`)        |

<Frame>
  <img src="https://mintcdn.com/tess-dfe1edf0/4hvEV5IAIaKBKh5o/images/image-191.png?fit=max&auto=format&n=4hvEV5IAIaKBKh5o&q=85&s=e4d46433a06693739d09af95575f9b98" alt="Image" title="Image" style={{ width:"45%" }} width="952" height="1216" data-path="images/image-191.png" />
</Frame>

***

### 2. Change Campaign Status

| Campo                  | Descripción                       |
| :--------------------- | :-------------------------------- |
| Step Name              | Nombre interno del step           |
| Ad Account ID \*       | ID de la cuenta de anuncios       |
| Campaign ID \*         | ID de la campaña                  |
| New Campaign Status \* | Nuevo estado (`ACTIVE`, `PAUSED`) |

<Frame>
  <img src="https://mintcdn.com/tess-dfe1edf0/4hvEV5IAIaKBKh5o/images/image-192.png?fit=max&auto=format&n=4hvEV5IAIaKBKh5o&q=85&s=eb6c9584ce3d8f0c2e00a2ea4b8953f0" alt="Image" style={{ width:"68%" }} width="930" height="1056" data-path="images/image-192.png" />
</Frame>

***

### 3. Budget Shift Campaigns

| Campo                        | Descripción                                         |
| :--------------------------- | :-------------------------------------------------- |
| Step Name                    | Nombre interno del step                             |
| Meta Ads Account ID \*       | ID de la cuenta de anuncios                         |
| Analysis Period (Days) \*    | Período de análisis (ej: `30`)                      |
| Has New Budget Allocation \* | Define si habrá un nuevo presupuesto (`Yes` o `No`) |
| New Budget                   | Nuevo valor total (ej: `2500.00`)                   |
| Percent Adjust               | Ajuste porcentual (ej: `20` o `20%`)                |
| Excluded Campaigns ID        | IDs de campañas excluidas                           |
| Excluded Adsets ID           | IDs de conjuntos de anuncios excluidos              |

***

### 4. Creative Image Analysis

| Campo                     | Descripción                 |
| :------------------------ | :-------------------------- |
| Step Name                 | Nombre interno del step     |
| Meta Ads Account ID \*    | ID de la cuenta de anuncios |
| Analysis Period (Days) \* | Período analizado           |

<Frame>
  <img src="https://mintcdn.com/tess-dfe1edf0/4hvEV5IAIaKBKh5o/images/image-194.png?fit=max&auto=format&n=4hvEV5IAIaKBKh5o&q=85&s=fe5dc0200481e20ad6bf3c15790056b0" alt="Image" style={{ width:"70%" }} width="922" height="886" data-path="images/image-194.png" />
</Frame>

***

### **5. Identify Overactive Ads**

| Campo           | Descripción                                   |
| :-------------- | :-------------------------------------------- |
| Step Name       | Nombre interno del step                       |
| Account ID \*   | ID de la cuenta                               |
| Limit (Days) \* | Límite de días para considerarlo “overactive” |

<Frame>
  <img src="https://mintcdn.com/tess-dfe1edf0/4hvEV5IAIaKBKh5o/images/image-195.png?fit=max&auto=format&n=4hvEV5IAIaKBKh5o&q=85&s=1f0f17fc7b839ce1e981950469957b10" alt="Image" style={{ width:"63%" }} width="942" height="884" data-path="images/image-195.png" />
</Frame>

***

### 6. Metrics Trend Report

| Campo                              | Descripción                                  |
| :--------------------------------- | :------------------------------------------- |
| Step Name                          | Nombre interno del step                      |
| Meta Ads Account ID \*             | ID de la cuenta                              |
| Analysis Period (Days) \*          | Período analizado                            |
| Report Segment \*                  | Segmento (ej: `campaigns`, `adsets`)         |
| Key Performance Indicator (KPI) \* | Métrica principal (ej: `cpa`, `cpr`, `roas`) |

***

## Ejemplos prácticos

* Reducir el presupuesto automáticamente en campañas con bajo rendimiento
* Identificar creativos saturados
* Redistribuir el presupuesto entre campañas
* Generar informes automáticos de rendimiento

<Tip>
  Buenas prácticas

  * Siempre valida los IDs
  * Usa períodos consistentes (ej: 30 días)
  * Define KPIs claros
  * Ten cuidado con las automatizaciones de presupuesto
</Tip>

## Observaciones importantes

* La integración con Meta Ads es obligatoria
* Las acciones impactan campañas reales
* No hay confirmación antes de la ejecución

Meta Ads transforma a Tess en un operador completo de medios pagos, capaz de analizar, detectar problemas y ejecutar optimizaciones automáticamente.
