{ "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
Просування допису
Просувайте відео TikTok як Spark Ad. Ayrshare створює кампанію, групу оголошень і оголошення у вашому рекламному акаунті TikTok з ціллю, бюджетом і таргетингом.
{ "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 як Spark Ad. Оголошення показує відео без змін, від імені акаунта його автора, і відео зберігає свої вподобання, коментарі та підписки. Ayrshare створює кампанію, групу оголошень і оголошення у вашому рекламному акаунті TikTok.
Підключіть TikTok, а потім під’єднайте рекламний акаунт TikTok на панелі керування. Оголошення показується з цього рекламного акаунта.
Для відео з вашого підключеного акаунта TikTok код не потрібен. Якщо цей акаунт TikTok пов’язаний із вашим рекламним акаунтом у TikTok, оголошення показується від його імені. Інакше Ayrshare створить код Spark Ads за вас.
Для відео іншого автора автор генерує код Spark Ads у застосунку TikTok і передає його вам. Надішліть його в platformOptions.tiktok.sparkAuthCode. Код має бути для відео, яке ви просуваєте, інакше відповідь буде code: 101.
Бюджет задається на групі оголошень, у валюті вашого рекламного акаунта. Не надсилайте budget.currency або budget.level: "campaign".
Мінімальний бюджет становить 20 на день у валюті вашого рекламного акаунта. Бюджет на весь період становить щонайменше 20 за кожен запланований день.
Відео залишається в профілі автора, поки показується оголошення. Надішліть platformOptions.tiktok.adsOnly: true, щоб показувати його лише як оголошення.
Якщо ви надсилаєте запити швидше, ніж дозволяє TikTok, відповідь буде code: 364 з HTTP 429 і повідомленням TikTok у details. Зачекайте хвилину й повторіть спробу з новим idempotencyKey.
Реклама входить до Premium Plan, Business Plan та Enterprise Plan, як зазначено в огляді Ads. На іншому плані відповідь буде code: 169.
Якщо TikTok відкликає доступ Ayrshare до вашого рекламного акаунта, відповідь буде code: 420 з HTTP 401, а webhook ads надсилає accountRevoked. Під’єднайте рекламний акаунт TikTok знову на панелі керування.
Рекламу TikTok вмикають для кожного акаунта окремо. Зв’яжіться з нами, щоб її увімкнути.
Що підтримує TikTok
Параметр
TikTok
Цілі
brand_awareness, video_views, traffic
Бюджет
daily або lifetime, на групі оголошень
Таргетинг
Країни, регіони та міста, вікові діапазони, стать, інтереси
Сторінка, яку потрібно відкрити. Обов’язково для цілі traffic.
string
за замовчуванням:"active"
active або paused.
string
Унікальний непорожній ключ для цього запиту на просування. Повторіть той самий запит із тим самим ключем, щоб не створити дублікат оголошення: буде повторно повернено першу відповідь, зокрема помилку. Повторне використання ключа з іншим вмістом запиту повертає HTTP 409. Ключ діє лише для цієї платформи: той самий ключ на іншій платформі запускає окреме просування. Запит, який ще виконується, також повертає 409; недоступне резервування повертає 503 без створення оголошення.
object
Показати дочірні атрибути
string
Код Spark Ads, який автор відео згенерував у застосунку TikTok для цього відео. Обов’язковий для відео, яке не належить вашому підключеному акаунту TikTok.
boolean
за замовчуванням:"false"
true показує відео лише як оголошення, а не в профілі автора.
{ "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":"uk/apis/ads/tiktok/boost","slug":"/uk/apis/ads/tiktok/boost","pageMetadata":{"title":"Просування допису","description":"Просувайте відео TikTok як Spark Ad. Ayrshare створює кампанію, групу оголошень і оголошення у вашому рекламному акаунті TikTok з ціллю, бюджетом і таргетингом.","api":"POST /ads/tiktok/boost","href":"/uk/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: \"Просувайте відео TikTok як Spark Ad. Ayrshare створює кампанію, групу оголошень і оголошення у вашому рекламному акаунті TikTok з ціллю, бюджетом і таргетингом.\"\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:`Просувайте відео TikTok як Spark Ad. Оголошення показує відео без змін, від імені акаунта його автора, і відео зберігає свої вподобання, коментарі та підписки. Ayrshare створює кампанію, групу оголошень і оголошення у вашому рекламному акаунті TikTok.`}),`\n`,_jsxs(`ul`,{className:`custom-bullets`,children:[_jsx(`li`,{children:`Підключіть TikTok, а потім під’єднайте рекламний акаунт TikTok на панелі керування. Оголошення показується з цього рекламного акаунта.`}),_jsx(`li`,{children:`Для відео з вашого підключеного акаунта TikTok код не потрібен. Якщо цей акаунт TikTok пов’язаний із вашим рекламним акаунтом у TikTok, оголошення показується від його імені. Інакше Ayrshare створить код Spark Ads за вас.`}),_jsxs(`li`,{children:[`Для відео іншого автора автор генерує код Spark Ads у застосунку TikTok і передає його вам. Надішліть його в `,_jsx(_components.code,{children:`platformOptions.tiktok.sparkAuthCode`}),`. Код має бути для відео, яке ви просуваєте, інакше відповідь буде `,_jsx(_components.code,{children:`code: 101`}),`.`]}),_jsxs(`li`,{children:[`Бюджет задається на групі оголошень, у валюті вашого рекламного акаунта. Не надсилайте `,_jsx(_components.code,{children:`budget.currency`}),` або `,_jsx(_components.code,{children:`budget.level: \"campaign\"`}),`.`]}),_jsx(`li`,{children:`Мінімальний бюджет становить 20 на день у валюті вашого рекламного акаунта. Бюджет на весь період становить щонайменше 20 за кожен запланований день.`}),_jsxs(`li`,{children:[`Відео залишається в профілі автора, поки показується оголошення. Надішліть `,_jsx(_components.code,{children:`platformOptions.tiktok.adsOnly: true`}),`, щоб показувати його лише як оголошення.`]}),_jsxs(`li`,{children:[`Якщо ви надсилаєте запити швидше, ніж дозволяє TikTok, відповідь буде `,_jsx(_components.code,{children:`code: 364`}),` з HTTP 429 і повідомленням TikTok у `,_jsx(_components.code,{children:`details`}),`. Зачекайте хвилину й повторіть спробу з новим `,_jsx(_components.code,{children:`idempotencyKey`}),`.`]}),_jsxs(`li`,{children:[`Реклама входить до Premium Plan, Business Plan та Enterprise Plan, як зазначено в `,_jsx(_components.a,{href:`/uk/apis/ads/overview`,children:`огляді Ads`}),`. На іншому плані відповідь буде `,_jsx(_components.code,{children:`code: 169`}),`.`]}),_jsxs(`li`,{children:[`Якщо TikTok відкликає доступ Ayrshare до вашого рекламного акаунта, відповідь буде `,_jsx(_components.code,{children:`code: 420`}),` з HTTP 401, а webhook `,_jsx(_components.code,{children:`ads`}),` надсилає `,_jsx(_components.code,{children:`accountRevoked`}),`. Під’єднайте рекламний акаунт TikTok знову на панелі керування.`]}),_jsx(`li`,{children:`Рекламу TikTok вмикають для кожного акаунта окремо. Зв’яжіться з нами, щоб її увімкнути.`})]}),`\n`,_jsx(Heading,{level:`3`,id:`capabilities`,children:`Що підтримує TikTok`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`TikTok`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Цілі`}),_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:`Бюджет`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`daily`}),` або `,_jsx(_components.code,{children:`lifetime`}),`, на групі оголошень`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Таргетинг`}),_jsx(_components.td,{children:`Країни, регіони та міста, вікові діапазони, стать, інтереси`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Не підтримується`}),_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`}),`, кнопки повідомлень`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Оновлення статусу оголошення`}),_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:`Цілі оголошення`}),`\n`,_jsxs(`ul`,{className:`custom-bullets`,children:[_jsxs(`li`,{children:[_jsx(_components.code,{children:`brand_awareness`}),`: показати відео якомога більшій кількості людей.`]}),_jsxs(`li`,{children:[_jsx(_components.code,{children:`video_views`}),`: отримати більше переглядів відео.`]}),_jsxs(`li`,{children:[_jsx(_components.code,{children:`traffic`}),`: спрямувати людей на ваш вебсайт. Потрібен `,_jsx(_components.code,{children:`callToAction`}),` із посиланням.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`header-parameters`,children:`Параметри заголовка`}),`\n`,_jsx(_MdxComponentBoundary,{name:`HeaderAPI`,children:_jsx(HeaderAPI,{})}),`\n`,_jsx(Heading,{level:`2`,id:`body-parameters`,children:`Параметри тіла`}),`\n`,_jsx(ParamField,{body:`accountId`,type:`string`,required:true,id:`param-account-id`,children:_jsxs(_components.p,{children:[`ID вашого рекламного акаунта TikTok (рекламодавця), наприклад `,_jsx(_components.code,{children:`7100000000000000001`}),`. Це має бути рекламний акаунт, який ви під’єднали.`]})}),`\n`,_jsx(ParamField,{body:`postId`,type:`string`,id:`param-post-id`,children:_jsxs(_components.p,{children:[`ID допису Ayrshare, який потрібно просувати. Надішліть `,_jsx(_components.code,{children:`postId`}),` або `,_jsx(_components.code,{children:`socialPostId`}),`.`]})}),`\n`,_jsx(ParamField,{body:`socialPostId`,type:`string`,id:`param-social-post-id`,children:_jsx(_components.p,{children:`ID відео TikTok, яке потрібно просувати.`})}),`\n`,_jsx(ParamField,{body:`goal`,type:`string`,required:true,id:`param-goal`,children:_jsxs(_components.p,{children:[`Одна з `,_jsx(_components.a,{href:`#ad-goals`,children:`цілей оголошення`}),`.`]})}),`\n`,_jsx(ParamField,{body:`budget`,type:`object`,required:true,id:`param-budget`,children:_jsxs(Expandable,{title:`дочірні атрибути`,children:[_jsx(ParamField,{body:`amount`,type:`number`,required:true,id:`param-amount`,children:_jsx(_components.p,{children:`Сума витрат, щонайменше 20, до двох знаків після коми.`})}),_jsx(ParamField,{body:`type`,type:`string`,default:`daily`,id:`param-type`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`daily`}),` або `,_jsx(_components.code,{children:`lifetime`}),`. Бюджет на весь період потребує `,_jsx(_components.code,{children:`schedule.end`}),`.`]})})]})}),`\n`,_jsx(ParamField,{body:`schedule`,type:`object`,id:`param-schedule`,children:_jsxs(Expandable,{title:`дочірні атрибути`,children:[_jsx(ParamField,{body:`start`,type:`string`,id:`param-start`,children:_jsx(_components.p,{children:`Дата й час ISO початку оголошення. За замовчуванням зараз.`})}),_jsx(ParamField,{body:`end`,type:`string`,id:`param-end`,children:_jsx(_components.p,{children:`Дата й час ISO завершення оголошення. Пропустіть, щоб оголошення показувалося, доки ви його не призупините.`})})]})}),`\n`,_jsx(ParamField,{body:`targeting`,type:`object`,required:true,id:`param-targeting`,children:_jsxs(Expandable,{title:`дочірні атрибути`,children:[_jsxs(ParamField,{body:`locations`,type:`object`,required:true,id:`param-locations`,children:[_jsxs(_components.p,{children:[`Де показувати оголошення: двобуквені коди країн у `,_jsx(_components.code,{children:`countries`}),` або ID місцезнаходжень із `,_jsx(_components.code,{children:`GET /ads/tiktok/regions?search=\u003cterm>`}),` у `,_jsx(_components.code,{children:`regions`}),` чи `,_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:`Початок одного з вікових діапазонів TikTok: 18, 25, 35, 45 або 55.`})}),_jsx(ParamField,{body:`ageMax`,type:`number`,id:`param-age-max`,children:_jsx(_components.p,{children:`Кінець одного з вікових діапазонів TikTok: 24, 34, 44, 54 або 65 для 55 і старше.`})}),_jsx(ParamField,{body:`genders`,type:`string`,id:`param-genders`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`all`}),`, `,_jsx(_components.code,{children:`male`}),` або `,_jsx(_components.code,{children:`female`}),`.`]})}),_jsx(ParamField,{body:`interests`,type:`array`,id:`param-interests`,children:_jsxs(_components.p,{children:[`ID категорій інтересів із `,_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:[`Обов’язково для цілі `,_jsx(_components.code,{children:`traffic`}),`.`]}),_jsxs(Expandable,{title:`дочірні атрибути`,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`}),` або `,_jsx(_components.code,{children:`READ_MORE`}),`.`]})}),_jsx(ParamField,{body:`link`,type:`string`,id:`param-link`,children:_jsxs(_components.p,{children:[`Сторінка, яку потрібно відкрити. Обов’язково для цілі `,_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`}),` або `,_jsx(_components.code,{children:`paused`}),`.`]})}),`\n`,_jsx(ParamField,{body:`idempotencyKey`,type:`string`,id:`param-idempotency-key`,children:_jsx(_components.p,{children:`Унікальний непорожній ключ для цього запиту на просування. Повторіть той самий запит із тим самим ключем, щоб не створити дублікат оголошення: буде повторно повернено першу відповідь, зокрема помилку. Повторне використання ключа з іншим вмістом запиту повертає HTTP 409. Ключ діє лише для цієї платформи: той самий ключ на іншій платформі запускає окреме просування. Запит, який ще виконується, також повертає 409; недоступне резервування повертає 503 без створення оголошення.`})}),`\n`,_jsx(ParamField,{body:`platformOptions.tiktok`,type:`object`,id:`param-platform-options-tiktok`,children:_jsxs(Expandable,{title:`дочірні атрибути`,children:[_jsx(ParamField,{body:`sparkAuthCode`,type:`string`,id:`param-spark-auth-code`,children:_jsx(_components.p,{children:`Код Spark Ads, який автор відео згенерував у застосунку TikTok для цього відео. Обов’язковий для відео, яке не належить вашому підключеному акаунту TikTok.`})}),_jsx(ParamField,{body:`adsOnly`,type:`boolean`,default:`false`,id:`param-ads-only`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` показує відео лише як оголошення, а не в профілі автора.`]})})]})})]})}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":"Просування допису","description":"Просувайте відео TikTok як Spark Ad. Ayrshare створює кампанію, групу оголошень і оголошення у вашому рекламному акаунті TikTok з ціллю, бюджетом і таргетингом.","api":"POST /ads/tiktok/boost","href":"/uk/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:`Просувайте відео TikTok як Spark Ad. Оголошення показує відео без змін, від імені акаунта його автора, і відео зберігає свої вподобання, коментарі та підписки. Ayrshare створює кампанію, групу оголошень і оголошення у вашому рекламному акаунті TikTok.`}),`\n`,_jsxs(`ul`,{className:`custom-bullets`,children:[_jsx(`li`,{children:`Підключіть TikTok, а потім під’єднайте рекламний акаунт TikTok на панелі керування. Оголошення показується з цього рекламного акаунта.`}),_jsx(`li`,{children:`Для відео з вашого підключеного акаунта TikTok код не потрібен. Якщо цей акаунт TikTok пов’язаний із вашим рекламним акаунтом у TikTok, оголошення показується від його імені. Інакше Ayrshare створить код Spark Ads за вас.`}),_jsxs(`li`,{children:[`Для відео іншого автора автор генерує код Spark Ads у застосунку TikTok і передає його вам. Надішліть його в `,_jsx(_components.code,{children:`platformOptions.tiktok.sparkAuthCode`}),`. Код має бути для відео, яке ви просуваєте, інакше відповідь буде `,_jsx(_components.code,{children:`code: 101`}),`.`]}),_jsxs(`li`,{children:[`Бюджет задається на групі оголошень, у валюті вашого рекламного акаунта. Не надсилайте `,_jsx(_components.code,{children:`budget.currency`}),` або `,_jsx(_components.code,{children:`budget.level: \"campaign\"`}),`.`]}),_jsx(`li`,{children:`Мінімальний бюджет становить 20 на день у валюті вашого рекламного акаунта. Бюджет на весь період становить щонайменше 20 за кожен запланований день.`}),_jsxs(`li`,{children:[`Відео залишається в профілі автора, поки показується оголошення. Надішліть `,_jsx(_components.code,{children:`platformOptions.tiktok.adsOnly: true`}),`, щоб показувати його лише як оголошення.`]}),_jsxs(`li`,{children:[`Якщо ви надсилаєте запити швидше, ніж дозволяє TikTok, відповідь буде `,_jsx(_components.code,{children:`code: 364`}),` з HTTP 429 і повідомленням TikTok у `,_jsx(_components.code,{children:`details`}),`. Зачекайте хвилину й повторіть спробу з новим `,_jsx(_components.code,{children:`idempotencyKey`}),`.`]}),_jsxs(`li`,{children:[`Реклама входить до Premium Plan, Business Plan та Enterprise Plan, як зазначено в `,_jsx(_components.a,{href:`/uk/apis/ads/overview`,children:`огляді Ads`}),`. На іншому плані відповідь буде `,_jsx(_components.code,{children:`code: 169`}),`.`]}),_jsxs(`li`,{children:[`Якщо TikTok відкликає доступ Ayrshare до вашого рекламного акаунта, відповідь буде `,_jsx(_components.code,{children:`code: 420`}),` з HTTP 401, а webhook `,_jsx(_components.code,{children:`ads`}),` надсилає `,_jsx(_components.code,{children:`accountRevoked`}),`. Під’єднайте рекламний акаунт TikTok знову на панелі керування.`]}),_jsx(`li`,{children:`Рекламу TikTok вмикають для кожного акаунта окремо. Зв’яжіться з нами, щоб її увімкнути.`})]}),`\n`,_jsx(Heading,{level:`3`,id:`capabilities`,children:`Що підтримує TikTok`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Параметр`}),_jsx(_components.th,{children:`TikTok`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Цілі`}),_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:`Бюджет`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`daily`}),` або `,_jsx(_components.code,{children:`lifetime`}),`, на групі оголошень`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Таргетинг`}),_jsx(_components.td,{children:`Країни, регіони та міста, вікові діапазони, стать, інтереси`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Не підтримується`}),_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`}),`, кнопки повідомлень`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Оновлення статусу оголошення`}),_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:`Цілі оголошення`}),`\n`,_jsxs(`ul`,{className:`custom-bullets`,children:[_jsxs(`li`,{children:[_jsx(_components.code,{children:`brand_awareness`}),`: показати відео якомога більшій кількості людей.`]}),_jsxs(`li`,{children:[_jsx(_components.code,{children:`video_views`}),`: отримати більше переглядів відео.`]}),_jsxs(`li`,{children:[_jsx(_components.code,{children:`traffic`}),`: спрямувати людей на ваш вебсайт. Потрібен `,_jsx(_components.code,{children:`callToAction`}),` із посиланням.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`header-parameters`,children:`Параметри заголовка`}),`\n`,_jsx(_MdxComponentBoundary,{name:`HeaderAPI`,children:_jsx(HeaderAPI,{})}),`\n`,_jsx(Heading,{level:`2`,id:`body-parameters`,children:`Параметри тіла`}),`\n`,_jsx(ParamField,{body:`accountId`,type:`string`,required:true,id:`param-account-id`,children:_jsxs(_components.p,{children:[`ID вашого рекламного акаунта TikTok (рекламодавця), наприклад `,_jsx(_components.code,{children:`7100000000000000001`}),`. Це має бути рекламний акаунт, який ви під’єднали.`]})}),`\n`,_jsx(ParamField,{body:`postId`,type:`string`,id:`param-post-id`,children:_jsxs(_components.p,{children:[`ID допису Ayrshare, який потрібно просувати. Надішліть `,_jsx(_components.code,{children:`postId`}),` або `,_jsx(_components.code,{children:`socialPostId`}),`.`]})}),`\n`,_jsx(ParamField,{body:`socialPostId`,type:`string`,id:`param-social-post-id`,children:_jsx(_components.p,{children:`ID відео TikTok, яке потрібно просувати.`})}),`\n`,_jsx(ParamField,{body:`goal`,type:`string`,required:true,id:`param-goal`,children:_jsxs(_components.p,{children:[`Одна з `,_jsx(_components.a,{href:`#ad-goals`,children:`цілей оголошення`}),`.`]})}),`\n`,_jsx(ParamField,{body:`budget`,type:`object`,required:true,id:`param-budget`,children:_jsxs(Expandable,{title:`дочірні атрибути`,children:[_jsx(ParamField,{body:`amount`,type:`number`,required:true,id:`param-amount`,children:_jsx(_components.p,{children:`Сума витрат, щонайменше 20, до двох знаків після коми.`})}),_jsx(ParamField,{body:`type`,type:`string`,default:`daily`,id:`param-type`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`daily`}),` або `,_jsx(_components.code,{children:`lifetime`}),`. Бюджет на весь період потребує `,_jsx(_components.code,{children:`schedule.end`}),`.`]})})]})}),`\n`,_jsx(ParamField,{body:`schedule`,type:`object`,id:`param-schedule`,children:_jsxs(Expandable,{title:`дочірні атрибути`,children:[_jsx(ParamField,{body:`start`,type:`string`,id:`param-start`,children:_jsx(_components.p,{children:`Дата й час ISO початку оголошення. За замовчуванням зараз.`})}),_jsx(ParamField,{body:`end`,type:`string`,id:`param-end`,children:_jsx(_components.p,{children:`Дата й час ISO завершення оголошення. Пропустіть, щоб оголошення показувалося, доки ви його не призупините.`})})]})}),`\n`,_jsx(ParamField,{body:`targeting`,type:`object`,required:true,id:`param-targeting`,children:_jsxs(Expandable,{title:`дочірні атрибути`,children:[_jsxs(ParamField,{body:`locations`,type:`object`,required:true,id:`param-locations`,children:[_jsxs(_components.p,{children:[`Де показувати оголошення: двобуквені коди країн у `,_jsx(_components.code,{children:`countries`}),` або ID місцезнаходжень із `,_jsx(_components.code,{children:`GET /ads/tiktok/regions?search=\u003cterm>`}),` у `,_jsx(_components.code,{children:`regions`}),` чи `,_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:`Початок одного з вікових діапазонів TikTok: 18, 25, 35, 45 або 55.`})}),_jsx(ParamField,{body:`ageMax`,type:`number`,id:`param-age-max`,children:_jsx(_components.p,{children:`Кінець одного з вікових діапазонів TikTok: 24, 34, 44, 54 або 65 для 55 і старше.`})}),_jsx(ParamField,{body:`genders`,type:`string`,id:`param-genders`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`all`}),`, `,_jsx(_components.code,{children:`male`}),` або `,_jsx(_components.code,{children:`female`}),`.`]})}),_jsx(ParamField,{body:`interests`,type:`array`,id:`param-interests`,children:_jsxs(_components.p,{children:[`ID категорій інтересів із `,_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:[`Обов’язково для цілі `,_jsx(_components.code,{children:`traffic`}),`.`]}),_jsxs(Expandable,{title:`дочірні атрибути`,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`}),` або `,_jsx(_components.code,{children:`READ_MORE`}),`.`]})}),_jsx(ParamField,{body:`link`,type:`string`,id:`param-link`,children:_jsxs(_components.p,{children:[`Сторінка, яку потрібно відкрити. Обов’язково для цілі `,_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`}),` або `,_jsx(_components.code,{children:`paused`}),`.`]})}),`\n`,_jsx(ParamField,{body:`idempotencyKey`,type:`string`,id:`param-idempotency-key`,children:_jsx(_components.p,{children:`Унікальний непорожній ключ для цього запиту на просування. Повторіть той самий запит із тим самим ключем, щоб не створити дублікат оголошення: буде повторно повернено першу відповідь, зокрема помилку. Повторне використання ключа з іншим вмістом запиту повертає HTTP 409. Ключ діє лише для цієї платформи: той самий ключ на іншій платформі запускає окреме просування. Запит, який ще виконується, також повертає 409; недоступне резервування повертає 503 без створення оголошення.`})}),`\n`,_jsx(ParamField,{body:`platformOptions.tiktok`,type:`object`,id:`param-platform-options-tiktok`,children:_jsxs(Expandable,{title:`дочірні атрибути`,children:[_jsx(ParamField,{body:`sparkAuthCode`,type:`string`,id:`param-spark-auth-code`,children:_jsx(_components.p,{children:`Код Spark Ads, який автор відео згенерував у застосунку TikTok для цього відео. Обов’язковий для відео, яке не належить вашому підключеному акаунту TikTok.`})}),_jsx(ParamField,{body:`adsOnly`,type:`boolean`,default:`false`,id:`param-ads-only`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` показує відео лише як оголошення, а не в профілі автора.`]})})]})}),`\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":"Просування допису","description":"Просувайте відео TikTok як Spark Ad. Ayrshare створює кампанію, групу оголошень і оголошення у вашому рекламному акаунті TikTok з ціллю, бюджетом і таргетингом.","api":"POST /ads/tiktok/boost","href":"/uk/apis/ads/tiktok/boost"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Що підтримує TikTok","slug":"capabilities","depth":3,"children":[]},{"title":"Цілі оголошення","slug":"ad-goals","depth":3,"children":[]},{"title":"Параметри заголовка","slug":"header-parameters","depth":2,"children":[]},{"title":"Параметри тіла","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":"Просування допису","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":"ID вашого рекламного акаунта TikTok (рекламодавця), наприклад `7100000000000000001` . Це має бути рекламний акаунт, який ви під’єднали.","required":true}],"postId":[{"type":"string","description":"ID допису Ayrshare, який потрібно просувати. Надішліть `postId` або `socialPostId` ."}],"socialPostId":[{"type":"string","description":"ID відео TikTok, яке потрібно просувати."}],"goal":[{"type":"string","description":"Одна з цілей оголошення .","required":true}],"budget":[{"type":"object","properties":{"amount":[{"type":"number","description":"Сума витрат, щонайменше 20, до двох знаків після коми.","required":true}],"type":[{"type":"string","description":"`daily` або `lifetime` . Бюджет на весь період потребує `schedule.end` ."}]},"required":true}],"schedule":[{"type":"object","properties":{"start":[{"type":"string","description":"Дата й час ISO початку оголошення. За замовчуванням зараз."}],"end":[{"type":"string","description":"Дата й час ISO завершення оголошення. Пропустіть, щоб оголошення показувалося, доки ви його не призупините."}]}}],"targeting":[{"type":"object","properties":{"locations":[{"type":"object","properties":{},"description":"Де показувати оголошення: двобуквені коди країн у `countries` або ID місцезнаходжень із `GET /ads/tiktok/regions?search=\u003cterm>` у `regions` чи `cities` .","required":true}],"ageMin":[{"type":"number","description":"Початок одного з вікових діапазонів TikTok: 18, 25, 35, 45 або 55."}],"ageMax":[{"type":"number","description":"Кінець одного з вікових діапазонів TikTok: 24, 34, 44, 54 або 65 для 55 і старше."}],"genders":[{"type":"string","description":"`all` , `male` або `female` ."}],"interests":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"ID категорій інтересів із `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` або `READ_MORE` .","required":true}],"link":[{"type":"string","description":"Сторінка, яку потрібно відкрити. Обов’язково для цілі `traffic` ."}]},"description":"Обов’язково для цілі `traffic` ."}],"status":[{"type":"string","description":"`active` або `paused` ."}],"idempotencyKey":[{"type":"string","description":"Унікальний непорожній ключ для цього запиту на просування. Повторіть той самий запит із тим самим ключем, щоб не створити дублікат оголошення: буде повторно повернено першу відповідь, зокрема помилку. Повторне використання ключа з іншим вмістом запиту повертає HTTP 409. Ключ діє лише для цієї платформи: той самий ключ на іншій платформі запускає окреме просування. Запит, який ще виконується, також повертає 409; недоступне резервування повертає 503 без створення оголошення."}],"platformOptions.tiktok":[{"type":"object","properties":{"sparkAuthCode":[{"type":"string","description":"Код Spark Ads, який автор відео згенерував у застосунку TikTok для цього відео. Обов’язковий для відео, яке не належить вашому підключеному акаунту TikTok."}],"adsOnly":[{"type":"boolean","description":"`true` показує відео лише як оголошення, а не в профілі автора."}]}}]}}],"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":"Просування допису - Ayrshare Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/apis/ads/tiktok/boost","matchLevel":1},"es":{"href":"/es/apis/ads/tiktok/boost","matchLevel":1},"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":0},"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":"uk/apis/ads/tiktok/boost.mdx","locale":"uk"},"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=\"Просувайте відео TikTok як Spark Ad. Ayrshare створює кампанію, групу оголошень і оголошення у вашому рекламному акаунті TikTok з ціллю, бюджетом і таргетингом.\">\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=\"Просування допису - Ayrshare Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Просувайте відео TikTok як Spark Ad. Ayrshare створює кампанію, групу оголошень і оголошення у вашому рекламному акаунті TikTok з ціллю, бюджетом і таргетингом.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ayrshare Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.ayrshare.com/docs/uk/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=%D0%9F%D1%80%D0%BE%D1%81%D1%83%D0%B2%D0%B0%D0%BD%D0%BD%D1%8F+%D0%B4%D0%BE%D0%BF%D0%B8%D1%81%D1%83\u0026amp;description=%D0%9F%D1%80%D0%BE%D1%81%D1%83%D0%B2%D0%B0%D0%B9%D1%82%D0%B5+%D0%B2%D1%96%D0%B4%D0%B5%D0%BE+TikTok+%D1%8F%D0%BA+Spark+Ad.+Ayrshare+%D1%81%D1%82%D0%B2%D0%BE%D1%80%D1%8E%D1%94+%D0%BA%D0%B0%D0%BC%D0%BF%D0%B0%D0%BD%D1%96%D1%8E%2C+%D0%B3%D1%80%D1%83%D0%BF%D1%83+%D0%BE%D0%B3%D0%BE%D0%BB%D0%BE%D1%88%D0%B5%D0%BD%D1%8C+%D1%96+%D0%BE%D0%B3%D0%BE%D0%BB%D0%BE%D1%88%D0%B5%D0%BD%D0%BD%D1%8F+%D1%83+%D0%B2%D0%B0%D1%88%D0%BE%D0%BC%D1%83+%D1%80%D0%B5%D0%BA%D0%BB%D0%B0%D0%BC%D0%BD%D0%BE%D0%BC%D1%83+%D0%B0%D0%BA%D0%B0%D1%83%D0%BD%D1%82%D1%96+TikTok+%D0%B7+%D1%86%D1%96%D0%BB%D0%BB%D1%8E%2C+%D0%B1%D1%8E%D0%B4%D0%B6%D0%B5%D1%82%D0%BE%D0%BC+%D1%96+%D1%82%D0%B0%D1%80%D0%B3%D0%B5%D1%82%D0%B8%D0%BD%D0%B3%D0%BE%D0%BC.\u0026amp;theme=722a7095c53b95fd5a0669f2\u0026amp;signature=9bdef13d7eebc2ff9e3162ec131b17bef4e671404f31eaf2237ccf91424fa2c3\">\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=\"Просування допису - Ayrshare Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Просувайте відео TikTok як Spark Ad. Ayrshare створює кампанію, групу оголошень і оголошення у вашому рекламному акаунті TikTok з ціллю, бюджетом і таргетингом.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ayrshare-docs.mintlify.site/docs/_mintlify/api/og/v2?division=TikTok+Ads\u0026amp;title=%D0%9F%D1%80%D0%BE%D1%81%D1%83%D0%B2%D0%B0%D0%BD%D0%BD%D1%8F+%D0%B4%D0%BE%D0%BF%D0%B8%D1%81%D1%83\u0026amp;description=%D0%9F%D1%80%D0%BE%D1%81%D1%83%D0%B2%D0%B0%D0%B9%D1%82%D0%B5+%D0%B2%D1%96%D0%B4%D0%B5%D0%BE+TikTok+%D1%8F%D0%BA+Spark+Ad.+Ayrshare+%D1%81%D1%82%D0%B2%D0%BE%D1%80%D1%8E%D1%94+%D0%BA%D0%B0%D0%BC%D0%BF%D0%B0%D0%BD%D1%96%D1%8E%2C+%D0%B3%D1%80%D1%83%D0%BF%D1%83+%D0%BE%D0%B3%D0%BE%D0%BB%D0%BE%D1%88%D0%B5%D0%BD%D1%8C+%D1%96+%D0%BE%D0%B3%D0%BE%D0%BB%D0%BE%D1%88%D0%B5%D0%BD%D0%BD%D1%8F+%D1%83+%D0%B2%D0%B0%D1%88%D0%BE%D0%BC%D1%83+%D1%80%D0%B5%D0%BA%D0%BB%D0%B0%D0%BC%D0%BD%D0%BE%D0%BC%D1%83+%D0%B0%D0%BA%D0%B0%D1%83%D0%BD%D1%82%D1%96+TikTok+%D0%B7+%D1%86%D1%96%D0%BB%D0%BB%D1%8E%2C+%D0%B1%D1%8E%D0%B4%D0%B6%D0%B5%D1%82%D0%BE%D0%BC+%D1%96+%D1%82%D0%B0%D1%80%D0%B3%D0%B5%D1%82%D0%B8%D0%BD%D0%B3%D0%BE%D0%BC.\u0026amp;theme=722a7095c53b95fd5a0669f2\u0026amp;signature=9bdef13d7eebc2ff9e3162ec131b17bef4e671404f31eaf2237ccf91424fa2c3\">\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/uk/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/uk/apis/ads/tiktok/boost.md\">\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=\"en\" href=\"https://www.ayrshare.com/docs/apis/ads/tiktok/boost\">\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=\"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=\"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/uk/apis/ads/tiktok/boost#webpage\",\"url\":\"https://www.ayrshare.com/docs/uk/apis/ads/tiktok/boost\",\"name\":\"Просування допису\",\"description\":\"Просувайте відео TikTok як Spark Ad. Ayrshare створює кампанію, групу оголошень і оголошення у вашому рекламному акаунті TikTok з ціллю, бюджетом і таргетингом.\",\"dateModified\":\"2026-11-23T16:11:38.922Z\",\"isPartOf\":{\"@id\":\"https://www.ayrshare.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.ayrshare.com/docs/uk/apis/ads/tiktok/boost#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.ayrshare.com/docs/uk/apis/ads/tiktok/boost#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Endpoints\",\"item\":\"https://www.ayrshare.com/docs/uk/apis/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ads\",\"item\":\"https://www.ayrshare.com/docs/uk/apis/ads/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Просування допису\",\"item\":\"https://www.ayrshare.com/docs/uk/apis/ads/tiktok/boost\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.ayrshare.com/docs/uk/apis/ads/tiktok/boost#apireference\",\"headline\":\"Просування допису\",\"name\":\"Просування допису\",\"description\":\"Просувайте відео TikTok як Spark Ad. Ayrshare створює кампанію, групу оголошень і оголошення у вашому рекламному акаунті TikTok з ціллю, бюджетом і таргетингом.\",\"url\":\"https://www.ayrshare.com/docs/uk/apis/ads/tiktok/boost\",\"mainEntityOfPage\":{\"@id\":\"https://www.ayrshare.com/docs/uk/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/uk/apis/ads/tiktok/boost.md","siteName":"Ayrshare Docs","nav":{"global":null,"languages":[{"language":"en","pages":[{"title":"en","href":"/apis/ads/tiktok/boost"}]},{"language":"es","pages":[{"title":"es","href":"/es/apis/ads/tiktok/boost"}]},{"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","anchors":[{"anchor":"Documentation","icon":"code","groups":[{"group":"Get Started","pages":[{"title":"API Ayrshare для соціальних мереж","href":"/uk/introduction"},{"title":"Посібник швидкого старту","href":"/uk/quickstart"},{"group":"MCP Server","pages":[{"title":"MCP-сервер Ayrshare: керуйте API за допомогою AI-агентів","sidebarTitle":"Огляд","icon":"robot","href":"/uk/additional/mcp-action-server"},{"title":"Під'єднання до MCP Server","sidebarTitle":"Під'єднання і налаштування","icon":"plug","href":"/uk/additional/mcp-action-connect"},{"title":"Каталог інструментів MCP","sidebarTitle":"Каталог інструментів","icon":"list","href":"/uk/additional/mcp-action-tools"},{"title":"Claude Code Plugin","icon":"terminal","href":"/uk/additional/mcp-claude-code-plugin"},{"title":"n8n","icon":"diagram-project","href":"/uk/additional/mcp-n8n"},{"title":"Підключення соціальних акаунтів клієнтів","sidebarTitle":"Підключення клієнтів","icon":"user-plus","href":"/uk/additional/mcp-client-onboarding"},{"title":"Documentation MCP","sidebarTitle":"Documentation MCP","icon":"magnifying-glass","href":"/uk/additional/mcp-server"}]}]},{"group":"API Endpoints","pages":[{"title":"Огляд Ayrshare API","href":"/uk/apis/overview"},{"group":"GraphQL","pages":[{"title":"Огляд GraphQL API","href":"/uk/apis/graphql/overview"},{"title":"Використання GraphQL API","href":"/uk/apis/graphql/using-the-api"},{"title":"Помилки GraphQL","href":"/uk/apis/graphql/errors"},{"title":"Ліміти та білінг GraphQL","href":"/uk/apis/graphql/limits"},{"title":"Оголошення","href":"/uk/apis/graphql/ads"}]},{"group":"Ads","pages":[{"title":"Ads API: просування публікацій Meta і керування Google Ads","sidebarTitle":"Огляд Ads API","href":"/uk/apis/ads/overview"},{"title":"Рекламні кампанії","href":"/uk/apis/ads/campaigns"},{"group":"Facebook Ads","pages":[{"title":"Accounts","api":"GET /ads/facebook/accounts","href":"/uk/apis/ads/facebook/get-ad-accounts"},{"title":"Кампанії","api":"GET /ads/facebook/campaigns","href":"/uk/apis/ads/facebook/get-ad-campaigns"},{"title":"Просування допису","api":"POST /ads/facebook/boost","href":"/uk/apis/ads/facebook/boost-post"},{"title":"Просунуті оголошення","api":"GET /ads/facebook/ads","href":"/uk/apis/ads/facebook/get-boosted-ads"},{"title":"Історія","api":"GET /ads/facebook/history","href":"/uk/apis/ads/facebook/get-ad-history"},{"title":"Insights","api":"GET /ads/facebook/insights","href":"/uk/apis/ads/facebook/get-ad-insights"},{"title":"Інтереси","api":"GET /ads/facebook/interests","href":"/uk/apis/ads/facebook/get-ad-interests"},{"title":"Регіони","api":"GET /ads/facebook/regions","href":"/uk/apis/ads/facebook/get-ad-regions"},{"title":"Міста","api":"GET /ads/facebook/cities","href":"/uk/apis/ads/facebook/get-ad-cities"},{"title":"DSA-рекомендації","api":"GET /ads/facebook/dsaRecommendations","href":"/uk/apis/ads/facebook/get-dsa-recommendations"},{"title":"Оновити рекламу","api":"PUT /ads/facebook/ads","href":"/uk/apis/ads/facebook/put-ad-update"}]},{"group":"Instagram Ads","pages":[{"title":"Accounts","api":"GET /ads/instagram/accounts","href":"/uk/apis/ads/instagram/get-ad-accounts"},{"title":"Кампанії","api":"GET /ads/instagram/campaigns","href":"/uk/apis/ads/instagram/get-ad-campaigns"},{"title":"Регіони","api":"GET /ads/instagram/regions","href":"/uk/apis/ads/instagram/get-ad-regions"},{"title":"Міста","api":"GET /ads/instagram/cities","href":"/uk/apis/ads/instagram/get-ad-cities"},{"title":"DSA-рекомендації","api":"GET /ads/instagram/dsaRecommendations","href":"/uk/apis/ads/instagram/get-dsa-recommendations"},{"title":"Просування допису","api":"POST /ads/instagram/boost","href":"/uk/apis/ads/instagram/boost-post"},{"title":"Просунуті оголошення","api":"GET /ads/instagram/ads","href":"/uk/apis/ads/instagram/get-boosted-ads"},{"title":"Історія","api":"GET /ads/instagram/history","href":"/uk/apis/ads/instagram/get-ad-history"},{"title":"Insights","api":"GET /ads/instagram/insights","href":"/uk/apis/ads/instagram/get-ad-insights"},{"title":"Інтереси","api":"GET /ads/instagram/interests","href":"/uk/apis/ads/instagram/get-ad-interests"},{"title":"Оновити рекламу","api":"PUT /ads/instagram/ads","href":"/uk/apis/ads/instagram/put-ad-update"}]},{"group":"Google Ads","pages":[{"title":"Accounts","api":"GET /ads/google/accounts","href":"/uk/apis/ads/google/get-ad-accounts"},{"title":"Пошукові кампанії Google","sidebarTitle":"Пошукові кампанії","api":"POST /ads/google/campaigns","href":"/uk/apis/ads/google/search-campaigns"},{"title":"Кампанії Google Performance Max","sidebarTitle":"Кампанії Performance Max","api":"POST /ads/google/campaigns","href":"/uk/apis/ads/google/performance-max-campaigns"},{"title":"Отримати кампанію","api":"GET /ads/google/campaigns/{id}","href":"/uk/apis/ads/google/get-campaign"},{"title":"Оновити кампанію","api":"PUT /ads/google/campaigns/{id}","href":"/uk/apis/ads/google/update-campaign"},{"title":"Insights","description":"Отримуйте щоденні показники Google Ads у реальному часі для ваших кампаній, груп оголошень або оголошень, із кліками, вартістю, конверсіями та їхньою цінністю.","api":"GET /ads/google/insights","href":"/uk/apis/ads/google/get-ad-insights"}]},{"group":"TikTok Ads","pages":[{"title":"Просування допису","api":"POST /ads/tiktok/boost","href":"/uk/apis/ads/tiktok/boost"}]}]},{"group":"Analytics","pages":[{"title":"Analytics API: метрики постів, акаунтів і посилань","sidebarTitle":"Огляд Analytics API","description":"Отримайте аналітичні дані в реальному часі про пости й соціальні акаунти — кліки, лайки, поширення, підписників та покази","href":"/uk/apis/analytics/overview"},{"title":"Аналітика публікації","api":"POST /analytics/post","href":"/uk/apis/analytics/post"},{"title":"Аналітика допису за Social ID","api":"POST /analytics/post","href":"/uk/apis/analytics/social-by-id"},{"title":"Аналітика в соціальній мережі","api":"POST /analytics/social","href":"/uk/apis/analytics/social"},{"title":"Плейлисти YouTube","api":"GET /analytics/youTubePlaylists","href":"/uk/apis/analytics/youtube-playlists"},{"title":"Кількість підписників Instagram онлайн","api":"GET /analytics/getInstagramOnlineFollowers","href":"/uk/apis/analytics/instagram-follower-count"}]},{"group":"Auto Schedule","pages":[{"title":"Огляд Auto Schedule","href":"/uk/apis/auto-schedule/overview"},{"title":"Налаштувати автоматичний розклад","api":"POST /auto-schedule/set","href":"/uk/apis/auto-schedule/set-schedule"},{"title":"Видалити автоматичний розклад","api":"DELETE /auto-schedule/delete","href":"/uk/apis/auto-schedule/delete-schedule"},{"title":"Список автопланувань","api":"GET /auto-schedule/list","href":"/uk/apis/auto-schedule/list-schedule"},{"title":"Отримати очікувані дописи автопланувальника","api":"GET /auto-schedule/pending","href":"/uk/apis/auto-schedule/pending-auto-schedule"}]},{"group":"Automations","tag":"BETA","pages":[{"title":"Огляд Automations API","href":"/uk/apis/automations/overview"},{"title":"Створити автоматизацію","api":"POST /automations","href":"/uk/apis/automations/create-automation"},{"title":"Список автоматизацій","api":"GET /automations","href":"/uk/apis/automations/list-automations"},{"title":"Отримати автоматизацію","api":"GET /automations/:id","href":"/uk/apis/automations/get-automation"},{"title":"Оновлення автоматизації","api":"PUT /automations/:id","href":"/uk/apis/automations/update-automation"},{"title":"Видалити автоматизацію","api":"DELETE /automations/:id","href":"/uk/apis/automations/delete-automation"},{"title":"Отримати активність автоматизації","api":"GET /automations/:id/activity","href":"/uk/apis/automations/get-activity"}]},{"group":"Brand","pages":[{"title":"Brand API: Дані публічних облікових записів і конкурентів","href":"/uk/apis/brand/overview"}]},{"group":"Comments","pages":[{"title":"Огляд Comments API","href":"/uk/apis/comments/overview"},{"title":"Опублікувати коментар","api":"POST /comments","href":"/uk/apis/comments/post-comment"},{"title":"Отримати коментарі","api":"GET /comments/:id","href":"/uk/apis/comments/get-comments"},{"title":"Видалення коментарів","api":"DELETE /comments/:id","href":"/uk/apis/comments/delete-comments"},{"title":"Відповідь на коментар","api":"POST /comments/reply/:commentId","href":"/uk/apis/comments/reply-to-comment"}]},{"group":"Feed","pages":[{"title":"Огляд RSS-стрічок","href":"/uk/apis/feeds/overview"},{"title":"Додати RSS-стрічку","api":"POST /feed","href":"/uk/apis/feeds/add-feed"},{"title":"Видалити RSS-стрічку","api":"DELETE /feed","href":"/uk/apis/feeds/delete-feed"},{"title":"Отримати RSS-стрічки","api":"GET /feed","href":"/uk/apis/feeds/get-feeds"},{"title":"Оновлення RSS-стрічки","api":"PUT /feed","href":"/uk/apis/feeds/update-feed"}]},{"group":"Generate","pages":[{"title":"Огляд Generate API","href":"/uk/apis/generate/overview"},{"title":"Генерування тексту поста","api":"POST /generate/post","href":"/uk/apis/generate/post-text"},{"title":"Переписування публікації","api":"POST /generate/rewrite","href":"/uk/apis/generate/rewrite-post"},{"title":"Транскрибувати відео","api":"POST /generate/transcription","href":"/uk/apis/generate/transcribe-video"},{"title":"Переклад поста","api":"POST /generate/translate","href":"/uk/apis/generate/translate-post"},{"title":"Генерація alt-тексту","api":"POST /generate/altText","href":"/uk/apis/generate/image-alt-text"},{"title":"Аналіз настроїв","api":"POST /generate/sentiment","href":"/uk/apis/generate/sentiment"}]},{"group":"Hashtags","pages":[{"title":"Огляд Hashtags API","href":"/uk/apis/hashtags/overview"},{"title":"Автохештеги","api":"POST /hashtags/auto","href":"/uk/apis/hashtags/auto-hashtags"},{"title":"Перевірка заборонених хештегів","api":"GET /hashtags/banned","href":"/uk/apis/hashtags/check-hashtags"},{"title":"Рекомендація хештегів","api":"GET /hashtags/recommend","href":"/uk/apis/hashtags/recommend-hashtags"},{"title":"Пошук хештегів","api":"GET /hashtags/search","href":"/uk/apis/hashtags/search-hashtags"}]},{"group":"History","pages":[{"title":"Огляд History API","href":"/uk/apis/history/overview"},{"title":"Історія дописів","api":"GET /history","href":"/uk/apis/history/get-history"},{"title":"Історія посту за ID","api":"GET /history/:id","href":"/uk/apis/history/get-history-id"},{"title":"Отримати історію постів для соціальної платформи","api":"GET /history/:platform","href":"/uk/apis/history/history-platform"},{"title":"Історія постів за Social ID","api":"GET /history/:socialId","href":"/uk/apis/history/history-social-id"}]},{"group":"Links","pages":[{"title":"Огляд Links API","href":"/uk/apis/links/overview"},{"title":"Створити коротке посилання","api":"POST /links","href":"/uk/apis/links/create-short-link"},{"title":"Оновити коротке посилання","api":"PUT /links/:id","href":"/uk/apis/links/update-short-link"},{"title":"Аналітика посилань","api":"GET /links/:id","href":"/uk/apis/links/link-analytics"}]},{"group":"Listening","pages":[{"title":"Listen API: моніторинг та згадки в соціальних мережах","href":"/uk/apis/listen/overview"},{"title":"Отримати дані бренду","api":"GET /brand/byUser","href":"/uk/apis/listen/brand-user"},{"group":"Search","pages":[{"title":"Пошук сторінок Facebook","api":"GET /brand/search/facebook","href":"/uk/apis/listen/search/fb-page-search"},{"title":"Пошук у LinkedIn","api":"GET /brand/search/linkedin","href":"/uk/apis/listen/search/linkedin-search"}]},{"group":"Keyword","pages":[{"title":"Пошук твітів за ключовим словом","api":"GET /listen/keyword","href":"/uk/apis/listen/keyword/search-tweets"}]}]},{"group":"Media","pages":[{"title":"Огляд Media API","href":"/uk/apis/media/overview"},{"title":"Завантаження зображення або відео","api":"POST /media/upload","href":"/uk/apis/media/upload-media"},{"title":"Завантаження великих медіафайлів","api":"GET /media/uploadUrl","href":"/uk/apis/media/upload-large-media"},{"title":"Перевірка існування Media URL","api":"POST /media/urlExists","href":"/uk/apis/media/verify-media-url"},{"title":"Отримати всі медіа з галереї","api":"GET /media","href":"/uk/apis/media/get-media-in-gallery"},{"title":"Змінити розмір зображення","api":"POST /media/resize","href":"/uk/apis/media/resize"},{"title":"Метадані медіафайлу","api":"GET /media/meta","href":"/uk/apis/media/get-media-metadata"},{"title":"Пошук аудіо Instagram","api":"GET /media/instagram/audio/search","href":"/uk/apis/media/search-instagram-audio"},{"title":"Метадані аудіо Instagram","api":"GET /media/instagram/audio/{audioId}","href":"/uk/apis/media/get-instagram-audio"}]},{"group":"Messages","pages":[{"title":"Огляд Messages API","href":"/uk/apis/messages/overview"},{"title":"Надсилання повідомлення","api":"POST /messages/:platform","href":"/uk/apis/messages/send-message"},{"title":"Отримати повідомлення","api":"GET /messages/:platform","href":"/uk/apis/messages/get-messages"},{"title":"Оновити повідомлення","api":"PUT /messages/:platform/:conversationId","href":"/uk/apis/messages/update-messages"},{"title":"Встановити автовідповідь","api":"POST /messages/autoresponse","href":"/uk/apis/messages/set-auto-response"},{"title":"Get Auto Response","api":"GET /messages/autoresponse","href":"/uk/apis/messages/get-auto-response"}]},{"group":"Post","pages":[{"title":"Огляд Post API","href":"/uk/apis/post/overview"},{"title":"Publish a Post API: Публікація в будь-яку соціальну мережу","api":"POST /post","href":"/uk/apis/post/post"},{"title":"Отримати допис","api":"GET /post/:id","href":"/uk/apis/post/get-post"},{"title":"Видалити публікацію","api":"DELETE /post","href":"/uk/apis/post/delete-post"},{"title":"Оновити допис","api":"PATCH /post","href":"/uk/apis/post/update-post"},{"title":"Повторити спробу публікації допису","api":"PUT /post/retry","href":"/uk/apis/post/retry-post"},{"title":"Copy a Post","api":"POST /post/copy","href":"/uk/apis/post/copy-post"},{"title":"Масова публікація","api":"POST /post/bulk","href":"/uk/apis/post/bulk-post"},{"group":"Social Networks","pages":[{"title":"Підтримувані соціальні мережі","href":"/uk/apis/post/social-networks/overview"},{"title":"Bluesky API","icon":"bluesky","href":"/uk/apis/post/social-networks/bluesky"},{"title":"Facebook Page API","icon":"facebook","href":"/uk/apis/post/social-networks/facebook"},{"title":"Google Business Profile API","icon":"google","href":"/uk/apis/post/social-networks/google"},{"title":"Instagram API","icon":"instagram","href":"/uk/apis/post/social-networks/instagram"},{"title":"LinkedIn API","icon":"linkedin","href":"/uk/apis/post/social-networks/linkedin"},{"title":"Pinterest API","icon":"pinterest","href":"/uk/apis/post/social-networks/pinterest"},{"title":"Reddit API","icon":"reddit","href":"/uk/apis/post/social-networks/reddit"},{"title":"Snapchat API","icon":"snapchat","href":"/uk/apis/post/social-networks/snapchat"},{"title":"Telegram API","icon":"telegram","href":"/uk/apis/post/social-networks/telegram"},{"title":"Threads API","icon":"threads","href":"/uk/apis/post/social-networks/threads"},{"title":"TikTok API","icon":"tiktok","href":"/uk/apis/post/social-networks/tiktok"},{"title":"X API","icon":"x-twitter","href":"/uk/apis/post/social-networks/x-twitter"},{"title":"YouTube API","icon":"youtube","href":"/uk/apis/post/social-networks/youtube"}]}]},{"group":"Profiles","pages":[{"title":"Огляд Profiles API","href":"/uk/apis/profiles/overview"},{"title":"Create a User Profile","api":"POST /profiles","href":"/uk/apis/profiles/create-profile"},{"title":"Видалення User Profile","api":"DELETE /profiles","href":"/uk/apis/profiles/delete-profile"},{"title":"Оновити User Profile","api":"PATCH /profiles","href":"/uk/apis/profiles/update-profile"},{"title":"Get User Profiles","api":"GET /profiles","href":"/uk/apis/profiles/get-profiles"},{"title":"Від'єднати соціальну мережу","api":"DELETE /profiles/social","href":"/uk/apis/profiles/unlink-social-network"},{"title":"Огляд соціального зв'язування","href":"/uk/apis/profiles/social-linking-overview"},{"title":"Створення Link Session","api":"POST /profiles/link-sessions","href":"/uk/apis/profiles/create-link-session"},{"title":"Отримання Link Session","api":"GET /profiles/link-sessions/{sessionId}","href":"/uk/apis/profiles/get-link-session"},{"title":"Відкликання Link Session","api":"DELETE /profiles/link-sessions/{sessionId}","href":"/uk/apis/profiles/revoke-link-session"},{"title":"Генерація URL для підключення (generateJWT)","api":"POST /profiles/generateJWT","deprecated":true,"href":"/uk/apis/profiles/generate-jwt"}]},{"group":"Reviews","pages":[{"title":"Reviews API Overview","href":"/uk/apis/reviews/overview"},{"title":"Отримання всіх відгуків","api":"GET /reviews","href":"/uk/apis/reviews/get-reviews"},{"title":"Отримати один відгук","api":"GET /reviews/:id","href":"/uk/apis/reviews/get-one-review"},{"title":"Відповідь на відгук","api":"POST /reviews","href":"/uk/apis/reviews/reply-review"},{"title":"Видалити відповідь на відгук","api":"DELETE /reviews","href":"/uk/apis/reviews/delete-review-reply"}]},{"group":"User","pages":[{"title":"Огляд User Profile API","href":"/uk/apis/user/overview"},{"title":"Деталі User Profile","api":"GET /user","href":"/uk/apis/user/profile-details"},{"title":"Pinterest Boards","api":"GET /user/details/pinterest","href":"/uk/apis/user/pinterest-board"},{"title":"Оновити користувача","api":"PATCH /user/:platform","href":"/uk/apis/user/update-user"},{"title":"Бізнес-профіль WhatsApp","api":"GET /user/details/whatsapp","href":"/uk/apis/user/whatsapp-profile"},{"title":"Пакетне отримання всіх","api":"GET /user/batch","href":"/uk/apis/user/batch-all-users"}]},{"group":"Utils","pages":[{"title":"Статус запиту на співавтора","api":"GET /post/collaborators/:id","href":"/uk/apis/utils/instagram-get-collaborator"},{"title":"Reddit Flair","api":"GET /post/redditFlair/:subreddit","href":"/uk/apis/utils/reddit-get-flair"},{"title":"User Lookups","api":"GET /user/lookups","href":"/uk/apis/utils/user-lookups"},{"group":"YouTube","pages":[{"title":"Категорії YouTube","api":"GET /post/youtubeCategories/:region","href":"/uk/apis/utils/youtube-categories"},{"title":"Set YouTube Watermark","api":"POST /post/youTubeWatermark","href":"/uk/apis/utils/set-youtube-watermark"},{"title":"Видалити водяний знак YouTube","api":"DELETE /post/youTubeWatermark","href":"/uk/apis/utils/remove-youtube-watermark"}]}]},{"group":"Validate","pages":[{"title":"Огляд Validate API","href":"/uk/apis/validate/overview"},{"title":"Валідація медіа","href":"/uk/apis/validate/validate-media"},{"title":"Перевірка довжини посту","api":"POST /validate/postLength","href":"/uk/apis/validate/check-post-length"},{"title":"Перевірка існування Subreddit","api":"GET /validate/redditExists/:subreddit","href":"/uk/apis/validate/check-subreddit"},{"title":"Модерація контенту","api":"POST /validate/moderation","href":"/uk/apis/validate/moderation"},{"title":"Валідація JSON","api":"POST /validate/json","href":"/uk/apis/validate/validate-json"},{"title":"Валідація допису","api":"POST /validate/post","href":"/uk/apis/validate/validate-post"}]},{"group":"Webhooks","pages":[{"title":"Огляд Webhooks","href":"/uk/apis/webhooks/overview"},{"title":"Дії Webhook","href":"/uk/apis/webhooks/actions"},{"title":"Реєстрація Webhook","api":"POST /hook/webhook","href":"/uk/apis/webhooks/register"},{"title":"Скасувати реєстрацію вебхука","api":"DELETE /hook/webhook","href":"/uk/apis/webhooks/unregister"},{"title":"Ротація секретного ключа підпису","api":"POST /hook/webhook/secret","href":"/uk/apis/webhooks/rotate-signing-secret"},{"title":"Список зареєстрованих вебхуків","api":"GET /hook/webhook","href":"/uk/apis/webhooks/list"},{"title":"Webhook History","api":"GET /hook/history","href":"/uk/apis/webhooks/history"}]}]},{"group":"Multiple Users","pages":[{"title":"Launch Plan: базовий multi-user Business план","href":"/uk/multiple-users/business-launch-overview"},{"title":"Огляд Business Plan","href":"/uk/multiple-users/business-plan-overview"},{"title":"Інтеграція користувачів","href":"/uk/multiple-users/user-integration"},{"title":"Інтеграція API для бізнесу","href":"/uk/multiple-users/api-integration-business"},{"title":"Віджет Ayrshare Connect","href":"/uk/multiple-users/connect-widget"},{"title":"Побудуйте власне спливаюче вікно зв'язування","href":"/uk/multiple-users/connect-direct-mode"},{"title":"Події завершення зв'язування","href":"/uk/multiple-users/link-completion-events"},{"title":"Керування кількома User Profiles","href":"/uk/multiple-users/manage-user-profiles"}]},{"group":"Dashboard","pages":[{"title":"Огляд Ayrshare Dashboard: керування публікацією в соцмережах","href":"/uk/dashboard/overview"},{"group":"Connect Social Accounts","pages":[{"title":"Під'єднайте свої облікові записи соціальних мереж","href":"/uk/dashboard/connect-social-accounts/overview"},{"title":"Прив'язка Bluesky","icon":"bluesky","href":"/uk/dashboard/connect-social-accounts/bluesky"},{"title":"Підключення Facebook","icon":"facebook","href":"/uk/dashboard/connect-social-accounts/facebook"},{"title":"Прив'язка Google Business Profile","icon":"google","href":"/uk/dashboard/connect-social-accounts/google-business"},{"title":"Instagram Linking","icon":"instagram","href":"/uk/dashboard/connect-social-accounts/instagram"},{"title":"Зв'язування LinkedIn","icon":"linkedin","href":"/uk/dashboard/connect-social-accounts/linkedin"},{"title":"Підключення Pinterest","icon":"pinterest","href":"/uk/dashboard/connect-social-accounts/pinterest"},{"title":"Підключення Reddit","icon":"reddit","href":"/uk/dashboard/connect-social-accounts/reddit"},{"title":"Підключення Snapchat","icon":"snapchat","href":"/uk/dashboard/connect-social-accounts/snapchat"},{"title":"Підключіть групу або канал Telegram до Ayrshare","icon":"telegram","href":"/uk/dashboard/connect-social-accounts/telegram"},{"title":"Threads Linking","icon":"threads","href":"/uk/dashboard/connect-social-accounts/threads"},{"title":"Підключення TikTok","icon":"tiktok","href":"/uk/dashboard/connect-social-accounts/tiktok"},{"title":"Налаштування власного X API Key","icon":"x-twitter","href":"/uk/dashboard/connect-social-accounts/x-twitter-byo-keys"},{"title":"Прив'язка X","icon":"x-twitter","href":"/uk/dashboard/connect-social-accounts/x-twitter"},{"title":"Підключення YouTube","icon":"youtube","href":"/uk/dashboard/connect-social-accounts/youtube"}]},{"title":"Як опублікувати допис у соціальних мережах","href":"/uk/dashboard/publish-post"},{"title":"Перегляд JSON","href":"/uk/dashboard/view-json"},{"title":"Відкликання доступу до соціальних мереж","href":"/uk/dashboard/revoke-access"},{"group":"RSS","pages":[{"title":"RSS, Substack та YouTube-стрічки","href":"/uk/dashboard/automated-rss-feeds"},{"title":"Знайти URL RSS-стрічки","href":"/uk/dashboard/find-rss"}]}]},{"group":"Additional","pages":[{"group":"What's New At Ayrshare","pages":[{"title":"Останні оновлення","href":"/uk/whatsnew/latest"},{"title":"Update Archive","href":"/uk/whatsnew/archive"},{"title":"Майбутні зміни API","mode":"wide","href":"/uk/whatsnew/upcoming-api-changes"}]},{"group":"Errors","pages":[{"title":"Огляд помилок","href":"/uk/errors/overview"},{"title":"HTTP Status Codes","href":"/uk/errors/errors-http"},{"title":"Коди помилок Ayrshare","href":"/uk/errors/errors-ayrshare"}]},{"title":"Max Pack","mode":"wide","href":"/uk/additional/maxpack"},{"group":"Media Guidelines","pages":[{"title":"Вимоги до зображень і відео в соціальних мережах","href":"/uk/media-guidelines/overview"},{"title":"Bluesky","icon":"bluesky","href":"/uk/media-guidelines/bluesky"},{"title":"Facebook Pages","icon":"facebook","href":"/uk/media-guidelines/facebook-pages"},{"title":"Google Business Profile","icon":"google","href":"/uk/media-guidelines/google-business-profile"},{"title":"Instagram","icon":"instagram","href":"/uk/media-guidelines/instagram"},{"title":"LinkedIn","icon":"linkedin","href":"/uk/media-guidelines/linkedin"},{"title":"Pinterest","icon":"pinterest","href":"/uk/media-guidelines/pinterest"},{"title":"Reddit","icon":"reddit","href":"/uk/media-guidelines/reddit"},{"title":"Snapchat","icon":"snapchat","href":"/uk/media-guidelines/snapchat"},{"title":"Telegram","icon":"telegram","href":"/uk/media-guidelines/telegram"},{"title":"Threads","icon":"threads","href":"/uk/media-guidelines/threads"},{"title":"TikTok","icon":"tiktok","href":"/uk/media-guidelines/tiktok"},{"title":"WhatsApp","icon":"whatsapp","href":"/uk/media-guidelines/whatsapp"},{"title":"X","icon":"x-twitter","href":"/uk/media-guidelines/x-twitter"},{"title":"YouTube","icon":"youtube","href":"/uk/media-guidelines/youtube"}]},{"group":"Packages \u0026 Guides","pages":[{"title":"Огляд SDK та посібників з інтеграції Ayrshare","mode":"wide","href":"/uk/packages-guides/overview"},{"title":"Airtable","href":"/uk/packages-guides/airtable"},{"title":"Bubble.io","href":"/uk/packages-guides/bubble"},{"title":"Flutter","href":"/uk/packages-guides/flutter"},{"title":"FlutterFlow","href":"/uk/packages-guides/flutterflow"},{"title":"Make","href":"/uk/packages-guides/make"},{"title":"n8n","href":"/uk/packages-guides/n8n"},{"title":"Node.js NPM","href":"/uk/packages-guides/nodejs"},{"title":"Notion","href":"/uk/packages-guides/notion"},{"title":"Python PyPI","href":"/uk/packages-guides/python"},{"title":"Retool","href":"/uk/packages-guides/retool"}]},{"title":"Стан системи","href":"/uk/additional/status"},{"group":"Testing \u0026 Verification","pages":[{"title":"Hurl","href":"/uk/testing/hurl"},{"title":"Кінцеві точки валідації","href":"/uk/testing/validation-endpoints"},{"title":"Postman","href":"/uk/testing/postman"},{"title":"Верифікація постів","href":"/uk/testing/post-verification"},{"title":"Перевірки перед публікацією","href":"/uk/testing/pre-publish-checks"}]},{"group":"ISO Codes","pages":[{"title":"Коди країн","href":"/uk/iso-codes/country"},{"title":"Коди мов","href":"/uk/iso-codes/language"}]}]}]},{"anchor":"Help Center","icon":"lightbulb","pages":[{"title":"Help Center","href":"/uk/help-center/overview"}]}]},{"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":"Просування допису - 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"]}