@adkit/cli 1.13.12 → 1.13.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +15 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -6096,22 +6096,34 @@ ${FLAG.data}
6096
6096
  --campaign-ids <ids> Comma-separated campaign IDs for filtered reads
6097
6097
  --campaign <id> Parent campaign ID (create only)
6098
6098
  --name <name> Ad group name
6099
- --status <s> active, paused
6099
+ --status <s> active, paused (create default: paused)
6100
6100
  --budget-daily <n> Daily budget in account currency
6101
6101
  --budget-lifetime <n> Lifetime budget in account currency
6102
6102
  --start-date <value> Optional TikTok schedule datetime; omit to start now
6103
6103
  --end-date <value> Optional TikTok schedule datetime; required with lifetime budget
6104
6104
  --billing-event <s> cpc, cpm, ocpm
6105
6105
  --bid-strategy <s> bid_type_no_bid, bid_type_custom, bid_type_max_conversion
6106
- --optimization <s> click, convert, lead_generation, video_view, reach
6106
+ --optimization <s> click, convert, lead_generation, video_view, reach, value
6107
6107
  --bid-amount <n> Custom bid in account currency; conversion/OCPM maps to cost per conversion
6108
6108
  --event-type <s> purchase, add_to_cart, view_content, complete_registration, lead, submit_form
6109
6109
  --pixel <id> Pixel ID; falls back to account default pixel when conversion is used
6110
6110
  --placement <ids> Override TikTok placement IDs (publish default: PLACEMENT_TIKTOK)
6111
6111
 
6112
+ Value Optimization (website):
6113
+ --optimization value bids on purchase value. It needs --event-type purchase plus a pixel (--pixel, or the account default), and rejects --bid-strategy, --bid-amount, and any --billing-event other than ocpm.
6114
+ targetRoas has no flag \u2014 send it with --data. targetRoas set = Minimum ROAS (0.01-1000, where 1.5 = 150%); targetRoas omitted = Highest Value.
6115
+ update only retunes targetRoas on an ad group that already uses Value Optimization. TikTok cannot move an ordinary ad group onto it \u2014 create a new ad group instead.
6116
+ TikTok checks account and pixel eligibility, so a valid payload can still be rejected at publish.
6117
+
6112
6118
  Examples:
6113
6119
  adkit manage tiktok ad-groups create --campaign 1770 --name "US Broad" --budget-daily 50 --billing-event cpc --optimization click
6114
- adkit manage tiktok ad-groups create --data '{"adGroups":[{"campaignId":"1770","name":"Purchase","budget":{"daily":50},"startDate":"2026-05-15 12:00:00","bidAmount":80,"conversion":{"eventType":"purchase"},"targeting":{"geoLocations":{"include":[{"type":"country","country":"US"}]}}}]}'`.trim(),
6120
+ adkit manage tiktok ad-groups create --data '{"adGroups":[{"campaignId":"1770","name":"Purchase","budget":{"daily":50},"startDate":"2026-05-15 12:00:00","bidAmount":80,"conversion":{"eventType":"purchase"},"targeting":{"geoLocations":{"include":[{"type":"country","country":"US"}]}}}]}'
6121
+ # Highest Value
6122
+ adkit manage tiktok ad-groups create --campaign 1770 --name "Highest value" --budget-daily 50 --optimization value --event-type purchase
6123
+ # Minimum ROAS 1.5x
6124
+ adkit manage tiktok ad-groups create --data '{"adGroups":[{"campaignId":"1770","name":"Min ROAS 1.5x","budget":{"daily":50},"optimization":"value","targetRoas":1.5,"conversion":{"eventType":"purchase"}}]}'
6125
+ # Retune the ROAS target on an existing Value Optimization ad group
6126
+ adkit manage tiktok ad-groups update 1770000000000000000 --data '{"targetRoas":2}'`.trim(),
6115
6127
  "tiktok ads": `adkit manage tiktok ads \u2014 TikTok video ads
6116
6128
 
6117
6129
  list List ads
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adkit/cli",
3
- "version": "1.13.12",
3
+ "version": "1.13.13",
4
4
  "description": "The Ads CLI for AI agents — manage Meta & Google ad campaigns, browse the ad library, and generate creatives from your terminal.",
5
5
  "keywords": [
6
6
  "ads cli",