Ads

Propone una campaña completa (hasta el anuncio) en Meta, Google o TikTok

Propone una campaña completa (hasta el anuncio) en Meta, Google o TikTok. Queda PENDIENTE de aprobación y se crea PAUSADA. Meta alcanza con {name, objective, dailyBudget, linkUrl, title, body, imageUrl}: imageUrl https o la image_url de compose_static; el resto se completa. Para abrir WhatsApp: destination "whatsapp" + whatsappPhoneNumber, sin linkUrl. Google headlines/descriptions/keywords; TikTok identity + creatives. Devuelve el bundleId.

post/api/v1/propose_campaign

Request

  • Base URL: https://api.pymaia.com
  • URL: https://api.pymaia.com/api/v1/propose_campaign
  • Auth: HTTP bearer

Request body

platform'meta' | 'google' | 'tiktok' required
specobject required

Campaign spec (shape depends on platform). dailyBudget in account currency units.

brief_textstring

Campaign intent text (used for special-ad-category detection).

estimated_reachnumber
declared_categoriesstring[]

Response

Tool executed successfully

okboolean
resultunknown
duration_msnumber

Changes

No recorded changes to this operation across all 1 revision of this API.