{ "action": "request", "status": "error", "code": 101, "message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis", "details": "platformOptions.tiktok.sparkAuthCode is for TikTok video 7400000000000000002, not the boosted post 7400000000000000001."}
{ "action": "request", "status": "error", "code": 101, "message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis", "details": "budget.amount on tiktok is at least 20 in the ad account's currency."}
{ "action": "ads", "status": "error", "code": 420, "message": "Ads permissions missing for this social account. Please unlink the account and relink it in the social account linking page, granting all ads permissions.", "details": "Relink tiktok and grant the ads permissions to use ads on tiktok."}
{ "action": "rate limit", "status": "error", "code": 364, "message": "You are making too many requests. Please reduce the number of requests.", "details": "Too many requests. Please retry in some time."}
TikTok Ads
Impulsar publicación
Impulsa un video como Spark Ad: Ayrshare crea campaña, grupo de anuncios y anuncio en tu cuenta publicitaria de TikTok con objetivo, presupuesto y segmentación.
{ "action": "request", "status": "error", "code": 101, "message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis", "details": "platformOptions.tiktok.sparkAuthCode is for TikTok video 7400000000000000002, not the boosted post 7400000000000000001."}
{ "action": "request", "status": "error", "code": 101, "message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis", "details": "budget.amount on tiktok is at least 20 in the ad account's currency."}
{ "action": "ads", "status": "error", "code": 420, "message": "Ads permissions missing for this social account. Please unlink the account and relink it in the social account linking page, granting all ads permissions.", "details": "Relink tiktok and grant the ads permissions to use ads on tiktok."}
{ "action": "rate limit", "status": "error", "code": 364, "message": "You are making too many requests. Please reduce the number of requests.", "details": "Too many requests. Please retry in some time."}
Promociona un video de TikTok como Spark Ad. El anuncio muestra el video tal como está, bajo la cuenta de su creador, y el video conserva sus me gusta, comentarios y seguidores. Ayrshare crea una campaña, un grupo de anuncios y un anuncio en tu cuenta publicitaria de TikTok.
Vincula TikTok y luego conecta una cuenta publicitaria de TikTok desde el dashboard. El anuncio se publica desde esa cuenta publicitaria.
Para un video de tu cuenta de TikTok vinculada, no necesitas un código. Si esa cuenta de TikTok está vinculada a tu cuenta publicitaria en TikTok, el anuncio se publica como esa cuenta. De lo contrario, Ayrshare crea el código de Spark Ads por ti.
Para el video de otro creador, el creador genera un código de Spark Ads en la app de TikTok y te lo entrega. Envíalo en platformOptions.tiktok.sparkAuthCode. El código debe ser del video que impulsas; de lo contrario, la respuesta es code: 101.
El presupuesto se define en el grupo de anuncios, en la moneda de tu cuenta publicitaria. No envíes budget.currency ni budget.level: "campaign".
El presupuesto mínimo es de 20 al día en la moneda de tu cuenta publicitaria. Un presupuesto total es de al menos 20 por cada día programado.
El video permanece en el perfil del creador mientras se publica el anuncio. Envía platformOptions.tiktok.adsOnly: true para mostrarlo solo como anuncio.
Si envías solicitudes más rápido de lo que TikTok permite, la respuesta es code: 364 con HTTP 429 y el mensaje de TikTok en details. Espera un minuto y vuelve a intentarlo con un nuevo idempotencyKey.
Los anuncios están incluidos en los planes Premium Plan, Business Plan y Enterprise Plan, como se indica en la descripción general de Ads. En otro plan, la respuesta es code: 169.
Si TikTok retira el acceso de Ayrshare a tu cuenta publicitaria, la respuesta es code: 420 con HTTP 401 y el webhook ads envía accountRevoked. Vuelve a conectar la cuenta publicitaria de TikTok desde el dashboard.
Los anuncios de TikTok se activan por cuenta. Contáctanos para habilitarlos.
Qué admite TikTok
Opción
TikTok
Objetivos
brand_awareness, video_views, traffic
Presupuesto
daily o lifetime, en el grupo de anuncios
Segmentación
Países, regiones y ciudades, rangos de edad, género, intereses
No admitido
targeting.keywords, targeting.audiences, targeting.excludedLocations, attachTo, botones de mensajería
Actualizaciones de estado del anuncio
ACTIVE, PAUSED, DELETED
Objetivos del anuncio
brand_awareness: mostrar el video a la mayor cantidad de personas posible.
video_views: conseguir más vistas del video.
traffic: llevar personas a tu sitio web. Requiere callToAction con un enlace.
Parámetros del encabezado
Parámetros del cuerpo
string
requerido
El ID de tu cuenta publicitaria de TikTok (anunciante), por ejemplo 7100000000000000001. Debe ser una cuenta publicitaria que hayas conectado.
string
El ID de la publicación de Ayrshare que quieres impulsar. Envía postId o socialPostId.
La página que se abre. Obligatorio para el objetivo traffic.
string
predeterminado:"active"
active o paused.
string
Una clave única y no vacía para esta solicitud de impulso. Reintenta el mismo cuerpo con la misma clave para no crear un anuncio duplicado: se repite la primera respuesta, incluido un error. Reutilizar la clave con un cuerpo distinto devuelve HTTP 409. La clave solo se aplica a esta plataforma: la misma clave en otra plataforma inicia un impulso independiente. Una solicitud aún en curso también devuelve 409; una reserva no disponible devuelve 503 sin crear un anuncio.
object
Mostrar atributos hijos
string
El código de Spark Ads que el creador del video generó en la app de TikTok para este video. Obligatorio para un video que no es de tu cuenta de TikTok vinculada.
boolean
predeterminado:"false"
true muestra el video solo como anuncio, no en el perfil del creador.
{ "action": "request", "status": "error", "code": 101, "message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis", "details": "platformOptions.tiktok.sparkAuthCode is for TikTok video 7400000000000000002, not the boosted post 7400000000000000001."}
{ "action": "request", "status": "error", "code": 101, "message": "Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis", "details": "budget.amount on tiktok is at least 20 in the ad account's currency."}
{ "action": "ads", "status": "error", "code": 420, "message": "Ads permissions missing for this social account. Please unlink the account and relink it in the social account linking page, granting all ads permissions.", "details": "Relink tiktok and grant the ads permissions to use ads on tiktok."}
{ "action": "rate limit", "status": "error", "code": 364, "message": "You are making too many requests. Please reduce the number of requests.", "details": "Too many requests. Please retry in some time."}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ayrshare Docs","colors":{"primary":"#2266C2","light":"#4985D8","dark":"#1A4E9A"},"logo":{"light":"https://mintcdn.com/ayrshare-docs/7bWzjvNjeuvs-M3N/images/logos/ayrshare-docs-logo-light.svg?fit=max\u0026auto=format\u0026n=7bWzjvNjeuvs-M3N\u0026q=85\u0026s=8d23367f493d06599eecbbfa2b6325cf","dark":"https://mintcdn.com/ayrshare-docs/7bWzjvNjeuvs-M3N/images/logos/ayrshare-docs-logo-dark.svg?fit=max\u0026auto=format\u0026n=7bWzjvNjeuvs-M3N\u0026q=85\u0026s=77590acef2781d2fec9a1b14b6e09b73","href":"https://www.ayrshare.com/docs"},"favicon":"https://mintcdn.com/ayrshare-docs/dKBti0xVDJrOZ19f/images/logos/icon-docs.png?fit=max\u0026auto=format\u0026n=dKBti0xVDJrOZ19f\u0026q=85\u0026s=9704762afaad78a9cfdd90a20cb1d253","api":{"playground":{"display":"simple"},"examples":{"languages":["bash","javascript","python","php","go","java"]},"mdx":{"auth":{"method":"bearer"},"server":"https://api.ayrshare.com/api"}},"appearance":{"default":"dark"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://www.ayrshare.com/blog","label":"Blog"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.ayrshare.com"}},"footer":{"socials":{"github":"https://github.com/ayrshare","x":"https://x.com/ayrshare","bluesky":"https://bsky.app/profile/ayrshare.com","facebook":"https://www.facebook.com/Ayrshare","linkedin":"https://www.linkedin.com/company/ayrshare","youtube":"https://www.youtube.com/@ayrshare"}},"seo":{"indexing":"navigable"},"styling":{"codeblocks":"system","latex":true},"integrations":{"gtm":{"tagId":"GTM-P23WG8W"},"plausible":{"domain":"docs.ayrshare.com"}},"contextual":{"options":["copy","chatgpt","claude","perplexity","cursor","vscode"],"display":"header"},"navigation":{"languages":[{"language":"en","href":"introduction"},{"language":"es","href":"es/introduction"},{"language":"cn","hidden":true,"href":"cn/introduction"},{"language":"zh","hidden":true,"href":"zh/introduction"},{"language":"pt-BR","href":"pt-BR/introduction"},{"language":"fr","href":"fr/introduction"},{"language":"de","href":"de/introduction"},{"language":"vi","href":"vi/introduction"},{"language":"ja","href":"ja/introduction"},{"language":"uk","href":"uk/introduction"},{"language":"hi","href":"hi/introduction"},{"language":"ar","href":"ar/introduction"},{"language":"zh-Hans","href":"zh-Hans/introduction"},{"language":"zh-Hant","href":"zh-Hant/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ayrshare-docs","hasAudioNarration":false,"actualSubdomain":"ayrshare-docs","customDomains":["www.ayrshare.com"],"gitSource":{"type":"github","owner":"ayrshare","repo":"ayrshare_3","deployBranch":"docs-prod","contentDirectory":"apps/mintlify","isPrivate":true,"mountPath":"","label":"","_id":"6aec8a4b6de9d64b11a45855"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0469136d5fca11cbff1a8f","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"en","tag":"Documentation","count":250},{"language":"ar","tag":"Documentation","count":250},{"language":"de","tag":"Documentation","count":250},{"language":"es","tag":"Documentation","count":250},{"language":"fr","tag":"Documentation","count":250},{"language":"hi","tag":"Documentation","count":250},{"language":"ja","tag":"Documentation","count":250},{"language":"pt-BR","tag":"Documentation","count":250},{"language":"uk","tag":"Documentation","count":250},{"language":"vi","tag":"Documentation","count":250},{"language":"zh-Hans","tag":"Documentation","count":250},{"language":"zh-Hant","tag":"Documentation","count":250},{"language":"en","tag":"API Endpoints","count":171},{"language":"ar","tag":"API Endpoints","count":171},{"language":"de","tag":"API Endpoints","count":171},{"language":"es","tag":"API Endpoints","count":171},{"language":"fr","tag":"API Endpoints","count":171},{"language":"hi","tag":"API Endpoints","count":171},{"language":"ja","tag":"API Endpoints","count":171},{"language":"pt-BR","tag":"API Endpoints","count":171},{"language":"uk","tag":"API Endpoints","count":171},{"language":"vi","tag":"API Endpoints","count":171},{"language":"zh-Hans","tag":"API Endpoints","count":171},{"language":"zh-Hant","tag":"API Endpoints","count":171},{"language":"en","tag":"Help Center","count":126},{"language":"ar","tag":"Help Center","count":126},{"language":"de","tag":"Help Center","count":126},{"language":"es","tag":"Help Center","count":126},{"language":"fr","tag":"Help Center","count":126},{"language":"hi","tag":"Help Center","count":126},{"language":"ja","tag":"Help Center","count":126},{"language":"pt-BR","tag":"Help Center","count":126},{"language":"uk","tag":"Help Center","count":126},{"language":"vi","tag":"Help Center","count":126},{"language":"zh-Hans","tag":"Help Center","count":126},{"language":"zh-Hant","tag":"Help Center","count":126},{"language":"en","tag":"Additional","count":41},{"language":"ar","tag":"Additional","count":41},{"language":"de","tag":"Additional","count":41},{"language":"es","tag":"Additional","count":41},{"language":"fr","tag":"Additional","count":41},{"language":"hi","tag":"Additional","count":41},{"language":"ja","tag":"Additional","count":41},{"language":"pt-BR","tag":"Additional","count":41},{"language":"uk","tag":"Additional","count":41},{"language":"vi","tag":"Additional","count":41},{"language":"zh-Hans","tag":"Additional","count":41},{"language":"zh-Hant","tag":"Additional","count":41},{"language":"en","tag":"Technical Support","count":40},{"language":"ar","tag":"Technical Support","count":40},{"language":"de","tag":"Technical Support","count":40},{"language":"es","tag":"Technical Support","count":40},{"language":"fr","tag":"Technical Support","count":40},{"language":"hi","tag":"Technical Support","count":40},{"language":"ja","tag":"Technical Support","count":40},{"language":"pt-BR","tag":"Technical Support","count":40},{"language":"uk","tag":"Technical Support","count":40},{"language":"vi","tag":"Technical Support","count":40},{"language":"zh-Hans","tag":"Technical Support","count":40},{"language":"zh-Hant","tag":"Technical Support","count":40},{"language":"en","tag":"Ads","count":31},{"language":"ar","tag":"Ads","count":31},{"language":"de","tag":"Ads","count":31},{"language":"es","tag":"Ads","count":31},{"language":"fr","tag":"Ads","count":31},{"language":"hi","tag":"Ads","count":31},{"language":"ja","tag":"Ads","count":31},{"language":"pt-BR","tag":"Ads","count":31},{"language":"uk","tag":"Ads","count":31},{"language":"vi","tag":"Ads","count":31},{"language":"zh-Hans","tag":"Ads","count":31},{"language":"zh-Hant","tag":"Ads","count":31},{"language":"en","tag":"Post","count":22},{"language":"ar","tag":"Post","count":22},{"language":"de","tag":"Post","count":22},{"language":"es","tag":"Post","count":22},{"language":"fr","tag":"Post","count":22},{"language":"hi","tag":"Post","count":22},{"language":"ja","tag":"Post","count":22},{"language":"pt-BR","tag":"Post","count":22},{"language":"uk","tag":"Post","count":22},{"language":"vi","tag":"Post","count":22},{"language":"zh-Hans","tag":"Post","count":22},{"language":"zh-Hant","tag":"Post","count":22},{"language":"en","tag":"Dashboard","count":21},{"language":"ar","tag":"Dashboard","count":21},{"language":"de","tag":"Dashboard","count":21},{"language":"es","tag":"Dashboard","count":21},{"language":"fr","tag":"Dashboard","count":21},{"language":"hi","tag":"Dashboard","count":21},{"language":"ja","tag":"Dashboard","count":21},{"language":"pt-BR","tag":"Dashboard","count":21},{"language":"uk","tag":"Dashboard","count":21},{"language":"vi","tag":"Dashboard","count":21},{"language":"zh-Hans","tag":"Dashboard","count":21},{"language":"zh-Hant","tag":"Dashboard","count":21},{"language":"en","tag":"Product","count":16},{"language":"ar","tag":"Product","count":16},{"language":"de","tag":"Product","count":16},{"language":"es","tag":"Product","count":16},{"language":"fr","tag":"Product","count":16},{"language":"hi","tag":"Product","count":16},{"language":"ja","tag":"Product","count":16},{"language":"pt-BR","tag":"Product","count":16},{"language":"uk","tag":"Product","count":16},{"language":"vi","tag":"Product","count":16},{"language":"zh-Hans","tag":"Product","count":16},{"language":"zh-Hant","tag":"Product","count":16},{"language":"en","tag":"Connect Social Accounts","count":15},{"language":"ar","tag":"Connect Social Accounts","count":15},{"language":"de","tag":"Connect Social Accounts","count":15},{"language":"es","tag":"Connect Social Accounts","count":15},{"language":"fr","tag":"Connect Social Accounts","count":15},{"language":"hi","tag":"Connect Social Accounts","count":15},{"language":"ja","tag":"Connect Social Accounts","count":15},{"language":"pt-BR","tag":"Connect Social Accounts","count":15},{"language":"uk","tag":"Connect Social Accounts","count":15},{"language":"vi","tag":"Connect Social Accounts","count":15},{"language":"zh-Hans","tag":"Connect Social Accounts","count":15},{"language":"zh-Hant","tag":"Connect Social Accounts","count":15}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".center{display:block;margin-left:auto;margin-right:auto;max-width:100%;height:auto}.welcome-banner{margin-left:auto;margin-right:auto;max-width:100%;height:auto;border-radius:12px}.custom-bullets{padding-left:0}.custom-bullets li{position:relative;padding-left:1.5em;margin-bottom:0.75em;list-style-type:none;line-height:1.4}.custom-bullets li::before{content:\"\\2022\";color:#2266c2;position:absolute;left:0.5em;top:0}.custom-bullets li:last-child{margin-bottom:0}.custom-bullets li>*{margin-top:0;margin-bottom:0}ul ul{margin-left:20px}.custom-bullets li::after,.custom-bullets li::before{border:none!important;background:none!important}.button{background-color:#2266c2;color:#fff;padding:16px 24px;border-radius:8px;border:none;transition-duration:0.2s;margin-top:100px}.button:hover{background-color:#133e76;color:white}.button2{background-color:#fff;color:#2266c2;padding:16px 24px;border-radius:8px;border:1px solid #2266c2;transition-duration:0.2s}.button2:hover{background-color:#133e76;color:white}.video-container{width:100%;max-width:560px;margin:0 auto}.video-container iframe{width:100%;height:auto;aspect-ratio:16 / 9}.plan-tag-light{font-family:\"JetBrains Mono\", monospace;display:inline-block;padding:2px 6px;border-radius:4px;font-size:12px;color:#ffffff;background-color:#16171b;margin-right:10px}.plan-tag-dark{font-family:\"JetBrains Mono\", monospace;display:inline-block;padding:2px 6px;border-radius:4px;font-size:12px;color:#3f4144;background-color:#b7b9bb;margin-right:10px}@media (min-width: 768px){.video-container{display:flex;justify-content:center;align-items:center}}code{font-size:0.96em;line-height:1.7em}"}]}
{"page":{"pagePath":"es/apis/ads/tiktok/boost","slug":"/es/apis/ads/tiktok/boost","pageMetadata":{"title":"Impulsar publicación","description":"Impulsa un video como Spark Ad: Ayrshare crea campaña, grupo de anuncios y anuncio en tu cuenta publicitaria de TikTok con objetivo, presupuesto y segmentación.","api":"POST /ads/tiktok/boost","href":"/es/apis/ads/tiktok/boost"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Impulsa un video como Spark Ad: Ayrshare crea campaña, grupo de anuncios y anuncio en tu cuenta publicitaria de TikTok con objetivo, presupuesto y segmentación.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const PlansAvailable=({plans=[],maxPackRequired})=>{const{Note}=_provideComponents()||{};if(!Note)_missingMdxReference(`Note`,true);let displayPlans=plans;if(plans\u0026\u0026plans.length===1){const lowerCasePlan=plans[0].toLowerCase();if(lowerCasePlan===`business`){displayPlans=[`Launch`,`Business`,`Enterprise`]}else if(lowerCasePlan===`premium`){displayPlans=[`Premium`,`Launch`,`Business`,`Enterprise`]}}return _jsxs(Note,{children:[`Available on `,displayPlans.length===1?`the `:``,displayPlans.join(`, `).replace(/\\b\\w/g,l=>l.toUpperCase()),` `,displayPlans.length>1?`plans`:`plan`,`.`,maxPackRequired\u0026\u0026_jsx(`span`,{onClick:()=>window.open(`https://www.ayrshare.com/docs/additional/maxpack`,`_self`),className:`mint-flex mint-items-center mint-mt-2 mint-cursor-pointer`,children:_jsx(`span`,{className:`mint-px-1.5 mint-py-0.5 mint-rounded mint-text-sm`,style:{backgroundColor:`#C264B6`,color:`white`,fontSize:`12px`},children:`Max Pack required`})})]})};const HeaderAPI=({noProfileKey,profileKeyRequired})=>{const _components={a:`a`,..._provideComponents()},{ParamField}=_components;if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(_Fragment,{children:[_jsxs(ParamField,{header:`Authorization`,type:`string`,required:true,children:[_jsx(_components.a,{href:`/apis/overview#authorization`,children:`API Key`}),` of the Primary Profile.`,_jsx(`br`,{}),_jsx(`br`,{}),`Format: `,_jsx(`code`,{children:`Authorization: Bearer API_KEY`})]}),!noProfileKey\u0026\u0026(profileKeyRequired?_jsxs(ParamField,{header:`Profile-Key`,type:`string`,required:true,children:[_jsx(_components.a,{href:`/apis/overview#profile-key-format`,children:`Profile Key`}),` of a User Profile.`,_jsx(`br`,{}),_jsx(`br`,{}),`Format: `,_jsx(`code`,{children:`Profile-Key: PROFILE_KEY`})]}):_jsxs(ParamField,{header:`Profile-Key`,type:`string`,children:[_jsx(_components.a,{href:`/apis/overview#profile-key-format`,children:`Profile Key`}),` of a User Profile.`,_jsx(`br`,{}),_jsx(`br`,{}),`Format: `,_jsx(`code`,{children:`Profile-Key: PROFILE_KEY`})]}))]})};function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,Table,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_MdxComponentBoundary,{name:`PlansAvailable`,children:_jsx(PlansAvailable,{plans:[`premium`],maxPackRequired:false})}),`\n`,_jsx(_components.p,{children:`Promociona un video de TikTok como Spark Ad. El anuncio muestra el video tal como está, bajo la cuenta de su creador, y el video conserva sus me gusta, comentarios y seguidores. Ayrshare crea una campaña, un grupo de anuncios y un anuncio en tu cuenta publicitaria de TikTok.`}),`\n`,_jsxs(`ul`,{className:`custom-bullets`,children:[_jsx(`li`,{children:`Vincula TikTok y luego conecta una cuenta publicitaria de TikTok desde el dashboard. El anuncio se publica desde esa cuenta publicitaria.`}),_jsx(`li`,{children:`Para un video de tu cuenta de TikTok vinculada, no necesitas un código. Si esa cuenta de TikTok está vinculada a tu cuenta publicitaria en TikTok, el anuncio se publica como esa cuenta. De lo contrario, Ayrshare crea el código de Spark Ads por ti.`}),_jsxs(`li`,{children:[`Para el video de otro creador, el creador genera un código de Spark Ads en la app de TikTok y te lo entrega. Envíalo en `,_jsx(_components.code,{children:`platformOptions.tiktok.sparkAuthCode`}),`. El código debe ser del video que impulsas; de lo contrario, la respuesta es `,_jsx(_components.code,{children:`code: 101`}),`.`]}),_jsxs(`li`,{children:[`El presupuesto se define en el grupo de anuncios, en la moneda de tu cuenta publicitaria. No envíes `,_jsx(_components.code,{children:`budget.currency`}),` ni `,_jsx(_components.code,{children:`budget.level: \"campaign\"`}),`.`]}),_jsx(`li`,{children:`El presupuesto mínimo es de 20 al día en la moneda de tu cuenta publicitaria. Un presupuesto total es de al menos 20 por cada día programado.`}),_jsxs(`li`,{children:[`El video permanece en el perfil del creador mientras se publica el anuncio. Envía `,_jsx(_components.code,{children:`platformOptions.tiktok.adsOnly: true`}),` para mostrarlo solo como anuncio.`]}),_jsxs(`li`,{children:[`Si envías solicitudes más rápido de lo que TikTok permite, la respuesta es `,_jsx(_components.code,{children:`code: 364`}),` con HTTP 429 y el mensaje de TikTok en `,_jsx(_components.code,{children:`details`}),`. Espera un minuto y vuelve a intentarlo con un nuevo `,_jsx(_components.code,{children:`idempotencyKey`}),`.`]}),_jsxs(`li`,{children:[`Los anuncios están incluidos en los planes Premium Plan, Business Plan y Enterprise Plan, como se indica en la `,_jsx(_components.a,{href:`/es/apis/ads/overview`,children:`descripción general de Ads`}),`. En otro plan, la respuesta es `,_jsx(_components.code,{children:`code: 169`}),`.`]}),_jsxs(`li`,{children:[`Si TikTok retira el acceso de Ayrshare a tu cuenta publicitaria, la respuesta es `,_jsx(_components.code,{children:`code: 420`}),` con HTTP 401 y el webhook `,_jsx(_components.code,{children:`ads`}),` envía `,_jsx(_components.code,{children:`accountRevoked`}),`. Vuelve a conectar la cuenta publicitaria de TikTok desde el dashboard.`]}),_jsx(`li`,{children:`Los anuncios de TikTok se activan por cuenta. Contáctanos para habilitarlos.`})]}),`\n`,_jsx(Heading,{level:`3`,id:`capabilities`,children:`Qué admite TikTok`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Opción`}),_jsx(_components.th,{children:`TikTok`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Objetivos`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`brand_awareness`}),`, `,_jsx(_components.code,{children:`video_views`}),`, `,_jsx(_components.code,{children:`traffic`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Presupuesto`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`daily`}),` o `,_jsx(_components.code,{children:`lifetime`}),`, en el grupo de anuncios`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Segmentación`}),_jsx(_components.td,{children:`Países, regiones y ciudades, rangos de edad, género, intereses`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`No admitido`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`targeting.keywords`}),`, `,_jsx(_components.code,{children:`targeting.audiences`}),`, `,_jsx(_components.code,{children:`targeting.excludedLocations`}),`, `,_jsx(_components.code,{children:`attachTo`}),`, botones de mensajería`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Actualizaciones de estado del anuncio`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ACTIVE`}),`, `,_jsx(_components.code,{children:`PAUSED`}),`, `,_jsx(_components.code,{children:`DELETED`})]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`ad-goals`,children:`Objetivos del anuncio`}),`\n`,_jsxs(`ul`,{className:`custom-bullets`,children:[_jsxs(`li`,{children:[_jsx(_components.code,{children:`brand_awareness`}),`: mostrar el video a la mayor cantidad de personas posible.`]}),_jsxs(`li`,{children:[_jsx(_components.code,{children:`video_views`}),`: conseguir más vistas del video.`]}),_jsxs(`li`,{children:[_jsx(_components.code,{children:`traffic`}),`: llevar personas a tu sitio web. Requiere `,_jsx(_components.code,{children:`callToAction`}),` con un enlace.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`header-parameters`,children:`Parámetros del encabezado`}),`\n`,_jsx(_MdxComponentBoundary,{name:`HeaderAPI`,children:_jsx(HeaderAPI,{})}),`\n`,_jsx(Heading,{level:`2`,id:`body-parameters`,children:`Parámetros del cuerpo`}),`\n`,_jsx(ParamField,{body:`accountId`,type:`string`,required:true,id:`param-account-id`,children:_jsxs(_components.p,{children:[`El ID de tu cuenta publicitaria de TikTok (anunciante), por ejemplo `,_jsx(_components.code,{children:`7100000000000000001`}),`. Debe ser una cuenta publicitaria que hayas conectado.`]})}),`\n`,_jsx(ParamField,{body:`postId`,type:`string`,id:`param-post-id`,children:_jsxs(_components.p,{children:[`El ID de la publicación de Ayrshare que quieres impulsar. Envía `,_jsx(_components.code,{children:`postId`}),` o `,_jsx(_components.code,{children:`socialPostId`}),`.`]})}),`\n`,_jsx(ParamField,{body:`socialPostId`,type:`string`,id:`param-social-post-id`,children:_jsx(_components.p,{children:`El ID del video de TikTok que quieres impulsar.`})}),`\n`,_jsx(ParamField,{body:`goal`,type:`string`,required:true,id:`param-goal`,children:_jsxs(_components.p,{children:[`Uno de los `,_jsx(_components.a,{href:`#ad-goals`,children:`objetivos del anuncio`}),`.`]})}),`\n`,_jsx(ParamField,{body:`budget`,type:`object`,required:true,id:`param-budget`,children:_jsxs(Expandable,{title:`atributos hijos`,children:[_jsx(ParamField,{body:`amount`,type:`number`,required:true,id:`param-amount`,children:_jsx(_components.p,{children:`Monto a gastar, al menos 20, con hasta dos decimales.`})}),_jsx(ParamField,{body:`type`,type:`string`,default:`daily`,id:`param-type`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`daily`}),` o `,_jsx(_components.code,{children:`lifetime`}),`. Un presupuesto total requiere `,_jsx(_components.code,{children:`schedule.end`}),`.`]})})]})}),`\n`,_jsx(ParamField,{body:`schedule`,type:`object`,id:`param-schedule`,children:_jsxs(Expandable,{title:`atributos hijos`,children:[_jsx(ParamField,{body:`start`,type:`string`,id:`param-start`,children:_jsx(_components.p,{children:`Fecha y hora ISO en que comienza el anuncio. De forma predeterminada, ahora.`})}),_jsx(ParamField,{body:`end`,type:`string`,id:`param-end`,children:_jsx(_components.p,{children:`Fecha y hora ISO en que se detiene el anuncio. Omítelo para que se publique hasta que lo pauses.`})})]})}),`\n`,_jsx(ParamField,{body:`targeting`,type:`object`,required:true,id:`param-targeting`,children:_jsxs(Expandable,{title:`atributos hijos`,children:[_jsxs(ParamField,{body:`locations`,type:`object`,required:true,id:`param-locations`,children:[_jsxs(_components.p,{children:[`Dónde mostrar el anuncio: códigos de país de dos letras en `,_jsx(_components.code,{children:`countries`}),`, o IDs de ubicación de `,_jsx(_components.code,{children:`GET /ads/tiktok/regions?search=\u003cterm>`}),` en `,_jsx(_components.code,{children:`regions`}),` o `,_jsx(_components.code,{children:`cities`}),`.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"countries\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"US\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"regions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5332921\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }] }`})]}),`\n`]})})})]}),_jsx(ParamField,{body:`ageMin`,type:`number`,id:`param-age-min`,children:_jsx(_components.p,{children:`El inicio de uno de los rangos de edad de TikTok: 18, 25, 35, 45 o 55.`})}),_jsx(ParamField,{body:`ageMax`,type:`number`,id:`param-age-max`,children:_jsx(_components.p,{children:`El final de uno de los rangos de edad de TikTok: 24, 34, 44, 54, o 65 para 55 años o más.`})}),_jsx(ParamField,{body:`genders`,type:`string`,id:`param-genders`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`all`}),`, `,_jsx(_components.code,{children:`male`}),` o `,_jsx(_components.code,{children:`female`}),`.`]})}),_jsx(ParamField,{body:`interests`,type:`array`,id:`param-interests`,children:_jsxs(_components.p,{children:[`IDs de categorías de intereses de `,_jsx(_components.code,{children:`GET /ads/tiktok/interests?search=\u003cterm>`}),`.`]})})]})}),`\n`,_jsxs(ParamField,{body:`callToAction`,type:`object`,id:`param-call-to-action`,children:[_jsxs(_components.p,{children:[`Obligatorio para el objetivo `,_jsx(_components.code,{children:`traffic`}),`.`]}),_jsxs(Expandable,{title:`atributos hijos`,children:[_jsx(ParamField,{body:`type`,type:`string`,required:true,id:`param-type-1`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`LEARN_MORE`}),`, `,_jsx(_components.code,{children:`SHOP_NOW`}),`, `,_jsx(_components.code,{children:`SIGN_UP`}),`, `,_jsx(_components.code,{children:`CONTACT_US`}),`, `,_jsx(_components.code,{children:`APPLY_NOW`}),`, `,_jsx(_components.code,{children:`BOOK_NOW`}),`, `,_jsx(_components.code,{children:`DOWNLOAD_NOW`}),`, `,_jsx(_components.code,{children:`GET_QUOTE`}),`, `,_jsx(_components.code,{children:`ORDER_NOW`}),`, `,_jsx(_components.code,{children:`SUBSCRIBE`}),`, `,_jsx(_components.code,{children:`WATCH_NOW`}),` o `,_jsx(_components.code,{children:`READ_MORE`}),`.`]})}),_jsx(ParamField,{body:`link`,type:`string`,id:`param-link`,children:_jsxs(_components.p,{children:[`La página que se abre. Obligatorio para el objetivo `,_jsx(_components.code,{children:`traffic`}),`.`]})})]})]}),`\n`,_jsx(ParamField,{body:`status`,type:`string`,default:`active`,id:`param-status`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`active`}),` o `,_jsx(_components.code,{children:`paused`}),`.`]})}),`\n`,_jsx(ParamField,{body:`idempotencyKey`,type:`string`,id:`param-idempotency-key`,children:_jsx(_components.p,{children:`Una clave única y no vacía para esta solicitud de impulso. Reintenta el mismo cuerpo con la misma clave para no crear un anuncio duplicado: se repite la primera respuesta, incluido un error. Reutilizar la clave con un cuerpo distinto devuelve HTTP 409. La clave solo se aplica a esta plataforma: la misma clave en otra plataforma inicia un impulso independiente. Una solicitud aún en curso también devuelve 409; una reserva no disponible devuelve 503 sin crear un anuncio.`})}),`\n`,_jsx(ParamField,{body:`platformOptions.tiktok`,type:`object`,id:`param-platform-options-tiktok`,children:_jsxs(Expandable,{title:`atributos hijos`,children:[_jsx(ParamField,{body:`sparkAuthCode`,type:`string`,id:`param-spark-auth-code`,children:_jsx(_components.p,{children:`El código de Spark Ads que el creador del video generó en la app de TikTok para este video. Obligatorio para un video que no es de tu cuenta de TikTok vinculada.`})}),_jsx(ParamField,{body:`adsOnly`,type:`boolean`,default:`false`,id:`param-ads-only`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` muestra el video solo como anuncio, no en el perfil del creador.`]})})]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{PlansAvailable,HeaderAPI,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Impulsar publicación","description":"Impulsa un video como Spark Ad: Ayrshare crea campaña, grupo de anuncios y anuncio en tu cuenta publicitaria de TikTok con objetivo, presupuesto y segmentación.","api":"POST /ads/tiktok/boost","href":"/es/apis/ads/tiktok/boost"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const PlansAvailable=()=>null;const HeaderAPI=()=>null;function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,Table,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Table)_missingMdxReference(`Table`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_MdxComponentBoundary,{name:`PlansAvailable`,children:_jsx(PlansAvailable,{plans:[`premium`],maxPackRequired:false})}),`\n`,_jsx(_components.p,{children:`Promociona un video de TikTok como Spark Ad. El anuncio muestra el video tal como está, bajo la cuenta de su creador, y el video conserva sus me gusta, comentarios y seguidores. Ayrshare crea una campaña, un grupo de anuncios y un anuncio en tu cuenta publicitaria de TikTok.`}),`\n`,_jsxs(`ul`,{className:`custom-bullets`,children:[_jsx(`li`,{children:`Vincula TikTok y luego conecta una cuenta publicitaria de TikTok desde el dashboard. El anuncio se publica desde esa cuenta publicitaria.`}),_jsx(`li`,{children:`Para un video de tu cuenta de TikTok vinculada, no necesitas un código. Si esa cuenta de TikTok está vinculada a tu cuenta publicitaria en TikTok, el anuncio se publica como esa cuenta. De lo contrario, Ayrshare crea el código de Spark Ads por ti.`}),_jsxs(`li`,{children:[`Para el video de otro creador, el creador genera un código de Spark Ads en la app de TikTok y te lo entrega. Envíalo en `,_jsx(_components.code,{children:`platformOptions.tiktok.sparkAuthCode`}),`. El código debe ser del video que impulsas; de lo contrario, la respuesta es `,_jsx(_components.code,{children:`code: 101`}),`.`]}),_jsxs(`li`,{children:[`El presupuesto se define en el grupo de anuncios, en la moneda de tu cuenta publicitaria. No envíes `,_jsx(_components.code,{children:`budget.currency`}),` ni `,_jsx(_components.code,{children:`budget.level: \"campaign\"`}),`.`]}),_jsx(`li`,{children:`El presupuesto mínimo es de 20 al día en la moneda de tu cuenta publicitaria. Un presupuesto total es de al menos 20 por cada día programado.`}),_jsxs(`li`,{children:[`El video permanece en el perfil del creador mientras se publica el anuncio. Envía `,_jsx(_components.code,{children:`platformOptions.tiktok.adsOnly: true`}),` para mostrarlo solo como anuncio.`]}),_jsxs(`li`,{children:[`Si envías solicitudes más rápido de lo que TikTok permite, la respuesta es `,_jsx(_components.code,{children:`code: 364`}),` con HTTP 429 y el mensaje de TikTok en `,_jsx(_components.code,{children:`details`}),`. Espera un minuto y vuelve a intentarlo con un nuevo `,_jsx(_components.code,{children:`idempotencyKey`}),`.`]}),_jsxs(`li`,{children:[`Los anuncios están incluidos en los planes Premium Plan, Business Plan y Enterprise Plan, como se indica en la `,_jsx(_components.a,{href:`/es/apis/ads/overview`,children:`descripción general de Ads`}),`. En otro plan, la respuesta es `,_jsx(_components.code,{children:`code: 169`}),`.`]}),_jsxs(`li`,{children:[`Si TikTok retira el acceso de Ayrshare a tu cuenta publicitaria, la respuesta es `,_jsx(_components.code,{children:`code: 420`}),` con HTTP 401 y el webhook `,_jsx(_components.code,{children:`ads`}),` envía `,_jsx(_components.code,{children:`accountRevoked`}),`. Vuelve a conectar la cuenta publicitaria de TikTok desde el dashboard.`]}),_jsx(`li`,{children:`Los anuncios de TikTok se activan por cuenta. Contáctanos para habilitarlos.`})]}),`\n`,_jsx(Heading,{level:`3`,id:`capabilities`,children:`Qué admite TikTok`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Opción`}),_jsx(_components.th,{children:`TikTok`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Objetivos`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`brand_awareness`}),`, `,_jsx(_components.code,{children:`video_views`}),`, `,_jsx(_components.code,{children:`traffic`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Presupuesto`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`daily`}),` o `,_jsx(_components.code,{children:`lifetime`}),`, en el grupo de anuncios`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Segmentación`}),_jsx(_components.td,{children:`Países, regiones y ciudades, rangos de edad, género, intereses`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`No admitido`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`targeting.keywords`}),`, `,_jsx(_components.code,{children:`targeting.audiences`}),`, `,_jsx(_components.code,{children:`targeting.excludedLocations`}),`, `,_jsx(_components.code,{children:`attachTo`}),`, botones de mensajería`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Actualizaciones de estado del anuncio`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`ACTIVE`}),`, `,_jsx(_components.code,{children:`PAUSED`}),`, `,_jsx(_components.code,{children:`DELETED`})]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`ad-goals`,children:`Objetivos del anuncio`}),`\n`,_jsxs(`ul`,{className:`custom-bullets`,children:[_jsxs(`li`,{children:[_jsx(_components.code,{children:`brand_awareness`}),`: mostrar el video a la mayor cantidad de personas posible.`]}),_jsxs(`li`,{children:[_jsx(_components.code,{children:`video_views`}),`: conseguir más vistas del video.`]}),_jsxs(`li`,{children:[_jsx(_components.code,{children:`traffic`}),`: llevar personas a tu sitio web. Requiere `,_jsx(_components.code,{children:`callToAction`}),` con un enlace.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`header-parameters`,children:`Parámetros del encabezado`}),`\n`,_jsx(_MdxComponentBoundary,{name:`HeaderAPI`,children:_jsx(HeaderAPI,{})}),`\n`,_jsx(Heading,{level:`2`,id:`body-parameters`,children:`Parámetros del cuerpo`}),`\n`,_jsx(ParamField,{body:`accountId`,type:`string`,required:true,id:`param-account-id`,children:_jsxs(_components.p,{children:[`El ID de tu cuenta publicitaria de TikTok (anunciante), por ejemplo `,_jsx(_components.code,{children:`7100000000000000001`}),`. Debe ser una cuenta publicitaria que hayas conectado.`]})}),`\n`,_jsx(ParamField,{body:`postId`,type:`string`,id:`param-post-id`,children:_jsxs(_components.p,{children:[`El ID de la publicación de Ayrshare que quieres impulsar. Envía `,_jsx(_components.code,{children:`postId`}),` o `,_jsx(_components.code,{children:`socialPostId`}),`.`]})}),`\n`,_jsx(ParamField,{body:`socialPostId`,type:`string`,id:`param-social-post-id`,children:_jsx(_components.p,{children:`El ID del video de TikTok que quieres impulsar.`})}),`\n`,_jsx(ParamField,{body:`goal`,type:`string`,required:true,id:`param-goal`,children:_jsxs(_components.p,{children:[`Uno de los `,_jsx(_components.a,{href:`#ad-goals`,children:`objetivos del anuncio`}),`.`]})}),`\n`,_jsx(ParamField,{body:`budget`,type:`object`,required:true,id:`param-budget`,children:_jsxs(Expandable,{title:`atributos hijos`,children:[_jsx(ParamField,{body:`amount`,type:`number`,required:true,id:`param-amount`,children:_jsx(_components.p,{children:`Monto a gastar, al menos 20, con hasta dos decimales.`})}),_jsx(ParamField,{body:`type`,type:`string`,default:`daily`,id:`param-type`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`daily`}),` o `,_jsx(_components.code,{children:`lifetime`}),`. Un presupuesto total requiere `,_jsx(_components.code,{children:`schedule.end`}),`.`]})})]})}),`\n`,_jsx(ParamField,{body:`schedule`,type:`object`,id:`param-schedule`,children:_jsxs(Expandable,{title:`atributos hijos`,children:[_jsx(ParamField,{body:`start`,type:`string`,id:`param-start`,children:_jsx(_components.p,{children:`Fecha y hora ISO en que comienza el anuncio. De forma predeterminada, ahora.`})}),_jsx(ParamField,{body:`end`,type:`string`,id:`param-end`,children:_jsx(_components.p,{children:`Fecha y hora ISO en que se detiene el anuncio. Omítelo para que se publique hasta que lo pauses.`})})]})}),`\n`,_jsx(ParamField,{body:`targeting`,type:`object`,required:true,id:`param-targeting`,children:_jsxs(Expandable,{title:`atributos hijos`,children:[_jsxs(ParamField,{body:`locations`,type:`object`,required:true,id:`param-locations`,children:[_jsxs(_components.p,{children:[`Dónde mostrar el anuncio: códigos de país de dos letras en `,_jsx(_components.code,{children:`countries`}),`, o IDs de ubicación de `,_jsx(_components.code,{children:`GET /ads/tiktok/regions?search=\u003cterm>`}),` en `,_jsx(_components.code,{children:`regions`}),` o `,_jsx(_components.code,{children:`cities`}),`.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"countries\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"US\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`], `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"regions\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5332921\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }] }`})]}),`\n`]})})})]}),_jsx(ParamField,{body:`ageMin`,type:`number`,id:`param-age-min`,children:_jsx(_components.p,{children:`El inicio de uno de los rangos de edad de TikTok: 18, 25, 35, 45 o 55.`})}),_jsx(ParamField,{body:`ageMax`,type:`number`,id:`param-age-max`,children:_jsx(_components.p,{children:`El final de uno de los rangos de edad de TikTok: 24, 34, 44, 54, o 65 para 55 años o más.`})}),_jsx(ParamField,{body:`genders`,type:`string`,id:`param-genders`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`all`}),`, `,_jsx(_components.code,{children:`male`}),` o `,_jsx(_components.code,{children:`female`}),`.`]})}),_jsx(ParamField,{body:`interests`,type:`array`,id:`param-interests`,children:_jsxs(_components.p,{children:[`IDs de categorías de intereses de `,_jsx(_components.code,{children:`GET /ads/tiktok/interests?search=\u003cterm>`}),`.`]})})]})}),`\n`,_jsxs(ParamField,{body:`callToAction`,type:`object`,id:`param-call-to-action`,children:[_jsxs(_components.p,{children:[`Obligatorio para el objetivo `,_jsx(_components.code,{children:`traffic`}),`.`]}),_jsxs(Expandable,{title:`atributos hijos`,children:[_jsx(ParamField,{body:`type`,type:`string`,required:true,id:`param-type-1`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`LEARN_MORE`}),`, `,_jsx(_components.code,{children:`SHOP_NOW`}),`, `,_jsx(_components.code,{children:`SIGN_UP`}),`, `,_jsx(_components.code,{children:`CONTACT_US`}),`, `,_jsx(_components.code,{children:`APPLY_NOW`}),`, `,_jsx(_components.code,{children:`BOOK_NOW`}),`, `,_jsx(_components.code,{children:`DOWNLOAD_NOW`}),`, `,_jsx(_components.code,{children:`GET_QUOTE`}),`, `,_jsx(_components.code,{children:`ORDER_NOW`}),`, `,_jsx(_components.code,{children:`SUBSCRIBE`}),`, `,_jsx(_components.code,{children:`WATCH_NOW`}),` o `,_jsx(_components.code,{children:`READ_MORE`}),`.`]})}),_jsx(ParamField,{body:`link`,type:`string`,id:`param-link`,children:_jsxs(_components.p,{children:[`La página que se abre. Obligatorio para el objetivo `,_jsx(_components.code,{children:`traffic`}),`.`]})})]})]}),`\n`,_jsx(ParamField,{body:`status`,type:`string`,default:`active`,id:`param-status`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`active`}),` o `,_jsx(_components.code,{children:`paused`}),`.`]})}),`\n`,_jsx(ParamField,{body:`idempotencyKey`,type:`string`,id:`param-idempotency-key`,children:_jsx(_components.p,{children:`Una clave única y no vacía para esta solicitud de impulso. Reintenta el mismo cuerpo con la misma clave para no crear un anuncio duplicado: se repite la primera respuesta, incluido un error. Reutilizar la clave con un cuerpo distinto devuelve HTTP 409. La clave solo se aplica a esta plataforma: la misma clave en otra plataforma inicia un impulso independiente. Una solicitud aún en curso también devuelve 409; una reserva no disponible devuelve 503 sin crear un anuncio.`})}),`\n`,_jsx(ParamField,{body:`platformOptions.tiktok`,type:`object`,id:`param-platform-options-tiktok`,children:_jsxs(Expandable,{title:`atributos hijos`,children:[_jsx(ParamField,{body:`sparkAuthCode`,type:`string`,id:`param-spark-auth-code`,children:_jsx(_components.p,{children:`El código de Spark Ads que el creador del video generó en la app de TikTok para este video. Obligatorio para un video que no es de tu cuenta de TikTok vinculada.`})}),_jsx(ParamField,{body:`adsOnly`,type:`boolean`,default:`false`,id:`param-ads-only`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` muestra el video solo como anuncio, no en el perfil del creador.`]})})]})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.ayrshare.com/api/ads/tiktok/boost`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"accountId\": \"7100000000000000001\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"socialPostId\": \"7400000000000000001\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"goal\": \"brand_awareness\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"budget\": { \"amount\": 20, \"type\": \"daily\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"targeting\": { \"locations\": { \"countries\": [\"US\"] } },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"platformOptions\": { \"tiktok\": { \"sparkAuthCode\": \"#AbCdEf123\" } }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200: Video Boosted`,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1800000000000000003\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platform\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tiktok\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"adStatus\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ACTIVE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"budget\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"daily\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"level\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"adSet\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"schedule\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"start\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1792584000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platformIds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"campaignId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1800000000000000001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"adGroupId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1800000000000000002\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"adId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"1800000000000000003\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400: Code for another video`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"request\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`101`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"platformOptions.tiktok.sparkAuthCode is for TikTok video 7400000000000000002, not the boosted post 7400000000000000001.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400: Budget too small`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"request\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`101`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"budget.amount on tiktok is at least 20 in the ad account's currency.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`401: Ad account access removed`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ads\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`420`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Ads permissions missing for this social account. Please unlink the account and relink it in the social account linking page, granting all ads permissions.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Relink tiktok and grant the ads permissions to use ads on tiktok.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`429: Rate limited`,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"rate limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`364`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"You are making too many requests. Please reduce the number of requests.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Too many requests. Please retry in some time.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{PlansAvailable,HeaderAPI,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Impulsar publicación","description":"Impulsa un video como Spark Ad: Ayrshare crea campaña, grupo de anuncios y anuncio en tu cuenta publicitaria de TikTok con objetivo, presupuesto y segmentación.","api":"POST /ads/tiktok/boost","href":"/es/apis/ads/tiktok/boost"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Qué admite TikTok","slug":"capabilities","depth":3,"children":[]},{"title":"Objetivos del anuncio","slug":"ad-goals","depth":3,"children":[]},{"title":"Parámetros del encabezado","slug":"header-parameters","depth":2,"children":[]},{"title":"Parámetros del cuerpo","slug":"body-parameters","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"11\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://api.ayrshare.com/api/ads/tiktok/boost\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer API_KEY\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"accountId\": \"7100000000000000001\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"socialPostId\": \"7400000000000000001\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"goal\": \"brand_awareness\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"budget\": { \"amount\": 20, \"type\": \"daily\" },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"targeting\": { \"locations\": { \"countries\": [\"US\"] } },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"platformOptions\": { \"tiktok\": { \"sparkAuthCode\": \"#AbCdEf123\" } }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200: Video Boosted","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"13\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1800000000000000003\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"platform\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"tiktok\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"adStatus\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ACTIVE\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"budget\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">20\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"daily\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"level\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"adSet\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"schedule\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"start\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">1792584000000\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"platformIds\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"campaignId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1800000000000000001\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"adGroupId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1800000000000000002\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"adId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"1800000000000000003\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400: Code for another video","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"request\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">101\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"details\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"platformOptions.tiktok.sparkAuthCode is for TikTok video 7400000000000000002, not the boosted post 7400000000000000001.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400: Budget too small","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"request\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">101\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Missing or incorrect parameters. Please verify with the docs. https://www.ayrshare.com/docs/apis\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"details\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"budget.amount on tiktok is at least 20 in the ad account's currency.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"401: Ad account access removed","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ads\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">420\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Ads permissions missing for this social account. Please unlink the account and relink it in the social account linking page, granting all ads permissions.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"details\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Relink tiktok and grant the ads permissions to use ads on tiktok.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"429: Rate limited","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"7\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"action\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"rate limit\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">364\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"You are making too many requests. Please reduce the number of requests.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"details\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Too many requests. Please retry in some time.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Impulsar publicación","path":"/ads/tiktok/boost","servers":[{"url":"https://api.ayrshare.com/api"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"accountId":[{"type":"string","description":"El ID de tu cuenta publicitaria de TikTok (anunciante), por ejemplo `7100000000000000001` . Debe ser una cuenta publicitaria que hayas conectado.","required":true}],"postId":[{"type":"string","description":"El ID de la publicación de Ayrshare que quieres impulsar. Envía `postId` o `socialPostId` ."}],"socialPostId":[{"type":"string","description":"El ID del video de TikTok que quieres impulsar."}],"goal":[{"type":"string","description":"Uno de los objetivos del anuncio .","required":true}],"budget":[{"type":"object","properties":{"amount":[{"type":"number","description":"Monto a gastar, al menos 20, con hasta dos decimales.","required":true}],"type":[{"type":"string","description":"`daily` o `lifetime` . Un presupuesto total requiere `schedule.end` ."}]},"required":true}],"schedule":[{"type":"object","properties":{"start":[{"type":"string","description":"Fecha y hora ISO en que comienza el anuncio. De forma predeterminada, ahora."}],"end":[{"type":"string","description":"Fecha y hora ISO en que se detiene el anuncio. Omítelo para que se publique hasta que lo pauses."}]}}],"targeting":[{"type":"object","properties":{"locations":[{"type":"object","properties":{},"description":"Dónde mostrar el anuncio: códigos de país de dos letras en `countries` , o IDs de ubicación de `GET /ads/tiktok/regions?search=\u003cterm>` en `regions` o `cities` .","required":true}],"ageMin":[{"type":"number","description":"El inicio de uno de los rangos de edad de TikTok: 18, 25, 35, 45 o 55."}],"ageMax":[{"type":"number","description":"El final de uno de los rangos de edad de TikTok: 24, 34, 44, 54, o 65 para 55 años o más."}],"genders":[{"type":"string","description":"`all` , `male` o `female` ."}],"interests":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"IDs de categorías de intereses de `GET /ads/tiktok/interests?search=\u003cterm>` ."}]},"required":true}],"callToAction":[{"type":"object","properties":{"type":[{"type":"string","description":"`LEARN_MORE` , `SHOP_NOW` , `SIGN_UP` , `CONTACT_US` , `APPLY_NOW` , `BOOK_NOW` , `DOWNLOAD_NOW` , `GET_QUOTE` , `ORDER_NOW` , `SUBSCRIBE` , `WATCH_NOW` o `READ_MORE` .","required":true}],"link":[{"type":"string","description":"La página que se abre. Obligatorio para el objetivo `traffic` ."}]},"description":"Obligatorio para el objetivo `traffic` ."}],"status":[{"type":"string","description":"`active` o `paused` ."}],"idempotencyKey":[{"type":"string","description":"Una clave única y no vacía para esta solicitud de impulso. Reintenta el mismo cuerpo con la misma clave para no crear un anuncio duplicado: se repite la primera respuesta, incluido un error. Reutilizar la clave con un cuerpo distinto devuelve HTTP 409. La clave solo se aplica a esta plataforma: la misma clave en otra plataforma inicia un impulso independiente. Una solicitud aún en curso también devuelve 409; una reserva no disponible devuelve 503 sin crear un anuncio."}],"platformOptions.tiktok":[{"type":"object","properties":{"sparkAuthCode":[{"type":"string","description":"El código de Spark Ads que el creador del video generó en la app de TikTok para este video. Obligatorio para un video que no es de tu cuenta de TikTok vinculada."}],"adsOnly":[{"type":"boolean","description":"`true` muestra el video solo como anuncio, no en el perfil del creador."}]}}]}}],"examples":{"example":{"value":{"accountId":"\u003cstring>","postId":"\u003cstring>","socialPostId":"\u003cstring>","goal":"\u003cstring>","budget":{"amount":123,"type":"\u003cstring>"},"schedule":{"start":"\u003cstring>","end":"\u003cstring>"},"targeting":{"locations":{},"ageMin":123,"ageMax":123,"genders":"\u003cstring>","interests":[{}]},"callToAction":{"type":"\u003cstring>","link":"\u003cstring>"},"status":"\u003cstring>","idempotencyKey":"\u003cstring>","platformOptions.tiktok":{"sparkAuthCode":"\u003cstring>","adsOnly":true}}}}}}},"response":{},"deprecated":false}},"jsLinks":["/docs/_mintlify/custom/ayrshare-docs/80ea29d8530ebaa2/script.js","/docs/_mintlify/custom/ayrshare-docs/3e93073b19ca64e9/tools/maintainScroll.js"],"dynamicCss":".mint-mt-2 {\n margin-top: 0.5rem\n}\n.mint-flex {\n display: flex\n}\n.mint-cursor-pointer {\n cursor: pointer\n}\n.mint-items-center {\n align-items: center\n}\n.mint-rounded {\n border-radius: 0.25rem\n}\n.mint-px-1\\.5 {\n padding-left: 0.375rem;\n padding-right: 0.375rem\n}\n.mint-py-0\\.5 {\n padding-top: 0.125rem;\n padding-bottom: 0.125rem\n}\n.mint-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem\n}","subdomain":"ayrshare-docs","siteName":"Ayrshare Docs","title":"Impulsar publicación - Ayrshare Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/apis/ads/tiktok/boost","matchLevel":1},"es":{"href":"/es/apis/ads/tiktok/boost","matchLevel":0},"cn":{"href":"/cn/apis/ads/tiktok/boost","matchLevel":1,"hidden":true},"zh":{"href":"/zh/apis/ads/tiktok/boost","matchLevel":1,"hidden":true},"pt-BR":{"href":"/pt-BR/apis/ads/tiktok/boost","matchLevel":1},"fr":{"href":"/fr/apis/ads/tiktok/boost","matchLevel":1},"de":{"href":"/de/apis/ads/tiktok/boost","matchLevel":1},"vi":{"href":"/vi/apis/ads/tiktok/boost","matchLevel":1},"ja":{"href":"/ja/apis/ads/tiktok/boost","matchLevel":1},"uk":{"href":"/uk/apis/ads/tiktok/boost","matchLevel":1},"hi":{"href":"/hi/apis/ads/tiktok/boost","matchLevel":1},"ar":{"href":"/ar/apis/ads/tiktok/boost","matchLevel":1},"zh-Hans":{"href":"/zh-Hans/apis/ads/tiktok/boost","matchLevel":1},"zh-Hant":{"href":"/zh-Hant/apis/ads/tiktok/boost","matchLevel":1}}},"lastModified":"2026-11-23T16:11:38.922Z","originalFileLocation":"es/apis/ads/tiktok/boost.mdx","locale":"es"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Impulsa un video como Spark Ad: Ayrshare crea campaña, grupo de anuncios y anuncio en tu cuenta publicitaria de TikTok con objetivo, presupuesto y segmentación.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ayrshare Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Impulsar publicación - Ayrshare Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Impulsa un video como Spark Ad: Ayrshare crea campaña, grupo de anuncios y anuncio en tu cuenta publicitaria de TikTok con objetivo, presupuesto y segmentación.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ayrshare Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.ayrshare.com/docs/es/apis/ads/tiktok/boost\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ayrshare-docs.mintlify.site/docs/_mintlify/api/og/v2?division=TikTok+Ads\u0026amp;title=Impulsar+publicaci%C3%B3n\u0026amp;description=Impulsa+un+video+como+Spark+Ad%3A+Ayrshare+crea+campa%C3%B1a%2C+grupo+de+anuncios+y+anuncio+en+tu+cuenta+publicitaria+de+TikTok+con+objetivo%2C+presupuesto+y+segmentaci%C3%B3n.\u0026amp;theme=722a7095c53b95fd5a0669f2\u0026amp;signature=647102a2c59a6cab593e77affd826d161cb4d15aa81d547d1ce48fa85bd35d1d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Impulsar publicación - Ayrshare Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Impulsa un video como Spark Ad: Ayrshare crea campaña, grupo de anuncios y anuncio en tu cuenta publicitaria de TikTok con objetivo, presupuesto y segmentación.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ayrshare-docs.mintlify.site/docs/_mintlify/api/og/v2?division=TikTok+Ads\u0026amp;title=Impulsar+publicaci%C3%B3n\u0026amp;description=Impulsa+un+video+como+Spark+Ad%3A+Ayrshare+crea+campa%C3%B1a%2C+grupo+de+anuncios+y+anuncio+en+tu+cuenta+publicitaria+de+TikTok+con+objetivo%2C+presupuesto+y+segmentaci%C3%B3n.\u0026amp;theme=722a7095c53b95fd5a0669f2\u0026amp;signature=647102a2c59a6cab593e77affd826d161cb4d15aa81d547d1ce48fa85bd35d1d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/ayrshare-docs/tc_XJFteIEk_1d3D/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ayrshare Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2266C2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.ayrshare.com/docs/es/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/es/apis/ads/tiktok/boost.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://www.ayrshare.com/docs/es/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://www.ayrshare.com/docs/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://www.ayrshare.com/docs/pt-BR/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://www.ayrshare.com/docs/fr/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://www.ayrshare.com/docs/de/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"vi\" href=\"https://www.ayrshare.com/docs/vi/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://www.ayrshare.com/docs/ja/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"uk\" href=\"https://www.ayrshare.com/docs/uk/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://www.ayrshare.com/docs/hi/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://www.ayrshare.com/docs/ar/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://www.ayrshare.com/docs/zh-Hans/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hant\" href=\"https://www.ayrshare.com/docs/zh-Hant/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.ayrshare.com/docs/apis/ads/tiktok/boost\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.ayrshare.com/#organization\",\"name\":\"Ayrshare Docs\",\"url\":\"https://www.ayrshare.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ayrshare-docs/7bWzjvNjeuvs-M3N/images/logos/ayrshare-docs-logo-light.svg?fit=max\u0026auto=format\u0026n=7bWzjvNjeuvs-M3N\u0026q=85\u0026s=8d23367f493d06599eecbbfa2b6325cf\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.ayrshare.com/docs#website\",\"name\":\"Ayrshare Docs\",\"url\":\"https://www.ayrshare.com/docs\",\"publisher\":{\"@id\":\"https://www.ayrshare.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.ayrshare.com/docs/es/apis/ads/tiktok/boost#webpage\",\"url\":\"https://www.ayrshare.com/docs/es/apis/ads/tiktok/boost\",\"name\":\"Impulsar publicación\",\"description\":\"Impulsa un video como Spark Ad: Ayrshare crea campaña, grupo de anuncios y anuncio en tu cuenta publicitaria de TikTok con objetivo, presupuesto y segmentación.\",\"dateModified\":\"2026-11-23T16:11:38.922Z\",\"isPartOf\":{\"@id\":\"https://www.ayrshare.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.ayrshare.com/docs/es/apis/ads/tiktok/boost#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.ayrshare.com/docs/es/apis/ads/tiktok/boost#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Endpoints\",\"item\":\"https://www.ayrshare.com/docs/es/apis/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ads\",\"item\":\"https://www.ayrshare.com/docs/es/apis/ads/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Impulsar publicación\",\"item\":\"https://www.ayrshare.com/docs/es/apis/ads/tiktok/boost\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.ayrshare.com/docs/es/apis/ads/tiktok/boost#apireference\",\"headline\":\"Impulsar publicación\",\"name\":\"Impulsar publicación\",\"description\":\"Impulsa un video como Spark Ad: Ayrshare crea campaña, grupo de anuncios y anuncio en tu cuenta publicitaria de TikTok con objetivo, presupuesto y segmentación.\",\"url\":\"https://www.ayrshare.com/docs/es/apis/ads/tiktok/boost\",\"mainEntityOfPage\":{\"@id\":\"https://www.ayrshare.com/docs/es/apis/ads/tiktok/boost#webpage\"},\"dateModified\":\"2026-11-23T16:11:38.922Z\",\"publisher\":{\"@id\":\"https://www.ayrshare.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.ayrshare.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ayrshare Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Ayrshare Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/es/apis/ads/tiktok/boost.md","siteName":"Ayrshare Docs","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/apis/ads/tiktok/boost"}]},{"language":"es","anchors":[{"anchor":"Documentation","icon":"code","groups":[{"group":"Get Started","pages":[{"title":"API de Redes Sociales Ayrshare","href":"/es/introduction"},{"title":"Guía de inicio rápido","href":"/es/quickstart"},{"group":"MCP Server","pages":[{"title":"MCP Server de Ayrshare: opera la API con agentes de IA","sidebarTitle":"Visión general","icon":"robot","href":"/es/additional/mcp-action-server"},{"title":"Conectarse al MCP Server","sidebarTitle":"Conexión y configuración","icon":"plug","href":"/es/additional/mcp-action-connect"},{"title":"Catálogo de herramientas MCP","sidebarTitle":"Catálogo de herramientas","icon":"list","href":"/es/additional/mcp-action-tools"},{"title":"Plugin de Claude Code","icon":"terminal","href":"/es/additional/mcp-claude-code-plugin"},{"title":"n8n","icon":"diagram-project","href":"/es/additional/mcp-n8n"},{"title":"Incorporar cuentas sociales de clientes","sidebarTitle":"Onboarding de clientes","icon":"user-plus","href":"/es/additional/mcp-client-onboarding"},{"title":"Documentation MCP","sidebarTitle":"Documentation MCP","icon":"magnifying-glass","href":"/es/additional/mcp-server"}]}]},{"group":"API Endpoints","pages":[{"title":"Descripción general de la API de Ayrshare","href":"/es/apis/overview"},{"group":"GraphQL","pages":[{"title":"Descripción general de la API GraphQL","href":"/es/apis/graphql/overview"},{"title":"Usar la API GraphQL","href":"/es/apis/graphql/using-the-api"},{"title":"Errores de GraphQL","href":"/es/apis/graphql/errors"},{"title":"Límites y facturación de GraphQL","href":"/es/apis/graphql/limits"},{"title":"Anuncios","href":"/es/apis/graphql/ads"}]},{"group":"Ads","pages":[{"title":"API de Ads: promociona en Meta y gestiona Google Ads","sidebarTitle":"Descripción general de la API de Ads","href":"/es/apis/ads/overview"},{"title":"Campañas publicitarias","href":"/es/apis/ads/campaigns"},{"group":"Facebook Ads","pages":[{"title":"Cuentas","api":"GET /ads/facebook/accounts","href":"/es/apis/ads/facebook/get-ad-accounts"},{"title":"Campañas","api":"GET /ads/facebook/campaigns","href":"/es/apis/ads/facebook/get-ad-campaigns"},{"title":"Impulsar publicación","api":"POST /ads/facebook/boost","href":"/es/apis/ads/facebook/boost-post"},{"title":"Anuncios impulsados","api":"GET /ads/facebook/ads","href":"/es/apis/ads/facebook/get-boosted-ads"},{"title":"Historial","api":"GET /ads/facebook/history","href":"/es/apis/ads/facebook/get-ad-history"},{"title":"Insights","api":"GET /ads/facebook/insights","href":"/es/apis/ads/facebook/get-ad-insights"},{"title":"Intereses","api":"GET /ads/facebook/interests","href":"/es/apis/ads/facebook/get-ad-interests"},{"title":"Regiones","api":"GET /ads/facebook/regions","href":"/es/apis/ads/facebook/get-ad-regions"},{"title":"Ciudades","api":"GET /ads/facebook/cities","href":"/es/apis/ads/facebook/get-ad-cities"},{"title":"Recomendaciones DSA","api":"GET /ads/facebook/dsaRecommendations","href":"/es/apis/ads/facebook/get-dsa-recommendations"},{"title":"Actualizar anuncio","api":"PUT /ads/facebook/ads","href":"/es/apis/ads/facebook/put-ad-update"}]},{"group":"Instagram Ads","pages":[{"title":"Cuentas","api":"GET /ads/instagram/accounts","href":"/es/apis/ads/instagram/get-ad-accounts"},{"title":"Campañas","api":"GET /ads/instagram/campaigns","href":"/es/apis/ads/instagram/get-ad-campaigns"},{"title":"Regiones","api":"GET /ads/instagram/regions","href":"/es/apis/ads/instagram/get-ad-regions"},{"title":"Ciudades","api":"GET /ads/instagram/cities","href":"/es/apis/ads/instagram/get-ad-cities"},{"title":"Recomendaciones DSA","api":"GET /ads/instagram/dsaRecommendations","href":"/es/apis/ads/instagram/get-dsa-recommendations"},{"title":"Impulsar publicación","api":"POST /ads/instagram/boost","href":"/es/apis/ads/instagram/boost-post"},{"title":"Anuncios impulsados","api":"GET /ads/instagram/ads","href":"/es/apis/ads/instagram/get-boosted-ads"},{"title":"Historial","api":"GET /ads/instagram/history","href":"/es/apis/ads/instagram/get-ad-history"},{"title":"Insights","api":"GET /ads/instagram/insights","href":"/es/apis/ads/instagram/get-ad-insights"},{"title":"Intereses","api":"GET /ads/instagram/interests","href":"/es/apis/ads/instagram/get-ad-interests"},{"title":"Actualizar anuncio","api":"PUT /ads/instagram/ads","href":"/es/apis/ads/instagram/put-ad-update"}]},{"group":"Google Ads","pages":[{"title":"Cuentas","api":"GET /ads/google/accounts","href":"/es/apis/ads/google/get-ad-accounts"},{"title":"Campañas de búsqueda de Google","sidebarTitle":"Campañas de búsqueda","api":"POST /ads/google/campaigns","href":"/es/apis/ads/google/search-campaigns"},{"title":"Campañas Performance Max de Google","sidebarTitle":"Campañas Performance Max","api":"POST /ads/google/campaigns","href":"/es/apis/ads/google/performance-max-campaigns"},{"title":"Obtener campaña","api":"GET /ads/google/campaigns/{id}","href":"/es/apis/ads/google/get-campaign"},{"title":"Actualizar campaña","api":"PUT /ads/google/campaigns/{id}","href":"/es/apis/ads/google/update-campaign"},{"title":"Insights","description":"Obtén métricas diarias en tiempo real de Google Ads para tus campañas, grupos de anuncios o anuncios, con clics, coste, conversiones y valor de conversión.","api":"GET /ads/google/insights","href":"/es/apis/ads/google/get-ad-insights"}]},{"group":"TikTok Ads","pages":[{"title":"Impulsar publicación","api":"POST /ads/tiktok/boost","href":"/es/apis/ads/tiktok/boost"}]}]},{"group":"Analytics","pages":[{"title":"API de Analíticas: publicaciones, cuentas sociales y enlaces","sidebarTitle":"Visión general de la API de Analíticas","description":"Obtén datos analíticos en tiempo real para publicaciones y cuentas sociales, como clics, me gusta, compartidos, seguidores e impresiones","href":"/es/apis/analytics/overview"},{"title":"Analíticas de una publicación","api":"POST /analytics/post","href":"/es/apis/analytics/post"},{"title":"Analíticas de una publicación por ID social","api":"POST /analytics/post","href":"/es/apis/analytics/social-by-id"},{"title":"Analíticas de una red social","api":"POST /analytics/social","href":"/es/apis/analytics/social"},{"title":"Listas de reproducción de YouTube","api":"GET /analytics/youTubePlaylists","href":"/es/apis/analytics/youtube-playlists"},{"title":"Recuento de seguidores de Instagram en línea","api":"GET /analytics/getInstagramOnlineFollowers","href":"/es/apis/analytics/instagram-follower-count"}]},{"group":"Auto Schedule","pages":[{"title":"Visión general de programación automática","href":"/es/apis/auto-schedule/overview"},{"title":"Configurar programación automática","api":"POST /auto-schedule/set","href":"/es/apis/auto-schedule/set-schedule"},{"title":"Eliminar programación automática","api":"DELETE /auto-schedule/delete","href":"/es/apis/auto-schedule/delete-schedule"},{"title":"Listar programaciones automáticas","api":"GET /auto-schedule/list","href":"/es/apis/auto-schedule/list-schedule"},{"title":"Obtener publicaciones pendientes de programación automática","api":"GET /auto-schedule/pending","href":"/es/apis/auto-schedule/pending-auto-schedule"}]},{"group":"Automations","tag":"BETA","pages":[{"title":"Visión general de la API de Automatizaciones","href":"/es/apis/automations/overview"},{"title":"Crear automatización","api":"POST /automations","href":"/es/apis/automations/create-automation"},{"title":"Listar automatizaciones","api":"GET /automations","href":"/es/apis/automations/list-automations"},{"title":"Obtener automatización","api":"GET /automations/:id","href":"/es/apis/automations/get-automation"},{"title":"Actualizar automatización","api":"PUT /automations/:id","href":"/es/apis/automations/update-automation"},{"title":"Eliminar automatización","api":"DELETE /automations/:id","href":"/es/apis/automations/delete-automation"},{"title":"Obtener actividad de la automatización","api":"GET /automations/:id/activity","href":"/es/apis/automations/get-activity"}]},{"group":"Brand","pages":[{"title":"Brand API: datos públicos de cuentas y competidores","href":"/es/apis/brand/overview"}]},{"group":"Comments","pages":[{"title":"Visión general de la API de Comentarios","href":"/es/apis/comments/overview"},{"title":"Publicar un comentario","api":"POST /comments","href":"/es/apis/comments/post-comment"},{"title":"Obtener comentarios","api":"GET /comments/:id","href":"/es/apis/comments/get-comments"},{"title":"Eliminar comentarios","api":"DELETE /comments/:id","href":"/es/apis/comments/delete-comments"},{"title":"Responder a un comentario","api":"POST /comments/reply/:commentId","href":"/es/apis/comments/reply-to-comment"}]},{"group":"Feed","pages":[{"title":"Descripción general de RSS Feeds","href":"/es/apis/feeds/overview"},{"title":"Añadir feed RSS","api":"POST /feed","href":"/es/apis/feeds/add-feed"},{"title":"Eliminar feed RSS","api":"DELETE /feed","href":"/es/apis/feeds/delete-feed"},{"title":"Obtener feeds RSS","api":"GET /feed","href":"/es/apis/feeds/get-feeds"},{"title":"Actualizar feed RSS","api":"PUT /feed","href":"/es/apis/feeds/update-feed"}]},{"group":"Generate","pages":[{"title":"Descripción general de la API Generate","href":"/es/apis/generate/overview"},{"title":"Generar texto de publicación","api":"POST /generate/post","href":"/es/apis/generate/post-text"},{"title":"Reescribir publicación","api":"POST /generate/rewrite","href":"/es/apis/generate/rewrite-post"},{"title":"Transcribir un vídeo","api":"POST /generate/transcription","href":"/es/apis/generate/transcribe-video"},{"title":"Traducir publicación","api":"POST /generate/translate","href":"/es/apis/generate/translate-post"},{"title":"Generar texto alternativo","api":"POST /generate/altText","href":"/es/apis/generate/image-alt-text"},{"title":"Análisis de sentimiento","api":"POST /generate/sentiment","href":"/es/apis/generate/sentiment"}]},{"group":"Hashtags","pages":[{"title":"Descripción general de la API de Hashtags","href":"/es/apis/hashtags/overview"},{"title":"Auto Hashtags","api":"POST /hashtags/auto","href":"/es/apis/hashtags/auto-hashtags"},{"title":"Comprobar hashtags prohibidos","api":"GET /hashtags/banned","href":"/es/apis/hashtags/check-hashtags"},{"title":"Recomendar hashtags","api":"GET /hashtags/recommend","href":"/es/apis/hashtags/recommend-hashtags"},{"title":"Buscar hashtags","api":"GET /hashtags/search","href":"/es/apis/hashtags/search-hashtags"}]},{"group":"History","pages":[{"title":"Descripción general de la API de History","href":"/es/apis/history/overview"},{"title":"Historial de publicaciones","api":"GET /history","href":"/es/apis/history/get-history"},{"title":"Historial de publicación por ID","api":"GET /history/:id","href":"/es/apis/history/get-history-id"},{"title":"Obtener el historial de publicaciones por red social","api":"GET /history/:platform","href":"/es/apis/history/history-platform"},{"title":"Historial de publicaciones por Social ID","api":"GET /history/:socialId","href":"/es/apis/history/history-social-id"}]},{"group":"Links","pages":[{"title":"Descripción general de la API de Links","href":"/es/apis/links/overview"},{"title":"Crear enlace corto","api":"POST /links","href":"/es/apis/links/create-short-link"},{"title":"Actualizar enlace corto","api":"PUT /links/:id","href":"/es/apis/links/update-short-link"},{"title":"Estadísticas de enlaces","api":"GET /links/:id","href":"/es/apis/links/link-analytics"}]},{"group":"Listening","pages":[{"title":"Listen API: monitoreo de redes sociales y menciones","href":"/es/apis/listen/overview"},{"title":"Obtener datos de marca","api":"GET /brand/byUser","href":"/es/apis/listen/brand-user"},{"group":"Search","pages":[{"title":"Buscar Páginas de Facebook","api":"GET /brand/search/facebook","href":"/es/apis/listen/search/fb-page-search"},{"title":"Buscar en LinkedIn","api":"GET /brand/search/linkedin","href":"/es/apis/listen/search/linkedin-search"}]},{"group":"Keyword","pages":[{"title":"Buscar tweets por palabra clave","api":"GET /listen/keyword","href":"/es/apis/listen/keyword/search-tweets"}]}]},{"group":"Media","pages":[{"title":"Descripción general de la Media API","href":"/es/apis/media/overview"},{"title":"Subir imagen o video","api":"POST /media/upload","href":"/es/apis/media/upload-media"},{"title":"Subir archivos de medios grandes","api":"GET /media/uploadUrl","href":"/es/apis/media/upload-large-media"},{"title":"Verificar que la URL del medio existe","api":"POST /media/urlExists","href":"/es/apis/media/verify-media-url"},{"title":"Obtener todos los medios en la galería","api":"GET /media","href":"/es/apis/media/get-media-in-gallery"},{"title":"Redimensionar una imagen","api":"POST /media/resize","href":"/es/apis/media/resize"},{"title":"Metadatos de un archivo de medio","api":"GET /media/meta","href":"/es/apis/media/get-media-metadata"},{"title":"Buscar audio de Instagram","api":"GET /media/instagram/audio/search","href":"/es/apis/media/search-instagram-audio"},{"title":"Metadatos de un audio de Instagram","api":"GET /media/instagram/audio/{audioId}","href":"/es/apis/media/get-instagram-audio"}]},{"group":"Messages","pages":[{"title":"Descripción general de la Messages API","href":"/es/apis/messages/overview"},{"title":"Enviar mensaje","api":"POST /messages/:platform","href":"/es/apis/messages/send-message"},{"title":"Obtener mensajes","api":"GET /messages/:platform","href":"/es/apis/messages/get-messages"},{"title":"Actualizar mensajes","api":"PUT /messages/:platform/:conversationId","href":"/es/apis/messages/update-messages"},{"title":"Configurar la respuesta automática","api":"POST /messages/autoresponse","href":"/es/apis/messages/set-auto-response"},{"title":"Obtener la respuesta automática","api":"GET /messages/autoresponse","href":"/es/apis/messages/get-auto-response"}]},{"group":"Post","pages":[{"title":"Descripción general de la API Post","href":"/es/apis/post/overview"},{"title":"API para publicar posts: publica en cualquier red social","api":"POST /post","href":"/es/apis/post/post"},{"title":"Obtener una publicación","api":"GET /post/:id","href":"/es/apis/post/get-post"},{"title":"Eliminar una publicación","api":"DELETE /post","href":"/es/apis/post/delete-post"},{"title":"Actualizar una publicación","api":"PATCH /post","href":"/es/apis/post/update-post"},{"title":"Reintentar una publicación","api":"PUT /post/retry","href":"/es/apis/post/retry-post"},{"title":"Copiar una publicación","api":"POST /post/copy","href":"/es/apis/post/copy-post"},{"title":"Publicación masiva","api":"POST /post/bulk","href":"/es/apis/post/bulk-post"},{"group":"Social Networks","pages":[{"title":"Redes sociales admitidas","href":"/es/apis/post/social-networks/overview"},{"title":"API de Bluesky","icon":"bluesky","href":"/es/apis/post/social-networks/bluesky"},{"title":"API de Facebook Page","icon":"facebook","href":"/es/apis/post/social-networks/facebook"},{"title":"API de Google Business Profile","icon":"google","href":"/es/apis/post/social-networks/google"},{"title":"API de Instagram","icon":"instagram","href":"/es/apis/post/social-networks/instagram"},{"title":"API de LinkedIn","icon":"linkedin","href":"/es/apis/post/social-networks/linkedin"},{"title":"API de Pinterest","icon":"pinterest","href":"/es/apis/post/social-networks/pinterest"},{"title":"API de Reddit","icon":"reddit","href":"/es/apis/post/social-networks/reddit"},{"title":"API de Snapchat","icon":"snapchat","href":"/es/apis/post/social-networks/snapchat"},{"title":"API de Telegram","icon":"telegram","href":"/es/apis/post/social-networks/telegram"},{"title":"API de Threads","icon":"threads","href":"/es/apis/post/social-networks/threads"},{"title":"API de TikTok","icon":"tiktok","href":"/es/apis/post/social-networks/tiktok"},{"title":"API de X","icon":"x-twitter","href":"/es/apis/post/social-networks/x-twitter"},{"title":"API de YouTube","icon":"youtube","href":"/es/apis/post/social-networks/youtube"}]}]},{"group":"Profiles","pages":[{"title":"Visión general de la API de Profiles","href":"/es/apis/profiles/overview"},{"title":"Crear un User Profile","api":"POST /profiles","href":"/es/apis/profiles/create-profile"},{"title":"Eliminar un User Profile","api":"DELETE /profiles","href":"/es/apis/profiles/delete-profile"},{"title":"Actualizar un User Profile","api":"PATCH /profiles","href":"/es/apis/profiles/update-profile"},{"title":"Obtener User Profiles","api":"GET /profiles","href":"/es/apis/profiles/get-profiles"},{"title":"Desvincular una red social","api":"DELETE /profiles/social","href":"/es/apis/profiles/unlink-social-network"},{"title":"Resumen de la vinculación social","href":"/es/apis/profiles/social-linking-overview"},{"title":"Crear una Link Session","api":"POST /profiles/link-sessions","href":"/es/apis/profiles/create-link-session"},{"title":"Obtener una Link Session","api":"GET /profiles/link-sessions/{sessionId}","href":"/es/apis/profiles/get-link-session"},{"title":"Revocar una Link Session","api":"DELETE /profiles/link-sessions/{sessionId}","href":"/es/apis/profiles/revoke-link-session"},{"title":"Generar una URL de vinculación (generateJWT)","api":"POST /profiles/generateJWT","deprecated":true,"href":"/es/apis/profiles/generate-jwt"}]},{"group":"Reviews","pages":[{"title":"Visión general de la API de Reviews","href":"/es/apis/reviews/overview"},{"title":"Obtener todas las reviews","api":"GET /reviews","href":"/es/apis/reviews/get-reviews"},{"title":"Obtener una review individual","api":"GET /reviews/:id","href":"/es/apis/reviews/get-one-review"},{"title":"Responder a una review","api":"POST /reviews","href":"/es/apis/reviews/reply-review"},{"title":"Eliminar una respuesta a una review","api":"DELETE /reviews","href":"/es/apis/reviews/delete-review-reply"}]},{"group":"User","pages":[{"title":"Visión general de la API de User Profile","href":"/es/apis/user/overview"},{"title":"Detalles del User Profile","api":"GET /user","href":"/es/apis/user/profile-details"},{"title":"Pinterest Boards","api":"GET /user/details/pinterest","href":"/es/apis/user/pinterest-board"},{"title":"Actualizar usuario","api":"PATCH /user/:platform","href":"/es/apis/user/update-user"},{"title":"Perfil de empresa de WhatsApp","api":"GET /user/details/whatsapp","href":"/es/apis/user/whatsapp-profile"},{"title":"Batch Get All","api":"GET /user/batch","href":"/es/apis/user/batch-all-users"}]},{"group":"Utils","pages":[{"title":"Estado de la solicitud de colaborador","api":"GET /post/collaborators/:id","href":"/es/apis/utils/instagram-get-collaborator"},{"title":"Flair de Reddit","api":"GET /post/redditFlair/:subreddit","href":"/es/apis/utils/reddit-get-flair"},{"title":"Búsquedas de usuarios","api":"GET /user/lookups","href":"/es/apis/utils/user-lookups"},{"group":"YouTube","pages":[{"title":"Categorías de YouTube","api":"GET /post/youtubeCategories/:region","href":"/es/apis/utils/youtube-categories"},{"title":"Establecer una marca de agua en YouTube","api":"POST /post/youTubeWatermark","href":"/es/apis/utils/set-youtube-watermark"},{"title":"Eliminar la marca de agua de YouTube","api":"DELETE /post/youTubeWatermark","href":"/es/apis/utils/remove-youtube-watermark"}]}]},{"group":"Validate","pages":[{"title":"Visión general de la API Validate","href":"/es/apis/validate/overview"},{"title":"Validar Media","href":"/es/apis/validate/validate-media"},{"title":"Comprobar la longitud del post","api":"POST /validate/postLength","href":"/es/apis/validate/check-post-length"},{"title":"Comprobar si existe un subreddit","api":"GET /validate/redditExists/:subreddit","href":"/es/apis/validate/check-subreddit"},{"title":"Moderación de contenido","api":"POST /validate/moderation","href":"/es/apis/validate/moderation"},{"title":"Validar JSON","api":"POST /validate/json","href":"/es/apis/validate/validate-json"},{"title":"Validar un post","api":"POST /validate/post","href":"/es/apis/validate/validate-post"}]},{"group":"Webhooks","pages":[{"title":"Visión general de Webhooks","href":"/es/apis/webhooks/overview"},{"title":"Acciones de webhook","href":"/es/apis/webhooks/actions"},{"title":"Registrar webhook","api":"POST /hook/webhook","href":"/es/apis/webhooks/register"},{"title":"Cancelar registro de webhook","api":"DELETE /hook/webhook","href":"/es/apis/webhooks/unregister"},{"title":"Rotar Signing Secret","api":"POST /hook/webhook/secret","href":"/es/apis/webhooks/rotate-signing-secret"},{"title":"Listar webhooks registrados","api":"GET /hook/webhook","href":"/es/apis/webhooks/list"},{"title":"Historial de webhooks","api":"GET /hook/history","href":"/es/apis/webhooks/history"}]}]},{"group":"Multiple Users","pages":[{"title":"Launch Plan: Business Plan multiusuario de nivel inicial","href":"/es/multiple-users/business-launch-overview"},{"title":"Descripción general del Business Plan","href":"/es/multiple-users/business-plan-overview"},{"title":"Integración del usuario","href":"/es/multiple-users/user-integration"},{"title":"Integración de API para Business","href":"/es/multiple-users/api-integration-business"},{"title":"Widget Ayrshare Connect","href":"/es/multiple-users/connect-widget"},{"title":"Construye tu propia ventana emergente de vinculación","href":"/es/multiple-users/connect-direct-mode"},{"title":"Eventos de finalización de vinculación","href":"/es/multiple-users/link-completion-events"},{"title":"Gestión de múltiples User Profiles","href":"/es/multiple-users/manage-user-profiles"}]},{"group":"Dashboard","pages":[{"title":"Visión general del panel de Ayrshare","href":"/es/dashboard/overview"},{"group":"Connect Social Accounts","pages":[{"title":"Conecta tus cuentas de redes sociales","href":"/es/dashboard/connect-social-accounts/overview"},{"title":"Vinculación de Bluesky","icon":"bluesky","href":"/es/dashboard/connect-social-accounts/bluesky"},{"title":"Vinculación de Facebook","icon":"facebook","href":"/es/dashboard/connect-social-accounts/facebook"},{"title":"Vinculación de Google Business Profile","icon":"google","href":"/es/dashboard/connect-social-accounts/google-business"},{"title":"Vinculación de Instagram","icon":"instagram","href":"/es/dashboard/connect-social-accounts/instagram"},{"title":"Vinculación de LinkedIn","icon":"linkedin","href":"/es/dashboard/connect-social-accounts/linkedin"},{"title":"Vinculación de Pinterest","icon":"pinterest","href":"/es/dashboard/connect-social-accounts/pinterest"},{"title":"Vinculación de Reddit","icon":"reddit","href":"/es/dashboard/connect-social-accounts/reddit"},{"title":"Vinculación de Snapchat","icon":"snapchat","href":"/es/dashboard/connect-social-accounts/snapchat"},{"title":"Vincula un grupo o canal de Telegram con Ayrshare","icon":"telegram","href":"/es/dashboard/connect-social-accounts/telegram"},{"title":"Vinculación de Threads","icon":"threads","href":"/es/dashboard/connect-social-accounts/threads"},{"title":"Vinculación de TikTok","icon":"tiktok","href":"/es/dashboard/connect-social-accounts/tiktok"},{"title":"Configura tu propia clave de API de X","icon":"x-twitter","href":"/es/dashboard/connect-social-accounts/x-twitter-byo-keys"},{"title":"Vinculación de X","icon":"x-twitter","href":"/es/dashboard/connect-social-accounts/x-twitter"},{"title":"Vinculación de YouTube","icon":"youtube","href":"/es/dashboard/connect-social-accounts/youtube"}]},{"title":"Cómo publicar una publicación en redes sociales","href":"/es/dashboard/publish-post"},{"title":"Ver JSON","href":"/es/dashboard/view-json"},{"title":"Revocar acceso a redes sociales","href":"/es/dashboard/revoke-access"},{"group":"RSS","pages":[{"title":"Feeds de RSS, Substack y YouTube","href":"/es/dashboard/automated-rss-feeds"},{"title":"Encontrar una URL de feed RSS","href":"/es/dashboard/find-rss"}]}]},{"group":"Additional","pages":[{"group":"What's New At Ayrshare","pages":[{"title":"Últimas actualizaciones","href":"/es/whatsnew/latest"},{"title":"Archivo de actualizaciones","href":"/es/whatsnew/archive"},{"title":"Próximos cambios en la API","mode":"wide","href":"/es/whatsnew/upcoming-api-changes"}]},{"group":"Errors","pages":[{"title":"Descripción general de errores","href":"/es/errors/overview"},{"title":"Códigos de estado HTTP","href":"/es/errors/errors-http"},{"title":"Códigos de error de Ayrshare","href":"/es/errors/errors-ayrshare"}]},{"title":"Max Pack","mode":"wide","href":"/es/additional/maxpack"},{"group":"Media Guidelines","pages":[{"title":"Requisitos de imágenes y videos en redes sociales","href":"/es/media-guidelines/overview"},{"title":"Bluesky","icon":"bluesky","href":"/es/media-guidelines/bluesky"},{"title":"Facebook Pages","icon":"facebook","href":"/es/media-guidelines/facebook-pages"},{"title":"Google Business Profile","icon":"google","href":"/es/media-guidelines/google-business-profile"},{"title":"Instagram","icon":"instagram","href":"/es/media-guidelines/instagram"},{"title":"LinkedIn","icon":"linkedin","href":"/es/media-guidelines/linkedin"},{"title":"Pinterest","icon":"pinterest","href":"/es/media-guidelines/pinterest"},{"title":"Reddit","icon":"reddit","href":"/es/media-guidelines/reddit"},{"title":"Snapchat","icon":"snapchat","href":"/es/media-guidelines/snapchat"},{"title":"Telegram","icon":"telegram","href":"/es/media-guidelines/telegram"},{"title":"Threads","icon":"threads","href":"/es/media-guidelines/threads"},{"title":"TikTok","icon":"tiktok","href":"/es/media-guidelines/tiktok"},{"title":"WhatsApp","icon":"whatsapp","href":"/es/media-guidelines/whatsapp"},{"title":"X","icon":"x-twitter","href":"/es/media-guidelines/x-twitter"},{"title":"YouTube","icon":"youtube","href":"/es/media-guidelines/youtube"}]},{"group":"Packages \u0026 Guides","pages":[{"title":"SDKs y guías de integración de Ayrshare","mode":"wide","href":"/es/packages-guides/overview"},{"title":"Airtable","href":"/es/packages-guides/airtable"},{"title":"Bubble.io","href":"/es/packages-guides/bubble"},{"title":"Flutter","href":"/es/packages-guides/flutter"},{"title":"FlutterFlow","href":"/es/packages-guides/flutterflow"},{"title":"Make","href":"/es/packages-guides/make"},{"title":"n8n","href":"/es/packages-guides/n8n"},{"title":"Node.js NPM","href":"/es/packages-guides/nodejs"},{"title":"Notion","href":"/es/packages-guides/notion"},{"title":"Python PyPI","href":"/es/packages-guides/python"},{"title":"Retool","href":"/es/packages-guides/retool"}]},{"title":"Estado del sistema","href":"/es/additional/status"},{"group":"Testing \u0026 Verification","pages":[{"title":"Hurl","href":"/es/testing/hurl"},{"title":"Endpoints de validación","href":"/es/testing/validation-endpoints"},{"title":"Postman","href":"/es/testing/postman"},{"title":"Verificación de publicaciones","href":"/es/testing/post-verification"},{"title":"Comprobaciones previas a la publicación","href":"/es/testing/pre-publish-checks"}]},{"group":"ISO Codes","pages":[{"title":"Códigos de país","href":"/es/iso-codes/country"},{"title":"Códigos de idioma","href":"/es/iso-codes/language"}]}]}]},{"anchor":"Help Center","icon":"lightbulb","pages":[{"title":"Help Center","href":"/es/help-center/overview"}]}]},{"language":"cn","hidden":true,"pages":[{"title":"cn","href":"/cn/apis/ads/tiktok/boost","hidden":true}]},{"language":"zh","hidden":true,"pages":[{"title":"zh","href":"/zh/apis/ads/tiktok/boost","hidden":true}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt-BR/apis/ads/tiktok/boost"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/apis/ads/tiktok/boost"}]},{"language":"de","pages":[{"title":"de","href":"/de/apis/ads/tiktok/boost"}]},{"language":"vi","pages":[{"title":"vi","href":"/vi/apis/ads/tiktok/boost"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/apis/ads/tiktok/boost"}]},{"language":"uk","pages":[{"title":"uk","href":"/uk/apis/ads/tiktok/boost"}]},{"language":"hi","pages":[{"title":"hi","href":"/hi/apis/ads/tiktok/boost"}]},{"language":"ar","pages":[{"title":"ar","href":"/ar/apis/ads/tiktok/boost"}]},{"language":"zh-Hans","pages":[{"title":"zh-Hans","href":"/zh-Hans/apis/ads/tiktok/boost"}]},{"language":"zh-Hant","pages":[{"title":"zh-Hant","href":"/zh-Hant/apis/ads/tiktok/boost"}]}]},"basePath":"","title":"Impulsar publicación - Ayrshare Docs","deploymentId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","buildId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CUHhyXy2.js","snippetPresets-CLZ6zHrE.js","utils-YgZO0660.js","style-to-object-BY3JEAdk.js","utils-BfGpunL-.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-nXeJG4mW.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CfiGwWS2.js","_Uint8Array-DMwpGz7v.js","isObject-FP1Yky1u.js","ApiExamples-ClwIRLsI.js","usePlaygroundInputsStore-D3zE52Kn.js","shallow-D4RQzCAp.js","isEqual-Ba6nq9eA.js","CodeSnippets-DK9iv102.js","CodeSnippet-CD0M-PIN.js","getApiPlaygroundDisplay-MZpK72mj.js","Page-wRPqmnTs.js","DynamicMarkdown-B4E-vXj3.js","SectionHeading-Cd1Hebqh.js","icon-CopWpdT0.js","MethodPill-DHN7T7vW.js","getPastedJson-BuLRhr5B.js","Check2Icon-DTvkZOnk.js","axios-CsQoIw0U.js"]}