{ "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 廣告帳戶中建立一個廣告活動、一個廣告群組和一則廣告。
{ "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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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":"zh-Hant/apis/ads/tiktok/boost","slug":"/zh-Hant/apis/ads/tiktok/boost","pageMetadata":{"title":"推廣貼文","description":"將 TikTok 影片作為 Spark Ad 推廣。Ayrshare 在您的 TikTok 廣告帳戶建立廣告活動、廣告群組和廣告,套用目標、預算與目標設定。","api":"POST /ads/tiktok/boost","href":"/zh-Hant/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:[`對於其他創作者的影片,由創作者在 TikTok 應用程式中產生 Spark Ads 代碼並提供給您。請在 `,_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,`,_jsx(_components.code,{children:`details`}),` 中包含 TikTok 的訊息。請等待一分鐘,然後使用新的 `,_jsx(_components.code,{children:`idempotencyKey`}),` 重試。`]}),_jsxs(`li`,{children:[`廣告包含在 Premium Plan、Business Plan 和 Enterprise Plan 中,詳見 `,_jsx(_components.a,{href:`/zh-Hant/apis/ads/overview`,children:`Ads 概覽`}),`。使用其他方案時,回應為 `,_jsx(_components.code,{children:`code: 169`}),`。`]}),_jsxs(`li`,{children:[`如果 TikTok 撤銷了 Ayrshare 對您廣告帳戶的存取權限,回應為 `,_jsx(_components.code,{children:`code: 420`}),`,HTTP 狀態碼為 401,並且 `,_jsx(_components.code,{children:`ads`}),` webhook 會傳送 `,_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:[`您的 TikTok 廣告帳戶(廣告主)ID,例如 `,_jsx(_components.code,{children:`7100000000000000001`}),`。必須是您已連接的廣告帳戶。`]})}),`\n`,_jsx(ParamField,{body:`postId`,type:`string`,id:`param-post-id`,children:_jsxs(_components.p,{children:[`要推廣的 Ayrshare 貼文 ID。請傳送 `,_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:`要推廣的 TikTok 影片 ID。`})}),`\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`}),` 下填寫兩個字母的國家代碼,或在 `,_jsx(_components.code,{children:`regions`}),` 或 `,_jsx(_components.code,{children:`cities`}),` 下填寫來自 `,_jsx(_components.code,{children:`GET /ads/tiktok/regions?search=\u003cterm>`}),` 的位置 ID。`]}),_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:[`來自 `,_jsx(_components.code,{children:`GET /ads/tiktok/interests?search=\u003cterm>`}),` 的興趣類別 ID。`]})})]})}),`\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:`影片創作者在 TikTok 應用程式中為此影片產生的 Spark Ads 代碼。對於並非來自您已連結 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":"/zh-Hant/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:[`對於其他創作者的影片,由創作者在 TikTok 應用程式中產生 Spark Ads 代碼並提供給您。請在 `,_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,`,_jsx(_components.code,{children:`details`}),` 中包含 TikTok 的訊息。請等待一分鐘,然後使用新的 `,_jsx(_components.code,{children:`idempotencyKey`}),` 重試。`]}),_jsxs(`li`,{children:[`廣告包含在 Premium Plan、Business Plan 和 Enterprise Plan 中,詳見 `,_jsx(_components.a,{href:`/zh-Hant/apis/ads/overview`,children:`Ads 概覽`}),`。使用其他方案時,回應為 `,_jsx(_components.code,{children:`code: 169`}),`。`]}),_jsxs(`li`,{children:[`如果 TikTok 撤銷了 Ayrshare 對您廣告帳戶的存取權限,回應為 `,_jsx(_components.code,{children:`code: 420`}),`,HTTP 狀態碼為 401,並且 `,_jsx(_components.code,{children:`ads`}),` webhook 會傳送 `,_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:[`您的 TikTok 廣告帳戶(廣告主)ID,例如 `,_jsx(_components.code,{children:`7100000000000000001`}),`。必須是您已連接的廣告帳戶。`]})}),`\n`,_jsx(ParamField,{body:`postId`,type:`string`,id:`param-post-id`,children:_jsxs(_components.p,{children:[`要推廣的 Ayrshare 貼文 ID。請傳送 `,_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:`要推廣的 TikTok 影片 ID。`})}),`\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`}),` 下填寫兩個字母的國家代碼,或在 `,_jsx(_components.code,{children:`regions`}),` 或 `,_jsx(_components.code,{children:`cities`}),` 下填寫來自 `,_jsx(_components.code,{children:`GET /ads/tiktok/regions?search=\u003cterm>`}),` 的位置 ID。`]}),_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:[`來自 `,_jsx(_components.code,{children:`GET /ads/tiktok/interests?search=\u003cterm>`}),` 的興趣類別 ID。`]})})]})}),`\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:`影片創作者在 TikTok 應用程式中為此影片產生的 Spark Ads 代碼。對於並非來自您已連結 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":"/zh-Hant/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":"您的 TikTok 廣告帳戶(廣告主)ID,例如 `7100000000000000001` 。必須是您已連接的廣告帳戶。","required":true}],"postId":[{"type":"string","description":"要推廣的 Ayrshare 貼文 ID。請傳送 `postId` 或 `socialPostId` 。"}],"socialPostId":[{"type":"string","description":"要推廣的 TikTok 影片 ID。"}],"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` 下填寫兩個字母的國家代碼,或在 `regions` 或 `cities` 下填寫來自 `GET /ads/tiktok/regions?search=\u003cterm>` 的位置 ID。","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":"來自 `GET /ads/tiktok/interests?search=\u003cterm>` 的興趣類別 ID。"}]},"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":"影片創作者在 TikTok 應用程式中為此影片產生的 Spark Ads 代碼。對於並非來自您已連結 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":1},"hi":{"href":"/hi/apis/ads/tiktok/boost","matchLevel":1},"ar":{"href":"/ar/apis/ads/tiktok/boost","matchLevel":1},"zh-Hans":{"href":"/zh-Hans/apis/ads/tiktok/boost","matchLevel":1},"zh-Hant":{"href":"/zh-Hant/apis/ads/tiktok/boost","matchLevel":0}}},"lastModified":"2026-11-23T16:11:38.922Z","originalFileLocation":"zh-Hant/apis/ads/tiktok/boost.mdx","locale":"zh-Hant"},"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/zh-Hant/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=%E6%8E%A8%E5%BB%A3%E8%B2%BC%E6%96%87\u0026amp;description=%E5%B0%87+TikTok+%E5%BD%B1%E7%89%87%E4%BD%9C%E7%82%BA+Spark+Ad+%E6%8E%A8%E5%BB%A3%E3%80%82Ayrshare+%E5%9C%A8%E6%82%A8%E7%9A%84+TikTok+%E5%BB%A3%E5%91%8A%E5%B8%B3%E6%88%B6%E5%BB%BA%E7%AB%8B%E5%BB%A3%E5%91%8A%E6%B4%BB%E5%8B%95%E3%80%81%E5%BB%A3%E5%91%8A%E7%BE%A4%E7%B5%84%E5%92%8C%E5%BB%A3%E5%91%8A%EF%BC%8C%E5%A5%97%E7%94%A8%E7%9B%AE%E6%A8%99%E3%80%81%E9%A0%90%E7%AE%97%E8%88%87%E7%9B%AE%E6%A8%99%E8%A8%AD%E5%AE%9A%E3%80%82\u0026amp;theme=722a7095c53b95fd5a0669f2\u0026amp;signature=4933932c3bd88d6e240e6d5db9b70965905c6d8f87a60a0aaa577d014b12d398\">\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=%E6%8E%A8%E5%BB%A3%E8%B2%BC%E6%96%87\u0026amp;description=%E5%B0%87+TikTok+%E5%BD%B1%E7%89%87%E4%BD%9C%E7%82%BA+Spark+Ad+%E6%8E%A8%E5%BB%A3%E3%80%82Ayrshare+%E5%9C%A8%E6%82%A8%E7%9A%84+TikTok+%E5%BB%A3%E5%91%8A%E5%B8%B3%E6%88%B6%E5%BB%BA%E7%AB%8B%E5%BB%A3%E5%91%8A%E6%B4%BB%E5%8B%95%E3%80%81%E5%BB%A3%E5%91%8A%E7%BE%A4%E7%B5%84%E5%92%8C%E5%BB%A3%E5%91%8A%EF%BC%8C%E5%A5%97%E7%94%A8%E7%9B%AE%E6%A8%99%E3%80%81%E9%A0%90%E7%AE%97%E8%88%87%E7%9B%AE%E6%A8%99%E8%A8%AD%E5%AE%9A%E3%80%82\u0026amp;theme=722a7095c53b95fd5a0669f2\u0026amp;signature=4933932c3bd88d6e240e6d5db9b70965905c6d8f87a60a0aaa577d014b12d398\">\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/zh-Hant/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/zh-Hant/apis/ads/tiktok/boost.md\">\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=\"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=\"uk\" href=\"https://www.ayrshare.com/docs/uk/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://www.ayrshare.com/docs/hi/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ar\" href=\"https://www.ayrshare.com/docs/ar/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh-Hans\" href=\"https://www.ayrshare.com/docs/zh-Hans/apis/ads/tiktok/boost\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"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/zh-Hant/apis/ads/tiktok/boost#webpage\",\"url\":\"https://www.ayrshare.com/docs/zh-Hant/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/zh-Hant/apis/ads/tiktok/boost#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.ayrshare.com/docs/zh-Hant/apis/ads/tiktok/boost#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Endpoints\",\"item\":\"https://www.ayrshare.com/docs/zh-Hant/apis/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ads\",\"item\":\"https://www.ayrshare.com/docs/zh-Hant/apis/ads/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"推廣貼文\",\"item\":\"https://www.ayrshare.com/docs/zh-Hant/apis/ads/tiktok/boost\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.ayrshare.com/docs/zh-Hant/apis/ads/tiktok/boost#apireference\",\"headline\":\"推廣貼文\",\"name\":\"推廣貼文\",\"description\":\"將 TikTok 影片作為 Spark Ad 推廣。Ayrshare 在您的 TikTok 廣告帳戶建立廣告活動、廣告群組和廣告,套用目標、預算與目標設定。\",\"url\":\"https://www.ayrshare.com/docs/zh-Hant/apis/ads/tiktok/boost\",\"mainEntityOfPage\":{\"@id\":\"https://www.ayrshare.com/docs/zh-Hant/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/zh-Hant/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","pages":[{"title":"uk","href":"/uk/apis/ads/tiktok/boost"}]},{"language":"hi","pages":[{"title":"hi","href":"/hi/apis/ads/tiktok/boost"}]},{"language":"ar","pages":[{"title":"ar","href":"/ar/apis/ads/tiktok/boost"}]},{"language":"zh-Hans","pages":[{"title":"zh-Hans","href":"/zh-Hans/apis/ads/tiktok/boost"}]},{"language":"zh-Hant","anchors":[{"anchor":"Documentation","icon":"code","groups":[{"group":"Get Started","pages":[{"title":"Ayrshare 社群媒體 API","href":"/zh-Hant/introduction"},{"title":"快速入門指南","href":"/zh-Hant/quickstart"},{"group":"MCP Server","pages":[{"title":"MCP Server:用 AI 代理程式驅動 API","sidebarTitle":"概觀","icon":"robot","href":"/zh-Hant/additional/mcp-action-server"},{"title":"連線至 MCP Server","sidebarTitle":"Connect \u0026 Setup","icon":"plug","href":"/zh-Hant/additional/mcp-action-connect"},{"title":"MCP 工具目錄","sidebarTitle":"工具目錄","icon":"list","href":"/zh-Hant/additional/mcp-action-tools"},{"title":"Claude Code 外掛","icon":"terminal","href":"/zh-Hant/additional/mcp-claude-code-plugin"},{"title":"n8n","icon":"diagram-project","href":"/zh-Hant/additional/mcp-n8n"},{"title":"為客戶匯入社群帳戶","sidebarTitle":"客戶匯入","icon":"user-plus","href":"/zh-Hant/additional/mcp-client-onboarding"},{"title":"Documentation MCP","sidebarTitle":"Documentation MCP","icon":"magnifying-glass","href":"/zh-Hant/additional/mcp-server"}]}]},{"group":"API Endpoints","pages":[{"title":"Ayrshare API 概觀","href":"/zh-Hant/apis/overview"},{"group":"GraphQL","pages":[{"title":"GraphQL API 概觀","href":"/zh-Hant/apis/graphql/overview"},{"title":"使用 GraphQL API","href":"/zh-Hant/apis/graphql/using-the-api"},{"title":"GraphQL 錯誤","href":"/zh-Hant/apis/graphql/errors"},{"title":"GraphQL 限制與計費","href":"/zh-Hant/apis/graphql/limits"},{"title":"廣告","href":"/zh-Hant/apis/graphql/ads"}]},{"group":"Ads","pages":[{"title":"Ads API:Meta 推廣與 Google Ads 管理","sidebarTitle":"廣告 API 概覽","href":"/zh-Hant/apis/ads/overview"},{"title":"廣告活動","href":"/zh-Hant/apis/ads/campaigns"},{"group":"Facebook Ads","pages":[{"title":"帳戶","api":"GET /ads/facebook/accounts","href":"/zh-Hant/apis/ads/facebook/get-ad-accounts"},{"title":"廣告活動","api":"GET /ads/facebook/campaigns","href":"/zh-Hant/apis/ads/facebook/get-ad-campaigns"},{"title":"推廣貼文","api":"POST /ads/facebook/boost","href":"/zh-Hant/apis/ads/facebook/boost-post"},{"title":"已推廣廣告","api":"GET /ads/facebook/ads","href":"/zh-Hant/apis/ads/facebook/get-boosted-ads"},{"title":"歷史記錄","api":"GET /ads/facebook/history","href":"/zh-Hant/apis/ads/facebook/get-ad-history"},{"title":"洞察報告","api":"GET /ads/facebook/insights","href":"/zh-Hant/apis/ads/facebook/get-ad-insights"},{"title":"興趣","api":"GET /ads/facebook/interests","href":"/zh-Hant/apis/ads/facebook/get-ad-interests"},{"title":"地區","api":"GET /ads/facebook/regions","href":"/zh-Hant/apis/ads/facebook/get-ad-regions"},{"title":"城市","api":"GET /ads/facebook/cities","href":"/zh-Hant/apis/ads/facebook/get-ad-cities"},{"title":"DSA 推薦","api":"GET /ads/facebook/dsaRecommendations","href":"/zh-Hant/apis/ads/facebook/get-dsa-recommendations"},{"title":"更新廣告","api":"PUT /ads/facebook/ads","href":"/zh-Hant/apis/ads/facebook/put-ad-update"}]},{"group":"Instagram Ads","pages":[{"title":"帳戶","api":"GET /ads/instagram/accounts","href":"/zh-Hant/apis/ads/instagram/get-ad-accounts"},{"title":"廣告活動","api":"GET /ads/instagram/campaigns","href":"/zh-Hant/apis/ads/instagram/get-ad-campaigns"},{"title":"地區","api":"GET /ads/instagram/regions","href":"/zh-Hant/apis/ads/instagram/get-ad-regions"},{"title":"城市","api":"GET /ads/instagram/cities","href":"/zh-Hant/apis/ads/instagram/get-ad-cities"},{"title":"DSA 推薦","api":"GET /ads/instagram/dsaRecommendations","href":"/zh-Hant/apis/ads/instagram/get-dsa-recommendations"},{"title":"推廣貼文","api":"POST /ads/instagram/boost","href":"/zh-Hant/apis/ads/instagram/boost-post"},{"title":"已推廣廣告","api":"GET /ads/instagram/ads","href":"/zh-Hant/apis/ads/instagram/get-boosted-ads"},{"title":"歷史記錄","api":"GET /ads/instagram/history","href":"/zh-Hant/apis/ads/instagram/get-ad-history"},{"title":"洞察報告","api":"GET /ads/instagram/insights","href":"/zh-Hant/apis/ads/instagram/get-ad-insights"},{"title":"興趣","api":"GET /ads/instagram/interests","href":"/zh-Hant/apis/ads/instagram/get-ad-interests"},{"title":"更新廣告","api":"PUT /ads/instagram/ads","href":"/zh-Hant/apis/ads/instagram/put-ad-update"}]},{"group":"Google Ads","pages":[{"title":"帳戶","api":"GET /ads/google/accounts","href":"/zh-Hant/apis/ads/google/get-ad-accounts"},{"title":"Google 搜尋廣告活動","sidebarTitle":"搜尋廣告活動","api":"POST /ads/google/campaigns","href":"/zh-Hant/apis/ads/google/search-campaigns"},{"title":"Google Performance Max 廣告活動","sidebarTitle":"Performance Max 廣告活動","api":"POST /ads/google/campaigns","href":"/zh-Hant/apis/ads/google/performance-max-campaigns"},{"title":"取得廣告活動","api":"GET /ads/google/campaigns/{id}","href":"/zh-Hant/apis/ads/google/get-campaign"},{"title":"更新廣告活動","api":"PUT /ads/google/campaigns/{id}","href":"/zh-Hant/apis/ads/google/update-campaign"},{"title":"洞察報告","description":"按天取得透過 Ayrshare 建立的 Google Ads 廣告活動、廣告群組或廣告的成效,了解可用指標、轉換追蹤對 actions 的影響、分頁與錯誤。","api":"GET /ads/google/insights","href":"/zh-Hant/apis/ads/google/get-ad-insights"}]},{"group":"TikTok Ads","pages":[{"title":"推廣貼文","api":"POST /ads/tiktok/boost","href":"/zh-Hant/apis/ads/tiktok/boost"}]}]},{"group":"Analytics","pages":[{"title":"Analytics API:貼文、社群帳號與連結指標","sidebarTitle":"Analytics API 概觀","description":"取得貼文與社群帳號的即時分析,例如按讚、連結點擊與分享,並說明 Post、Social、Link Analytics 端點與資料新鮮度","href":"/zh-Hant/apis/analytics/overview"},{"title":"貼文分析","api":"POST /analytics/post","href":"/zh-Hant/apis/analytics/post"},{"title":"依 Social ID 取得貼文分析","api":"POST /analytics/post","href":"/zh-Hant/apis/analytics/social-by-id"},{"title":"社群網路分析","api":"POST /analytics/social","href":"/zh-Hant/apis/analytics/social"},{"title":"YouTube 播放清單","api":"GET /analytics/youTubePlaylists","href":"/zh-Hant/apis/analytics/youtube-playlists"},{"title":"Instagram 線上粉絲數","api":"GET /analytics/getInstagramOnlineFollowers","href":"/zh-Hant/apis/analytics/instagram-follower-count"}]},{"group":"Auto Schedule","pages":[{"title":"自動排程概觀","href":"/zh-Hant/apis/auto-schedule/overview"},{"title":"設定自動排程","api":"POST /auto-schedule/set","href":"/zh-Hant/apis/auto-schedule/set-schedule"},{"title":"刪除自動排程","api":"DELETE /auto-schedule/delete","href":"/zh-Hant/apis/auto-schedule/delete-schedule"},{"title":"列出自動排程","api":"GET /auto-schedule/list","href":"/zh-Hant/apis/auto-schedule/list-schedule"},{"title":"取得待處理的自動排程貼文","api":"GET /auto-schedule/pending","href":"/zh-Hant/apis/auto-schedule/pending-auto-schedule"}]},{"group":"Automations","tag":"BETA","pages":[{"title":"自動化 API 概觀","href":"/zh-Hant/apis/automations/overview"},{"title":"建立自動化","api":"POST /automations","href":"/zh-Hant/apis/automations/create-automation"},{"title":"列出自動化","api":"GET /automations","href":"/zh-Hant/apis/automations/list-automations"},{"title":"取得自動化","api":"GET /automations/:id","href":"/zh-Hant/apis/automations/get-automation"},{"title":"更新自動化","api":"PUT /automations/:id","href":"/zh-Hant/apis/automations/update-automation"},{"title":"刪除自動化","api":"DELETE /automations/:id","href":"/zh-Hant/apis/automations/delete-automation"},{"title":"取得自動化活動","api":"GET /automations/:id/activity","href":"/zh-Hant/apis/automations/get-activity"}]},{"group":"Brand","pages":[{"title":"Brand API:公開帳號與競品資料","href":"/zh-Hant/apis/brand/overview"}]},{"group":"Comments","pages":[{"title":"Comments API 概觀","href":"/zh-Hant/apis/comments/overview"},{"title":"發布留言","api":"POST /comments","href":"/zh-Hant/apis/comments/post-comment"},{"title":"取得留言","api":"GET /comments/:id","href":"/zh-Hant/apis/comments/get-comments"},{"title":"刪除留言","api":"DELETE /comments/:id","href":"/zh-Hant/apis/comments/delete-comments"},{"title":"回覆留言","api":"POST /comments/reply/:commentId","href":"/zh-Hant/apis/comments/reply-to-comment"}]},{"group":"Feed","pages":[{"title":"RSS Feeds 概觀","href":"/zh-Hant/apis/feeds/overview"},{"title":"新增 RSS Feed","api":"POST /feed","href":"/zh-Hant/apis/feeds/add-feed"},{"title":"刪除 RSS Feed","api":"DELETE /feed","href":"/zh-Hant/apis/feeds/delete-feed"},{"title":"取得 RSS Feed 列表","api":"GET /feed","href":"/zh-Hant/apis/feeds/get-feeds"},{"title":"更新 RSS Feed","api":"PUT /feed","href":"/zh-Hant/apis/feeds/update-feed"}]},{"group":"Generate","pages":[{"title":"Generate API 概觀","href":"/zh-Hant/apis/generate/overview"},{"title":"生成貼文文字","api":"POST /generate/post","href":"/zh-Hant/apis/generate/post-text"},{"title":"改寫貼文","api":"POST /generate/rewrite","href":"/zh-Hant/apis/generate/rewrite-post"},{"title":"轉錄影片","api":"POST /generate/transcription","href":"/zh-Hant/apis/generate/transcribe-video"},{"title":"翻譯貼文","api":"POST /generate/translate","href":"/zh-Hant/apis/generate/translate-post"},{"title":"生成 Alt 文字","api":"POST /generate/altText","href":"/zh-Hant/apis/generate/image-alt-text"},{"title":"情緒分析","api":"POST /generate/sentiment","href":"/zh-Hant/apis/generate/sentiment"}]},{"group":"Hashtags","pages":[{"title":"Hashtags API 概覽","href":"/zh-Hant/apis/hashtags/overview"},{"title":"自動 Hashtag","api":"POST /hashtags/auto","href":"/zh-Hant/apis/hashtags/auto-hashtags"},{"title":"檢查被禁 Hashtag","api":"GET /hashtags/banned","href":"/zh-Hant/apis/hashtags/check-hashtags"},{"title":"推薦 Hashtag","api":"GET /hashtags/recommend","href":"/zh-Hant/apis/hashtags/recommend-hashtags"},{"title":"搜尋 Hashtag","api":"GET /hashtags/search","href":"/zh-Hant/apis/hashtags/search-hashtags"}]},{"group":"History","pages":[{"title":"History API 概覽","href":"/zh-Hant/apis/history/overview"},{"title":"貼文歷史記錄","api":"GET /history","href":"/zh-Hant/apis/history/get-history"},{"title":"依 ID 查詢貼文歷史記錄","api":"GET /history/:id","href":"/zh-Hant/apis/history/get-history-id"},{"title":"取得社群平台的貼文歷史記錄","api":"GET /history/:platform","href":"/zh-Hant/apis/history/history-platform"},{"title":"依 Social ID 查詢貼文歷史記錄","api":"GET /history/:socialId","href":"/zh-Hant/apis/history/history-social-id"}]},{"group":"Links","pages":[{"title":"Links API 概觀","href":"/zh-Hant/apis/links/overview"},{"title":"建立短連結","api":"POST /links","href":"/zh-Hant/apis/links/create-short-link"},{"title":"更新短連結","api":"PUT /links/:id","href":"/zh-Hant/apis/links/update-short-link"},{"title":"連結分析","api":"GET /links/:id","href":"/zh-Hant/apis/links/link-analytics"}]},{"group":"Listening","pages":[{"title":"Listen API:社群媒體監聽與提及","href":"/zh-Hant/apis/listen/overview"},{"title":"取得品牌資料","api":"GET /brand/byUser","href":"/zh-Hant/apis/listen/brand-user"},{"group":"Search","pages":[{"title":"搜尋 Facebook Pages","api":"GET /brand/search/facebook","href":"/zh-Hant/apis/listen/search/fb-page-search"},{"title":"搜尋 LinkedIn","api":"GET /brand/search/linkedin","href":"/zh-Hant/apis/listen/search/linkedin-search"}]},{"group":"Keyword","pages":[{"title":"依關鍵字搜尋推文","api":"GET /listen/keyword","href":"/zh-Hant/apis/listen/keyword/search-tweets"}]}]},{"group":"Media","pages":[{"title":"Media API 概覽","href":"/zh-Hant/apis/media/overview"},{"title":"上傳圖片或影片","api":"POST /media/upload","href":"/zh-Hant/apis/media/upload-media"},{"title":"上傳大型媒體檔案","api":"GET /media/uploadUrl","href":"/zh-Hant/apis/media/upload-large-media"},{"title":"驗證媒體 URL 是否存在","api":"POST /media/urlExists","href":"/zh-Hant/apis/media/verify-media-url"},{"title":"取得媒體庫中的所有媒體","api":"GET /media","href":"/zh-Hant/apis/media/get-media-in-gallery"},{"title":"調整圖片大小","api":"POST /media/resize","href":"/zh-Hant/apis/media/resize"},{"title":"媒體檔案的中繼資料","api":"GET /media/meta","href":"/zh-Hant/apis/media/get-media-metadata"},{"title":"搜尋 Instagram 音訊","api":"GET /media/instagram/audio/search","href":"/zh-Hant/apis/media/search-instagram-audio"},{"title":"取得 Instagram 音訊中繼資料","api":"GET /media/instagram/audio/{audioId}","href":"/zh-Hant/apis/media/get-instagram-audio"}]},{"group":"Messages","pages":[{"title":"Messages API 概覽","href":"/zh-Hant/apis/messages/overview"},{"title":"傳送訊息","api":"POST /messages/:platform","href":"/zh-Hant/apis/messages/send-message"},{"title":"取得訊息","api":"GET /messages/:platform","href":"/zh-Hant/apis/messages/get-messages"},{"title":"更新訊息","api":"PUT /messages/:platform/:conversationId","href":"/zh-Hant/apis/messages/update-messages"},{"title":"設定自動回覆","api":"POST /messages/autoresponse","href":"/zh-Hant/apis/messages/set-auto-response"},{"title":"取得自動回覆","api":"GET /messages/autoresponse","href":"/zh-Hant/apis/messages/get-auto-response"}]},{"group":"Post","pages":[{"title":"Post API 概觀","href":"/zh-Hant/apis/post/overview"},{"title":"發布貼文 API:發布到任何社群網路","api":"POST /post","href":"/zh-Hant/apis/post/post"},{"title":"取得貼文","api":"GET /post/:id","href":"/zh-Hant/apis/post/get-post"},{"title":"刪除貼文","api":"DELETE /post","href":"/zh-Hant/apis/post/delete-post"},{"title":"更新貼文","api":"PATCH /post","href":"/zh-Hant/apis/post/update-post"},{"title":"重試貼文","api":"PUT /post/retry","href":"/zh-Hant/apis/post/retry-post"},{"title":"複製貼文","api":"POST /post/copy","href":"/zh-Hant/apis/post/copy-post"},{"title":"批次發布","api":"POST /post/bulk","href":"/zh-Hant/apis/post/bulk-post"},{"group":"Social Networks","pages":[{"title":"支援的社群網路","href":"/zh-Hant/apis/post/social-networks/overview"},{"title":"Bluesky API","icon":"bluesky","href":"/zh-Hant/apis/post/social-networks/bluesky"},{"title":"Facebook Page API","icon":"facebook","href":"/zh-Hant/apis/post/social-networks/facebook"},{"title":"Google Business Profile API","icon":"google","href":"/zh-Hant/apis/post/social-networks/google"},{"title":"Instagram API","icon":"instagram","href":"/zh-Hant/apis/post/social-networks/instagram"},{"title":"LinkedIn API","icon":"linkedin","href":"/zh-Hant/apis/post/social-networks/linkedin"},{"title":"Pinterest API","icon":"pinterest","href":"/zh-Hant/apis/post/social-networks/pinterest"},{"title":"Reddit API","icon":"reddit","href":"/zh-Hant/apis/post/social-networks/reddit"},{"title":"Snapchat API","icon":"snapchat","href":"/zh-Hant/apis/post/social-networks/snapchat"},{"title":"Telegram API","icon":"telegram","href":"/zh-Hant/apis/post/social-networks/telegram"},{"title":"Threads API","icon":"threads","href":"/zh-Hant/apis/post/social-networks/threads"},{"title":"TikTok API","icon":"tiktok","href":"/zh-Hant/apis/post/social-networks/tiktok"},{"title":"X API","icon":"x-twitter","href":"/zh-Hant/apis/post/social-networks/x-twitter"},{"title":"YouTube API","icon":"youtube","href":"/zh-Hant/apis/post/social-networks/youtube"}]}]},{"group":"Profiles","pages":[{"title":"Profiles API 概觀","href":"/zh-Hant/apis/profiles/overview"},{"title":"建立 User Profile","api":"POST /profiles","href":"/zh-Hant/apis/profiles/create-profile"},{"title":"刪除 User Profile","api":"DELETE /profiles","href":"/zh-Hant/apis/profiles/delete-profile"},{"title":"更新 User Profile","api":"PATCH /profiles","href":"/zh-Hant/apis/profiles/update-profile"},{"title":"取得 User Profiles","api":"GET /profiles","href":"/zh-Hant/apis/profiles/get-profiles"},{"title":"解除連結社群網路","api":"DELETE /profiles/social","href":"/zh-Hant/apis/profiles/unlink-social-network"},{"title":"社群連結概覽","href":"/zh-Hant/apis/profiles/social-linking-overview"},{"title":"建立 Link Session","api":"POST /profiles/link-sessions","href":"/zh-Hant/apis/profiles/create-link-session"},{"title":"取得 Link Session","api":"GET /profiles/link-sessions/{sessionId}","href":"/zh-Hant/apis/profiles/get-link-session"},{"title":"撤銷 Link Session","api":"DELETE /profiles/link-sessions/{sessionId}","href":"/zh-Hant/apis/profiles/revoke-link-session"},{"title":"產生連結 URL (generateJWT)","api":"POST /profiles/generateJWT","deprecated":true,"href":"/zh-Hant/apis/profiles/generate-jwt"}]},{"group":"Reviews","pages":[{"title":"Reviews API 概觀","href":"/zh-Hant/apis/reviews/overview"},{"title":"取得所有評論","api":"GET /reviews","href":"/zh-Hant/apis/reviews/get-reviews"},{"title":"取得單一評論","api":"GET /reviews/:id","href":"/zh-Hant/apis/reviews/get-one-review"},{"title":"回覆評論","api":"POST /reviews","href":"/zh-Hant/apis/reviews/reply-review"},{"title":"刪除評論回覆","api":"DELETE /reviews","href":"/zh-Hant/apis/reviews/delete-review-reply"}]},{"group":"User","pages":[{"title":"User Profile API 概觀","href":"/zh-Hant/apis/user/overview"},{"title":"User Profile 詳細資料","api":"GET /user","href":"/zh-Hant/apis/user/profile-details"},{"title":"Pinterest 看板","api":"GET /user/details/pinterest","href":"/zh-Hant/apis/user/pinterest-board"},{"title":"更新使用者","api":"PATCH /user/:platform","href":"/zh-Hant/apis/user/update-user"},{"title":"WhatsApp 商家檔案","api":"GET /user/details/whatsapp","href":"/zh-Hant/apis/user/whatsapp-profile"},{"title":"批次取得全部","api":"GET /user/batch","href":"/zh-Hant/apis/user/batch-all-users"}]},{"group":"Utils","pages":[{"title":"協作者請求狀態","api":"GET /post/collaborators/:id","href":"/zh-Hant/apis/utils/instagram-get-collaborator"},{"title":"Reddit Flair","api":"GET /post/redditFlair/:subreddit","href":"/zh-Hant/apis/utils/reddit-get-flair"},{"title":"使用者查詢","api":"GET /user/lookups","href":"/zh-Hant/apis/utils/user-lookups"},{"group":"YouTube","pages":[{"title":"YouTube 分類","api":"GET /post/youtubeCategories/:region","href":"/zh-Hant/apis/utils/youtube-categories"},{"title":"設定 YouTube 浮水印","api":"POST /post/youTubeWatermark","href":"/zh-Hant/apis/utils/set-youtube-watermark"},{"title":"移除 YouTube 浮水印","api":"DELETE /post/youTubeWatermark","href":"/zh-Hant/apis/utils/remove-youtube-watermark"}]}]},{"group":"Validate","pages":[{"title":"Validate API 概觀","href":"/zh-Hant/apis/validate/overview"},{"title":"驗證媒體","href":"/zh-Hant/apis/validate/validate-media"},{"title":"檢查貼文長度","api":"POST /validate/postLength","href":"/zh-Hant/apis/validate/check-post-length"},{"title":"檢查 Subreddit 是否存在","api":"GET /validate/redditExists/:subreddit","href":"/zh-Hant/apis/validate/check-subreddit"},{"title":"內容審核","api":"POST /validate/moderation","href":"/zh-Hant/apis/validate/moderation"},{"title":"驗證 JSON","api":"POST /validate/json","href":"/zh-Hant/apis/validate/validate-json"},{"title":"驗證貼文","api":"POST /validate/post","href":"/zh-Hant/apis/validate/validate-post"}]},{"group":"Webhooks","pages":[{"title":"Webhooks 概觀","href":"/zh-Hant/apis/webhooks/overview"},{"title":"Webhook 動作","href":"/zh-Hant/apis/webhooks/actions"},{"title":"註冊 Webhook","api":"POST /hook/webhook","href":"/zh-Hant/apis/webhooks/register"},{"title":"取消註冊 Webhook","api":"DELETE /hook/webhook","href":"/zh-Hant/apis/webhooks/unregister"},{"title":"輪替簽章密鑰","api":"POST /hook/webhook/secret","href":"/zh-Hant/apis/webhooks/rotate-signing-secret"},{"title":"列出已註冊的 Webhook","api":"GET /hook/webhook","href":"/zh-Hant/apis/webhooks/list"},{"title":"Webhook 記錄","api":"GET /hook/history","href":"/zh-Hant/apis/webhooks/history"}]}]},{"group":"Multiple Users","pages":[{"title":"Launch Plan:入門級多使用者 Business Plan","href":"/zh-Hant/multiple-users/business-launch-overview"},{"title":"Business 方案概觀","href":"/zh-Hant/multiple-users/business-plan-overview"},{"title":"使用者整合","href":"/zh-Hant/multiple-users/user-integration"},{"title":"Business 版 API 整合","href":"/zh-Hant/multiple-users/api-integration-business"},{"title":"Ayrshare Connect 小工具","href":"/zh-Hant/multiple-users/connect-widget"},{"title":"自建你自己的連結彈出視窗","href":"/zh-Hant/multiple-users/connect-direct-mode"},{"title":"連結完成事件","href":"/zh-Hant/multiple-users/link-completion-events"},{"title":"管理多個使用者設定檔","href":"/zh-Hant/multiple-users/manage-user-profiles"}]},{"group":"Dashboard","pages":[{"title":"Ayrshare 儀表板概覽:管理社群媒體發布","href":"/zh-Hant/dashboard/overview"},{"group":"Connect Social Accounts","pages":[{"title":"連結你的社群媒體帳戶","href":"/zh-Hant/dashboard/connect-social-accounts/overview"},{"title":"Bluesky 連結","icon":"bluesky","href":"/zh-Hant/dashboard/connect-social-accounts/bluesky"},{"title":"Facebook 連結","icon":"facebook","href":"/zh-Hant/dashboard/connect-social-accounts/facebook"},{"title":"Google Business Profile 連結","icon":"google","href":"/zh-Hant/dashboard/connect-social-accounts/google-business"},{"title":"Instagram 連結","icon":"instagram","href":"/zh-Hant/dashboard/connect-social-accounts/instagram"},{"title":"LinkedIn 連結","icon":"linkedin","href":"/zh-Hant/dashboard/connect-social-accounts/linkedin"},{"title":"Pinterest 連結","icon":"pinterest","href":"/zh-Hant/dashboard/connect-social-accounts/pinterest"},{"title":"Reddit 連結","icon":"reddit","href":"/zh-Hant/dashboard/connect-social-accounts/reddit"},{"title":"Snapchat 連結","icon":"snapchat","href":"/zh-Hant/dashboard/connect-social-accounts/snapchat"},{"title":"將 Telegram 群組或頻道連結到 Ayrshare","icon":"telegram","href":"/zh-Hant/dashboard/connect-social-accounts/telegram"},{"title":"Threads 連結","icon":"threads","href":"/zh-Hant/dashboard/connect-social-accounts/threads"},{"title":"TikTok 連結","icon":"tiktok","href":"/zh-Hant/dashboard/connect-social-accounts/tiktok"},{"title":"設定自有 X API 金鑰","icon":"x-twitter","href":"/zh-Hant/dashboard/connect-social-accounts/x-twitter-byo-keys"},{"title":"X 連結","icon":"x-twitter","href":"/zh-Hant/dashboard/connect-social-accounts/x-twitter"},{"title":"YouTube 連結","icon":"youtube","href":"/zh-Hant/dashboard/connect-social-accounts/youtube"}]},{"title":"如何發布社群媒體貼文","href":"/zh-Hant/dashboard/publish-post"},{"title":"檢視 JSON","href":"/zh-Hant/dashboard/view-json"},{"title":"撤銷社群媒體存取權","href":"/zh-Hant/dashboard/revoke-access"},{"group":"RSS","pages":[{"title":"RSS、Substack 與 YouTube 摘要","href":"/zh-Hant/dashboard/automated-rss-feeds"},{"title":"找到 RSS 摘要 URL","href":"/zh-Hant/dashboard/find-rss"}]}]},{"group":"Additional","pages":[{"group":"What's New At Ayrshare","pages":[{"title":"最新更新","href":"/zh-Hant/whatsnew/latest"},{"title":"更新封存","href":"/zh-Hant/whatsnew/archive"},{"title":"即將推出的 API 變更","mode":"wide","href":"/zh-Hant/whatsnew/upcoming-api-changes"}]},{"group":"Errors","pages":[{"title":"錯誤總覽","href":"/zh-Hant/errors/overview"},{"title":"HTTP 狀態碼","href":"/zh-Hant/errors/errors-http"},{"title":"Ayrshare 錯誤碼","href":"/zh-Hant/errors/errors-ayrshare"}]},{"title":"Max Pack","mode":"wide","href":"/zh-Hant/additional/maxpack"},{"group":"Media Guidelines","pages":[{"title":"社群媒體圖片與影片規範","href":"/zh-Hant/media-guidelines/overview"},{"title":"Bluesky","icon":"bluesky","href":"/zh-Hant/media-guidelines/bluesky"},{"title":"Facebook Pages","icon":"facebook","href":"/zh-Hant/media-guidelines/facebook-pages"},{"title":"Google Business Profile","icon":"google","href":"/zh-Hant/media-guidelines/google-business-profile"},{"title":"Instagram","icon":"instagram","href":"/zh-Hant/media-guidelines/instagram"},{"title":"LinkedIn","icon":"linkedin","href":"/zh-Hant/media-guidelines/linkedin"},{"title":"Pinterest","icon":"pinterest","href":"/zh-Hant/media-guidelines/pinterest"},{"title":"Reddit","icon":"reddit","href":"/zh-Hant/media-guidelines/reddit"},{"title":"Snapchat","icon":"snapchat","href":"/zh-Hant/media-guidelines/snapchat"},{"title":"Telegram","icon":"telegram","href":"/zh-Hant/media-guidelines/telegram"},{"title":"Threads","icon":"threads","href":"/zh-Hant/media-guidelines/threads"},{"title":"TikTok","icon":"tiktok","href":"/zh-Hant/media-guidelines/tiktok"},{"title":"WhatsApp","icon":"whatsapp","href":"/zh-Hant/media-guidelines/whatsapp"},{"title":"X","icon":"x-twitter","href":"/zh-Hant/media-guidelines/x-twitter"},{"title":"YouTube","icon":"youtube","href":"/zh-Hant/media-guidelines/youtube"}]},{"group":"Packages \u0026 Guides","pages":[{"title":"Ayrshare SDK 與整合指南概觀","mode":"wide","href":"/zh-Hant/packages-guides/overview"},{"title":"Airtable","href":"/zh-Hant/packages-guides/airtable"},{"title":"Bubble.io","href":"/zh-Hant/packages-guides/bubble"},{"title":"Flutter","href":"/zh-Hant/packages-guides/flutter"},{"title":"FlutterFlow","href":"/zh-Hant/packages-guides/flutterflow"},{"title":"Make","href":"/zh-Hant/packages-guides/make"},{"title":"n8n","href":"/zh-Hant/packages-guides/n8n"},{"title":"Node.js NPM","href":"/zh-Hant/packages-guides/nodejs"},{"title":"Notion","href":"/zh-Hant/packages-guides/notion"},{"title":"Python PyPI","href":"/zh-Hant/packages-guides/python"},{"title":"Retool","href":"/zh-Hant/packages-guides/retool"}]},{"title":"系統狀態","href":"/zh-Hant/additional/status"},{"group":"Testing \u0026 Verification","pages":[{"title":"Hurl","href":"/zh-Hant/testing/hurl"},{"title":"驗證端點","href":"/zh-Hant/testing/validation-endpoints"},{"title":"Postman","href":"/zh-Hant/testing/postman"},{"title":"貼文驗證","href":"/zh-Hant/testing/post-verification"},{"title":"發佈前檢查","href":"/zh-Hant/testing/pre-publish-checks"}]},{"group":"ISO Codes","pages":[{"title":"國家代碼","href":"/zh-Hant/iso-codes/country"},{"title":"語言代碼","href":"/zh-Hant/iso-codes/language"}]}]}]},{"anchor":"Help Center","icon":"lightbulb","pages":[{"title":"Help Center","href":"/zh-Hant/help-center/overview"}]}]}]},"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"]}