Opus Growth

Create Meta Link Ad

Creates a Meta link ad (creative + ad in one step).

Tipo
Faz alterações
Créditos
8
Plataforma
Meta Ads
Aprovação
Prévia primeiro, aplicado após sua aprovação

O que faz

Creates a Meta link ad (creative + ad in one step). page_id is REQUIRED — every Meta ad runs on behalf of a Facebook Page (find it with list_meta_pages). The image is ONE of: image_hash (already uploaded via upload_meta_image; reusable, no re-upload), image_base64 (the file itself, such as one dropped into the chat) or image_url (public link). JPEG/PNG/GIF/WebP, ≤8MB. cta_type = the button: LEARN_MORE | SHOP_NOW | SIGN_UP | BUY_NOW | GET_OFFER | GET_QUOTE | CONTACT_US | APPLY_NOW | ORDER_NOW | SEND_MESSAGE | WHATSAPP_MESSAGE | INSTAGRAM_MESSAGE | VIEW_INSTAGRAM_PROFILE | CALL_NOW | BOOK_TRAVEL | DOWNLOAD | SUBSCRIBE | NO_BUTTON — leave EMPTY to auto-pick from the campaign objective (SALES→SHOP_NOW, LEADS→SIGN_UP, else LEARN_MORE). WHATSAPP_MESSAGE / SEND_MESSAGE / INSTAGRAM_MESSAGE make the button OPEN A CHAT (WhatsApp / Messenger / Instagram Direct) instead of a website; they pair with a messaging ad set (optimization_goal CONVERSATIONS, destination_type WHATSAPP / MESSENGER / INSTAGRAM_DIRECT). THE BUTTON MUST MATCH THE AD SET'S destination_type: INSTAGRAM_DIRECT needs INSTAGRAM_MESSAGE (a link button such as LEARN_MORE is accepted at creation but the ad then NEVER delivers, error 1487891; MESSAGE_PAGE/SEND_MESSAGE is rejected on Instagram, subcode 2875003). Leave cta_type empty and it is derived from destination_type automatically. Messaging ads can PRE-FILL the chat: welcome_message = the text that auto-populates the user's WhatsApp/Messenger compose box (the ready-written message they send with one tap); greeting = an optional greeting shown in the thread; ice_breakers = up to 4 tappable quick-reply options (each ≤80 chars) shown when the chat first opens (if given, these replace the auto-fill; Meta allows one or the other). These only apply when cta_type is WHATSAPP_MESSAGE / SEND_MESSAGE / INSTAGRAM_MESSAGE. BACKGROUND MUSIC / AUDIO / SOUNDTRACK: music=true is Ads Manager's "Add music" (Advantage+ `audio` enrollment) — Meta turns the still image into a short video with an auto-picked track; enhancements=['animate_image','image_enhancement',...] enrolls the other Advantage+ creative features. The response reports enhancements_applied vs enhancements_not_applied, so a request Meta ignores is never reported as success. INSTAGRAM IDENTITY: by default Meta derives the Instagram account from page_id, which silently picks one when the Page has several — pass instagram_user_id (from list_meta_instagram_accounts) to choose it explicitly. Either way the response returns the instagram_user_id the ad ACTUALLY runs from, so you can confirm the identity without opening Ads Manager. For a SPECIFIC song, embed it in a video and use create_meta_video_ad (or upload_meta_video + update_meta_ad_creative(video_id=...)) — the Marketing API has no field to pick a Sound Collection track. The ad is created PAUSED and goes through Meta review. LEAD ADS (Instant Form): lead_gen_form_id makes the button open Meta's instant form instead of a website; it pairs with a LEAD_GENERATION ad set (promoted_object page_id) and cta_type SIGN_UP / APPLY_NOW / GET_QUOTE. You can build the form itself here too (create_meta_lead_form) or reuse one made in Meta Ads Manager (Page > Instant Forms) by passing its ID. If Meta answers (#200) the account was connected before this permission was granted — reconnect Meta from the panel once. confirm=false = preview.

A descrição está em inglês porque é o texto oficial que sua IA vê.

MCP: create_meta_link_ad

Como usar

Você não chama as ferramentas pelo nome. Escreva o que quer no ChatGPT, Claude ou outro assistente conectado ao Opus Growth; a IA escolhe esta ferramenta quando ela serve.

Como esta ferramenta altera sua conta, seu assistente mostra primeiro uma prévia exata da mudança. Nada é aplicado sem o seu sim, e cada alteração aplicada vai para o registro de auditoria.

Parâmetros

NomeTipoObrigatórioPadrão
account_idstringObrigatório·Advertising account identifier to query or change. Use the exact ID returned by the relevant account-listing tool, not the display name.
adset_idstringObrigatório·Exact adset identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name.
namestringObrigatório·Human-readable name for the resource being created or updated.
page_idstringObrigatório·Exact page identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name.
messagestringObrigatório·Primary message or ad-copy text presented to the audience.
linkstringObrigatório·Destination link or link object for the ad or resource, in the provider format required by this operation.
headlinestringOpcional·Primary ad headline text, within the provider's character and policy requirements.
image_urlstringOpcional·Publicly reachable image URL for the creative or resource.
image_base64stringOpcional·Base64-encoded image bytes in the format required by the provider's upload endpoint.
image_hashstringOpcional·Provider image hash returned by the corresponding image-upload operation.
cta_typestringOpcional·APPLY_NOW · BOOK_TRAVEL · BUY_NOW · CALL_NOW · CONTACT_US · DOWNLOAD · GET_OFFER · GET_QUOTE · INSTAGRAM_MESSAGE · LEARN_MORE · NO_BUTTON · ORDER_NOW · Call-to-action button type accepted by the provider, such as LEARN_MORE or SIGN_UP.
statusstringOpcionalPAUSEDDesired provider status for this resource; choose an allowed value from this schema.
welcome_messagestringOpcional·Exact welcome message value for create meta link ad. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation.
greetingstringOpcional·Exact greeting value for create meta link ad. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation.
ice_breakersarrayOpcional·Ice breakers value for create meta link ad. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible.
musicbooleanOpcionalfalseWhether to enable music for this operation.
enhancementsarrayOpcional·Creative-enhancement settings object accepted by the provider for this ad or creative.
lead_gen_form_idstringOpcional·Exact lead gen form identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name.
instagram_user_idstringOpcional·Exact instagram user identifier to target. Use the ID returned by an Opus Growth list or create operation, not a display name.
confirmbooleanOpcionalfalseSafety confirmation for a state-changing operation. Leave false to preview or validate; set true only after the user explicitly approves the shown change.