@koda-sl/baker-cli 0.873.0 → 0.875.0

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 (1573) hide show
  1. package/README.md +21 -20
  2. package/dist/account-AOVXJDJW.js +84 -0
  3. package/dist/account-M62TN7CA.js +139 -0
  4. package/dist/account-T2OKWSFA.js +82 -0
  5. package/dist/account-assets-3FZZBGZF.js +290 -0
  6. package/dist/account-level-EK3VLSZU.js +615 -0
  7. package/dist/account-reads-JXELYBOE.js +230 -0
  8. package/dist/account-users-GCYTKKOZ.js +70 -0
  9. package/dist/account-writes-ZKCBOU7W.js +68 -0
  10. package/dist/accounts-656543M3.js +571 -0
  11. package/dist/accounts-6P7CIOLA.js +115 -0
  12. package/dist/accounts-E2IZTZVF.js +79 -0
  13. package/dist/accounts-NRVGA5YX.js +82 -0
  14. package/dist/accounts-Q3OVMDHR.js +122 -0
  15. package/dist/actions-DYJMCIYR.js +55 -0
  16. package/dist/active-entities-DK2EZ3PL.js +107 -0
  17. package/dist/activecampaign-FD7AHHUP.js +936 -0
  18. package/dist/activities-NF7FQV4O.js +84 -0
  19. package/dist/ad-group-writes-S5SJHBP2.js +172 -0
  20. package/dist/ad-groups-WIJPMUGG.js +70 -0
  21. package/dist/ad-writes-FPMVOMWR.js +176 -0
  22. package/dist/add-2B5MP7JV.js +83 -0
  23. package/dist/add-A6IFSOXV.js +663 -0
  24. package/dist/add-C5FZYRL7.js +662 -0
  25. package/dist/add-EWUGLZWZ.js +148 -0
  26. package/dist/add-IENQ4KJR.js +97 -0
  27. package/dist/add-JBV3TFGD.js +109 -0
  28. package/dist/add-KI6NOF5K.js +85 -0
  29. package/dist/add-accounts-LCBSAFDW.js +93 -0
  30. package/dist/ads-2M2N53GL.js +48 -0
  31. package/dist/ads-CP3RB4RS.js +139 -0
  32. package/dist/ads-MY5QHI5K.js +164 -0
  33. package/dist/ads-UW6CJOOB.js +79 -0
  34. package/dist/adsets-TMYWK67U.js +198 -0
  35. package/dist/advertisers-D5N3ISLD.js +155 -0
  36. package/dist/advertisers-SN3O7A2N.js +127 -0
  37. package/dist/alerts-QS2DTR2N.js +154 -0
  38. package/dist/analytics-FA4CSROH.js +462 -0
  39. package/dist/analytics-VYCHXDTU.js +2792 -0
  40. package/dist/animate-NZKDYNK4.js +482 -0
  41. package/dist/approved-OIU27VJH.js +73 -0
  42. package/dist/asset-writes-OIMWVGR4.js +54 -0
  43. package/dist/assign-B3NTNO2Q.js +84 -0
  44. package/dist/audience-size-ROFTH3UN.js +138 -0
  45. package/dist/audience-writes-2JYZZU3J.js +331 -0
  46. package/dist/audiences-GQMRIH2K.js +85 -0
  47. package/dist/audiences-V64FFV7H.js +117 -0
  48. package/dist/audiences-WBS4X6OF.js +280 -0
  49. package/dist/audit-5IMPW7CA.js +91 -0
  50. package/dist/audit-MYZVABKI.js +156 -0
  51. package/dist/autocomplete-NPRGZKAD.js +118 -0
  52. package/dist/avatars-5OHHLZCW.js +38 -0
  53. package/dist/bid-pricing-SBZLH6W2.js +105 -0
  54. package/dist/brand-D3CKOZA6.js +22 -0
  55. package/dist/brief-ME2TXEXJ.js +512 -0
  56. package/dist/businesses-EOZIYWBA.js +54 -0
  57. package/dist/campaign-groups-LQNTZMPD.js +119 -0
  58. package/dist/campaign-writes-ASVZMKTS.js +176 -0
  59. package/dist/campaign-writes-QD4ZD42G.js +170 -0
  60. package/dist/campaigns-3PXDA6HI.js +194 -0
  61. package/dist/campaigns-67XNQSCL.js +139 -0
  62. package/dist/campaigns-FGOQB3BU.js +78 -0
  63. package/dist/campaigns-JDRCFH5X.js +111 -0
  64. package/dist/canvas-VWNLVSL3.js +48 -0
  65. package/dist/capabilities-CMKUACPR.js +185 -0
  66. package/dist/cards-XUXGAAYC.js +85 -0
  67. package/dist/catalog-K6WJGY2F.js +90 -0
  68. package/dist/catalogs-BTL32CVM.js +786 -0
  69. package/dist/catalogs-YKKIJHYU.js +130 -0
  70. package/dist/changes-6QDCAOEL.js +551 -0
  71. package/dist/changes-LZ27Y3M5.js +288 -0
  72. package/dist/chatgpt-6QBHO4LC.js +47 -0
  73. package/dist/chats-63Q4N7NR.js +660 -0
  74. package/dist/check-FBLAMTWU.js +55 -0
  75. package/dist/chunk-2J2ODDVZ.js +10430 -0
  76. package/dist/chunk-2P7UMRLD.js +65 -0
  77. package/dist/chunk-2R3X2FYX.js +863 -0
  78. package/dist/chunk-2VUGB2GL.js +91 -0
  79. package/dist/chunk-4BIN7DNB.js +134 -0
  80. package/dist/chunk-4VDO5QWR.js +225 -0
  81. package/dist/chunk-53XQFF26.js +499 -0
  82. package/dist/chunk-5DYDOIIA.js +58 -0
  83. package/dist/chunk-6FXEUO2G.js +26 -0
  84. package/dist/chunk-6HJYT6Y6.js +118 -0
  85. package/dist/chunk-6QZGW62Z.js +660 -0
  86. package/dist/chunk-6WLGQAVU.js +89 -0
  87. package/dist/chunk-6WZR3PO6.js +94 -0
  88. package/dist/chunk-6YAT42QQ.js +125 -0
  89. package/dist/chunk-76ZDIJ3O.js +547 -0
  90. package/dist/chunk-7IOAZBQP.js +164 -0
  91. package/dist/chunk-7QH3JV3H.js +145 -0
  92. package/dist/chunk-7QIDKAIG.js +42 -0
  93. package/dist/chunk-7UOPL4LD.js +39 -0
  94. package/dist/chunk-7XGQUKMW.js +6340 -0
  95. package/dist/chunk-7ZA5NCEN.js +21 -0
  96. package/dist/chunk-7ZB3OSTZ.js +45 -0
  97. package/dist/chunk-A4J4ITOQ.js +260 -0
  98. package/dist/chunk-ABRQ57VU.js +723 -0
  99. package/dist/chunk-AE5OIAJL.js +37 -0
  100. package/dist/chunk-AEISYG45.js +604 -0
  101. package/dist/chunk-AF7SJZ7B.js +74 -0
  102. package/dist/chunk-AGP5UJWU.js +155 -0
  103. package/dist/chunk-AMGCUUTJ.js +159 -0
  104. package/dist/chunk-B5IQYPPV.js +303 -0
  105. package/dist/chunk-BBCEEVNG.js +732 -0
  106. package/dist/chunk-C2AYNHU7.js +1577 -0
  107. package/dist/chunk-C65TL6CQ.js +724 -0
  108. package/dist/chunk-CAR4ALSH.js +64 -0
  109. package/dist/chunk-CJUX3GUP.js +219 -0
  110. package/dist/chunk-CMD2YQ7G.js +313 -0
  111. package/dist/chunk-CPHDUOTQ.js +77 -0
  112. package/dist/chunk-CSJTPNHC.js +202 -0
  113. package/dist/chunk-D3BHB6H3.js +262 -0
  114. package/dist/chunk-D5MYTVLN.js +106 -0
  115. package/dist/chunk-DBTYSA6L.js +69 -0
  116. package/dist/chunk-DCCHIMBR.js +252 -0
  117. package/dist/chunk-DCHSECAK.js +163 -0
  118. package/dist/chunk-DU4TH7V4.js +337 -0
  119. package/dist/chunk-DXK6WEW2.js +138 -0
  120. package/dist/chunk-EXOKLYQ6.js +509 -0
  121. package/dist/chunk-F73NVXLK.js +230 -0
  122. package/dist/chunk-FYLE27T2.js +341 -0
  123. package/dist/chunk-FYVFOOXJ.js +24026 -0
  124. package/dist/chunk-G6XE3XF4.js +103 -0
  125. package/dist/chunk-GGMUHKYY.js +115 -0
  126. package/dist/chunk-GLKI4TQT.js +65 -0
  127. package/dist/chunk-GQY43LQ3.js +190 -0
  128. package/dist/chunk-GTTOI4N4.js +411 -0
  129. package/dist/chunk-GWWZCDM3.js +400 -0
  130. package/dist/chunk-H5GLDWNJ.js +197 -0
  131. package/dist/chunk-HBLN3KLR.js +317 -0
  132. package/dist/chunk-HBODIRGR.js +142 -0
  133. package/dist/chunk-HBYAJFCC.js +746 -0
  134. package/dist/chunk-HEIPNOAC.js +573 -0
  135. package/dist/chunk-HFGH3BB2.js +262 -0
  136. package/dist/chunk-HQZ3LJUZ.js +106 -0
  137. package/dist/chunk-I4EVSKRJ.js +296 -0
  138. package/dist/chunk-I54KCFD4.js +98 -0
  139. package/dist/chunk-IL3L66CT.js +153 -0
  140. package/dist/chunk-JDBKKDGO.js +915 -0
  141. package/dist/chunk-JDBKKDGO.js.map +1 -0
  142. package/dist/chunk-JG32XN4I.js +175 -0
  143. package/dist/chunk-JIJ2IJS3.js +423 -0
  144. package/dist/chunk-JLGVWJGE.js +23 -0
  145. package/dist/chunk-JWBCJULC.js +374 -0
  146. package/dist/chunk-JWT3XDWR.js +108 -0
  147. package/dist/chunk-KTTF6VVN.js +76 -0
  148. package/dist/chunk-KWHWPXCU.js +84 -0
  149. package/dist/chunk-LGL7I5VS.js +9127 -0
  150. package/dist/chunk-LGL7I5VS.js.map +1 -0
  151. package/dist/chunk-LHT54GSL.js +76 -0
  152. package/dist/chunk-LHVFJ64L.js +1124 -0
  153. package/dist/chunk-LP6BCWD7.js +685 -0
  154. package/dist/chunk-MEGFQY74.js +114 -0
  155. package/dist/chunk-MKUWTJ2Z.js +1883 -0
  156. package/dist/chunk-MXW7NGLU.js +170 -0
  157. package/dist/chunk-NAH6F52C.js +102 -0
  158. package/dist/chunk-NBPI7ZCT.js +131 -0
  159. package/dist/chunk-NCS4E4YX.js +3252 -0
  160. package/dist/chunk-NCS4E4YX.js.map +1 -0
  161. package/dist/chunk-NGYRPA7Y.js +76 -0
  162. package/dist/chunk-NH5DZMBC.js +3378 -0
  163. package/dist/chunk-NKZOPJHU.js +102 -0
  164. package/dist/chunk-NZ5KTMES.js +26 -0
  165. package/dist/chunk-OBCRBLQR.js +285 -0
  166. package/dist/chunk-OKF52QZZ.js +494 -0
  167. package/dist/chunk-OL4RTWV5.js +152 -0
  168. package/dist/chunk-OLR5KKZJ.js +170 -0
  169. package/dist/chunk-ONY7MS2L.js +212 -0
  170. package/dist/chunk-OY63QI6E.js +430 -0
  171. package/dist/chunk-P56NTW5P.js +225 -0
  172. package/dist/chunk-PAH5OQMO.js +57 -0
  173. package/dist/chunk-Q36W6KUX.js +76 -0
  174. package/dist/chunk-Q6QXHGNP.js +52 -0
  175. package/dist/chunk-QON743YO.js +81 -0
  176. package/dist/chunk-QX6YBPD2.js +93 -0
  177. package/dist/chunk-RDI25KNO.js +86 -0
  178. package/dist/chunk-RDI25KNO.js.map +1 -0
  179. package/dist/chunk-RIHJSIB7.js +56 -0
  180. package/dist/chunk-RJXRMMTI.js +84 -0
  181. package/dist/chunk-SBTITF6X.js +349 -0
  182. package/dist/chunk-SC7RKA3V.js +85 -0
  183. package/dist/chunk-SQ4CAMYI.js +215 -0
  184. package/dist/chunk-T6HSDHLX.js +1853 -0
  185. package/dist/chunk-TQU6X4KA.js +87 -0
  186. package/dist/chunk-UDEEMACM.js +113 -0
  187. package/dist/chunk-UDNO3DNU.js +115 -0
  188. package/dist/chunk-UJ2PS2A2.js +91 -0
  189. package/dist/chunk-VQUVWTP5.js +3131 -0
  190. package/dist/chunk-VQUVWTP5.js.map +1 -0
  191. package/dist/chunk-VWKBB667.js +16 -0
  192. package/dist/chunk-W6NHJ46M.js +505 -0
  193. package/dist/chunk-WJFMYLEB.js +46 -0
  194. package/dist/chunk-WV7DJO3A.js +25 -0
  195. package/dist/chunk-XDAEUEOV.js +1862 -0
  196. package/dist/chunk-XDSMM3CK.js +52 -0
  197. package/dist/chunk-XJZ3PMHD.js +224 -0
  198. package/dist/chunk-XNVVYXGH.js +343 -0
  199. package/dist/chunk-XS3NDLR3.js +79 -0
  200. package/dist/chunk-XTOM5LBQ.js +274 -0
  201. package/dist/chunk-XU6W2UVB.js +69 -0
  202. package/dist/chunk-YFDDCGC4.js +877 -0
  203. package/dist/chunk-YFJYLSOJ.js +51 -0
  204. package/dist/chunk-ZGEGEQUE.js +287 -0
  205. package/dist/chunk-ZHGFEDBT.js +329 -0
  206. package/dist/chunk-ZIJFBEFI.js +127 -0
  207. package/dist/chunk-ZJUWOIRQ.js +98 -0
  208. package/dist/chunk-ZPWBUO5T.js +70 -0
  209. package/dist/chunk-ZV4WPJE3.js +259 -0
  210. package/dist/cite-KL6PXBQ4.js +194 -0
  211. package/dist/claim-AE5WR4GO.js +219 -0
  212. package/dist/cli.js +57 -57
  213. package/dist/cli.js.map +1 -1
  214. package/dist/client-KYURFMWC.js +21 -0
  215. package/dist/code-SIQWEGOR.js +76 -0
  216. package/dist/companies-RWI4XOAR.js +37 -0
  217. package/dist/company-TE3LF5BC.js +312 -0
  218. package/dist/complete-6GQYGIG3.js +88 -0
  219. package/dist/config-7T34GDEI.js +89 -0
  220. package/dist/connect-V3MKEKKD.js +47 -0
  221. package/dist/content-NPJUTC7S.js +162 -0
  222. package/dist/conversation-O2XQWHWK.js +101 -0
  223. package/dist/conversion-report-PAADBTGW.js +130 -0
  224. package/dist/conversion-upload-command-7V4HIZXW.js +456 -0
  225. package/dist/conversion-writes-F4C5XJO6.js +194 -0
  226. package/dist/conversions-JAJOS2SI.js +78 -0
  227. package/dist/conversions-S7TYEN2M.js +142 -0
  228. package/dist/copy-writes-MVBEOEYT.js +174 -0
  229. package/dist/countries-5QGB43UN.js +83 -0
  230. package/dist/create-667PNG6L.js +357 -0
  231. package/dist/create-KCRYAHKD.js +220 -0
  232. package/dist/create-VRLJGAK3.js +66 -0
  233. package/dist/create-ZYX76R6Y.js +191 -0
  234. package/dist/creatives-H7HKKI5N.js +236 -0
  235. package/dist/creatives-N7ELH34F.js +48 -0
  236. package/dist/creatives-YXCPKJ6Q.js +119 -0
  237. package/dist/credentials-WNUUYKN7.js +292 -0
  238. package/dist/critique-L6WBUBO6.js +231 -0
  239. package/dist/crm-ETWZK7U2.js +328 -0
  240. package/dist/crm-T2VGEMAQ.js +419 -0
  241. package/dist/crop-ABOK6YMB.js +113 -0
  242. package/dist/currency-7NSTOJVE.js +91 -0
  243. package/dist/custom-conversions-GLGLGXNL.js +128 -0
  244. package/dist/customers-WKBVDYQ4.js +70 -0
  245. package/dist/data-WRAB5HMY.js +665 -0
  246. package/dist/decide-QBRUP7EO.js +199 -0
  247. package/dist/delete-5TG3WIVC.js +61 -0
  248. package/dist/delete-E2CK6WON.js +72 -0
  249. package/dist/delete-KMC6OJQY.js +69 -0
  250. package/dist/delete-NTIOMEQV.js +86 -0
  251. package/dist/delete-OHCWKURP.js +71 -0
  252. package/dist/delete-RFOB6OJW.js +71 -0
  253. package/dist/demographics-UYC4KUDK.js +146 -0
  254. package/dist/describe-OZ5SOKRA.js +93 -0
  255. package/dist/describe-VBDD4MWB.js +94 -0
  256. package/dist/dimensions-4TKKGHCL.js +101 -0
  257. package/dist/discard-WLDKCK6T.js +73 -0
  258. package/dist/discover-2SSZSDV5.js +191 -0
  259. package/dist/discover-X5HQSYRT.js +96 -0
  260. package/dist/domain-Y7ZRN2R5.js +105 -0
  261. package/dist/download-56EWNQ2T.js +366 -0
  262. package/dist/download-BWT67JO3.js +175 -0
  263. package/dist/draft-5NWG2HCI.js +149 -0
  264. package/dist/draft-CEZLDSC6.js +349 -0
  265. package/dist/draft-E7A3XQ3X.js +228 -0
  266. package/dist/draft-EZT3ZEQG.js +153 -0
  267. package/dist/draft-LSW6ZNZP.js +340 -0
  268. package/dist/draft-M3WVKGRG.js +390 -0
  269. package/dist/draft-RGJAK2T6.js +640 -0
  270. package/dist/draft-WANCK2XS.js +428 -0
  271. package/dist/engine/index.js +18 -18
  272. package/dist/env-TCT6PBCL.js +59 -0
  273. package/dist/experiment-WJOL5Z2O.js +2123 -0
  274. package/dist/experiments-O6ZIWBAH.js +242 -0
  275. package/dist/export-23SELAO5.js +169 -0
  276. package/dist/extract-2MIKNWW5.js +178 -0
  277. package/dist/facets-XM2NR57L.js +161 -0
  278. package/dist/favorites-6HBOGH4D.js +178 -0
  279. package/dist/feed-EX2JVQJP.js +293 -0
  280. package/dist/feedback-ZZDO35LO.js +116 -0
  281. package/dist/fetch-II36FVJ7.js +139 -0
  282. package/dist/fetch-Q3CYHMK3.js +488 -0
  283. package/dist/files-7X3N4PFB.js +21 -0
  284. package/dist/find-JF3P4OYM.js +144 -0
  285. package/dist/fit-SM6MF7VA.js +70 -0
  286. package/dist/flows-DJD3DAX5.js +406 -0
  287. package/dist/folders-CQNDOURE.js +228 -0
  288. package/dist/follow-APAXOKL6.js +114 -0
  289. package/dist/follow-competitors-XMJ4I2NK.js +189 -0
  290. package/dist/following-MRB6KW3Y.js +187 -0
  291. package/dist/fonts-TOHYVTLQ.js +20 -0
  292. package/dist/forecast-7QVGMCCA.js +189 -0
  293. package/dist/forecast-PKM6SI7G.js +123 -0
  294. package/dist/funding-IRX63GHW.js +85 -0
  295. package/dist/funnel-XQ3WH52X.js +702 -0
  296. package/dist/ga4-Z65WIL2M.js +55 -0
  297. package/dist/generate-K3F3BB7U.js +265 -0
  298. package/dist/get-6CQHZGLD.js +78 -0
  299. package/dist/get-CTYZDAHX.js +92 -0
  300. package/dist/get-GQL5L5GE.js +115 -0
  301. package/dist/get-JGOJO5ZX.js +38 -0
  302. package/dist/get-JPRHVNOM.js +68 -0
  303. package/dist/get-LJQTFPOS.js +69 -0
  304. package/dist/get-PZNEXKF5.js +30 -0
  305. package/dist/get-RTADZNWN.js +59 -0
  306. package/dist/gif-R2J325T7.js +111 -0
  307. package/dist/google-BNK46Z7P.js +3765 -0
  308. package/dist/google-FCWYFQ5O.js +165 -0
  309. package/dist/google-ads-GIS5FRNW.js +231 -0
  310. package/dist/group-S353YDT2.js +43 -0
  311. package/dist/group-WBEX3E3X.js +43 -0
  312. package/dist/gsc-PIMZ3KSE.js +30 -0
  313. package/dist/history-6XO5R25U.js +109 -0
  314. package/dist/history-FK4HRA5R.js +204 -0
  315. package/dist/history-Q6NYK2FR.js +156 -0
  316. package/dist/hubspot-NLWULZBF.js +1047 -0
  317. package/dist/icon-NELLC6TL.js +168 -0
  318. package/dist/ideas-W25YMKYJ.js +50 -0
  319. package/dist/images-ZCGV7SLU.js +92 -0
  320. package/dist/improve-JFSHLV7J.js +86 -0
  321. package/dist/ingest-F5RBOSAC.js +32 -0
  322. package/dist/ingest-WNSYX3EY.js +163 -0
  323. package/dist/insights-G3HVBPRX.js +151 -0
  324. package/dist/insights-S7MI7DX7.js +1227 -0
  325. package/dist/inspect-FESDW6TP.js +39 -0
  326. package/dist/inspiration-OCLXZB33.js +53 -0
  327. package/dist/instant-experiences-7V4HSBGD.js +268 -0
  328. package/dist/intent-MICTKGQD.js +97 -0
  329. package/dist/job-NKQ3N6YH.js +206 -0
  330. package/dist/job-create-OAPCQ4EW.js +113 -0
  331. package/dist/job-status-CTCFOVUP.js +74 -0
  332. package/dist/keep-Z5FPAOFZ.js +78 -0
  333. package/dist/keyword-gap-3YJUUOFW.js +173 -0
  334. package/dist/keyword-metrics-DWZZRQFB.js +235 -0
  335. package/dist/keywords-for-site-OASCLANA.js +135 -0
  336. package/dist/knowledge-WWCJG6OE.js +195 -0
  337. package/dist/landings-7O4JKXUN.js +289 -0
  338. package/dist/landings-Q4EVYYO6.js +30 -0
  339. package/dist/languages-AWR2RSSX.js +56 -0
  340. package/dist/languages-LWNHJQ3V.js +41 -0
  341. package/dist/launches-ZCWB4OF4.js +19 -0
  342. package/dist/layerize-7LQR34WQ.js +199 -0
  343. package/dist/lead-routes-EAPRNJN6.js +761 -0
  344. package/dist/leads-2V5G2D56.js +138 -0
  345. package/dist/leads-ONB5WHG4.js +575 -0
  346. package/dist/learn-2KZQKYYQ.js +214 -0
  347. package/dist/library-E7COTFQ6.js +234 -0
  348. package/dist/lighthouse-UAJOCAYE.js +77 -0
  349. package/dist/line-item-writes-R72OSLGJ.js +213 -0
  350. package/dist/line-items-3G732M2F.js +107 -0
  351. package/dist/link-IL7LARHV.js +71 -0
  352. package/dist/linkedin-HIVWUU2N.js +1517 -0
  353. package/dist/linkedin-person-7CKEPWJB.js +143 -0
  354. package/dist/list-2YTUZ4NW.js +93 -0
  355. package/dist/list-6YAIJ5UW.js +227 -0
  356. package/dist/list-CLRWGTM2.js +90 -0
  357. package/dist/list-G44HWTNR.js +53 -0
  358. package/dist/list-GY3R4F6N.js +50 -0
  359. package/dist/list-JON4GGP5.js +321 -0
  360. package/dist/list-K73AAWTL.js +76 -0
  361. package/dist/list-KJBV6Z4W.js +64 -0
  362. package/dist/list-KRYXY7OX.js +65 -0
  363. package/dist/locations-3L3NUKSQ.js +41 -0
  364. package/dist/locations-IWR5FTCQ.js +69 -0
  365. package/dist/log-RLGKH54B.js +99 -0
  366. package/dist/logo-LG5MOTCR.js +18 -0
  367. package/dist/lookup-PUEWKCTA.js +26 -0
  368. package/dist/make-OROCY2SQ.js +1392 -0
  369. package/dist/make-OROCY2SQ.js.map +1 -0
  370. package/dist/map-ON7MDP7V.js +520 -0
  371. package/dist/mcp-KDMSQGAE.js +1018 -0
  372. package/dist/media-35DJ2PXO.js +18 -0
  373. package/dist/media-HTWZU2I3.js +89 -0
  374. package/dist/media-sources-6XC6RISA.js +35 -0
  375. package/dist/members-K7KY5UFC.js +51 -0
  376. package/dist/meme-HEBB4QMD.js +108 -0
  377. package/dist/meta-ODZGOEYI.js +152 -0
  378. package/dist/metrics-TUA2TKU7.js +193 -0
  379. package/dist/models-HMTT4IZR.js +155 -0
  380. package/dist/music-NPYIJYZR.js +75 -0
  381. package/dist/normalize-A4Z3WO3T.js +146 -0
  382. package/dist/normalize-N6YXMKIK.js +806 -0
  383. package/dist/normalize-paths-WB42M5EJ.js +23 -0
  384. package/dist/options-7LWCZN6G.js +127 -0
  385. package/dist/organization-GN4ZL747.js +950 -0
  386. package/dist/output-EF46GHUC.js +30 -0
  387. package/dist/page-TCWRIWPR.js +105 -0
  388. package/dist/page-photos-VTHTKRJJ.js +122 -0
  389. package/dist/pages-VV2UYNEV.js +67 -0
  390. package/dist/people-MVTXMDOS.js +172 -0
  391. package/dist/people-U6AFN6GP.js +162 -0
  392. package/dist/performance-6DLST4UJ.js +6361 -0
  393. package/dist/performance-ROK3XU2D.js +29 -0
  394. package/dist/pinterest-ASDXIRSB.js +105 -0
  395. package/dist/pipedrive-WPDAO7T4.js +534 -0
  396. package/dist/pixels-M27MIY7T.js +230 -0
  397. package/dist/pixels-Q6CRK4RE.js +62 -0
  398. package/dist/plan-54SPYDIT.js +213 -0
  399. package/dist/posts-X5OIVYCR.js +36 -0
  400. package/dist/preview-AQBUQGIH.js +338 -0
  401. package/dist/preview-ZGGAK3RA.js +151 -0
  402. package/dist/profile-AAWQ7TGK.js +284 -0
  403. package/dist/promoted-tweet-writes-SY5MD2BC.js +185 -0
  404. package/dist/promoted-tweets-UXOGUFAY.js +119 -0
  405. package/dist/properties-HWD7XVYJ.js +103 -0
  406. package/dist/publish-2KY3PGJ4.js +431 -0
  407. package/dist/query-BFDJ3QV6.js +68 -0
  408. package/dist/query-DUIW7GJD.js +345 -0
  409. package/dist/query-JPISFZOF.js +278 -0
  410. package/dist/questionnaire-IS33IUKA.js +103 -0
  411. package/dist/read-LKIGJWHE.js +358 -0
  412. package/dist/read-M3P3DMDV.js +166 -0
  413. package/dist/reddit-32FO75N3.js +31 -0
  414. package/dist/refresh-2RL5U4ZB.js +42 -0
  415. package/dist/refresh-W5D3WNVV.js +101 -0
  416. package/dist/release-5WLZSDVN.js +67 -0
  417. package/dist/relevant-pages-3SZP7PD5.js +101 -0
  418. package/dist/remove-JXMAGSZL.js +49 -0
  419. package/dist/remove-OEWDQA3L.js +55 -0
  420. package/dist/reopen-SIV6QGQI.js +70 -0
  421. package/dist/rerun-DXF6ZDHZ.js +102 -0
  422. package/dist/research-OFASCEXX.js +78 -0
  423. package/dist/research-Q3JPB6WB.js +267 -0
  424. package/dist/reset-AXFE4CNN.js +59 -0
  425. package/dist/reset-FZHKHQ76.js +59 -0
  426. package/dist/resolve-6CAA647B.js +126 -0
  427. package/dist/retry-6AMEHSMZ.js +67 -0
  428. package/dist/retry-QXPEBYZV.js +67 -0
  429. package/dist/retry-failed-QHKXGFBD.js +45 -0
  430. package/dist/revenue-IKFJSA6E.js +100 -0
  431. package/dist/rule-writes-ZB3JGVS4.js +534 -0
  432. package/dist/rules-GCLZP2OK.js +217 -0
  433. package/dist/rules-U6MQRY3N.js +164 -0
  434. package/dist/run-PO6CX7X7.js +79 -0
  435. package/dist/run-ZXJD2Y6P.js +74 -0
  436. package/dist/scaffold-ad-4KZX7GL6.js +1604 -0
  437. package/dist/scaffold-static-ad-ZAEGE66T.js +999 -0
  438. package/dist/scaffold-video-4E7AHMNL.js +890 -0
  439. package/dist/scaffold-video-4E7AHMNL.js.map +1 -0
  440. package/dist/schedule-E7PUJOPH.js +66 -0
  441. package/dist/schedule-QU7GQ3RO.js +67 -0
  442. package/dist/scheduled-agents-XAM2LDTM.js +59 -0
  443. package/dist/schema-FSIMAZJH.js +137 -0
  444. package/dist/schema-QSZADZ2F.js +241 -0
  445. package/dist/scrape-YI6SLTAJ.js +2209 -0
  446. package/dist/screenshot-ZIM2GUF4.js +103 -0
  447. package/dist/search-462XCKFA.js +100 -0
  448. package/dist/search-A7TU4IPJ.js +230 -0
  449. package/dist/search-EYV5YDHW.js +228 -0
  450. package/dist/search-KSAFI4D4.js +51 -0
  451. package/dist/search-XJCWGRGU.js +26 -0
  452. package/dist/search-Z6DBBXUA.js +113 -0
  453. package/dist/search-copy-R7CYTOAE.js +170 -0
  454. package/dist/search-terms-BEYHEJ72.js +412 -0
  455. package/dist/seeds-KHRLCQAK.js +103 -0
  456. package/dist/select-HM4HT4ST.js +135 -0
  457. package/dist/sends-5SCRXNT6.js +405 -0
  458. package/dist/sequences-JEASO5AY.js +146 -0
  459. package/dist/set-XGVSH7SL.js +287 -0
  460. package/dist/set-prompt-OHDNYKBA.js +205 -0
  461. package/dist/setup-links-Y6SSNZ6G.js +146 -0
  462. package/dist/shared-6GAHY2UO.js +34 -0
  463. package/dist/shopify-USESQN45.js +4033 -0
  464. package/dist/site-TC44HPLD.js +182 -0
  465. package/dist/sitemaps-73S55MZX.js +77 -0
  466. package/dist/sites-3HH27X3P.js +97 -0
  467. package/dist/skills-C5LJJRJM.js +47 -0
  468. package/dist/sources-6B3D5V7Q.js +30 -0
  469. package/dist/sources-EDWQ4QEA.js +470 -0
  470. package/dist/stale-MCTJCJYB.js +93 -0
  471. package/dist/stats-CAXUJ3ZC.js +34 -0
  472. package/dist/status-U6CFHZCC.js +69 -0
  473. package/dist/sticker-HBPSBCBS.js +103 -0
  474. package/dist/stock-22WNJRGZ.js +214 -0
  475. package/dist/studies-24PRTBOS.js +250 -0
  476. package/dist/studio-BCUOBGFJ.js +49 -0
  477. package/dist/study-writes-QBSSADHP.js +475 -0
  478. package/dist/suggest-3MB5BCCZ.js +66 -0
  479. package/dist/sync-2IMXKOKT.js +307 -0
  480. package/dist/sync-5V6A24VR.js +55 -0
  481. package/dist/sync-BXNIWSBS.js +59 -0
  482. package/dist/sync-definition-FUNHUOR7.js +75 -0
  483. package/dist/tag-4ZTCZHMF.js +57 -0
  484. package/dist/tag-manager-HEQK7QGY.js +45 -0
  485. package/dist/tags-4FCZT62I.js +25 -0
  486. package/dist/tags-EKMWHZ5B.js +25 -0
  487. package/dist/tags-MPFXEERA.js +194 -0
  488. package/dist/tags-MPFXEERA.js.map +1 -0
  489. package/dist/tags-NOPMU4QU.js +26 -0
  490. package/dist/tags-Z3R2KSMM.js +25 -0
  491. package/dist/targeting-EDEWP7H7.js +777 -0
  492. package/dist/targeting-constants-AQHXMLTJ.js +118 -0
  493. package/dist/targeting-criteria-ZRF227PH.js +113 -0
  494. package/dist/targets-ARFRSOVT.js +111 -0
  495. package/dist/terms-GUM4VNEN.js +102 -0
  496. package/dist/testimonials-CRZEFW66.js +32 -0
  497. package/dist/themes-KE6QKIAN.js +102 -0
  498. package/dist/top-companies-2OJJBKKT.js +251 -0
  499. package/dist/transcript-CTEDFKKM.js +169 -0
  500. package/dist/translate-F2AJOBKZ.js +608 -0
  501. package/dist/triggers-KKXYTFZX.js +149 -0
  502. package/dist/tweets-3N43Q6XG.js +123 -0
  503. package/dist/unfollow-P43B652T.js +48 -0
  504. package/dist/unlink-EP2T53FL.js +74 -0
  505. package/dist/unstage-6ACZILCI.js +93 -0
  506. package/dist/unstage-IFDMCDE3.js +101 -0
  507. package/dist/update-2PMQ3BA2.js +194 -0
  508. package/dist/update-CKUVZ64P.js +81 -0
  509. package/dist/update-JANS7GHG.js +176 -0
  510. package/dist/update-Y4JBZRPP.js +238 -0
  511. package/dist/update-Z4OXV7AY.js +70 -0
  512. package/dist/upload-2QQLSRIF.js +194 -0
  513. package/dist/upload-DPTT5S45.js +186 -0
  514. package/dist/upscale-SE4HQGU4.js +163 -0
  515. package/dist/url-options-H4QWQGIU.js +137 -0
  516. package/dist/url-params-S4V4CIVH.js +103 -0
  517. package/dist/use-EFK2R5BB.js +117 -0
  518. package/dist/validate-PEY5UDQP.js +181 -0
  519. package/dist/variant-AZURZDOL.js +338 -0
  520. package/dist/videos-PZFYMBYZ.js +41 -0
  521. package/dist/videos-V5BR3OXI.js +146 -0
  522. package/dist/view-OMJIFNJU.js +133 -0
  523. package/dist/viewer-check-RGLGTHDW.js +90 -0
  524. package/dist/visuals-OJ73NPVA.js +130 -0
  525. package/dist/web-JCEHOH4P.js +225 -0
  526. package/dist/winners-VKGPFAC3.js +115 -0
  527. package/dist/winning-ads-DF5CNSUN.js +88 -0
  528. package/dist/write-commands-GR6JZMD3.js +207 -0
  529. package/dist/write-commands-IKT3CFCV.js +1261 -0
  530. package/dist/write-commands-WBV2Z4NY.js +1556 -0
  531. package/dist/write-commands-YCD6DCRN.js +722 -0
  532. package/dist/x-GLINQJHS.js +47 -0
  533. package/package.json +1 -1
  534. package/dist/account-LIKO3VHK.js +0 -139
  535. package/dist/account-OG3XGNFQ.js +0 -84
  536. package/dist/account-ZIWGZ2AS.js +0 -82
  537. package/dist/account-assets-HQGL6UOX.js +0 -290
  538. package/dist/account-level-52XWKA5O.js +0 -615
  539. package/dist/account-reads-YXGZC5SY.js +0 -230
  540. package/dist/account-users-GRNI7ONO.js +0 -70
  541. package/dist/account-writes-7KUBHCSV.js +0 -68
  542. package/dist/accounts-KMMSNFON.js +0 -79
  543. package/dist/accounts-KSR52GP4.js +0 -122
  544. package/dist/accounts-TPH5ZZMX.js +0 -82
  545. package/dist/accounts-VGFSIOGT.js +0 -571
  546. package/dist/accounts-X6GVHA42.js +0 -115
  547. package/dist/actions-XCXOFIY3.js +0 -55
  548. package/dist/active-entities-ND5J6UTZ.js +0 -107
  549. package/dist/activecampaign-C43JV3QP.js +0 -936
  550. package/dist/activities-AQFCXMD4.js +0 -84
  551. package/dist/ad-group-writes-VQDZHONG.js +0 -172
  552. package/dist/ad-groups-2UPALBRQ.js +0 -70
  553. package/dist/ad-writes-2DZOJXT6.js +0 -176
  554. package/dist/add-BEYUAKMD.js +0 -85
  555. package/dist/add-MRZNE5ZA.js +0 -109
  556. package/dist/add-Q5OOHT6D.js +0 -97
  557. package/dist/add-VAX2JKY5.js +0 -148
  558. package/dist/add-XFPAONDI.js +0 -663
  559. package/dist/add-Z56KSMO6.js +0 -83
  560. package/dist/add-ZLDVQSF4.js +0 -662
  561. package/dist/add-accounts-ECILF7PE.js +0 -93
  562. package/dist/ads-GNVJYDTK.js +0 -79
  563. package/dist/ads-GYOSGALI.js +0 -48
  564. package/dist/ads-K3EQKEZU.js +0 -164
  565. package/dist/ads-ZEI4MGML.js +0 -139
  566. package/dist/adsets-DX3FWCOX.js +0 -198
  567. package/dist/advertisers-37LWMT35.js +0 -155
  568. package/dist/advertisers-JOIICYCW.js +0 -127
  569. package/dist/alerts-5I5HBMW7.js +0 -154
  570. package/dist/analytics-5QVOHQ7W.js +0 -462
  571. package/dist/analytics-VYDIHZQP.js +0 -2792
  572. package/dist/animate-JICYQM6W.js +0 -482
  573. package/dist/approved-LNEFYJIA.js +0 -73
  574. package/dist/asset-writes-DDCLHCNJ.js +0 -54
  575. package/dist/assign-GDNJ5PDY.js +0 -84
  576. package/dist/audience-size-Q2WPPGQ4.js +0 -138
  577. package/dist/audience-writes-6JH43BCB.js +0 -331
  578. package/dist/audiences-65YDBS62.js +0 -117
  579. package/dist/audiences-FN73N5UG.js +0 -280
  580. package/dist/audiences-WA3MCIJK.js +0 -85
  581. package/dist/audit-GXYTHCT7.js +0 -91
  582. package/dist/audit-YL26GYLA.js +0 -156
  583. package/dist/autocomplete-NJFXGAKY.js +0 -118
  584. package/dist/avatars-RYMJ7AKP.js +0 -38
  585. package/dist/bid-pricing-JTKB7L75.js +0 -105
  586. package/dist/brand-M2HOZPAC.js +0 -22
  587. package/dist/brief-XK2Y4NTG.js +0 -512
  588. package/dist/businesses-CHNWQTII.js +0 -54
  589. package/dist/campaign-groups-GEVQN5T3.js +0 -119
  590. package/dist/campaign-writes-LCFTH7ZZ.js +0 -170
  591. package/dist/campaign-writes-OGOAR5TZ.js +0 -176
  592. package/dist/campaigns-IOR5TNT2.js +0 -111
  593. package/dist/campaigns-M44PGYFX.js +0 -194
  594. package/dist/campaigns-M53FBIC4.js +0 -78
  595. package/dist/campaigns-TT3YQDZ4.js +0 -139
  596. package/dist/canvas-34S74VLO.js +0 -48
  597. package/dist/capabilities-F4F2G53F.js +0 -185
  598. package/dist/cards-BW3SLNIQ.js +0 -85
  599. package/dist/catalog-QEIFALMW.js +0 -90
  600. package/dist/catalogs-6O7IBZOX.js +0 -130
  601. package/dist/catalogs-Z6WENMRI.js +0 -786
  602. package/dist/changes-F7VWQWV5.js +0 -551
  603. package/dist/changes-UVTUXF7V.js +0 -288
  604. package/dist/chatgpt-PT6EFGSK.js +0 -47
  605. package/dist/chats-67BSWRKK.js +0 -660
  606. package/dist/check-CJSP57TD.js +0 -55
  607. package/dist/chunk-2BIRCP6I.js +0 -102
  608. package/dist/chunk-2N7DAUIZ.js +0 -103
  609. package/dist/chunk-2NJM4EMB.js +0 -42
  610. package/dist/chunk-2PWEYDJE.js +0 -10430
  611. package/dist/chunk-2RCEE6BN.js +0 -430
  612. package/dist/chunk-2VZDX66Z.js +0 -262
  613. package/dist/chunk-3A4L3YUM.js +0 -114
  614. package/dist/chunk-3LAISIFH.js +0 -877
  615. package/dist/chunk-3MO6RK5H.js +0 -57
  616. package/dist/chunk-3OPUTAIX.js +0 -723
  617. package/dist/chunk-3YSMT324.js +0 -51
  618. package/dist/chunk-47SVT2S3.js +0 -81
  619. package/dist/chunk-4ERPADQJ.js +0 -494
  620. package/dist/chunk-4FLSXOUN.js +0 -70
  621. package/dist/chunk-4ORDD3E5.js +0 -69
  622. package/dist/chunk-4RNRTA3R.js +0 -317
  623. package/dist/chunk-4Y2OQLRN.js +0 -190
  624. package/dist/chunk-525FH3H4.js +0 -163
  625. package/dist/chunk-56GVYGP6.js +0 -343
  626. package/dist/chunk-5BL7R3ED.js +0 -341
  627. package/dist/chunk-5M5WLOCH.js +0 -337
  628. package/dist/chunk-5RAMO3UN.js +0 -262
  629. package/dist/chunk-5TMUZYG2.js +0 -1124
  630. package/dist/chunk-5ZZPKLHG.js +0 -547
  631. package/dist/chunk-6FHQJ75I.js +0 -26
  632. package/dist/chunk-6LPXLE4U.js +0 -94
  633. package/dist/chunk-6PIB3IEI.js +0 -219
  634. package/dist/chunk-6WBJJ4BA.js +0 -65
  635. package/dist/chunk-6YAHICKK.js +0 -746
  636. package/dist/chunk-74XG7QEW.js +0 -863
  637. package/dist/chunk-7DWR45OL.js +0 -21
  638. package/dist/chunk-7L274WQN.js +0 -74
  639. package/dist/chunk-7NNHRKAI.js +0 -91
  640. package/dist/chunk-7T5DCYXF.js +0 -155
  641. package/dist/chunk-7ZU5KAAQ.js +0 -93
  642. package/dist/chunk-ABHQHEPI.js +0 -170
  643. package/dist/chunk-AJNY7QNY.js +0 -89
  644. package/dist/chunk-AQIVSTI4.js +0 -87
  645. package/dist/chunk-BNFMOMTK.js +0 -153
  646. package/dist/chunk-CBTWYTTH.js +0 -660
  647. package/dist/chunk-CG6QNIMB.js +0 -37
  648. package/dist/chunk-CHCZD7LC.js +0 -106
  649. package/dist/chunk-CLXFKCPN.js +0 -76
  650. package/dist/chunk-CQEA46XE.js +0 -152
  651. package/dist/chunk-DJ5SKQT6.js +0 -411
  652. package/dist/chunk-DX4G5VP5.js +0 -25
  653. package/dist/chunk-EFX3JWWH.js +0 -259
  654. package/dist/chunk-EMRWPROS.js +0 -274
  655. package/dist/chunk-EV7NTMRU.js +0 -142
  656. package/dist/chunk-F5QYEHUZ.js +0 -329
  657. package/dist/chunk-FANC2QXY.js +0 -260
  658. package/dist/chunk-FDXIIIIS.js +0 -76
  659. package/dist/chunk-FG2IXVRG.js +0 -102
  660. package/dist/chunk-FI4GVCTV.js +0 -77
  661. package/dist/chunk-FKBMNSTE.js +0 -108
  662. package/dist/chunk-FMG2KD7N.js +0 -225
  663. package/dist/chunk-FPAMP74T.js +0 -915
  664. package/dist/chunk-FPAMP74T.js.map +0 -1
  665. package/dist/chunk-FT4QDHZB.js +0 -573
  666. package/dist/chunk-G43GPDDK.js +0 -230
  667. package/dist/chunk-G4RH3XBU.js +0 -224
  668. package/dist/chunk-GA4OLSY7.js +0 -252
  669. package/dist/chunk-GASSS4DB.js +0 -400
  670. package/dist/chunk-GAYEA3IZ.js +0 -313
  671. package/dist/chunk-GHUZSTIQ.js +0 -134
  672. package/dist/chunk-HC47T62N.js +0 -225
  673. package/dist/chunk-HCWK4T4Y.js +0 -52
  674. package/dist/chunk-HNOKAM76.js +0 -505
  675. package/dist/chunk-IMOM5XC4.js +0 -212
  676. package/dist/chunk-IOO3XW4U.js +0 -724
  677. package/dist/chunk-IPAOPAAN.js +0 -349
  678. package/dist/chunk-IQRZV7NT.js +0 -6340
  679. package/dist/chunk-JCL4OR7T.js +0 -106
  680. package/dist/chunk-KKOAKWWI.js +0 -24026
  681. package/dist/chunk-KKW52OQ2.js +0 -85
  682. package/dist/chunk-KNW33NUO.js +0 -509
  683. package/dist/chunk-KOQ4Z2TH.js +0 -131
  684. package/dist/chunk-KSLQSDPB.js +0 -685
  685. package/dist/chunk-L3AOHTAP.js +0 -46
  686. package/dist/chunk-LL5TC2IO.js +0 -98
  687. package/dist/chunk-LNY7HLYW.js +0 -1577
  688. package/dist/chunk-LQ2OJYIN.js +0 -1862
  689. package/dist/chunk-N2UE6YLZ.js +0 -64
  690. package/dist/chunk-N4ZB4JOP.js +0 -499
  691. package/dist/chunk-N6JFLZEQ.js +0 -65
  692. package/dist/chunk-N6JFLZEQ.js.map +0 -1
  693. package/dist/chunk-NSZYZMEF.js +0 -16
  694. package/dist/chunk-NXG2FVKI.js +0 -138
  695. package/dist/chunk-OMHQN3HR.js +0 -118
  696. package/dist/chunk-OP4NR3LN.js +0 -56
  697. package/dist/chunk-OPU2VMFG.js +0 -604
  698. package/dist/chunk-OR67USDK.js +0 -285
  699. package/dist/chunk-PHOX6K35.js +0 -115
  700. package/dist/chunk-PYPQWDCJ.js +0 -202
  701. package/dist/chunk-QLPC2XIQ.js +0 -84
  702. package/dist/chunk-QYVRUHGM.js +0 -113
  703. package/dist/chunk-R5OEW4HU.js +0 -125
  704. package/dist/chunk-RGTSNFMK.js +0 -91
  705. package/dist/chunk-RIEHQUYR.js +0 -423
  706. package/dist/chunk-RJWAWC7R.js +0 -175
  707. package/dist/chunk-RO5AEOBK.js +0 -164
  708. package/dist/chunk-ROP725KM.js +0 -303
  709. package/dist/chunk-SCN5ZF4U.js +0 -76
  710. package/dist/chunk-SQGT5JMZ.js +0 -79
  711. package/dist/chunk-SQUOTXKE.js +0 -159
  712. package/dist/chunk-SXQRHBTA.js +0 -115
  713. package/dist/chunk-SZFODQ4I.js +0 -58
  714. package/dist/chunk-T7V2OPW2.js +0 -127
  715. package/dist/chunk-TKQFQ4FO.js +0 -145
  716. package/dist/chunk-U5O54GZY.js +0 -45
  717. package/dist/chunk-UGID564D.js +0 -3378
  718. package/dist/chunk-ULI3RQA4.js +0 -84
  719. package/dist/chunk-UQM6USE7.js +0 -374
  720. package/dist/chunk-UW4TKTKU.js +0 -23
  721. package/dist/chunk-VBGK3HNI.js +0 -52
  722. package/dist/chunk-VIIA3G6G.js +0 -3131
  723. package/dist/chunk-VIIA3G6G.js.map +0 -1
  724. package/dist/chunk-VTEUI5LF.js +0 -69
  725. package/dist/chunk-VV4FB355.js +0 -1853
  726. package/dist/chunk-VXZ4HKQJ.js +0 -9127
  727. package/dist/chunk-VXZ4HKQJ.js.map +0 -1
  728. package/dist/chunk-WZISTE2E.js +0 -39
  729. package/dist/chunk-XCQZV7HZ.js +0 -1883
  730. package/dist/chunk-XI6MPNBQ.js +0 -287
  731. package/dist/chunk-XK425MSQ.js +0 -65
  732. package/dist/chunk-YA5ZRN5C.js +0 -76
  733. package/dist/chunk-YPI5VIYM.js +0 -98
  734. package/dist/chunk-YXDOPA6E.js +0 -296
  735. package/dist/chunk-ZKWCMUIW.js +0 -197
  736. package/dist/chunk-ZOQDIJTP.js +0 -215
  737. package/dist/chunk-ZQQBUOTJ.js +0 -170
  738. package/dist/chunk-ZSC3LYTP.js +0 -3248
  739. package/dist/chunk-ZSC3LYTP.js.map +0 -1
  740. package/dist/chunk-ZVKGDYZT.js +0 -732
  741. package/dist/chunk-ZXG5MYV4.js +0 -26
  742. package/dist/cite-LLC2VK73.js +0 -194
  743. package/dist/claim-BDADKC5N.js +0 -219
  744. package/dist/client-WNFIGVJI.js +0 -21
  745. package/dist/code-7W5JENZV.js +0 -76
  746. package/dist/companies-ECPH2NPT.js +0 -37
  747. package/dist/company-RA74CGP5.js +0 -312
  748. package/dist/complete-B46LYQIU.js +0 -88
  749. package/dist/config-JEVKFPPE.js +0 -89
  750. package/dist/connect-UWCNLWEC.js +0 -47
  751. package/dist/content-SBHKWSRM.js +0 -162
  752. package/dist/conversation-M7X6NDEU.js +0 -101
  753. package/dist/conversion-report-IX5LAGRM.js +0 -130
  754. package/dist/conversion-upload-command-RE5MS4GY.js +0 -456
  755. package/dist/conversion-writes-EVTMXSEG.js +0 -194
  756. package/dist/conversions-5LOWVH3C.js +0 -78
  757. package/dist/conversions-IU5D3W7A.js +0 -142
  758. package/dist/copy-writes-OEUECNWK.js +0 -174
  759. package/dist/countries-TCS7W24H.js +0 -83
  760. package/dist/create-IYNHU5YI.js +0 -66
  761. package/dist/create-UHEHQ5DF.js +0 -357
  762. package/dist/create-YEMYATC6.js +0 -191
  763. package/dist/create-YNFBF2YF.js +0 -220
  764. package/dist/creatives-7GCAQ7O4.js +0 -48
  765. package/dist/creatives-EHFRTK54.js +0 -119
  766. package/dist/creatives-J7HGZDLG.js +0 -236
  767. package/dist/credentials-TGLVOZJR.js +0 -292
  768. package/dist/critique-VSEVXH5E.js +0 -231
  769. package/dist/crm-X7XV5MP2.js +0 -328
  770. package/dist/crm-YWBQ6F2J.js +0 -419
  771. package/dist/crop-ZZJNQZE6.js +0 -113
  772. package/dist/currency-VMKH6BMM.js +0 -91
  773. package/dist/custom-conversions-UYWHW3YS.js +0 -128
  774. package/dist/customers-7FAOAXXF.js +0 -70
  775. package/dist/data-KAMGL76Y.js +0 -665
  776. package/dist/decide-FD67ZO5A.js +0 -199
  777. package/dist/delete-A74XOY37.js +0 -86
  778. package/dist/delete-HSJXEAFT.js +0 -71
  779. package/dist/delete-LVYR2SJK.js +0 -69
  780. package/dist/delete-MW2YDX55.js +0 -71
  781. package/dist/delete-NTC6F7Y4.js +0 -72
  782. package/dist/delete-QEMLLZ7E.js +0 -61
  783. package/dist/demographics-KNVY4C37.js +0 -146
  784. package/dist/describe-OHR4IZA4.js +0 -93
  785. package/dist/describe-TLDB5746.js +0 -94
  786. package/dist/dimensions-XXRHPA3S.js +0 -101
  787. package/dist/discard-LOZHXADD.js +0 -73
  788. package/dist/discover-DOTPVNEN.js +0 -191
  789. package/dist/discover-MW77T3GQ.js +0 -96
  790. package/dist/domain-NI7HGOYL.js +0 -105
  791. package/dist/download-CUN4ZE2J.js +0 -366
  792. package/dist/download-OJ4ZYXRK.js +0 -175
  793. package/dist/draft-3JIRT4Z2.js +0 -349
  794. package/dist/draft-62JA6W46.js +0 -149
  795. package/dist/draft-6JADH5TF.js +0 -228
  796. package/dist/draft-6JIFTIG6.js +0 -428
  797. package/dist/draft-7N7RUCFJ.js +0 -340
  798. package/dist/draft-GLOXXG65.js +0 -390
  799. package/dist/draft-UCMBS36F.js +0 -640
  800. package/dist/draft-XHTWKUIM.js +0 -153
  801. package/dist/env-DIUH2Z7D.js +0 -59
  802. package/dist/experiment-DB6XLVF7.js +0 -2123
  803. package/dist/experiments-GMJYXMVV.js +0 -242
  804. package/dist/export-JZVNTHUA.js +0 -169
  805. package/dist/extract-FPJ5PSIQ.js +0 -178
  806. package/dist/facets-3RMHRKGB.js +0 -161
  807. package/dist/favorites-B77XUDMR.js +0 -178
  808. package/dist/feed-UX5MZ6ZS.js +0 -293
  809. package/dist/feedback-AVIUSF2Q.js +0 -116
  810. package/dist/fetch-4VVT5K4F.js +0 -139
  811. package/dist/fetch-7Q6WSN2U.js +0 -488
  812. package/dist/files-OFBRNZ6M.js +0 -21
  813. package/dist/find-MERGU4GT.js +0 -144
  814. package/dist/fit-LQXETYTN.js +0 -70
  815. package/dist/flows-ZBUOCCFA.js +0 -406
  816. package/dist/folders-FOSY4GV4.js +0 -228
  817. package/dist/follow-5N7YOBVM.js +0 -114
  818. package/dist/follow-competitors-LV2GGYEE.js +0 -189
  819. package/dist/following-SUBBJJHH.js +0 -187
  820. package/dist/fonts-L3YBXDEJ.js +0 -20
  821. package/dist/forecast-BMH5DYOD.js +0 -123
  822. package/dist/forecast-DXSUOYUX.js +0 -189
  823. package/dist/funding-NNSU2JL5.js +0 -85
  824. package/dist/funnel-ONFEB542.js +0 -702
  825. package/dist/ga4-YA7PRHFY.js +0 -55
  826. package/dist/generate-SD2YKDWQ.js +0 -265
  827. package/dist/get-3V2DUVMO.js +0 -92
  828. package/dist/get-6NGJPIVV.js +0 -115
  829. package/dist/get-7CRFWWZL.js +0 -78
  830. package/dist/get-CUPDQ3DU.js +0 -38
  831. package/dist/get-GK7HQ4YZ.js +0 -69
  832. package/dist/get-LYQ5SZP5.js +0 -30
  833. package/dist/get-QNPJZHPU.js +0 -59
  834. package/dist/get-UA7FMO23.js +0 -68
  835. package/dist/gif-NUW4ZXRU.js +0 -111
  836. package/dist/google-HO3KPZXZ.js +0 -165
  837. package/dist/google-J5PUBM5L.js +0 -3765
  838. package/dist/google-ads-7PDI5VT5.js +0 -231
  839. package/dist/group-VOTBEEYD.js +0 -43
  840. package/dist/group-YRSF3QRF.js +0 -43
  841. package/dist/gsc-L4TLPHM2.js +0 -30
  842. package/dist/history-SRQAD5ER.js +0 -156
  843. package/dist/history-SZMPPYWV.js +0 -204
  844. package/dist/history-TZR7JYLJ.js +0 -109
  845. package/dist/hubspot-X4EIOWA2.js +0 -1047
  846. package/dist/icon-AZ3GMR2M.js +0 -168
  847. package/dist/ideas-FJY37NQO.js +0 -50
  848. package/dist/images-VIJMVDBG.js +0 -92
  849. package/dist/improve-YETMFI5V.js +0 -86
  850. package/dist/ingest-23AWPH77.js +0 -32
  851. package/dist/ingest-54XUZMVN.js +0 -163
  852. package/dist/insights-6B6FD265.js +0 -151
  853. package/dist/insights-EAXO54VE.js +0 -1227
  854. package/dist/inspect-PZVX6XL3.js +0 -39
  855. package/dist/inspiration-I2OGVEII.js +0 -53
  856. package/dist/instant-experiences-NI7UPQHC.js +0 -268
  857. package/dist/intent-K5F3F2VA.js +0 -97
  858. package/dist/job-UJWVG2E2.js +0 -206
  859. package/dist/job-create-2ANMSJSJ.js +0 -113
  860. package/dist/job-status-7NJ5KSEI.js +0 -74
  861. package/dist/keep-JFEFQCW6.js +0 -78
  862. package/dist/keyword-gap-CPACTTZL.js +0 -173
  863. package/dist/keyword-metrics-QAPMISIB.js +0 -235
  864. package/dist/keywords-for-site-PTYNTDE7.js +0 -135
  865. package/dist/knowledge-BS6UOMUW.js +0 -195
  866. package/dist/landings-XDI3C44A.js +0 -30
  867. package/dist/landings-YTLFH36G.js +0 -289
  868. package/dist/languages-HDGUD7FD.js +0 -56
  869. package/dist/languages-UKE3FGUJ.js +0 -41
  870. package/dist/launches-OKDAEEAD.js +0 -19
  871. package/dist/layerize-Q4QOUH4N.js +0 -199
  872. package/dist/lead-routes-2VE4XLAF.js +0 -761
  873. package/dist/leads-X2JK3AC4.js +0 -575
  874. package/dist/leads-ZTQ7XWIW.js +0 -138
  875. package/dist/learn-YEMUH55J.js +0 -214
  876. package/dist/library-YO5U5XP6.js +0 -234
  877. package/dist/lighthouse-YTMBNUKH.js +0 -77
  878. package/dist/line-item-writes-AXMIB5N7.js +0 -213
  879. package/dist/line-items-MJ2QKA3X.js +0 -107
  880. package/dist/link-5M2FR26Q.js +0 -71
  881. package/dist/linkedin-3VJB6TUQ.js +0 -1517
  882. package/dist/linkedin-person-CPJDKB5F.js +0 -143
  883. package/dist/list-76DFRDP2.js +0 -65
  884. package/dist/list-K5X3TD5W.js +0 -53
  885. package/dist/list-KXOJHUC3.js +0 -227
  886. package/dist/list-M7WWMJI3.js +0 -64
  887. package/dist/list-O44ZN3AL.js +0 -90
  888. package/dist/list-RQPVVNDK.js +0 -321
  889. package/dist/list-TLK7TGJK.js +0 -50
  890. package/dist/list-Z4MMSLJI.js +0 -93
  891. package/dist/list-ZAKYTUE5.js +0 -76
  892. package/dist/locations-FPPHDKQX.js +0 -41
  893. package/dist/locations-JZ4ENZSK.js +0 -69
  894. package/dist/log-2S2AKM57.js +0 -99
  895. package/dist/logo-252ZJBEI.js +0 -18
  896. package/dist/lookup-4J4KAM6U.js +0 -26
  897. package/dist/make-EDLXNF5V.js +0 -1392
  898. package/dist/make-EDLXNF5V.js.map +0 -1
  899. package/dist/map-DJ3RXL2W.js +0 -520
  900. package/dist/mcp-WDMCOLLA.js +0 -1018
  901. package/dist/media-QVU3OSHD.js +0 -18
  902. package/dist/media-WHNQEKMB.js +0 -89
  903. package/dist/media-sources-BNXFNPBE.js +0 -35
  904. package/dist/members-CDAOBA3A.js +0 -51
  905. package/dist/meme-25JQFBI7.js +0 -108
  906. package/dist/meta-VVW37AHC.js +0 -152
  907. package/dist/metrics-B3VKTIJZ.js +0 -193
  908. package/dist/models-QNGMKRRO.js +0 -155
  909. package/dist/music-6LOROUGO.js +0 -75
  910. package/dist/normalize-MQ7IOFIW.js +0 -806
  911. package/dist/normalize-WEMQBKK7.js +0 -146
  912. package/dist/normalize-paths-I7XYGDRM.js +0 -23
  913. package/dist/options-UWLKFGGH.js +0 -127
  914. package/dist/organization-I4WG6C3W.js +0 -950
  915. package/dist/output-NGKA2Q67.js +0 -30
  916. package/dist/page-ECKG5URE.js +0 -105
  917. package/dist/page-photos-JJPN2PZZ.js +0 -122
  918. package/dist/pages-A4JRE7VW.js +0 -67
  919. package/dist/people-3W2FP7EE.js +0 -162
  920. package/dist/people-7OP4UGOQ.js +0 -172
  921. package/dist/performance-JJB7EDDN.js +0 -29
  922. package/dist/performance-UXKKTPNY.js +0 -6361
  923. package/dist/pinterest-V2EVMGYB.js +0 -105
  924. package/dist/pipedrive-5FTSSYVJ.js +0 -534
  925. package/dist/pixels-6AZVOH3E.js +0 -62
  926. package/dist/pixels-YBUNTET7.js +0 -230
  927. package/dist/plan-NHB57VGJ.js +0 -213
  928. package/dist/posts-N4KHRCBX.js +0 -36
  929. package/dist/preview-EGGKSCB2.js +0 -151
  930. package/dist/preview-W27ILCX5.js +0 -338
  931. package/dist/profile-2OZTR2K7.js +0 -284
  932. package/dist/promoted-tweet-writes-52YMHI7E.js +0 -185
  933. package/dist/promoted-tweets-E2AG7RIO.js +0 -119
  934. package/dist/properties-EU5RQ6QC.js +0 -103
  935. package/dist/publish-AGAEAHRT.js +0 -431
  936. package/dist/query-3EHZD7YM.js +0 -68
  937. package/dist/query-ASA6IP3K.js +0 -345
  938. package/dist/query-KF74K3TU.js +0 -278
  939. package/dist/questionnaire-WUXIZV2I.js +0 -103
  940. package/dist/read-7R6C6UMP.js +0 -166
  941. package/dist/read-QPPUCOCH.js +0 -358
  942. package/dist/reddit-N4SHH5HQ.js +0 -31
  943. package/dist/refresh-52JSPF5P.js +0 -42
  944. package/dist/refresh-JUYLMNVZ.js +0 -101
  945. package/dist/release-S3OVKUTS.js +0 -67
  946. package/dist/relevant-pages-BE7BCP64.js +0 -101
  947. package/dist/remove-CRYC7B2E.js +0 -49
  948. package/dist/remove-ES3WH3EB.js +0 -55
  949. package/dist/reopen-YQ3RWHB5.js +0 -70
  950. package/dist/rerun-47P6MK5J.js +0 -102
  951. package/dist/research-2S2WNXGO.js +0 -267
  952. package/dist/research-GMR2IX6F.js +0 -78
  953. package/dist/reset-C2JQULEH.js +0 -59
  954. package/dist/reset-C4Y2U32A.js +0 -59
  955. package/dist/resolve-EP3MIROY.js +0 -126
  956. package/dist/retry-PTPZP34H.js +0 -67
  957. package/dist/retry-T3ACSHFB.js +0 -67
  958. package/dist/retry-failed-4CQFNZB7.js +0 -45
  959. package/dist/revenue-ZECFYSCF.js +0 -100
  960. package/dist/rule-writes-AQXWP43E.js +0 -534
  961. package/dist/rules-63XWNXSU.js +0 -164
  962. package/dist/rules-ZNST2PFK.js +0 -217
  963. package/dist/run-5FLJCKJ7.js +0 -79
  964. package/dist/run-B4X7EY6G.js +0 -74
  965. package/dist/scaffold-ad-VXOP3K3R.js +0 -1604
  966. package/dist/scaffold-static-ad-QHW6RXRX.js +0 -999
  967. package/dist/scaffold-video-SWCPG3WZ.js +0 -890
  968. package/dist/scaffold-video-SWCPG3WZ.js.map +0 -1
  969. package/dist/schedule-FML5QVNU.js +0 -67
  970. package/dist/schedule-UPAKK3WG.js +0 -66
  971. package/dist/scheduled-agents-PR2RPZQK.js +0 -59
  972. package/dist/schema-QYSJ7O5J.js +0 -241
  973. package/dist/schema-YGERZHOS.js +0 -137
  974. package/dist/scrape-3SFLZ266.js +0 -2209
  975. package/dist/screenshot-SHUR3K5Y.js +0 -103
  976. package/dist/search-4H4N2NYI.js +0 -113
  977. package/dist/search-B6ZPDGBQ.js +0 -230
  978. package/dist/search-PJMOMJM6.js +0 -26
  979. package/dist/search-RT66WPBR.js +0 -228
  980. package/dist/search-WVB433LQ.js +0 -51
  981. package/dist/search-XWKOUPUP.js +0 -100
  982. package/dist/search-copy-VPII75LO.js +0 -170
  983. package/dist/search-terms-6JPD3IBR.js +0 -412
  984. package/dist/seeds-6HVIXEEV.js +0 -103
  985. package/dist/select-JMONBG6Y.js +0 -135
  986. package/dist/sends-WWDPK36Y.js +0 -405
  987. package/dist/sequences-VWYULZ6M.js +0 -146
  988. package/dist/set-24D6ADOW.js +0 -287
  989. package/dist/set-prompt-DOWEK7OB.js +0 -205
  990. package/dist/setup-links-SBIP52HP.js +0 -146
  991. package/dist/shared-REO5OW5X.js +0 -34
  992. package/dist/shopify-YNZN73FS.js +0 -4033
  993. package/dist/site-XPJRQ25P.js +0 -182
  994. package/dist/sitemaps-UYCE5BCE.js +0 -77
  995. package/dist/sites-GQW6MKDM.js +0 -97
  996. package/dist/skills-DGVWXYI5.js +0 -47
  997. package/dist/sources-7Q4UCWWU.js +0 -30
  998. package/dist/sources-AIS6H5FI.js +0 -470
  999. package/dist/stale-IRTAAGLZ.js +0 -93
  1000. package/dist/stats-DECCFXNH.js +0 -34
  1001. package/dist/status-QNSLO75C.js +0 -69
  1002. package/dist/sticker-WKHQ76B7.js +0 -103
  1003. package/dist/stock-IXF4TFCA.js +0 -214
  1004. package/dist/studies-PEHTJFXJ.js +0 -250
  1005. package/dist/studio-N7MJV4KO.js +0 -49
  1006. package/dist/study-writes-6BPXP5WF.js +0 -475
  1007. package/dist/suggest-RRQZUHGA.js +0 -66
  1008. package/dist/sync-D2BB44T6.js +0 -307
  1009. package/dist/sync-LCUH4QND.js +0 -59
  1010. package/dist/sync-OSYLB5C7.js +0 -55
  1011. package/dist/sync-definition-QWIAEZQS.js +0 -75
  1012. package/dist/tag-TTUAKUX4.js +0 -57
  1013. package/dist/tag-manager-I4QVWQWE.js +0 -45
  1014. package/dist/tags-2OIQ3NT5.js +0 -25
  1015. package/dist/tags-3DGTAMFH.js +0 -26
  1016. package/dist/tags-62N4T2EZ.js +0 -25
  1017. package/dist/tags-ARS4ELIJ.js +0 -183
  1018. package/dist/tags-ARS4ELIJ.js.map +0 -1
  1019. package/dist/tags-OFCHGFMA.js +0 -25
  1020. package/dist/targeting-SAS5WNBZ.js +0 -777
  1021. package/dist/targeting-constants-G5VEQXEH.js +0 -118
  1022. package/dist/targeting-criteria-Y2JPXZEN.js +0 -113
  1023. package/dist/targets-S7J6JEYN.js +0 -111
  1024. package/dist/terms-FHOUGTX7.js +0 -102
  1025. package/dist/testimonials-IK2OLSPE.js +0 -32
  1026. package/dist/themes-IMAEHF5C.js +0 -102
  1027. package/dist/top-companies-YKWT4PCZ.js +0 -251
  1028. package/dist/transcript-WRDR6YKU.js +0 -169
  1029. package/dist/translate-SFP47P7G.js +0 -608
  1030. package/dist/triggers-CITJRNMF.js +0 -149
  1031. package/dist/tweets-3WZZIV7V.js +0 -123
  1032. package/dist/unfollow-YJCOG2QN.js +0 -48
  1033. package/dist/unlink-HKHAO26D.js +0 -74
  1034. package/dist/unstage-IMX25EFY.js +0 -93
  1035. package/dist/unstage-UN35Z35V.js +0 -101
  1036. package/dist/update-AUKXMMZS.js +0 -238
  1037. package/dist/update-JUUR34SA.js +0 -194
  1038. package/dist/update-PA5SNH74.js +0 -70
  1039. package/dist/update-SKTB5OGH.js +0 -81
  1040. package/dist/update-YVXU7YPJ.js +0 -176
  1041. package/dist/upload-KVZ3F2SW.js +0 -194
  1042. package/dist/upload-XMPX4VTM.js +0 -186
  1043. package/dist/upscale-JTSBVQ7D.js +0 -163
  1044. package/dist/url-options-XNMZCC5F.js +0 -137
  1045. package/dist/url-params-6MRIC6ND.js +0 -103
  1046. package/dist/use-WPKEODQS.js +0 -117
  1047. package/dist/validate-743X5D77.js +0 -181
  1048. package/dist/variant-UNHUXVYX.js +0 -338
  1049. package/dist/videos-BBFVZAWY.js +0 -41
  1050. package/dist/videos-IG7QBXSN.js +0 -146
  1051. package/dist/view-QLYTTOXE.js +0 -133
  1052. package/dist/viewer-check-YWA466OS.js +0 -90
  1053. package/dist/visuals-3CRTCW7M.js +0 -130
  1054. package/dist/web-CLA7O64L.js +0 -225
  1055. package/dist/winners-SYLEDMUK.js +0 -115
  1056. package/dist/winning-ads-3GGQZ5S6.js +0 -88
  1057. package/dist/write-commands-64Y6SMWZ.js +0 -207
  1058. package/dist/write-commands-7RAT2NGS.js +0 -722
  1059. package/dist/write-commands-LZ7JVYZK.js +0 -1556
  1060. package/dist/write-commands-NYEX2RXS.js +0 -1261
  1061. package/dist/x-QJMQQRU6.js +0 -47
  1062. /package/dist/{account-OG3XGNFQ.js.map → account-AOVXJDJW.js.map} +0 -0
  1063. /package/dist/{account-LIKO3VHK.js.map → account-M62TN7CA.js.map} +0 -0
  1064. /package/dist/{account-ZIWGZ2AS.js.map → account-T2OKWSFA.js.map} +0 -0
  1065. /package/dist/{account-assets-HQGL6UOX.js.map → account-assets-3FZZBGZF.js.map} +0 -0
  1066. /package/dist/{account-level-52XWKA5O.js.map → account-level-EK3VLSZU.js.map} +0 -0
  1067. /package/dist/{account-reads-YXGZC5SY.js.map → account-reads-JXELYBOE.js.map} +0 -0
  1068. /package/dist/{account-users-GRNI7ONO.js.map → account-users-GCYTKKOZ.js.map} +0 -0
  1069. /package/dist/{account-writes-7KUBHCSV.js.map → account-writes-ZKCBOU7W.js.map} +0 -0
  1070. /package/dist/{accounts-VGFSIOGT.js.map → accounts-656543M3.js.map} +0 -0
  1071. /package/dist/{accounts-X6GVHA42.js.map → accounts-6P7CIOLA.js.map} +0 -0
  1072. /package/dist/{accounts-KMMSNFON.js.map → accounts-E2IZTZVF.js.map} +0 -0
  1073. /package/dist/{accounts-TPH5ZZMX.js.map → accounts-NRVGA5YX.js.map} +0 -0
  1074. /package/dist/{accounts-KSR52GP4.js.map → accounts-Q3OVMDHR.js.map} +0 -0
  1075. /package/dist/{actions-XCXOFIY3.js.map → actions-DYJMCIYR.js.map} +0 -0
  1076. /package/dist/{active-entities-ND5J6UTZ.js.map → active-entities-DK2EZ3PL.js.map} +0 -0
  1077. /package/dist/{activecampaign-C43JV3QP.js.map → activecampaign-FD7AHHUP.js.map} +0 -0
  1078. /package/dist/{activities-AQFCXMD4.js.map → activities-NF7FQV4O.js.map} +0 -0
  1079. /package/dist/{ad-group-writes-VQDZHONG.js.map → ad-group-writes-S5SJHBP2.js.map} +0 -0
  1080. /package/dist/{ad-groups-2UPALBRQ.js.map → ad-groups-WIJPMUGG.js.map} +0 -0
  1081. /package/dist/{ad-writes-2DZOJXT6.js.map → ad-writes-FPMVOMWR.js.map} +0 -0
  1082. /package/dist/{add-Z56KSMO6.js.map → add-2B5MP7JV.js.map} +0 -0
  1083. /package/dist/{add-XFPAONDI.js.map → add-A6IFSOXV.js.map} +0 -0
  1084. /package/dist/{add-ZLDVQSF4.js.map → add-C5FZYRL7.js.map} +0 -0
  1085. /package/dist/{add-VAX2JKY5.js.map → add-EWUGLZWZ.js.map} +0 -0
  1086. /package/dist/{add-Q5OOHT6D.js.map → add-IENQ4KJR.js.map} +0 -0
  1087. /package/dist/{add-MRZNE5ZA.js.map → add-JBV3TFGD.js.map} +0 -0
  1088. /package/dist/{add-BEYUAKMD.js.map → add-KI6NOF5K.js.map} +0 -0
  1089. /package/dist/{add-accounts-ECILF7PE.js.map → add-accounts-LCBSAFDW.js.map} +0 -0
  1090. /package/dist/{ads-GYOSGALI.js.map → ads-2M2N53GL.js.map} +0 -0
  1091. /package/dist/{ads-ZEI4MGML.js.map → ads-CP3RB4RS.js.map} +0 -0
  1092. /package/dist/{ads-K3EQKEZU.js.map → ads-MY5QHI5K.js.map} +0 -0
  1093. /package/dist/{ads-GNVJYDTK.js.map → ads-UW6CJOOB.js.map} +0 -0
  1094. /package/dist/{adsets-DX3FWCOX.js.map → adsets-TMYWK67U.js.map} +0 -0
  1095. /package/dist/{advertisers-37LWMT35.js.map → advertisers-D5N3ISLD.js.map} +0 -0
  1096. /package/dist/{advertisers-JOIICYCW.js.map → advertisers-SN3O7A2N.js.map} +0 -0
  1097. /package/dist/{alerts-5I5HBMW7.js.map → alerts-QS2DTR2N.js.map} +0 -0
  1098. /package/dist/{analytics-5QVOHQ7W.js.map → analytics-FA4CSROH.js.map} +0 -0
  1099. /package/dist/{analytics-VYDIHZQP.js.map → analytics-VYCHXDTU.js.map} +0 -0
  1100. /package/dist/{animate-JICYQM6W.js.map → animate-NZKDYNK4.js.map} +0 -0
  1101. /package/dist/{approved-LNEFYJIA.js.map → approved-OIU27VJH.js.map} +0 -0
  1102. /package/dist/{asset-writes-DDCLHCNJ.js.map → asset-writes-OIMWVGR4.js.map} +0 -0
  1103. /package/dist/{assign-GDNJ5PDY.js.map → assign-B3NTNO2Q.js.map} +0 -0
  1104. /package/dist/{audience-size-Q2WPPGQ4.js.map → audience-size-ROFTH3UN.js.map} +0 -0
  1105. /package/dist/{audience-writes-6JH43BCB.js.map → audience-writes-2JYZZU3J.js.map} +0 -0
  1106. /package/dist/{audiences-WA3MCIJK.js.map → audiences-GQMRIH2K.js.map} +0 -0
  1107. /package/dist/{audiences-65YDBS62.js.map → audiences-V64FFV7H.js.map} +0 -0
  1108. /package/dist/{audiences-FN73N5UG.js.map → audiences-WBS4X6OF.js.map} +0 -0
  1109. /package/dist/{audit-GXYTHCT7.js.map → audit-5IMPW7CA.js.map} +0 -0
  1110. /package/dist/{audit-YL26GYLA.js.map → audit-MYZVABKI.js.map} +0 -0
  1111. /package/dist/{autocomplete-NJFXGAKY.js.map → autocomplete-NPRGZKAD.js.map} +0 -0
  1112. /package/dist/{avatars-RYMJ7AKP.js.map → avatars-5OHHLZCW.js.map} +0 -0
  1113. /package/dist/{bid-pricing-JTKB7L75.js.map → bid-pricing-SBZLH6W2.js.map} +0 -0
  1114. /package/dist/{brand-M2HOZPAC.js.map → brand-D3CKOZA6.js.map} +0 -0
  1115. /package/dist/{brief-XK2Y4NTG.js.map → brief-ME2TXEXJ.js.map} +0 -0
  1116. /package/dist/{businesses-CHNWQTII.js.map → businesses-EOZIYWBA.js.map} +0 -0
  1117. /package/dist/{campaign-groups-GEVQN5T3.js.map → campaign-groups-LQNTZMPD.js.map} +0 -0
  1118. /package/dist/{campaign-writes-OGOAR5TZ.js.map → campaign-writes-ASVZMKTS.js.map} +0 -0
  1119. /package/dist/{campaign-writes-LCFTH7ZZ.js.map → campaign-writes-QD4ZD42G.js.map} +0 -0
  1120. /package/dist/{campaigns-M44PGYFX.js.map → campaigns-3PXDA6HI.js.map} +0 -0
  1121. /package/dist/{campaigns-TT3YQDZ4.js.map → campaigns-67XNQSCL.js.map} +0 -0
  1122. /package/dist/{campaigns-M53FBIC4.js.map → campaigns-FGOQB3BU.js.map} +0 -0
  1123. /package/dist/{campaigns-IOR5TNT2.js.map → campaigns-JDRCFH5X.js.map} +0 -0
  1124. /package/dist/{canvas-34S74VLO.js.map → canvas-VWNLVSL3.js.map} +0 -0
  1125. /package/dist/{capabilities-F4F2G53F.js.map → capabilities-CMKUACPR.js.map} +0 -0
  1126. /package/dist/{cards-BW3SLNIQ.js.map → cards-XUXGAAYC.js.map} +0 -0
  1127. /package/dist/{catalog-QEIFALMW.js.map → catalog-K6WJGY2F.js.map} +0 -0
  1128. /package/dist/{catalogs-Z6WENMRI.js.map → catalogs-BTL32CVM.js.map} +0 -0
  1129. /package/dist/{catalogs-6O7IBZOX.js.map → catalogs-YKKIJHYU.js.map} +0 -0
  1130. /package/dist/{changes-F7VWQWV5.js.map → changes-6QDCAOEL.js.map} +0 -0
  1131. /package/dist/{changes-UVTUXF7V.js.map → changes-LZ27Y3M5.js.map} +0 -0
  1132. /package/dist/{chatgpt-PT6EFGSK.js.map → chatgpt-6QBHO4LC.js.map} +0 -0
  1133. /package/dist/{chats-67BSWRKK.js.map → chats-63Q4N7NR.js.map} +0 -0
  1134. /package/dist/{check-CJSP57TD.js.map → check-FBLAMTWU.js.map} +0 -0
  1135. /package/dist/{chunk-2PWEYDJE.js.map → chunk-2J2ODDVZ.js.map} +0 -0
  1136. /package/dist/{chunk-XK425MSQ.js.map → chunk-2P7UMRLD.js.map} +0 -0
  1137. /package/dist/{chunk-74XG7QEW.js.map → chunk-2R3X2FYX.js.map} +0 -0
  1138. /package/dist/{chunk-7NNHRKAI.js.map → chunk-2VUGB2GL.js.map} +0 -0
  1139. /package/dist/{chunk-GHUZSTIQ.js.map → chunk-4BIN7DNB.js.map} +0 -0
  1140. /package/dist/{chunk-FMG2KD7N.js.map → chunk-4VDO5QWR.js.map} +0 -0
  1141. /package/dist/{chunk-N4ZB4JOP.js.map → chunk-53XQFF26.js.map} +0 -0
  1142. /package/dist/{chunk-SZFODQ4I.js.map → chunk-5DYDOIIA.js.map} +0 -0
  1143. /package/dist/{chunk-ZXG5MYV4.js.map → chunk-6FXEUO2G.js.map} +0 -0
  1144. /package/dist/{chunk-OMHQN3HR.js.map → chunk-6HJYT6Y6.js.map} +0 -0
  1145. /package/dist/{chunk-CBTWYTTH.js.map → chunk-6QZGW62Z.js.map} +0 -0
  1146. /package/dist/{chunk-AJNY7QNY.js.map → chunk-6WLGQAVU.js.map} +0 -0
  1147. /package/dist/{chunk-6LPXLE4U.js.map → chunk-6WZR3PO6.js.map} +0 -0
  1148. /package/dist/{chunk-R5OEW4HU.js.map → chunk-6YAT42QQ.js.map} +0 -0
  1149. /package/dist/{chunk-5ZZPKLHG.js.map → chunk-76ZDIJ3O.js.map} +0 -0
  1150. /package/dist/{chunk-RO5AEOBK.js.map → chunk-7IOAZBQP.js.map} +0 -0
  1151. /package/dist/{chunk-TKQFQ4FO.js.map → chunk-7QH3JV3H.js.map} +0 -0
  1152. /package/dist/{chunk-2NJM4EMB.js.map → chunk-7QIDKAIG.js.map} +0 -0
  1153. /package/dist/{chunk-WZISTE2E.js.map → chunk-7UOPL4LD.js.map} +0 -0
  1154. /package/dist/{chunk-IQRZV7NT.js.map → chunk-7XGQUKMW.js.map} +0 -0
  1155. /package/dist/{chunk-7DWR45OL.js.map → chunk-7ZA5NCEN.js.map} +0 -0
  1156. /package/dist/{chunk-U5O54GZY.js.map → chunk-7ZB3OSTZ.js.map} +0 -0
  1157. /package/dist/{chunk-FANC2QXY.js.map → chunk-A4J4ITOQ.js.map} +0 -0
  1158. /package/dist/{chunk-3OPUTAIX.js.map → chunk-ABRQ57VU.js.map} +0 -0
  1159. /package/dist/{chunk-CG6QNIMB.js.map → chunk-AE5OIAJL.js.map} +0 -0
  1160. /package/dist/{chunk-OPU2VMFG.js.map → chunk-AEISYG45.js.map} +0 -0
  1161. /package/dist/{chunk-7L274WQN.js.map → chunk-AF7SJZ7B.js.map} +0 -0
  1162. /package/dist/{chunk-7T5DCYXF.js.map → chunk-AGP5UJWU.js.map} +0 -0
  1163. /package/dist/{chunk-SQUOTXKE.js.map → chunk-AMGCUUTJ.js.map} +0 -0
  1164. /package/dist/{chunk-ROP725KM.js.map → chunk-B5IQYPPV.js.map} +0 -0
  1165. /package/dist/{chunk-ZVKGDYZT.js.map → chunk-BBCEEVNG.js.map} +0 -0
  1166. /package/dist/{chunk-LNY7HLYW.js.map → chunk-C2AYNHU7.js.map} +0 -0
  1167. /package/dist/{chunk-IOO3XW4U.js.map → chunk-C65TL6CQ.js.map} +0 -0
  1168. /package/dist/{chunk-N2UE6YLZ.js.map → chunk-CAR4ALSH.js.map} +0 -0
  1169. /package/dist/{chunk-6PIB3IEI.js.map → chunk-CJUX3GUP.js.map} +0 -0
  1170. /package/dist/{chunk-GAYEA3IZ.js.map → chunk-CMD2YQ7G.js.map} +0 -0
  1171. /package/dist/{chunk-FI4GVCTV.js.map → chunk-CPHDUOTQ.js.map} +0 -0
  1172. /package/dist/{chunk-PYPQWDCJ.js.map → chunk-CSJTPNHC.js.map} +0 -0
  1173. /package/dist/{chunk-5RAMO3UN.js.map → chunk-D3BHB6H3.js.map} +0 -0
  1174. /package/dist/{chunk-CHCZD7LC.js.map → chunk-D5MYTVLN.js.map} +0 -0
  1175. /package/dist/{chunk-VTEUI5LF.js.map → chunk-DBTYSA6L.js.map} +0 -0
  1176. /package/dist/{chunk-GA4OLSY7.js.map → chunk-DCCHIMBR.js.map} +0 -0
  1177. /package/dist/{chunk-525FH3H4.js.map → chunk-DCHSECAK.js.map} +0 -0
  1178. /package/dist/{chunk-5M5WLOCH.js.map → chunk-DU4TH7V4.js.map} +0 -0
  1179. /package/dist/{chunk-NXG2FVKI.js.map → chunk-DXK6WEW2.js.map} +0 -0
  1180. /package/dist/{chunk-KNW33NUO.js.map → chunk-EXOKLYQ6.js.map} +0 -0
  1181. /package/dist/{chunk-G43GPDDK.js.map → chunk-F73NVXLK.js.map} +0 -0
  1182. /package/dist/{chunk-5BL7R3ED.js.map → chunk-FYLE27T2.js.map} +0 -0
  1183. /package/dist/{chunk-KKOAKWWI.js.map → chunk-FYVFOOXJ.js.map} +0 -0
  1184. /package/dist/{chunk-2N7DAUIZ.js.map → chunk-G6XE3XF4.js.map} +0 -0
  1185. /package/dist/{chunk-SXQRHBTA.js.map → chunk-GGMUHKYY.js.map} +0 -0
  1186. /package/dist/{chunk-6WBJJ4BA.js.map → chunk-GLKI4TQT.js.map} +0 -0
  1187. /package/dist/{chunk-4Y2OQLRN.js.map → chunk-GQY43LQ3.js.map} +0 -0
  1188. /package/dist/{chunk-DJ5SKQT6.js.map → chunk-GTTOI4N4.js.map} +0 -0
  1189. /package/dist/{chunk-GASSS4DB.js.map → chunk-GWWZCDM3.js.map} +0 -0
  1190. /package/dist/{chunk-ZKWCMUIW.js.map → chunk-H5GLDWNJ.js.map} +0 -0
  1191. /package/dist/{chunk-4RNRTA3R.js.map → chunk-HBLN3KLR.js.map} +0 -0
  1192. /package/dist/{chunk-EV7NTMRU.js.map → chunk-HBODIRGR.js.map} +0 -0
  1193. /package/dist/{chunk-6YAHICKK.js.map → chunk-HBYAJFCC.js.map} +0 -0
  1194. /package/dist/{chunk-FT4QDHZB.js.map → chunk-HEIPNOAC.js.map} +0 -0
  1195. /package/dist/{chunk-2VZDX66Z.js.map → chunk-HFGH3BB2.js.map} +0 -0
  1196. /package/dist/{chunk-JCL4OR7T.js.map → chunk-HQZ3LJUZ.js.map} +0 -0
  1197. /package/dist/{chunk-YXDOPA6E.js.map → chunk-I4EVSKRJ.js.map} +0 -0
  1198. /package/dist/{chunk-LL5TC2IO.js.map → chunk-I54KCFD4.js.map} +0 -0
  1199. /package/dist/{chunk-BNFMOMTK.js.map → chunk-IL3L66CT.js.map} +0 -0
  1200. /package/dist/{chunk-RJWAWC7R.js.map → chunk-JG32XN4I.js.map} +0 -0
  1201. /package/dist/{chunk-RIEHQUYR.js.map → chunk-JIJ2IJS3.js.map} +0 -0
  1202. /package/dist/{chunk-UW4TKTKU.js.map → chunk-JLGVWJGE.js.map} +0 -0
  1203. /package/dist/{chunk-UQM6USE7.js.map → chunk-JWBCJULC.js.map} +0 -0
  1204. /package/dist/{chunk-FKBMNSTE.js.map → chunk-JWT3XDWR.js.map} +0 -0
  1205. /package/dist/{chunk-YA5ZRN5C.js.map → chunk-KTTF6VVN.js.map} +0 -0
  1206. /package/dist/{chunk-ULI3RQA4.js.map → chunk-KWHWPXCU.js.map} +0 -0
  1207. /package/dist/{chunk-CLXFKCPN.js.map → chunk-LHT54GSL.js.map} +0 -0
  1208. /package/dist/{chunk-5TMUZYG2.js.map → chunk-LHVFJ64L.js.map} +0 -0
  1209. /package/dist/{chunk-KSLQSDPB.js.map → chunk-LP6BCWD7.js.map} +0 -0
  1210. /package/dist/{chunk-3A4L3YUM.js.map → chunk-MEGFQY74.js.map} +0 -0
  1211. /package/dist/{chunk-XCQZV7HZ.js.map → chunk-MKUWTJ2Z.js.map} +0 -0
  1212. /package/dist/{chunk-ZQQBUOTJ.js.map → chunk-MXW7NGLU.js.map} +0 -0
  1213. /package/dist/{chunk-2BIRCP6I.js.map → chunk-NAH6F52C.js.map} +0 -0
  1214. /package/dist/{chunk-KOQ4Z2TH.js.map → chunk-NBPI7ZCT.js.map} +0 -0
  1215. /package/dist/{chunk-SCN5ZF4U.js.map → chunk-NGYRPA7Y.js.map} +0 -0
  1216. /package/dist/{chunk-UGID564D.js.map → chunk-NH5DZMBC.js.map} +0 -0
  1217. /package/dist/{chunk-FG2IXVRG.js.map → chunk-NKZOPJHU.js.map} +0 -0
  1218. /package/dist/{chunk-6FHQJ75I.js.map → chunk-NZ5KTMES.js.map} +0 -0
  1219. /package/dist/{chunk-OR67USDK.js.map → chunk-OBCRBLQR.js.map} +0 -0
  1220. /package/dist/{chunk-4ERPADQJ.js.map → chunk-OKF52QZZ.js.map} +0 -0
  1221. /package/dist/{chunk-CQEA46XE.js.map → chunk-OL4RTWV5.js.map} +0 -0
  1222. /package/dist/{chunk-ABHQHEPI.js.map → chunk-OLR5KKZJ.js.map} +0 -0
  1223. /package/dist/{chunk-IMOM5XC4.js.map → chunk-ONY7MS2L.js.map} +0 -0
  1224. /package/dist/{chunk-2RCEE6BN.js.map → chunk-OY63QI6E.js.map} +0 -0
  1225. /package/dist/{chunk-HC47T62N.js.map → chunk-P56NTW5P.js.map} +0 -0
  1226. /package/dist/{chunk-3MO6RK5H.js.map → chunk-PAH5OQMO.js.map} +0 -0
  1227. /package/dist/{chunk-FDXIIIIS.js.map → chunk-Q36W6KUX.js.map} +0 -0
  1228. /package/dist/{chunk-VBGK3HNI.js.map → chunk-Q6QXHGNP.js.map} +0 -0
  1229. /package/dist/{chunk-47SVT2S3.js.map → chunk-QON743YO.js.map} +0 -0
  1230. /package/dist/{chunk-7ZU5KAAQ.js.map → chunk-QX6YBPD2.js.map} +0 -0
  1231. /package/dist/{chunk-OP4NR3LN.js.map → chunk-RIHJSIB7.js.map} +0 -0
  1232. /package/dist/{chunk-QLPC2XIQ.js.map → chunk-RJXRMMTI.js.map} +0 -0
  1233. /package/dist/{chunk-IPAOPAAN.js.map → chunk-SBTITF6X.js.map} +0 -0
  1234. /package/dist/{chunk-KKW52OQ2.js.map → chunk-SC7RKA3V.js.map} +0 -0
  1235. /package/dist/{chunk-ZOQDIJTP.js.map → chunk-SQ4CAMYI.js.map} +0 -0
  1236. /package/dist/{chunk-VV4FB355.js.map → chunk-T6HSDHLX.js.map} +0 -0
  1237. /package/dist/{chunk-AQIVSTI4.js.map → chunk-TQU6X4KA.js.map} +0 -0
  1238. /package/dist/{chunk-QYVRUHGM.js.map → chunk-UDEEMACM.js.map} +0 -0
  1239. /package/dist/{chunk-PHOX6K35.js.map → chunk-UDNO3DNU.js.map} +0 -0
  1240. /package/dist/{chunk-RGTSNFMK.js.map → chunk-UJ2PS2A2.js.map} +0 -0
  1241. /package/dist/{chunk-NSZYZMEF.js.map → chunk-VWKBB667.js.map} +0 -0
  1242. /package/dist/{chunk-HNOKAM76.js.map → chunk-W6NHJ46M.js.map} +0 -0
  1243. /package/dist/{chunk-L3AOHTAP.js.map → chunk-WJFMYLEB.js.map} +0 -0
  1244. /package/dist/{chunk-DX4G5VP5.js.map → chunk-WV7DJO3A.js.map} +0 -0
  1245. /package/dist/{chunk-LQ2OJYIN.js.map → chunk-XDAEUEOV.js.map} +0 -0
  1246. /package/dist/{chunk-HCWK4T4Y.js.map → chunk-XDSMM3CK.js.map} +0 -0
  1247. /package/dist/{chunk-G4RH3XBU.js.map → chunk-XJZ3PMHD.js.map} +0 -0
  1248. /package/dist/{chunk-56GVYGP6.js.map → chunk-XNVVYXGH.js.map} +0 -0
  1249. /package/dist/{chunk-SQGT5JMZ.js.map → chunk-XS3NDLR3.js.map} +0 -0
  1250. /package/dist/{chunk-EMRWPROS.js.map → chunk-XTOM5LBQ.js.map} +0 -0
  1251. /package/dist/{chunk-4ORDD3E5.js.map → chunk-XU6W2UVB.js.map} +0 -0
  1252. /package/dist/{chunk-3LAISIFH.js.map → chunk-YFDDCGC4.js.map} +0 -0
  1253. /package/dist/{chunk-3YSMT324.js.map → chunk-YFJYLSOJ.js.map} +0 -0
  1254. /package/dist/{chunk-XI6MPNBQ.js.map → chunk-ZGEGEQUE.js.map} +0 -0
  1255. /package/dist/{chunk-F5QYEHUZ.js.map → chunk-ZHGFEDBT.js.map} +0 -0
  1256. /package/dist/{chunk-T7V2OPW2.js.map → chunk-ZIJFBEFI.js.map} +0 -0
  1257. /package/dist/{chunk-YPI5VIYM.js.map → chunk-ZJUWOIRQ.js.map} +0 -0
  1258. /package/dist/{chunk-4FLSXOUN.js.map → chunk-ZPWBUO5T.js.map} +0 -0
  1259. /package/dist/{chunk-EFX3JWWH.js.map → chunk-ZV4WPJE3.js.map} +0 -0
  1260. /package/dist/{cite-LLC2VK73.js.map → cite-KL6PXBQ4.js.map} +0 -0
  1261. /package/dist/{claim-BDADKC5N.js.map → claim-AE5WR4GO.js.map} +0 -0
  1262. /package/dist/{client-WNFIGVJI.js.map → client-KYURFMWC.js.map} +0 -0
  1263. /package/dist/{code-7W5JENZV.js.map → code-SIQWEGOR.js.map} +0 -0
  1264. /package/dist/{companies-ECPH2NPT.js.map → companies-RWI4XOAR.js.map} +0 -0
  1265. /package/dist/{company-RA74CGP5.js.map → company-TE3LF5BC.js.map} +0 -0
  1266. /package/dist/{complete-B46LYQIU.js.map → complete-6GQYGIG3.js.map} +0 -0
  1267. /package/dist/{config-JEVKFPPE.js.map → config-7T34GDEI.js.map} +0 -0
  1268. /package/dist/{connect-UWCNLWEC.js.map → connect-V3MKEKKD.js.map} +0 -0
  1269. /package/dist/{content-SBHKWSRM.js.map → content-NPJUTC7S.js.map} +0 -0
  1270. /package/dist/{conversation-M7X6NDEU.js.map → conversation-O2XQWHWK.js.map} +0 -0
  1271. /package/dist/{conversion-report-IX5LAGRM.js.map → conversion-report-PAADBTGW.js.map} +0 -0
  1272. /package/dist/{conversion-upload-command-RE5MS4GY.js.map → conversion-upload-command-7V4HIZXW.js.map} +0 -0
  1273. /package/dist/{conversion-writes-EVTMXSEG.js.map → conversion-writes-F4C5XJO6.js.map} +0 -0
  1274. /package/dist/{conversions-5LOWVH3C.js.map → conversions-JAJOS2SI.js.map} +0 -0
  1275. /package/dist/{conversions-IU5D3W7A.js.map → conversions-S7TYEN2M.js.map} +0 -0
  1276. /package/dist/{copy-writes-OEUECNWK.js.map → copy-writes-MVBEOEYT.js.map} +0 -0
  1277. /package/dist/{countries-TCS7W24H.js.map → countries-5QGB43UN.js.map} +0 -0
  1278. /package/dist/{create-UHEHQ5DF.js.map → create-667PNG6L.js.map} +0 -0
  1279. /package/dist/{create-YNFBF2YF.js.map → create-KCRYAHKD.js.map} +0 -0
  1280. /package/dist/{create-IYNHU5YI.js.map → create-VRLJGAK3.js.map} +0 -0
  1281. /package/dist/{create-YEMYATC6.js.map → create-ZYX76R6Y.js.map} +0 -0
  1282. /package/dist/{creatives-J7HGZDLG.js.map → creatives-H7HKKI5N.js.map} +0 -0
  1283. /package/dist/{creatives-7GCAQ7O4.js.map → creatives-N7ELH34F.js.map} +0 -0
  1284. /package/dist/{creatives-EHFRTK54.js.map → creatives-YXCPKJ6Q.js.map} +0 -0
  1285. /package/dist/{credentials-TGLVOZJR.js.map → credentials-WNUUYKN7.js.map} +0 -0
  1286. /package/dist/{critique-VSEVXH5E.js.map → critique-L6WBUBO6.js.map} +0 -0
  1287. /package/dist/{crm-X7XV5MP2.js.map → crm-ETWZK7U2.js.map} +0 -0
  1288. /package/dist/{crm-YWBQ6F2J.js.map → crm-T2VGEMAQ.js.map} +0 -0
  1289. /package/dist/{crop-ZZJNQZE6.js.map → crop-ABOK6YMB.js.map} +0 -0
  1290. /package/dist/{currency-VMKH6BMM.js.map → currency-7NSTOJVE.js.map} +0 -0
  1291. /package/dist/{custom-conversions-UYWHW3YS.js.map → custom-conversions-GLGLGXNL.js.map} +0 -0
  1292. /package/dist/{customers-7FAOAXXF.js.map → customers-WKBVDYQ4.js.map} +0 -0
  1293. /package/dist/{data-KAMGL76Y.js.map → data-WRAB5HMY.js.map} +0 -0
  1294. /package/dist/{decide-FD67ZO5A.js.map → decide-QBRUP7EO.js.map} +0 -0
  1295. /package/dist/{delete-QEMLLZ7E.js.map → delete-5TG3WIVC.js.map} +0 -0
  1296. /package/dist/{delete-NTC6F7Y4.js.map → delete-E2CK6WON.js.map} +0 -0
  1297. /package/dist/{delete-LVYR2SJK.js.map → delete-KMC6OJQY.js.map} +0 -0
  1298. /package/dist/{delete-A74XOY37.js.map → delete-NTIOMEQV.js.map} +0 -0
  1299. /package/dist/{delete-HSJXEAFT.js.map → delete-OHCWKURP.js.map} +0 -0
  1300. /package/dist/{delete-MW2YDX55.js.map → delete-RFOB6OJW.js.map} +0 -0
  1301. /package/dist/{demographics-KNVY4C37.js.map → demographics-UYC4KUDK.js.map} +0 -0
  1302. /package/dist/{describe-OHR4IZA4.js.map → describe-OZ5SOKRA.js.map} +0 -0
  1303. /package/dist/{describe-TLDB5746.js.map → describe-VBDD4MWB.js.map} +0 -0
  1304. /package/dist/{dimensions-XXRHPA3S.js.map → dimensions-4TKKGHCL.js.map} +0 -0
  1305. /package/dist/{discard-LOZHXADD.js.map → discard-WLDKCK6T.js.map} +0 -0
  1306. /package/dist/{discover-DOTPVNEN.js.map → discover-2SSZSDV5.js.map} +0 -0
  1307. /package/dist/{discover-MW77T3GQ.js.map → discover-X5HQSYRT.js.map} +0 -0
  1308. /package/dist/{domain-NI7HGOYL.js.map → domain-Y7ZRN2R5.js.map} +0 -0
  1309. /package/dist/{download-CUN4ZE2J.js.map → download-56EWNQ2T.js.map} +0 -0
  1310. /package/dist/{download-OJ4ZYXRK.js.map → download-BWT67JO3.js.map} +0 -0
  1311. /package/dist/{draft-62JA6W46.js.map → draft-5NWG2HCI.js.map} +0 -0
  1312. /package/dist/{draft-3JIRT4Z2.js.map → draft-CEZLDSC6.js.map} +0 -0
  1313. /package/dist/{draft-6JADH5TF.js.map → draft-E7A3XQ3X.js.map} +0 -0
  1314. /package/dist/{draft-XHTWKUIM.js.map → draft-EZT3ZEQG.js.map} +0 -0
  1315. /package/dist/{draft-7N7RUCFJ.js.map → draft-LSW6ZNZP.js.map} +0 -0
  1316. /package/dist/{draft-GLOXXG65.js.map → draft-M3WVKGRG.js.map} +0 -0
  1317. /package/dist/{draft-UCMBS36F.js.map → draft-RGJAK2T6.js.map} +0 -0
  1318. /package/dist/{draft-6JIFTIG6.js.map → draft-WANCK2XS.js.map} +0 -0
  1319. /package/dist/{env-DIUH2Z7D.js.map → env-TCT6PBCL.js.map} +0 -0
  1320. /package/dist/{experiment-DB6XLVF7.js.map → experiment-WJOL5Z2O.js.map} +0 -0
  1321. /package/dist/{experiments-GMJYXMVV.js.map → experiments-O6ZIWBAH.js.map} +0 -0
  1322. /package/dist/{export-JZVNTHUA.js.map → export-23SELAO5.js.map} +0 -0
  1323. /package/dist/{extract-FPJ5PSIQ.js.map → extract-2MIKNWW5.js.map} +0 -0
  1324. /package/dist/{facets-3RMHRKGB.js.map → facets-XM2NR57L.js.map} +0 -0
  1325. /package/dist/{favorites-B77XUDMR.js.map → favorites-6HBOGH4D.js.map} +0 -0
  1326. /package/dist/{feed-UX5MZ6ZS.js.map → feed-EX2JVQJP.js.map} +0 -0
  1327. /package/dist/{feedback-AVIUSF2Q.js.map → feedback-ZZDO35LO.js.map} +0 -0
  1328. /package/dist/{fetch-4VVT5K4F.js.map → fetch-II36FVJ7.js.map} +0 -0
  1329. /package/dist/{fetch-7Q6WSN2U.js.map → fetch-Q3CYHMK3.js.map} +0 -0
  1330. /package/dist/{files-OFBRNZ6M.js.map → files-7X3N4PFB.js.map} +0 -0
  1331. /package/dist/{find-MERGU4GT.js.map → find-JF3P4OYM.js.map} +0 -0
  1332. /package/dist/{fit-LQXETYTN.js.map → fit-SM6MF7VA.js.map} +0 -0
  1333. /package/dist/{flows-ZBUOCCFA.js.map → flows-DJD3DAX5.js.map} +0 -0
  1334. /package/dist/{folders-FOSY4GV4.js.map → folders-CQNDOURE.js.map} +0 -0
  1335. /package/dist/{follow-5N7YOBVM.js.map → follow-APAXOKL6.js.map} +0 -0
  1336. /package/dist/{follow-competitors-LV2GGYEE.js.map → follow-competitors-XMJ4I2NK.js.map} +0 -0
  1337. /package/dist/{following-SUBBJJHH.js.map → following-MRB6KW3Y.js.map} +0 -0
  1338. /package/dist/{fonts-L3YBXDEJ.js.map → fonts-TOHYVTLQ.js.map} +0 -0
  1339. /package/dist/{forecast-DXSUOYUX.js.map → forecast-7QVGMCCA.js.map} +0 -0
  1340. /package/dist/{forecast-BMH5DYOD.js.map → forecast-PKM6SI7G.js.map} +0 -0
  1341. /package/dist/{funding-NNSU2JL5.js.map → funding-IRX63GHW.js.map} +0 -0
  1342. /package/dist/{funnel-ONFEB542.js.map → funnel-XQ3WH52X.js.map} +0 -0
  1343. /package/dist/{ga4-YA7PRHFY.js.map → ga4-Z65WIL2M.js.map} +0 -0
  1344. /package/dist/{generate-SD2YKDWQ.js.map → generate-K3F3BB7U.js.map} +0 -0
  1345. /package/dist/{get-7CRFWWZL.js.map → get-6CQHZGLD.js.map} +0 -0
  1346. /package/dist/{get-3V2DUVMO.js.map → get-CTYZDAHX.js.map} +0 -0
  1347. /package/dist/{get-6NGJPIVV.js.map → get-GQL5L5GE.js.map} +0 -0
  1348. /package/dist/{get-CUPDQ3DU.js.map → get-JGOJO5ZX.js.map} +0 -0
  1349. /package/dist/{get-UA7FMO23.js.map → get-JPRHVNOM.js.map} +0 -0
  1350. /package/dist/{get-GK7HQ4YZ.js.map → get-LJQTFPOS.js.map} +0 -0
  1351. /package/dist/{get-LYQ5SZP5.js.map → get-PZNEXKF5.js.map} +0 -0
  1352. /package/dist/{get-QNPJZHPU.js.map → get-RTADZNWN.js.map} +0 -0
  1353. /package/dist/{gif-NUW4ZXRU.js.map → gif-R2J325T7.js.map} +0 -0
  1354. /package/dist/{google-J5PUBM5L.js.map → google-BNK46Z7P.js.map} +0 -0
  1355. /package/dist/{google-HO3KPZXZ.js.map → google-FCWYFQ5O.js.map} +0 -0
  1356. /package/dist/{google-ads-7PDI5VT5.js.map → google-ads-GIS5FRNW.js.map} +0 -0
  1357. /package/dist/{group-YRSF3QRF.js.map → group-S353YDT2.js.map} +0 -0
  1358. /package/dist/{group-VOTBEEYD.js.map → group-WBEX3E3X.js.map} +0 -0
  1359. /package/dist/{gsc-L4TLPHM2.js.map → gsc-PIMZ3KSE.js.map} +0 -0
  1360. /package/dist/{history-TZR7JYLJ.js.map → history-6XO5R25U.js.map} +0 -0
  1361. /package/dist/{history-SZMPPYWV.js.map → history-FK4HRA5R.js.map} +0 -0
  1362. /package/dist/{history-SRQAD5ER.js.map → history-Q6NYK2FR.js.map} +0 -0
  1363. /package/dist/{hubspot-X4EIOWA2.js.map → hubspot-NLWULZBF.js.map} +0 -0
  1364. /package/dist/{icon-AZ3GMR2M.js.map → icon-NELLC6TL.js.map} +0 -0
  1365. /package/dist/{ideas-FJY37NQO.js.map → ideas-W25YMKYJ.js.map} +0 -0
  1366. /package/dist/{images-VIJMVDBG.js.map → images-ZCGV7SLU.js.map} +0 -0
  1367. /package/dist/{improve-YETMFI5V.js.map → improve-JFSHLV7J.js.map} +0 -0
  1368. /package/dist/{ingest-23AWPH77.js.map → ingest-F5RBOSAC.js.map} +0 -0
  1369. /package/dist/{ingest-54XUZMVN.js.map → ingest-WNSYX3EY.js.map} +0 -0
  1370. /package/dist/{insights-6B6FD265.js.map → insights-G3HVBPRX.js.map} +0 -0
  1371. /package/dist/{insights-EAXO54VE.js.map → insights-S7MI7DX7.js.map} +0 -0
  1372. /package/dist/{inspect-PZVX6XL3.js.map → inspect-FESDW6TP.js.map} +0 -0
  1373. /package/dist/{inspiration-I2OGVEII.js.map → inspiration-OCLXZB33.js.map} +0 -0
  1374. /package/dist/{instant-experiences-NI7UPQHC.js.map → instant-experiences-7V4HSBGD.js.map} +0 -0
  1375. /package/dist/{intent-K5F3F2VA.js.map → intent-MICTKGQD.js.map} +0 -0
  1376. /package/dist/{job-UJWVG2E2.js.map → job-NKQ3N6YH.js.map} +0 -0
  1377. /package/dist/{job-create-2ANMSJSJ.js.map → job-create-OAPCQ4EW.js.map} +0 -0
  1378. /package/dist/{job-status-7NJ5KSEI.js.map → job-status-CTCFOVUP.js.map} +0 -0
  1379. /package/dist/{keep-JFEFQCW6.js.map → keep-Z5FPAOFZ.js.map} +0 -0
  1380. /package/dist/{keyword-gap-CPACTTZL.js.map → keyword-gap-3YJUUOFW.js.map} +0 -0
  1381. /package/dist/{keyword-metrics-QAPMISIB.js.map → keyword-metrics-DWZZRQFB.js.map} +0 -0
  1382. /package/dist/{keywords-for-site-PTYNTDE7.js.map → keywords-for-site-OASCLANA.js.map} +0 -0
  1383. /package/dist/{knowledge-BS6UOMUW.js.map → knowledge-WWCJG6OE.js.map} +0 -0
  1384. /package/dist/{landings-YTLFH36G.js.map → landings-7O4JKXUN.js.map} +0 -0
  1385. /package/dist/{landings-XDI3C44A.js.map → landings-Q4EVYYO6.js.map} +0 -0
  1386. /package/dist/{languages-HDGUD7FD.js.map → languages-AWR2RSSX.js.map} +0 -0
  1387. /package/dist/{languages-UKE3FGUJ.js.map → languages-LWNHJQ3V.js.map} +0 -0
  1388. /package/dist/{launches-OKDAEEAD.js.map → launches-ZCWB4OF4.js.map} +0 -0
  1389. /package/dist/{layerize-Q4QOUH4N.js.map → layerize-7LQR34WQ.js.map} +0 -0
  1390. /package/dist/{lead-routes-2VE4XLAF.js.map → lead-routes-EAPRNJN6.js.map} +0 -0
  1391. /package/dist/{leads-ZTQ7XWIW.js.map → leads-2V5G2D56.js.map} +0 -0
  1392. /package/dist/{leads-X2JK3AC4.js.map → leads-ONB5WHG4.js.map} +0 -0
  1393. /package/dist/{learn-YEMUH55J.js.map → learn-2KZQKYYQ.js.map} +0 -0
  1394. /package/dist/{library-YO5U5XP6.js.map → library-E7COTFQ6.js.map} +0 -0
  1395. /package/dist/{lighthouse-YTMBNUKH.js.map → lighthouse-UAJOCAYE.js.map} +0 -0
  1396. /package/dist/{line-item-writes-AXMIB5N7.js.map → line-item-writes-R72OSLGJ.js.map} +0 -0
  1397. /package/dist/{line-items-MJ2QKA3X.js.map → line-items-3G732M2F.js.map} +0 -0
  1398. /package/dist/{link-5M2FR26Q.js.map → link-IL7LARHV.js.map} +0 -0
  1399. /package/dist/{linkedin-3VJB6TUQ.js.map → linkedin-HIVWUU2N.js.map} +0 -0
  1400. /package/dist/{linkedin-person-CPJDKB5F.js.map → linkedin-person-7CKEPWJB.js.map} +0 -0
  1401. /package/dist/{list-Z4MMSLJI.js.map → list-2YTUZ4NW.js.map} +0 -0
  1402. /package/dist/{list-KXOJHUC3.js.map → list-6YAIJ5UW.js.map} +0 -0
  1403. /package/dist/{list-O44ZN3AL.js.map → list-CLRWGTM2.js.map} +0 -0
  1404. /package/dist/{list-K5X3TD5W.js.map → list-G44HWTNR.js.map} +0 -0
  1405. /package/dist/{list-TLK7TGJK.js.map → list-GY3R4F6N.js.map} +0 -0
  1406. /package/dist/{list-RQPVVNDK.js.map → list-JON4GGP5.js.map} +0 -0
  1407. /package/dist/{list-ZAKYTUE5.js.map → list-K73AAWTL.js.map} +0 -0
  1408. /package/dist/{list-M7WWMJI3.js.map → list-KJBV6Z4W.js.map} +0 -0
  1409. /package/dist/{list-76DFRDP2.js.map → list-KRYXY7OX.js.map} +0 -0
  1410. /package/dist/{locations-FPPHDKQX.js.map → locations-3L3NUKSQ.js.map} +0 -0
  1411. /package/dist/{locations-JZ4ENZSK.js.map → locations-IWR5FTCQ.js.map} +0 -0
  1412. /package/dist/{log-2S2AKM57.js.map → log-RLGKH54B.js.map} +0 -0
  1413. /package/dist/{logo-252ZJBEI.js.map → logo-LG5MOTCR.js.map} +0 -0
  1414. /package/dist/{lookup-4J4KAM6U.js.map → lookup-PUEWKCTA.js.map} +0 -0
  1415. /package/dist/{map-DJ3RXL2W.js.map → map-ON7MDP7V.js.map} +0 -0
  1416. /package/dist/{mcp-WDMCOLLA.js.map → mcp-KDMSQGAE.js.map} +0 -0
  1417. /package/dist/{media-QVU3OSHD.js.map → media-35DJ2PXO.js.map} +0 -0
  1418. /package/dist/{media-WHNQEKMB.js.map → media-HTWZU2I3.js.map} +0 -0
  1419. /package/dist/{media-sources-BNXFNPBE.js.map → media-sources-6XC6RISA.js.map} +0 -0
  1420. /package/dist/{members-CDAOBA3A.js.map → members-K7KY5UFC.js.map} +0 -0
  1421. /package/dist/{meme-25JQFBI7.js.map → meme-HEBB4QMD.js.map} +0 -0
  1422. /package/dist/{meta-VVW37AHC.js.map → meta-ODZGOEYI.js.map} +0 -0
  1423. /package/dist/{metrics-B3VKTIJZ.js.map → metrics-TUA2TKU7.js.map} +0 -0
  1424. /package/dist/{models-QNGMKRRO.js.map → models-HMTT4IZR.js.map} +0 -0
  1425. /package/dist/{music-6LOROUGO.js.map → music-NPYIJYZR.js.map} +0 -0
  1426. /package/dist/{normalize-WEMQBKK7.js.map → normalize-A4Z3WO3T.js.map} +0 -0
  1427. /package/dist/{normalize-MQ7IOFIW.js.map → normalize-N6YXMKIK.js.map} +0 -0
  1428. /package/dist/{normalize-paths-I7XYGDRM.js.map → normalize-paths-WB42M5EJ.js.map} +0 -0
  1429. /package/dist/{options-UWLKFGGH.js.map → options-7LWCZN6G.js.map} +0 -0
  1430. /package/dist/{organization-I4WG6C3W.js.map → organization-GN4ZL747.js.map} +0 -0
  1431. /package/dist/{output-NGKA2Q67.js.map → output-EF46GHUC.js.map} +0 -0
  1432. /package/dist/{page-ECKG5URE.js.map → page-TCWRIWPR.js.map} +0 -0
  1433. /package/dist/{page-photos-JJPN2PZZ.js.map → page-photos-VTHTKRJJ.js.map} +0 -0
  1434. /package/dist/{pages-A4JRE7VW.js.map → pages-VV2UYNEV.js.map} +0 -0
  1435. /package/dist/{people-7OP4UGOQ.js.map → people-MVTXMDOS.js.map} +0 -0
  1436. /package/dist/{people-3W2FP7EE.js.map → people-U6AFN6GP.js.map} +0 -0
  1437. /package/dist/{performance-UXKKTPNY.js.map → performance-6DLST4UJ.js.map} +0 -0
  1438. /package/dist/{performance-JJB7EDDN.js.map → performance-ROK3XU2D.js.map} +0 -0
  1439. /package/dist/{pinterest-V2EVMGYB.js.map → pinterest-ASDXIRSB.js.map} +0 -0
  1440. /package/dist/{pipedrive-5FTSSYVJ.js.map → pipedrive-WPDAO7T4.js.map} +0 -0
  1441. /package/dist/{pixels-YBUNTET7.js.map → pixels-M27MIY7T.js.map} +0 -0
  1442. /package/dist/{pixels-6AZVOH3E.js.map → pixels-Q6CRK4RE.js.map} +0 -0
  1443. /package/dist/{plan-NHB57VGJ.js.map → plan-54SPYDIT.js.map} +0 -0
  1444. /package/dist/{posts-N4KHRCBX.js.map → posts-X5OIVYCR.js.map} +0 -0
  1445. /package/dist/{preview-W27ILCX5.js.map → preview-AQBUQGIH.js.map} +0 -0
  1446. /package/dist/{preview-EGGKSCB2.js.map → preview-ZGGAK3RA.js.map} +0 -0
  1447. /package/dist/{profile-2OZTR2K7.js.map → profile-AAWQ7TGK.js.map} +0 -0
  1448. /package/dist/{promoted-tweet-writes-52YMHI7E.js.map → promoted-tweet-writes-SY5MD2BC.js.map} +0 -0
  1449. /package/dist/{promoted-tweets-E2AG7RIO.js.map → promoted-tweets-UXOGUFAY.js.map} +0 -0
  1450. /package/dist/{properties-EU5RQ6QC.js.map → properties-HWD7XVYJ.js.map} +0 -0
  1451. /package/dist/{publish-AGAEAHRT.js.map → publish-2KY3PGJ4.js.map} +0 -0
  1452. /package/dist/{query-3EHZD7YM.js.map → query-BFDJ3QV6.js.map} +0 -0
  1453. /package/dist/{query-ASA6IP3K.js.map → query-DUIW7GJD.js.map} +0 -0
  1454. /package/dist/{query-KF74K3TU.js.map → query-JPISFZOF.js.map} +0 -0
  1455. /package/dist/{questionnaire-WUXIZV2I.js.map → questionnaire-IS33IUKA.js.map} +0 -0
  1456. /package/dist/{read-QPPUCOCH.js.map → read-LKIGJWHE.js.map} +0 -0
  1457. /package/dist/{read-7R6C6UMP.js.map → read-M3P3DMDV.js.map} +0 -0
  1458. /package/dist/{reddit-N4SHH5HQ.js.map → reddit-32FO75N3.js.map} +0 -0
  1459. /package/dist/{refresh-52JSPF5P.js.map → refresh-2RL5U4ZB.js.map} +0 -0
  1460. /package/dist/{refresh-JUYLMNVZ.js.map → refresh-W5D3WNVV.js.map} +0 -0
  1461. /package/dist/{release-S3OVKUTS.js.map → release-5WLZSDVN.js.map} +0 -0
  1462. /package/dist/{relevant-pages-BE7BCP64.js.map → relevant-pages-3SZP7PD5.js.map} +0 -0
  1463. /package/dist/{remove-CRYC7B2E.js.map → remove-JXMAGSZL.js.map} +0 -0
  1464. /package/dist/{remove-ES3WH3EB.js.map → remove-OEWDQA3L.js.map} +0 -0
  1465. /package/dist/{reopen-YQ3RWHB5.js.map → reopen-SIV6QGQI.js.map} +0 -0
  1466. /package/dist/{rerun-47P6MK5J.js.map → rerun-DXF6ZDHZ.js.map} +0 -0
  1467. /package/dist/{research-GMR2IX6F.js.map → research-OFASCEXX.js.map} +0 -0
  1468. /package/dist/{research-2S2WNXGO.js.map → research-Q3JPB6WB.js.map} +0 -0
  1469. /package/dist/{reset-C2JQULEH.js.map → reset-AXFE4CNN.js.map} +0 -0
  1470. /package/dist/{reset-C4Y2U32A.js.map → reset-FZHKHQ76.js.map} +0 -0
  1471. /package/dist/{resolve-EP3MIROY.js.map → resolve-6CAA647B.js.map} +0 -0
  1472. /package/dist/{retry-PTPZP34H.js.map → retry-6AMEHSMZ.js.map} +0 -0
  1473. /package/dist/{retry-T3ACSHFB.js.map → retry-QXPEBYZV.js.map} +0 -0
  1474. /package/dist/{retry-failed-4CQFNZB7.js.map → retry-failed-QHKXGFBD.js.map} +0 -0
  1475. /package/dist/{revenue-ZECFYSCF.js.map → revenue-IKFJSA6E.js.map} +0 -0
  1476. /package/dist/{rule-writes-AQXWP43E.js.map → rule-writes-ZB3JGVS4.js.map} +0 -0
  1477. /package/dist/{rules-ZNST2PFK.js.map → rules-GCLZP2OK.js.map} +0 -0
  1478. /package/dist/{rules-63XWNXSU.js.map → rules-U6MQRY3N.js.map} +0 -0
  1479. /package/dist/{run-5FLJCKJ7.js.map → run-PO6CX7X7.js.map} +0 -0
  1480. /package/dist/{run-B4X7EY6G.js.map → run-ZXJD2Y6P.js.map} +0 -0
  1481. /package/dist/{scaffold-ad-VXOP3K3R.js.map → scaffold-ad-4KZX7GL6.js.map} +0 -0
  1482. /package/dist/{scaffold-static-ad-QHW6RXRX.js.map → scaffold-static-ad-ZAEGE66T.js.map} +0 -0
  1483. /package/dist/{schedule-UPAKK3WG.js.map → schedule-E7PUJOPH.js.map} +0 -0
  1484. /package/dist/{schedule-FML5QVNU.js.map → schedule-QU7GQ3RO.js.map} +0 -0
  1485. /package/dist/{scheduled-agents-PR2RPZQK.js.map → scheduled-agents-XAM2LDTM.js.map} +0 -0
  1486. /package/dist/{schema-YGERZHOS.js.map → schema-FSIMAZJH.js.map} +0 -0
  1487. /package/dist/{schema-QYSJ7O5J.js.map → schema-QSZADZ2F.js.map} +0 -0
  1488. /package/dist/{scrape-3SFLZ266.js.map → scrape-YI6SLTAJ.js.map} +0 -0
  1489. /package/dist/{screenshot-SHUR3K5Y.js.map → screenshot-ZIM2GUF4.js.map} +0 -0
  1490. /package/dist/{search-XWKOUPUP.js.map → search-462XCKFA.js.map} +0 -0
  1491. /package/dist/{search-B6ZPDGBQ.js.map → search-A7TU4IPJ.js.map} +0 -0
  1492. /package/dist/{search-RT66WPBR.js.map → search-EYV5YDHW.js.map} +0 -0
  1493. /package/dist/{search-WVB433LQ.js.map → search-KSAFI4D4.js.map} +0 -0
  1494. /package/dist/{search-PJMOMJM6.js.map → search-XJCWGRGU.js.map} +0 -0
  1495. /package/dist/{search-4H4N2NYI.js.map → search-Z6DBBXUA.js.map} +0 -0
  1496. /package/dist/{search-copy-VPII75LO.js.map → search-copy-R7CYTOAE.js.map} +0 -0
  1497. /package/dist/{search-terms-6JPD3IBR.js.map → search-terms-BEYHEJ72.js.map} +0 -0
  1498. /package/dist/{seeds-6HVIXEEV.js.map → seeds-KHRLCQAK.js.map} +0 -0
  1499. /package/dist/{select-JMONBG6Y.js.map → select-HM4HT4ST.js.map} +0 -0
  1500. /package/dist/{sends-WWDPK36Y.js.map → sends-5SCRXNT6.js.map} +0 -0
  1501. /package/dist/{sequences-VWYULZ6M.js.map → sequences-JEASO5AY.js.map} +0 -0
  1502. /package/dist/{set-24D6ADOW.js.map → set-XGVSH7SL.js.map} +0 -0
  1503. /package/dist/{set-prompt-DOWEK7OB.js.map → set-prompt-OHDNYKBA.js.map} +0 -0
  1504. /package/dist/{setup-links-SBIP52HP.js.map → setup-links-Y6SSNZ6G.js.map} +0 -0
  1505. /package/dist/{shared-REO5OW5X.js.map → shared-6GAHY2UO.js.map} +0 -0
  1506. /package/dist/{shopify-YNZN73FS.js.map → shopify-USESQN45.js.map} +0 -0
  1507. /package/dist/{site-XPJRQ25P.js.map → site-TC44HPLD.js.map} +0 -0
  1508. /package/dist/{sitemaps-UYCE5BCE.js.map → sitemaps-73S55MZX.js.map} +0 -0
  1509. /package/dist/{sites-GQW6MKDM.js.map → sites-3HH27X3P.js.map} +0 -0
  1510. /package/dist/{skills-DGVWXYI5.js.map → skills-C5LJJRJM.js.map} +0 -0
  1511. /package/dist/{sources-7Q4UCWWU.js.map → sources-6B3D5V7Q.js.map} +0 -0
  1512. /package/dist/{sources-AIS6H5FI.js.map → sources-EDWQ4QEA.js.map} +0 -0
  1513. /package/dist/{stale-IRTAAGLZ.js.map → stale-MCTJCJYB.js.map} +0 -0
  1514. /package/dist/{stats-DECCFXNH.js.map → stats-CAXUJ3ZC.js.map} +0 -0
  1515. /package/dist/{status-QNSLO75C.js.map → status-U6CFHZCC.js.map} +0 -0
  1516. /package/dist/{sticker-WKHQ76B7.js.map → sticker-HBPSBCBS.js.map} +0 -0
  1517. /package/dist/{stock-IXF4TFCA.js.map → stock-22WNJRGZ.js.map} +0 -0
  1518. /package/dist/{studies-PEHTJFXJ.js.map → studies-24PRTBOS.js.map} +0 -0
  1519. /package/dist/{studio-N7MJV4KO.js.map → studio-BCUOBGFJ.js.map} +0 -0
  1520. /package/dist/{study-writes-6BPXP5WF.js.map → study-writes-QBSSADHP.js.map} +0 -0
  1521. /package/dist/{suggest-RRQZUHGA.js.map → suggest-3MB5BCCZ.js.map} +0 -0
  1522. /package/dist/{sync-D2BB44T6.js.map → sync-2IMXKOKT.js.map} +0 -0
  1523. /package/dist/{sync-OSYLB5C7.js.map → sync-5V6A24VR.js.map} +0 -0
  1524. /package/dist/{sync-LCUH4QND.js.map → sync-BXNIWSBS.js.map} +0 -0
  1525. /package/dist/{sync-definition-QWIAEZQS.js.map → sync-definition-FUNHUOR7.js.map} +0 -0
  1526. /package/dist/{tag-TTUAKUX4.js.map → tag-4ZTCZHMF.js.map} +0 -0
  1527. /package/dist/{tag-manager-I4QVWQWE.js.map → tag-manager-HEQK7QGY.js.map} +0 -0
  1528. /package/dist/{tags-OFCHGFMA.js.map → tags-4FCZT62I.js.map} +0 -0
  1529. /package/dist/{tags-62N4T2EZ.js.map → tags-EKMWHZ5B.js.map} +0 -0
  1530. /package/dist/{tags-3DGTAMFH.js.map → tags-NOPMU4QU.js.map} +0 -0
  1531. /package/dist/{tags-2OIQ3NT5.js.map → tags-Z3R2KSMM.js.map} +0 -0
  1532. /package/dist/{targeting-SAS5WNBZ.js.map → targeting-EDEWP7H7.js.map} +0 -0
  1533. /package/dist/{targeting-constants-G5VEQXEH.js.map → targeting-constants-AQHXMLTJ.js.map} +0 -0
  1534. /package/dist/{targeting-criteria-Y2JPXZEN.js.map → targeting-criteria-ZRF227PH.js.map} +0 -0
  1535. /package/dist/{targets-S7J6JEYN.js.map → targets-ARFRSOVT.js.map} +0 -0
  1536. /package/dist/{terms-FHOUGTX7.js.map → terms-GUM4VNEN.js.map} +0 -0
  1537. /package/dist/{testimonials-IK2OLSPE.js.map → testimonials-CRZEFW66.js.map} +0 -0
  1538. /package/dist/{themes-IMAEHF5C.js.map → themes-KE6QKIAN.js.map} +0 -0
  1539. /package/dist/{top-companies-YKWT4PCZ.js.map → top-companies-2OJJBKKT.js.map} +0 -0
  1540. /package/dist/{transcript-WRDR6YKU.js.map → transcript-CTEDFKKM.js.map} +0 -0
  1541. /package/dist/{translate-SFP47P7G.js.map → translate-F2AJOBKZ.js.map} +0 -0
  1542. /package/dist/{triggers-CITJRNMF.js.map → triggers-KKXYTFZX.js.map} +0 -0
  1543. /package/dist/{tweets-3WZZIV7V.js.map → tweets-3N43Q6XG.js.map} +0 -0
  1544. /package/dist/{unfollow-YJCOG2QN.js.map → unfollow-P43B652T.js.map} +0 -0
  1545. /package/dist/{unlink-HKHAO26D.js.map → unlink-EP2T53FL.js.map} +0 -0
  1546. /package/dist/{unstage-IMX25EFY.js.map → unstage-6ACZILCI.js.map} +0 -0
  1547. /package/dist/{unstage-UN35Z35V.js.map → unstage-IFDMCDE3.js.map} +0 -0
  1548. /package/dist/{update-JUUR34SA.js.map → update-2PMQ3BA2.js.map} +0 -0
  1549. /package/dist/{update-SKTB5OGH.js.map → update-CKUVZ64P.js.map} +0 -0
  1550. /package/dist/{update-YVXU7YPJ.js.map → update-JANS7GHG.js.map} +0 -0
  1551. /package/dist/{update-AUKXMMZS.js.map → update-Y4JBZRPP.js.map} +0 -0
  1552. /package/dist/{update-PA5SNH74.js.map → update-Z4OXV7AY.js.map} +0 -0
  1553. /package/dist/{upload-KVZ3F2SW.js.map → upload-2QQLSRIF.js.map} +0 -0
  1554. /package/dist/{upload-XMPX4VTM.js.map → upload-DPTT5S45.js.map} +0 -0
  1555. /package/dist/{upscale-JTSBVQ7D.js.map → upscale-SE4HQGU4.js.map} +0 -0
  1556. /package/dist/{url-options-XNMZCC5F.js.map → url-options-H4QWQGIU.js.map} +0 -0
  1557. /package/dist/{url-params-6MRIC6ND.js.map → url-params-S4V4CIVH.js.map} +0 -0
  1558. /package/dist/{use-WPKEODQS.js.map → use-EFK2R5BB.js.map} +0 -0
  1559. /package/dist/{validate-743X5D77.js.map → validate-PEY5UDQP.js.map} +0 -0
  1560. /package/dist/{variant-UNHUXVYX.js.map → variant-AZURZDOL.js.map} +0 -0
  1561. /package/dist/{videos-BBFVZAWY.js.map → videos-PZFYMBYZ.js.map} +0 -0
  1562. /package/dist/{videos-IG7QBXSN.js.map → videos-V5BR3OXI.js.map} +0 -0
  1563. /package/dist/{view-QLYTTOXE.js.map → view-OMJIFNJU.js.map} +0 -0
  1564. /package/dist/{viewer-check-YWA466OS.js.map → viewer-check-RGLGTHDW.js.map} +0 -0
  1565. /package/dist/{visuals-3CRTCW7M.js.map → visuals-OJ73NPVA.js.map} +0 -0
  1566. /package/dist/{web-CLA7O64L.js.map → web-JCEHOH4P.js.map} +0 -0
  1567. /package/dist/{winners-SYLEDMUK.js.map → winners-VKGPFAC3.js.map} +0 -0
  1568. /package/dist/{winning-ads-3GGQZ5S6.js.map → winning-ads-DF5CNSUN.js.map} +0 -0
  1569. /package/dist/{write-commands-64Y6SMWZ.js.map → write-commands-GR6JZMD3.js.map} +0 -0
  1570. /package/dist/{write-commands-NYEX2RXS.js.map → write-commands-IKT3CFCV.js.map} +0 -0
  1571. /package/dist/{write-commands-LZ7JVYZK.js.map → write-commands-WBV2Z4NY.js.map} +0 -0
  1572. /package/dist/{write-commands-7RAT2NGS.js.map → write-commands-YCD6DCRN.js.map} +0 -0
  1573. /package/dist/{x-QJMQQRU6.js.map → x-GLINQJHS.js.map} +0 -0
@@ -1,3765 +0,0 @@
1
- import {
2
- runQuery
3
- } from "./chunk-XCQZV7HZ.js";
4
- import "./chunk-KZUIVQ52.js";
5
- import "./chunk-4LP6SOVV.js";
6
- import "./chunk-74XG7QEW.js";
7
- import {
8
- listPreset
9
- } from "./chunk-INW3G4P3.js";
10
- import "./chunk-74QGFUZL.js";
11
- import {
12
- AD_COPY_LIST_USAGE,
13
- STAGE_FULL_ARG,
14
- bidModifierFlag,
15
- customerIdArg,
16
- failWriteValidation,
17
- fileArg,
18
- fileBatchArg,
19
- fileCreateCommand,
20
- fileLines,
21
- googleStaged,
22
- googleStagedBatch,
23
- handleGoogleError,
24
- keywordEntries,
25
- listFlag,
26
- loadJsonFileArg,
27
- loadJsonPayloads,
28
- mergePayload,
29
- microsFlag,
30
- requireCustomerId,
31
- requireStringFlag,
32
- requireTarget,
33
- stageCreate,
34
- stageGoogleOp,
35
- stageGoogleOps,
36
- stageTarget,
37
- stageUpdate,
38
- targetArg,
39
- targetEntries,
40
- updateTargets
41
- } from "./chunk-3LAISIFH.js";
42
- import "./chunk-GHUZSTIQ.js";
43
- import {
44
- booleanWordPositionalError
45
- } from "./chunk-2VZDX66Z.js";
46
- import "./chunk-UKENQSZ2.js";
47
- import "./chunk-D5FY4FAK.js";
48
- import "./chunk-6WBJJ4BA.js";
49
- import "./chunk-QALAJNBG.js";
50
- import "./chunk-LXDZCFII.js";
51
- import {
52
- repeatedFlagValues,
53
- repeatedValues
54
- } from "./chunk-ERSX3MKH.js";
55
- import "./chunk-ULI3RQA4.js";
56
- import "./chunk-NXG2FVKI.js";
57
- import "./chunk-6U2SODK6.js";
58
- import "./chunk-AQIVSTI4.js";
59
- import "./chunk-YSZAKQIA.js";
60
- import "./chunk-VV4FB355.js";
61
- import "./chunk-WZ5YRUQU.js";
62
- import "./chunk-YXDOPA6E.js";
63
- import "./chunk-56GVYGP6.js";
64
- import "./chunk-7ZU5KAAQ.js";
65
- import {
66
- getManagerIdForCustomer,
67
- writeAdsJson
68
- } from "./chunk-IPAOPAAN.js";
69
- import "./chunk-CS4VA3GQ.js";
70
- import {
71
- ASSET_GROUP_ASSET_FIELD_TYPES,
72
- CALL_AD_RETIRED_MESSAGE,
73
- CONVERSION_ACTION_CATEGORIES,
74
- CONVERSION_ORIGINS,
75
- DEMAND_GEN_CHANNELS,
76
- GOOGLE_DRAFT_BATCH_MAX,
77
- NEGATIVE_GEO_TARGET_TYPES,
78
- POSITIVE_GEO_TARGET_TYPES
79
- } from "./chunk-H7JSYC4X.js";
80
- import {
81
- apiPost
82
- } from "./chunk-EFX3JWWH.js";
83
- import "./chunk-ZOQDIJTP.js";
84
- import "./chunk-N4ZB4JOP.js";
85
- import {
86
- registerSchema,
87
- withEffect
88
- } from "./chunk-VIIA3G6G.js";
89
- import "./chunk-YQSBHWOI.js";
90
-
91
- // src/commands/ads/google/index.ts
92
- import { defineCommand as defineCommand5 } from "citty";
93
-
94
- // src/commands/ads/google/keywords/index.ts
95
- import { defineCommand } from "citty";
96
- var keywordsCommand = defineCommand({
97
- meta: {
98
- name: "keywords",
99
- description: `Keyword research, plus staged keyword changes. Research: discover, metrics, forecast, themes, locations, languages. Changes: list, add, update, pause, resume, remove \u2014 pause/resume/add take many keywords in one call.
100
-
101
- Examples:
102
- baker ads google keywords discover --customer-id 1234567890 --seeds "running shoes"
103
- baker ads google keywords metrics --customer-id 1234567890 --keywords "running shoes,nike shoes"
104
- baker ads google keywords forecast --customer-id 1234567890 --text "running shoes:PHRASE" --max-cpc 1.2
105
- baker ads google keywords themes --customer-id 1234567890 --keywords "trail shoes" --ad-groups 111,222
106
- baker ads google keywords locations
107
- baker ads google keywords languages`
108
- },
109
- subCommands: {
110
- discover: () => import("./discover-DOTPVNEN.js").then((m) => m.discoverCommand),
111
- metrics: () => import("./metrics-B3VKTIJZ.js").then((m) => m.metricsCommand),
112
- forecast: () => import("./forecast-DXSUOYUX.js").then((m) => m.forecastCommand),
113
- themes: () => import("./themes-IMAEHF5C.js").then((m) => m.themesCommand),
114
- locations: () => import("./locations-FPPHDKQX.js").then((m) => m.locationsCommand),
115
- languages: () => import("./languages-UKE3FGUJ.js").then((m) => m.languagesCommand)
116
- }
117
- });
118
-
119
- // src/commands/ads/google/list-commands.ts
120
- import { defineCommand as defineCommand2 } from "citty";
121
- var LIST_ARGS = {
122
- "customer-id": { type: "string", description: "Google Ads customer ID (10 digits; dashes are fine)" },
123
- limit: { type: "string", description: "Rows per page (default: the list's page size; 8192 with --all)" },
124
- cursor: { type: "string", description: "pagination.cursor from the previous page" },
125
- all: { type: "boolean", description: "Follow every page (use with --out for large lists)" },
126
- out: {
127
- type: "string",
128
- description: "Write the rows alone to a file, not the envelope (.csv, .jsonl, .json \u2014 a bare array of rows). It appears once the read is over; until then, and after a read that stopped part way, the rows are in <file>.partial"
129
- },
130
- append: {
131
- type: "boolean",
132
- description: "Append to the --out file. With --cursor, carries on a read that stopped in the <file>.partial it left (error.partial names the cursor)"
133
- },
134
- output: { type: "string", description: "Format: json|csv|jsonl|md", default: "json" },
135
- fields: {
136
- type: "string",
137
- description: "Only these columns, comma-separated (--fields campaign.name,campaign.status); every format"
138
- },
139
- "serving-only": {
140
- type: "boolean",
141
- description: "Only entities whose whole chain is ENABLED (campaign, ad group, \u2026) \u2014 paused ones are listed by default"
142
- },
143
- "no-cache": { type: "boolean", description: "Skip cache" }
144
- };
145
- var CAMPAIGN_ID_ARG = {
146
- "campaign-id": {
147
- type: "string",
148
- description: "Only these campaigns, comma-separated ids (--campaign-id 123,456)"
149
- }
150
- };
151
- var SEARCH_ARG = {
152
- search: {
153
- type: "string",
154
- description: "Only keywords whose text contains any of these, comma-separated, case-insensitive (--search masia,paellero)"
155
- }
156
- };
157
- var LIST_SPECS = [
158
- {
159
- thing: "campaigns",
160
- description: "List campaigns: id, name, status, channel, bidding, budget and dates",
161
- example: "baker ads google campaigns list --customer-id 1234567890"
162
- },
163
- {
164
- thing: "budgets",
165
- description: "List campaign budgets: id, name, daily amount, delivery, shared or not, campaigns using it",
166
- example: "baker ads google budgets list --customer-id 1234567890"
167
- },
168
- {
169
- thing: "ad-groups",
170
- description: "List ad groups under their campaigns: id, name, status, type, default CPC bid",
171
- extraArgs: CAMPAIGN_ID_ARG,
172
- example: "baker ads google ad-groups list --customer-id 1234567890"
173
- },
174
- {
175
- thing: "keywords",
176
- description: "List positive keywords with the resource name `keywords update|remove` take",
177
- extraArgs: { ...CAMPAIGN_ID_ARG, ...SEARCH_ARG },
178
- example: "baker ads google keywords list --customer-id 1234567890 --campaign-id 23837707642"
179
- },
180
- {
181
- thing: "negative-keywords",
182
- description: "List negative keywords, campaign- and ad-group-level together (each row's `level` says which), with the resource name `negative-keywords remove` takes",
183
- extraArgs: {
184
- level: { type: "string", description: "Only one level: campaign | adGroup (default: both)" },
185
- ...CAMPAIGN_ID_ARG,
186
- ...SEARCH_ARG
187
- },
188
- example: "baker ads google negative-keywords list --customer-id 1234567890 --search masia,paellero"
189
- },
190
- {
191
- thing: "keyword-lists",
192
- description: "List shared lists (id, name, type, member and campaign counts); --members lists the terms in each",
193
- extraArgs: {
194
- members: { type: "boolean", description: "List each negative list's terms with their resource names" },
195
- search: { type: "string", description: "With --members: only terms containing any of these, comma-separated" }
196
- },
197
- example: "baker ads google keyword-lists list --customer-id 1234567890 --members",
198
- refusal: (args) => !args.members && typeof args.search === "string" && args.search.trim() !== "" ? "--search narrows the terms in the lists, and only --members lists them: baker ads google keyword-lists list --members --search <term,term>" : void 0
199
- },
200
- {
201
- thing: "ads",
202
- description: "List ads under their ad groups: id, type, name, status, approval, final URLs",
203
- extraArgs: CAMPAIGN_ID_ARG,
204
- example: "baker ads google ads list --customer-id 1234567890"
205
- },
206
- {
207
- thing: "assets",
208
- description: "List the account's asset library: id, name, type, text, final URLs",
209
- example: "baker ads google assets list --customer-id 1234567890"
210
- },
211
- {
212
- thing: "asset-groups",
213
- description: "List Performance Max asset groups: id, name, status, final URLs, ad strength",
214
- extraArgs: CAMPAIGN_ID_ARG,
215
- example: "baker ads google asset-groups list --customer-id 1234567890"
216
- },
217
- {
218
- thing: "audiences",
219
- description: "List audiences (user lists): id, name, type, size on search and display, membership duration",
220
- example: "baker ads google audiences list --customer-id 1234567890"
221
- },
222
- {
223
- thing: "conversions",
224
- description: "List conversion actions as a table of each one's id, send_to (AW-<id>/<label>, the label a Form or gtag fires) and name; --full: every column (type, category, origin, status, primary or secondary, counting) as JSON",
225
- extraArgs: {
226
- // No default, so a bare list prints its lean table and an explicit --output json the whole rows.
227
- output: { type: "string", description: "Format: json|csv|jsonl|md (default: the id, send_to and name table)" },
228
- full: {
229
- type: "boolean",
230
- description: "Every column (type, category, origin, status, primary or secondary, counting) as JSON, for an audit \u2014 not only id, send_to and name"
231
- }
232
- },
233
- example: "baker ads google conversions list --customer-id 1234567890"
234
- },
235
- {
236
- thing: "bidding-strategies",
237
- description: "List portfolio bidding strategies: id, name, type, status, campaigns using each",
238
- example: "baker ads google bidding-strategies list --customer-id 1234567890"
239
- },
240
- {
241
- thing: "labels",
242
- description: "List labels: id, name, colour, description",
243
- example: "baker ads google labels list --customer-id 1234567890"
244
- },
245
- {
246
- thing: "merchant-center",
247
- description: "List the Merchant Center accounts linked to this account \u2014 the merchantId a Shopping or retail Performance Max campaign takes",
248
- example: "baker ads google merchant-center list --customer-id 1234567890"
249
- },
250
- {
251
- thing: "campaign-criteria",
252
- description: "List campaign targeting and exclusions (locations, languages, devices, schedules, radius, placements, topics, demographics, content types, IP addresses, web pages, brand lists, audiences) with the resource name `campaign-criteria update|remove` take",
253
- extraArgs: CAMPAIGN_ID_ARG,
254
- example: "baker ads google campaign-criteria list --customer-id 1234567890"
255
- },
256
- {
257
- thing: "ad-group-criteria",
258
- description: "List ad group targeting and exclusions other than keywords (placements, topics, demographics, web pages, Demand Gen locations and audiences) with the resource name `ad-group-criteria update|remove` take",
259
- extraArgs: CAMPAIGN_ID_ARG,
260
- example: "baker ads google ad-group-criteria list --customer-id 1234567890"
261
- },
262
- {
263
- thing: "account-exclusions",
264
- description: "List the account-wide exclusions (sites, apps, YouTube, content types, IP addresses, account negative keyword lists) with the resource name `account-exclusions remove` takes",
265
- example: "baker ads google account-exclusions list --customer-id 1234567890"
266
- },
267
- {
268
- thing: "asset-group-signals",
269
- description: "List Performance Max asset groups' signals (search themes and the combined audience) with the resource name `asset-group-signals remove` takes",
270
- extraArgs: CAMPAIGN_ID_ARG,
271
- example: "baker ads google asset-group-signals list --customer-id 1234567890"
272
- },
273
- {
274
- thing: "ad-group-bid-modifiers",
275
- description: "List ad groups' own device bid adjustments with the resource name `ad-group-bid-modifiers update|remove` take",
276
- extraArgs: CAMPAIGN_ID_ARG,
277
- example: "baker ads google ad-group-bid-modifiers list --customer-id 1234567890"
278
- }
279
- ];
280
- function listQueryArgs(spec, args) {
281
- return {
282
- preset: listPreset(spec.thing, args),
283
- "customer-id": args["customer-id"],
284
- limit: args.limit,
285
- cursor: args.cursor,
286
- all: args.all,
287
- out: args.out,
288
- append: args.append,
289
- // --full is the whole row as JSON; a preset with no lean view prints that already.
290
- output: args.output ?? (args.full ? "json" : void 0),
291
- fields: args.fields,
292
- "no-cache": args["no-cache"],
293
- "include-paused": !args["serving-only"],
294
- "campaign-id": args["campaign-id"],
295
- search: args.search
296
- };
297
- }
298
- function listCommand(spec) {
299
- const args = { ...LIST_ARGS, ...spec.extraArgs };
300
- registerSchema({
301
- command: `ads.google.${spec.thing}.list`,
302
- // Every list is an inventory preset read live through GAQL.
303
- routes: ["POST /api/ads/google/query"],
304
- effect: "read_live",
305
- description: `${spec.description}. Start here: \`${spec.example}\`. One page per call (pagination.cursor \u2192 --cursor for the next; --all --out <file> for everything). Paused entities are included; removed ones are not.`,
306
- args: Object.fromEntries(
307
- Object.entries(args).map(([name, arg]) => [
308
- name,
309
- {
310
- type: arg.type,
311
- description: arg.description ?? "",
312
- required: false,
313
- ..."default" in arg ? { default: arg.default } : {}
314
- }
315
- ])
316
- )
317
- });
318
- return defineCommand2({
319
- meta: { name: "list", description: `${spec.description}.
320
-
321
- Example:
322
- ${spec.example}` },
323
- args,
324
- run: async ({ args: parsed }) => {
325
- const refusal = spec.refusal?.(parsed);
326
- if (refusal) {
327
- writeAdsJson({ ok: false, error: { code: "VALIDATION_ERROR", message: refusal } });
328
- process.exit(1);
329
- }
330
- await runQuery(listQueryArgs(spec, parsed));
331
- }
332
- });
333
- }
334
- var LIST_COMMANDS = Object.fromEntries(
335
- LIST_SPECS.map((spec) => [spec.thing, listCommand(spec)])
336
- );
337
-
338
- // src/commands/ads/google/write-commands.ts
339
- import { defineCommand as defineCommand4 } from "citty";
340
-
341
- // src/commands/ads/google/ad-copy-flags.ts
342
- var AD_COPY_LIST_FLAGS = ["headlines", "descriptions", "long-headlines"];
343
- function skipBlanks(value, at) {
344
- let i = at;
345
- while (value[i] === " " || value[i] === " ") i++;
346
- return i;
347
- }
348
- function readQuotedField(value, open, flag) {
349
- let text = "";
350
- let j = open + 1;
351
- while (!(value[j] === '"' && value[j + 1] !== '"')) {
352
- if (j >= value.length) {
353
- failWriteValidation(`--${flag} has a quote with no closing quote: ${value} \u2014 ${AD_COPY_LIST_USAGE}`);
354
- }
355
- text += value[j];
356
- j += value[j] === '"' ? 2 : 1;
357
- }
358
- const after = skipBlanks(value, j + 1);
359
- if (after < value.length && value[after] !== ",") {
360
- failWriteValidation(
361
- `--${flag}: text follows the closing quote of "${text}" \u2014 a quoted item must end at a comma. To put a quote inside an item, double it ("") or ${AD_COPY_LIST_USAGE}`
362
- );
363
- }
364
- return { text, next: after + 1 };
365
- }
366
- function splitQuotedList(value, flag) {
367
- const fields = [];
368
- let i = 0;
369
- while (i <= value.length) {
370
- const start = skipBlanks(value, i);
371
- if (value[start] === '"') {
372
- const { text, next } = readQuotedField(value, start, flag);
373
- fields.push({ text, quoted: true });
374
- i = next;
375
- } else {
376
- const comma = value.indexOf(",", start);
377
- const end = comma === -1 ? value.length : comma;
378
- fields.push({ text: value.slice(start, end), quoted: false });
379
- i = end + 1;
380
- }
381
- }
382
- const several = fields.length > 1;
383
- return fields.map((field) => ({ text: field.text.trim(), splitAtComma: several && !field.quoted }));
384
- }
385
- function jsonStringArray(value) {
386
- if (!value.startsWith("[")) return void 0;
387
- try {
388
- const parsed = JSON.parse(value);
389
- return Array.isArray(parsed) && parsed.every((v) => typeof v === "string") ? parsed : void 0;
390
- } catch {
391
- return void 0;
392
- }
393
- }
394
- function parseCopyList(value, flag) {
395
- let items;
396
- if (Array.isArray(value)) {
397
- items = value.filter((v) => typeof v === "string").map((v) => ({ text: v.trim(), splitAtComma: false }));
398
- } else if (typeof value === "string") {
399
- const trimmed = value.trim();
400
- const json = jsonStringArray(trimmed);
401
- items = json ? json.map((v) => ({ text: v.trim(), splitAtComma: false })) : splitQuotedList(trimmed, flag);
402
- } else {
403
- return void 0;
404
- }
405
- const kept = items.filter((item) => item.text.length > 0);
406
- return kept.length > 0 ? kept : void 0;
407
- }
408
- function copyListFlag(value, flag) {
409
- return parseCopyList(value, flag)?.map((item) => item.text);
410
- }
411
- function refuseDashLedValue(rawArgs, flag) {
412
- for (let i = 0; i < rawArgs.length - 1; i++) {
413
- if (rawArgs[i] === "--") return;
414
- const value = rawArgs[i + 1];
415
- if (rawArgs[i] === `--${flag}` && value?.startsWith("-")) {
416
- failWriteValidation(
417
- `--${flag} is followed by "${value}", which starts with a dash and is read as another flag, not as copy. Join copy that starts with a dash to its flag with =: --${flag}="${value}"`
418
- );
419
- }
420
- }
421
- }
422
- function withRepeatedCopyFlags(args, rawArgs) {
423
- const out = { ...args };
424
- for (const flag of AD_COPY_LIST_FLAGS) {
425
- refuseDashLedValue(rawArgs ?? [], flag);
426
- const values = repeatedFlagValues(rawArgs ?? [], flag);
427
- if (values.length > 1) {
428
- out[flag] = values;
429
- }
430
- }
431
- return out;
432
- }
433
- function copyListSplitHints(args) {
434
- const hints = [];
435
- for (const flag of AD_COPY_LIST_FLAGS) {
436
- const items = parseCopyList(args[flag], flag) ?? [];
437
- const fragments = items.filter((item, index) => index > 0 && item.splitAtComma && new RegExp("^\\p{Ll}", "u").test(item.text));
438
- if (fragments.length > 0) {
439
- hints.push(
440
- `--${flag}: ${fragments.map((f) => `"${f.text}"`).join(", ")} starts in lowercase \u2014 it looks like the end of one item cut at a comma. Check the staged copy; if it was one item, fix this op in place with \`draft amend <ref>\` (the ref this response returned) rather than staging it again, which would leave the cut copy staged too \u2014 ${AD_COPY_LIST_USAGE}.`
441
- );
442
- }
443
- }
444
- return hints;
445
- }
446
-
447
- // src/commands/ads/google/channel-flags.ts
448
- function str(args, name) {
449
- const value = args[name];
450
- return typeof value === "string" && value.length > 0 ? value : void 0;
451
- }
452
- function bool(args, name) {
453
- const value = args[name];
454
- return typeof value === "boolean" ? value : void 0;
455
- }
456
- function defined(entries) {
457
- const kept = Object.entries(entries).filter(([, value]) => value !== void 0);
458
- return kept.length > 0 ? Object.fromEntries(kept) : void 0;
459
- }
460
- var SHOPPING_PRIORITIES = { low: 0, medium: 1, high: 2 };
461
- var shoppingArgs = {
462
- "merchant-id": {
463
- type: "string",
464
- description: "Shopping / retail Performance Max: the Merchant Center account whose products the campaign advertises. It must be linked to the account \u2014 `baker ads google merchant-center list` shows the linked ones."
465
- },
466
- "feed-label": {
467
- type: "string",
468
- description: 'Shopping / retail Performance Max: only products with this feed label (e.g. "ES").'
469
- },
470
- "shopping-priority": {
471
- type: "string",
472
- description: "Shopping only: low (default) | medium | high \u2014 which Shopping campaign wins when several advertise the same product."
473
- },
474
- "local-inventory": {
475
- type: "boolean",
476
- description: "Shopping only: also advertise products sold in nearby stores (local inventory ads)."
477
- }
478
- };
479
- function shoppingSettingFromFlags(args) {
480
- const priority = str(args, "shopping-priority");
481
- const campaignPriority = priority === void 0 ? void 0 : SHOPPING_PRIORITIES[priority.toLowerCase()];
482
- if (priority !== void 0 && campaignPriority === void 0) {
483
- failWriteValidation("--shopping-priority must be low, medium or high");
484
- }
485
- return defined({
486
- merchantId: str(args, "merchant-id"),
487
- feedLabel: str(args, "feed-label"),
488
- campaignPriority,
489
- enableLocal: bool(args, "local-inventory")
490
- });
491
- }
492
- var shoppingUpdateArgs = {
493
- "merchant-id": {
494
- type: "string",
495
- description: "Not changeable: a campaign keeps the Merchant Center account it was created with."
496
- },
497
- "feed-label": shoppingArgs["feed-label"],
498
- "clear-feed-label": {
499
- type: "boolean",
500
- description: "Shopping / retail Performance Max: advertise every feed of the Merchant Center again."
501
- },
502
- "shopping-priority": shoppingArgs["shopping-priority"],
503
- "local-inventory": {
504
- type: "boolean",
505
- description: "Shopping only: --local-inventory turns local inventory ads on, --local-inventory=false turns them off."
506
- }
507
- };
508
- function shoppingSettingUpdateFromFlags(args) {
509
- if (str(args, "merchant-id") !== void 0) {
510
- failWriteValidation(
511
- "A campaign keeps the Merchant Center account it was created with \u2014 Google does not move it. Create a new campaign on the other account instead."
512
- );
513
- }
514
- if (args["clear-feed-label"] === true && str(args, "feed-label") !== void 0) {
515
- failWriteValidation("--clear-feed-label removes the feed label \u2014 pass it OR --feed-label, not both");
516
- }
517
- const { merchantId: _fixed, ...rest } = shoppingSettingFromFlags(args) ?? {};
518
- return defined({ ...rest, ...args["clear-feed-label"] === true ? { feedLabel: "" } : {} });
519
- }
520
- var APP_STORES = { google: "GOOGLE_APP_STORE", apple: "APPLE_APP_STORE" };
521
- var APP_GOALS = {
522
- installs: "OPTIMIZE_INSTALLS_TARGET_INSTALL_COST",
523
- "installs-volume": "OPTIMIZE_INSTALLS_WITHOUT_TARGET_INSTALL_COST",
524
- "in-app": "OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST",
525
- "in-app-install-cost": "OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST",
526
- value: "OPTIMIZE_RETURN_ON_ADVERTISING_SPEND"
527
- };
528
- var appArgs = {
529
- "app-id": {
530
- type: "string",
531
- description: "App campaigns (--channel-type MULTI_CHANNEL --sub-type APP_CAMPAIGN): the app's package name (Android, e.g. com.example.app) or numeric App Store id. Fixed once created."
532
- },
533
- "app-store": { type: "string", description: "App campaigns: google | apple" },
534
- "app-goal": {
535
- type: "string",
536
- description: "App campaigns: installs (TARGET_CPA = target cost per install) | installs-volume (MAXIMIZE_CONVERSIONS) | in-app (TARGET_CPA per in-app conversion) | in-app-install-cost (TARGET_CPA per install, optimizing in-app) | value (TARGET_ROAS). Each goal takes the one bidding strategy in brackets."
537
- },
538
- "app-conversions": {
539
- type: "string",
540
- description: "App campaigns with an in-app or value goal: comma-separated ids of the APP's conversion actions to optimize toward (required for those goals)."
541
- }
542
- };
543
- function appSettingsFromFlags(args) {
544
- const store = str(args, "app-store");
545
- const goal = str(args, "app-goal");
546
- const appStore = store === void 0 ? void 0 : APP_STORES[store.toLowerCase()] ?? store.toUpperCase();
547
- const biddingStrategyGoalType = goal === void 0 ? void 0 : APP_GOALS[goal.toLowerCase()] ?? goal.toUpperCase();
548
- const conversions = str(args, "app-conversions")?.split(",").map((id) => id.trim()).filter((id) => id.length > 0);
549
- const appCampaignSetting = defined({ appId: str(args, "app-id"), appStore, biddingStrategyGoalType });
550
- return {
551
- ...appCampaignSetting ? { appCampaignSetting } : {},
552
- ...conversions && conversions.length > 0 ? { selectiveOptimization: { conversionActions: conversions } } : {}
553
- };
554
- }
555
- var linkedAccountArgs = {
556
- "travel-account-id": {
557
- type: "string",
558
- description: "Travel campaigns (--channel-type TRAVEL): the travel account linked to this Google Ads account."
559
- },
560
- "hotel-center-id": {
561
- type: "string",
562
- description: "Hotel campaigns (--channel-type HOTEL): the Hotel Center account linked to this Google Ads account."
563
- }
564
- };
565
- function linkedAccountFromFlags(args) {
566
- const travel = str(args, "travel-account-id");
567
- const hotel = str(args, "hotel-center-id");
568
- return {
569
- ...travel ? { travelCampaignSettings: { travelAccountId: travel } } : {},
570
- ...hotel ? { hotelSetting: { hotelCenterId: hotel } } : {}
571
- };
572
- }
573
- function defaultAdStatus(format, status) {
574
- if (status !== void 0) {
575
- return status;
576
- }
577
- return format === "app" ? "ENABLED" : void 0;
578
- }
579
- var dynamicSearchAdsArgs = {
580
- "dsa-domain": {
581
- type: "string",
582
- description: "Search: the site dynamic ads are built from, as a bare domain (withbaker.com \u2014 no https://, no path)."
583
- },
584
- "dsa-language": {
585
- type: "string",
586
- description: `Search: the language of that site, Google's lowercase code ("en", "es"; "zh_CN" with a region).`
587
- },
588
- "dsa-supplied-urls-only": {
589
- type: "boolean",
590
- description: "Search: build dynamic ads only from the pages a page feed lists, not the whole site."
591
- }
592
- };
593
- function dynamicSearchAdsFromFlags(args) {
594
- return defined({
595
- domainName: str(args, "dsa-domain"),
596
- languageCode: str(args, "dsa-language"),
597
- useSuppliedUrlsOnly: bool(args, "dsa-supplied-urls-only")
598
- });
599
- }
600
- var frequencyCapArgs = {
601
- "frequency-cap": {
602
- type: "string",
603
- description: `Display (and existing Video): how often one person sees the ads \u2014 "<cap>/<day|week|month>[/<campaign|ad-group|ad>][/<impressions|video-views>]", e.g. --frequency-cap 3/day or --frequency-cap 10/week/ad-group. Repeat for several; the list REPLACES the campaign's caps.`
604
- },
605
- "clear-frequency-caps": { type: "boolean", description: "Remove every frequency cap from the campaign." }
606
- };
607
- var CAP_UNITS = { day: "DAY", week: "WEEK", month: "MONTH" };
608
- var CAP_LEVELS = { campaign: "CAMPAIGN", "ad-group": "AD_GROUP", ad: "AD_GROUP_AD" };
609
- var CAP_EVENTS = { impressions: "IMPRESSION", "video-views": "VIDEO_VIEW" };
610
- function parseCap(entry) {
611
- const [count, unit, level = "campaign", event = "impressions"] = entry.split("/").map((part) => part.trim().toLowerCase());
612
- const cap = Number(count);
613
- const timeUnit = CAP_UNITS[unit ?? ""];
614
- if (!Number.isInteger(cap) || cap < 1 || !timeUnit || !CAP_LEVELS[level] || !CAP_EVENTS[event]) {
615
- failWriteValidation(
616
- `--frequency-cap "${entry}" must be <cap>/<day|week|month>[/<campaign|ad-group|ad>][/<impressions|video-views>] (e.g. 3/day)`
617
- );
618
- }
619
- return { level: CAP_LEVELS[level], eventType: CAP_EVENTS[event], timeUnit, cap };
620
- }
621
- function frequencyCapsFromFlags(args, rawArgs) {
622
- const entries = repeatedValues(rawArgs, "frequency-cap", args["frequency-cap"]).filter((v) => v.length > 0);
623
- if (entries.length > 0 && args["clear-frequency-caps"] === true) {
624
- failWriteValidation("--clear-frequency-caps removes every cap \u2014 pass it OR --frequency-cap, not both");
625
- }
626
- if (entries.length === 0) {
627
- return args["clear-frequency-caps"] === true ? [] : void 0;
628
- }
629
- return entries.map(parseCap);
630
- }
631
- var assetAutomationArgs = {
632
- "generated-text": {
633
- type: "boolean",
634
- description: "Performance Max: --generated-text lets Google write text from the landing page and assets; --generated-text=false stops it (needs --url-expansion=false with it)."
635
- },
636
- "url-expansion": {
637
- type: "boolean",
638
- description: "Performance Max: --url-expansion=false keeps every click on the asset groups' final URLs; --url-expansion lets Google send traffic to the most relevant page of the site."
639
- },
640
- "video-enhancement": {
641
- type: "boolean",
642
- description: "Performance Max: Google makes enhanced versions of the campaign's YouTube videos (=false stops it)."
643
- },
644
- "image-enhancement": {
645
- type: "boolean",
646
- description: "Performance Max: Google enhances the campaign's images (=false stops it)."
647
- },
648
- "image-extraction": {
649
- type: "boolean",
650
- description: "Performance Max: Google takes images from the landing page (=false stops it)."
651
- },
652
- "image-design-versions": {
653
- type: "boolean",
654
- description: "Performance Max: Google makes new designs from the campaign's images (=false stops it)."
655
- }
656
- };
657
- function assetAutomationFromFlags(args) {
658
- return defined({
659
- textAssets: bool(args, "generated-text"),
660
- finalUrlExpansion: bool(args, "url-expansion"),
661
- videoEnhancement: bool(args, "video-enhancement"),
662
- imageEnhancement: bool(args, "image-enhancement"),
663
- imageExtraction: bool(args, "image-extraction"),
664
- imageDesignVersions: bool(args, "image-design-versions")
665
- });
666
- }
667
- var brandStyleArgs = {
668
- "main-color": {
669
- type: "string",
670
- description: "Performance Max brand guidelines: main color, #RRGGBB (with --accent-color)."
671
- },
672
- "accent-color": {
673
- type: "string",
674
- description: "Performance Max brand guidelines: accent color, #RRGGBB (with --main-color)."
675
- },
676
- font: {
677
- type: "string",
678
- description: `Performance Max brand guidelines: one of Google's fonts, e.g. "Roboto".`
679
- }
680
- };
681
- var brandGuidelinesCreateArgs = {
682
- "brand-guidelines": {
683
- type: "boolean",
684
- description: "Performance Max: create the campaign with brand guidelines on \u2014 link its business name and a square logo at campaign level in the same draft (assets attach --file with level campaign, fieldType BUSINESS_NAME and LOGO)."
685
- },
686
- ...brandStyleArgs
687
- };
688
- function brandGuidelinesFromFlags(args, mode) {
689
- const style = {
690
- mainColor: str(args, "main-color"),
691
- accentColor: str(args, "accent-color"),
692
- fontFamily: str(args, "font")
693
- };
694
- if (mode === "update") {
695
- return defined(style);
696
- }
697
- const enabled = bool(args, "brand-guidelines");
698
- const stated = defined(style);
699
- if (enabled === void 0 && !stated) {
700
- return void 0;
701
- }
702
- return { enabled: enabled ?? false, ...stated };
703
- }
704
- var list = (args, name) => str(args, name)?.split(",").map((value) => value.trim()).filter((value) => value.length > 0);
705
- var enableBrandGuidelinesArgs = {
706
- "auto-populate": {
707
- type: "boolean",
708
- description: "Let Google take the business name and logo from the campaign's asset groups (needs at least one asset group)."
709
- },
710
- "business-name-asset": {
711
- type: "string",
712
- description: "The business name text asset (id) to link to the campaign."
713
- },
714
- "logo-assets": { type: "string", description: "Comma-separated square logo image asset ids (1\u20135)." },
715
- "landscape-logo-assets": { type: "string", description: "Comma-separated landscape logo image asset ids." },
716
- "final-url-domain": { type: "string", description: "The site's domain, e.g. withbaker.com." },
717
- ...brandStyleArgs
718
- };
719
- function enableBrandGuidelinesFromFlags(args) {
720
- return defined({
721
- autoPopulateBrandAssets: bool(args, "auto-populate"),
722
- businessNameAsset: str(args, "business-name-asset"),
723
- logoAssets: list(args, "logo-assets"),
724
- landscapeLogoAssets: list(args, "landscape-logo-assets"),
725
- finalUriDomain: str(args, "final-url-domain"),
726
- mainColor: str(args, "main-color"),
727
- accentColor: str(args, "accent-color"),
728
- fontFamily: str(args, "font")
729
- }) ?? {};
730
- }
731
-
732
- // src/commands/ads/google/criteria-commands.ts
733
- import { defineCommand as defineCommand3 } from "citty";
734
- var CRITERION_FILE_HELP = 'The `criterion` object is one `criterionType` with its fields, e.g. {"criterionType":"placement","url":"example.com"}, {"criterionType":"ageRange","ageRange":"AGE_RANGE_18_24"}, {"criterionType":"topic","topicConstant":"5"} \u2014 every type with an example: __tooling__/docs/tools/baker/ads-google.md \xA7 Targeting and exclusions.';
735
- var CRITERION_HINTS = [
736
- "Run `baker ads google draft validate` once the targeting is staged: Google's dry run is the only thing that proves a criterion is accepted on this campaign before the user publishes."
737
- ];
738
- var campaignCriteriaCommand = defineCommand3({
739
- meta: {
740
- name: "campaign-criteria",
741
- description: "Stage what a campaign targets or excludes \u2014 locations, languages, ad schedule, devices, a radius, carriers, operating systems, and exclusions (placements, apps, YouTube, topics, demographics, content types, IP addresses, web pages, brand lists) \u2014 or change a criterion's bid adjustment"
742
- },
743
- subCommands: {
744
- add: fileCreateCommand(
745
- "add",
746
- "google.campaignCriterion.add",
747
- `Add a campaign criterion. Start here: --file '{"campaign":"23837707642","negative":true,"criterion":{"criterionType":"placement","url":"example.com"}}'. A bid adjustment rides on the criterion ("bidModifier": 1.2 on a location, schedule, device or radius). Audience lists, interests and custom segments go through \`audiences attach\`. ${CRITERION_FILE_HELP}`,
748
- CRITERION_HINTS
749
- ),
750
- update: withEffect(
751
- googleStaged("google.campaignCriterion.update"),
752
- defineCommand3({
753
- meta: {
754
- name: "update",
755
- description: "Change a criterion's bid adjustment \u2014 the only way to change a device setting the campaign already has, since Google never lets one be removed. Start here: `campaign-criteria update customers/<cid>/campaignCriteria/<campaignId>~<criterionId> --bid-modifier 1` resets a boost to neutral; --bid-modifier 0 stops ads serving on that device. Use `campaign-criteria add` instead when the campaign has no criterion for that device yet. Read the current ones with `baker ads google campaign-criteria list`."
756
- },
757
- args: {
758
- ...customerIdArg,
759
- id: {
760
- type: "positional",
761
- description: "Criterion resource name (customers/\u2026/campaignCriteria/{campaignId}~{criterionId})",
762
- required: false
763
- },
764
- "bid-modifier": {
765
- type: "string",
766
- description: "1 = no adjustment, 1.25 = bid 25% more, 0.9 = bid 10% less, 0 = don't serve on it (a device only; 0.1\u201310 elsewhere)"
767
- }
768
- },
769
- run: async ({ args }) => {
770
- const customerId = requireCustomerId(args);
771
- const target = requireTarget(args, "campaign criterion");
772
- await stageUpdate("google.campaignCriterion.update", customerId, target, {
773
- bidModifier: bidModifierFlag(args["bid-modifier"])
774
- });
775
- }
776
- })
777
- ),
778
- remove: withEffect(
779
- googleStaged("google.campaignCriterion.remove"),
780
- defineCommand3({
781
- meta: {
782
- name: "remove",
783
- description: "Stage a campaign criterion remove. Works for what you added \u2014 locations, languages, ad schedules, exclusions. A device setting CANNOT be removed once the campaign has one: use `campaign-criteria update --bid-modifier` to change or neutralise it instead."
784
- },
785
- args: {
786
- ...customerIdArg,
787
- id: { type: "positional", description: "Criterion resource name", required: false }
788
- },
789
- run: async ({ args }) => {
790
- const customerId = requireCustomerId(args);
791
- await stageTarget("google.campaignCriterion.remove", customerId, requireTarget(args, "campaign criterion"));
792
- }
793
- })
794
- )
795
- }
796
- });
797
- function statusFlag(value) {
798
- if (value === void 0) {
799
- return void 0;
800
- }
801
- if (value !== "ENABLED" && value !== "PAUSED") {
802
- failWriteValidation("--status must be ENABLED or PAUSED");
803
- }
804
- return value;
805
- }
806
- var adGroupCriteriaCommand = defineCommand3({
807
- meta: {
808
- name: "ad-group-criteria",
809
- description: "Stage what an ad group targets or excludes \u2014 placements, apps, YouTube channels and videos, topics, demographics (age, gender, parental status, household income), web pages for Dynamic Search Ads, brand lists, and on Demand Gen its locations, languages and combined audience \u2014 or change one's bid adjustment, max CPC or status"
810
- },
811
- subCommands: {
812
- add: fileCreateCommand(
813
- "add",
814
- "google.adGroupCriterion.add",
815
- `Add an ad group criterion. Start here: --file '{"adGroup":"154000000001","criterion":{"criterionType":"placement","url":"example.com","bidModifier":1.2}}' \u2014 add "negative":true to exclude it instead, "status":"PAUSED" to add it paused, "cpcBidMicros" for a Display placement's own max CPC. On Demand Gen, locations and languages go here, not on the campaign. Audience lists, interests and custom segments go through \`audiences attach\`. ${CRITERION_FILE_HELP}`,
816
- CRITERION_HINTS
817
- ),
818
- update: withEffect(
819
- googleStaged("google.adGroupCriterion.update"),
820
- defineCommand3({
821
- meta: {
822
- name: "update",
823
- description: "Change a live ad group criterion's bid adjustment, own max CPC or status. Start here: `ad-group-criteria update customers/<cid>/adGroupCriteria/<adGroupId>~<criterionId> --bid-modifier 1.3`. What it targets cannot change \u2014 remove it and add the replacement. Read them with `baker ads google ad-group-criteria list`."
824
- },
825
- args: {
826
- ...customerIdArg,
827
- id: {
828
- type: "positional",
829
- description: "Criterion resource name (customers/\u2026/adGroupCriteria/{adGroupId}~{criterionId})",
830
- required: false
831
- },
832
- "bid-modifier": { type: "string", description: "1 = no adjustment, 1.25 = bid 25% more, 0.9 = 10% less" },
833
- "max-cpc": { type: "string", description: "The criterion's own max CPC, in the account currency" },
834
- status: { type: "string", description: "ENABLED | PAUSED" }
835
- },
836
- run: async ({ args }) => {
837
- const customerId = requireCustomerId(args);
838
- const target = requireTarget(args, "ad group criterion");
839
- const payload = {
840
- ...args["bid-modifier"] !== void 0 ? { bidModifier: bidModifierFlag(args["bid-modifier"]) } : {},
841
- ...args["max-cpc"] !== void 0 ? { cpcBidMicros: microsFlag(args["max-cpc"], "--max-cpc") } : {},
842
- ...args.status !== void 0 ? { status: statusFlag(args.status) } : {}
843
- };
844
- if (Object.keys(payload).length === 0) {
845
- failWriteValidation("pass --bid-modifier, --max-cpc or --status");
846
- }
847
- await stageUpdate("google.adGroupCriterion.update", customerId, target, payload);
848
- }
849
- })
850
- ),
851
- remove: withEffect(
852
- googleStaged("google.adGroupCriterion.remove"),
853
- defineCommand3({
854
- meta: { name: "remove", description: "Stage an ad group criterion remove (targeting or exclusion)." },
855
- args: {
856
- ...customerIdArg,
857
- id: {
858
- type: "positional",
859
- description: "Criterion resource name (customers/\u2026/adGroupCriteria/{adGroupId}~{criterionId})",
860
- required: false
861
- }
862
- },
863
- run: async ({ args }) => {
864
- const customerId = requireCustomerId(args);
865
- await stageTarget("google.adGroupCriterion.remove", customerId, requireTarget(args, "ad group criterion"));
866
- }
867
- })
868
- )
869
- }
870
- });
871
- var DEVICES = ["MOBILE", "TABLET", "DESKTOP", "CONNECTED_TV"];
872
- var adGroupBidModifiersCommand = defineCommand3({
873
- meta: {
874
- name: "ad-group-bid-modifiers",
875
- description: "Stage an ad group's own device bid adjustment (bid more on mobile in this ad group only), change it, or remove it"
876
- },
877
- subCommands: {
878
- add: withEffect(
879
- googleStaged("google.adGroupBidModifier.add"),
880
- defineCommand3({
881
- meta: {
882
- name: "add",
883
- description: "Bid differently on one device in this ad group. Start here: `ad-group-bid-modifiers add --customer-id 1234567890 --ad-group 154000000001 --device MOBILE --bid-modifier 1.2`. 0 stops this ad group serving on that device. Search and Shopping take MOBILE, TABLET, DESKTOP; Display also CONNECTED_TV; Demand Gen takes none (set it on the campaign with `campaign-criteria add`)."
884
- },
885
- args: {
886
- ...customerIdArg,
887
- "ad-group": { type: "string", description: "Ad group id or a g_temp_* ref" },
888
- device: { type: "string", description: DEVICES.join(" | ") },
889
- "bid-modifier": { type: "string", description: "1.2 = bid 20% more, 0.8 = 20% less, 0 = don't serve on it" }
890
- },
891
- run: async ({ args }) => {
892
- const customerId = requireCustomerId(args);
893
- const device = requireStringFlag(args.device, "--device");
894
- if (!DEVICES.includes(device)) {
895
- failWriteValidation(`--device must be one of ${DEVICES.join(", ")}`);
896
- }
897
- await stageGoogleOp({
898
- kind: "google.adGroupBidModifier.add",
899
- customerId,
900
- payload: {
901
- adGroup: requireStringFlag(args["ad-group"], "--ad-group"),
902
- device,
903
- bidModifier: bidModifierFlag(args["bid-modifier"])
904
- }
905
- });
906
- }
907
- })
908
- ),
909
- update: withEffect(
910
- googleStaged("google.adGroupBidModifier.update"),
911
- defineCommand3({
912
- meta: {
913
- name: "update",
914
- description: "Change an ad group device bid. Start here: `ad-group-bid-modifiers update customers/<cid>/adGroupBidModifiers/<adGroupId>~<criterionId> --bid-modifier 1`."
915
- },
916
- args: {
917
- ...customerIdArg,
918
- id: {
919
- type: "positional",
920
- description: "customers/\u2026/adGroupBidModifiers/{adGroupId}~{criterionId}",
921
- required: false
922
- },
923
- "bid-modifier": { type: "string", description: "1 = no adjustment, 0 = don't serve on it" }
924
- },
925
- run: async ({ args }) => {
926
- const customerId = requireCustomerId(args);
927
- await stageUpdate(
928
- "google.adGroupBidModifier.update",
929
- customerId,
930
- requireTarget(args, "ad group bid modifier"),
931
- { bidModifier: bidModifierFlag(args["bid-modifier"]) }
932
- );
933
- }
934
- })
935
- ),
936
- remove: withEffect(
937
- googleStaged("google.adGroupBidModifier.remove"),
938
- defineCommand3({
939
- meta: {
940
- name: "remove",
941
- description: "Stage an ad group device bid remove \u2014 the ad group bids like its campaign again."
942
- },
943
- args: {
944
- ...customerIdArg,
945
- id: {
946
- type: "positional",
947
- description: "customers/\u2026/adGroupBidModifiers/{adGroupId}~{criterionId}",
948
- required: false
949
- }
950
- },
951
- run: async ({ args }) => {
952
- const customerId = requireCustomerId(args);
953
- await stageTarget(
954
- "google.adGroupBidModifier.remove",
955
- customerId,
956
- requireTarget(args, "ad group bid modifier")
957
- );
958
- }
959
- })
960
- )
961
- }
962
- });
963
- function criteriaFromFlags(args, flags) {
964
- return flags.flatMap(({ flag, criterion }) => {
965
- const value = args[flag];
966
- return typeof value === "string" ? value.split(",").map((part) => part.trim()).filter((part) => part.length > 0).map(criterion) : [];
967
- });
968
- }
969
- var PLACEMENT_FLAGS = [
970
- { flag: "placement", criterion: (url) => ({ criterionType: "placement", url }) },
971
- { flag: "youtube-channel", criterion: (channelId) => ({ criterionType: "youtubeChannel", channelId }) },
972
- { flag: "youtube-video", criterion: (videoId) => ({ criterionType: "youtubeVideo", videoId }) },
973
- { flag: "app", criterion: (appId) => ({ criterionType: "mobileApp", appId }) }
974
- ];
975
- var ACCOUNT_EXCLUSION_FLAGS = [
976
- ...PLACEMENT_FLAGS,
977
- { flag: "content-label", criterion: (contentLabel) => ({ criterionType: "contentLabel", contentLabel }) },
978
- { flag: "ip", criterion: (ipAddress) => ({ criterionType: "ipBlock", ipAddress }) }
979
- ];
980
- var LIST_MEMBER_FLAGS = [
981
- ...PLACEMENT_FLAGS,
982
- { flag: "brand", criterion: (entityId) => ({ criterionType: "brand", entityId }) }
983
- ];
984
- function accountExclusionCriteria(args) {
985
- return criteriaFromFlags(args, ACCOUNT_EXCLUSION_FLAGS);
986
- }
987
- function listMemberCriteria(args) {
988
- return criteriaFromFlags(args, LIST_MEMBER_FLAGS);
989
- }
990
- var LIST_MEMBER_ARGS = {
991
- placement: { type: "string", description: "Sites for a NEGATIVE_PLACEMENTS list (example.com), comma-separated" },
992
- "youtube-channel": {
993
- type: "string",
994
- description: "YouTube channel ids for a NEGATIVE_PLACEMENTS list, comma-separated"
995
- },
996
- "youtube-video": { type: "string", description: "YouTube video ids for a NEGATIVE_PLACEMENTS list, comma-separated" },
997
- app: { type: "string", description: "App ids (1-<App Store id> / 2-<package>) for a NEGATIVE_PLACEMENTS list" },
998
- brand: {
999
- type: "string",
1000
- description: "Brand entity ids (/g/\u2026) for a BRANDS list, comma-separated \u2014 find them with `baker ads google brands`"
1001
- }
1002
- };
1003
- var accountExclusionsCommand = defineCommand3({
1004
- meta: {
1005
- name: "account-exclusions",
1006
- description: "Stage exclusions for the WHOLE account \u2014 sites, apps, YouTube channels/videos, content types, IP addresses, an account-level negative keyword list \u2014 or remove one. They reach every campaign, Performance Max included (which takes no placement exclusion of its own)."
1007
- },
1008
- subCommands: {
1009
- add: withEffect(
1010
- googleStagedBatch("google.customerNegativeCriterion.add"),
1011
- defineCommand3({
1012
- meta: {
1013
- name: "add",
1014
- description: `Exclude across the whole account. Start here: \`account-exclusions add --customer-id 1234567890 --placement "example.com,spam-site.net" --content-label SEXUALLY_SUGGESTIVE\`. Flags take comma-separated values and stage one exclusion each; --file takes {"criterion": {...}} objects (an array for many) for app categories or an account-level negative keyword list ({"criterionType":"negativeKeywordList","sharedSet":"<ACCOUNT_LEVEL_NEGATIVE_KEYWORDS list>"}). Read what is already excluded with \`account-exclusions list\` first \u2014 they apply to every campaign. ${CRITERION_FILE_HELP}`
1015
- },
1016
- args: {
1017
- ...customerIdArg,
1018
- ...fileBatchArg("google.customerNegativeCriterion.add"),
1019
- placement: { type: "string", description: "Sites to exclude (example.com), comma-separated" },
1020
- "youtube-channel": { type: "string", description: "YouTube channel ids (UC\u2026), comma-separated" },
1021
- "youtube-video": { type: "string", description: "YouTube video ids, comma-separated" },
1022
- app: { type: "string", description: "App ids (1-<App Store id> / 2-<package>), comma-separated" },
1023
- "content-label": {
1024
- type: "string",
1025
- description: "Content types: SEXUALLY_SUGGESTIVE, BELOW_THE_FOLD, PARKED_DOMAIN, JUVENILE, PROFANITY, TRAGEDY, VIDEO_RATING_DV_*, EMBEDDED_VIDEO, LIVE_STREAMING_VIDEO, SOCIAL_ISSUES, BRAND_SUITABILITY_* (comma-separated)"
1026
- },
1027
- ip: { type: "string", description: "IP addresses to exclude, comma-separated" },
1028
- full: STAGE_FULL_ARG
1029
- },
1030
- run: async ({ args }) => {
1031
- const customerId = requireCustomerId(args);
1032
- const payloads = [
1033
- ...args.file ? loadJsonPayloads(args.file) : [],
1034
- ...accountExclusionCriteria(args).map((criterion) => ({ criterion }))
1035
- ];
1036
- if (payloads.length === 0) {
1037
- failWriteValidation(
1038
- "name what to exclude: --placement, --youtube-channel, --youtube-video, --app, --content-label, --ip or --file"
1039
- );
1040
- }
1041
- await stageGoogleOps(
1042
- payloads.map((payload) => ({ kind: "google.customerNegativeCriterion.add", customerId, payload })),
1043
- ["Account exclusions reach every campaign in the account \u2014 say so when you report them."],
1044
- args.full === true
1045
- );
1046
- }
1047
- })
1048
- ),
1049
- remove: withEffect(
1050
- googleStaged("google.customerNegativeCriterion.remove"),
1051
- defineCommand3({
1052
- meta: {
1053
- name: "remove",
1054
- description: "Stage removing an account exclusion. Start here: `account-exclusions remove customers/<cid>/customerNegativeCriteria/<criterionId>` (read it with `account-exclusions list`)."
1055
- },
1056
- args: {
1057
- ...customerIdArg,
1058
- id: {
1059
- type: "positional",
1060
- description: "customers/\u2026/customerNegativeCriteria/{criterionId}",
1061
- required: false
1062
- }
1063
- },
1064
- run: async ({ args }) => {
1065
- const customerId = requireCustomerId(args);
1066
- await stageTarget(
1067
- "google.customerNegativeCriterion.remove",
1068
- customerId,
1069
- requireTarget(args, "account exclusion")
1070
- );
1071
- }
1072
- })
1073
- )
1074
- }
1075
- });
1076
- var ASSET_GROUP_SIGNAL_FLAGS = [
1077
- { flag: "search-theme", criterion: (text) => ({ criterionType: "searchTheme", text }) },
1078
- { flag: "audience", criterion: (audience) => ({ criterionType: "audience", audience }) }
1079
- ];
1080
- function assetGroupSignalPayloads(args) {
1081
- const assetGroup = args["asset-group"];
1082
- return criteriaFromFlags(args, ASSET_GROUP_SIGNAL_FLAGS).map((criterion) => ({ assetGroup, criterion }));
1083
- }
1084
- var assetGroupSignalsCommand = defineCommand3({
1085
- meta: {
1086
- name: "asset-group-signals",
1087
- description: "Stage a Performance Max asset group's signals \u2014 its search themes and the one combined audience it is pointed at \u2014 or remove one. Signals steer who Google looks for; they narrow nothing."
1088
- },
1089
- subCommands: {
1090
- add: withEffect(
1091
- googleStagedBatch("google.assetGroupSignal.add"),
1092
- defineCommand3({
1093
- meta: {
1094
- name: "add",
1095
- description: 'Add signals to an asset group, live or staged in this chat. Start here: `asset-group-signals add --customer-id 1234567890 --asset-group <id or g_temp_ ref> --search-theme "fulfillment for online stores,shopify logistics"`. Up to 25 search themes per group (\u226480 characters each), phrased the way a buyer searches; skip themes the account\'s Search campaigns already bid on \u2014 Search wins that auction. `--audience <id>` points the group at an existing combined audience (`audiences/{id}`, one per group; Baker cannot build one, the user does in Google Ads). A theme with a comma in it goes through --file: {"assetGroup":"<ref>","criterion":{"criterionType":"searchTheme","text":"\u2026"}} (an array for many). Read what a group already has with `asset-group-signals list`.'
1096
- },
1097
- args: {
1098
- ...customerIdArg,
1099
- ...fileBatchArg("google.assetGroupSignal.add"),
1100
- "asset-group": {
1101
- type: "string",
1102
- description: "Asset group id, resource name, or g_temp_ ref from this chat"
1103
- },
1104
- "search-theme": { type: "string", description: "Search themes, comma-separated (\u226480 characters each)" },
1105
- audience: {
1106
- type: "string",
1107
- description: "An existing combined audience: its id or customers/\u2026/audiences/{id}"
1108
- },
1109
- full: STAGE_FULL_ARG
1110
- },
1111
- run: async ({ args }) => {
1112
- const customerId = requireCustomerId(args);
1113
- const fromFlags = assetGroupSignalPayloads(args);
1114
- if (fromFlags.length > 0 && typeof args["asset-group"] !== "string") {
1115
- failWriteValidation("--asset-group names the asset group the signals go on");
1116
- }
1117
- const payloads = [...args.file ? loadJsonPayloads(args.file) : [], ...fromFlags];
1118
- if (payloads.length === 0) {
1119
- failWriteValidation("name the signals: --search-theme, --audience or --file");
1120
- }
1121
- await stageGoogleOps(
1122
- payloads.map((payload) => ({ kind: "google.assetGroupSignal.add", customerId, payload })),
1123
- CRITERION_HINTS,
1124
- args.full === true
1125
- );
1126
- }
1127
- })
1128
- ),
1129
- remove: withEffect(
1130
- googleStaged("google.assetGroupSignal.remove"),
1131
- defineCommand3({
1132
- meta: {
1133
- name: "remove",
1134
- description: "Stage removing an asset group signal. Start here: `asset-group-signals remove customers/<cid>/assetGroupSignals/<assetGroupId>~<criterionId>` (read it with `asset-group-signals list`). A signal cannot be edited: remove it and add the replacement."
1135
- },
1136
- args: {
1137
- ...customerIdArg,
1138
- id: {
1139
- type: "positional",
1140
- description: "customers/\u2026/assetGroupSignals/{assetGroupId}~{criterionId}",
1141
- required: false
1142
- }
1143
- },
1144
- run: async ({ args }) => {
1145
- const customerId = requireCustomerId(args);
1146
- await stageTarget("google.assetGroupSignal.remove", customerId, requireTarget(args, "asset group signal"));
1147
- }
1148
- })
1149
- )
1150
- }
1151
- });
1152
-
1153
- // src/commands/ads/google/keyword-list-members.ts
1154
- var MATCH_TYPES = /* @__PURE__ */ new Set(["EXACT", "PHRASE", "BROAD"]);
1155
- function parseTerm(raw) {
1156
- const colon = raw.lastIndexOf(":");
1157
- const suffix = colon > 0 ? raw.slice(colon + 1).trim().toUpperCase() : void 0;
1158
- return suffix && MATCH_TYPES.has(suffix) ? { text: raw.slice(0, colon).trim(), matchType: suffix } : { text: raw.trim() };
1159
- }
1160
- var normalized = (text) => text.trim().replace(/\s+/g, " ").toLowerCase();
1161
- function memberRemovals(rows, terms) {
1162
- const targets = [];
1163
- const missing = [];
1164
- for (const raw of terms) {
1165
- const term = parseTerm(raw);
1166
- const found = rows.filter(
1167
- (row) => normalized(String(row["shared_criterion.keyword.text"] ?? "")) === normalized(term.text) && (!term.matchType || row["shared_criterion.keyword.match_type"] === term.matchType)
1168
- );
1169
- if (found.length === 0) {
1170
- missing.push(raw);
1171
- }
1172
- for (const row of found) {
1173
- const name = String(row["shared_criterion.resource_name"] ?? "");
1174
- if (name && !targets.includes(name)) {
1175
- targets.push(name);
1176
- }
1177
- }
1178
- }
1179
- return { targets, missing };
1180
- }
1181
- function listIdOf(listRef) {
1182
- const id = listRef.split("/").pop() ?? "";
1183
- if (!/^\d+$/.test(id)) {
1184
- failWriteValidation(
1185
- `--list-ref must be the list's id or customers/{cid}/sharedSets/{id} \u2014 a list staged in this chat has no published members yet, so take a term out of it with \`draft remove\` on the member's add instead`
1186
- );
1187
- }
1188
- return id;
1189
- }
1190
- function memberTarget(customerId, listId, value) {
1191
- if (value.startsWith("customers/")) {
1192
- if (!value.includes("/sharedCriteria/")) {
1193
- failWriteValidation(
1194
- `${value} is not a keyword list member \u2014 members are customers/{cid}/sharedCriteria/{listId}~{criterionId}`
1195
- );
1196
- }
1197
- return value;
1198
- }
1199
- if (/^\d+~\d+$/.test(value)) {
1200
- return `customers/${customerId}/sharedCriteria/${value}`;
1201
- }
1202
- if (/^\d+$/.test(value)) {
1203
- return `customers/${customerId}/sharedCriteria/${listId}~${value}`;
1204
- }
1205
- failWriteValidation(
1206
- `"${value}" is not a member resource name, listId~criterionId or criterion id \u2014 pass terms with --text`
1207
- );
1208
- }
1209
- async function readListMembers(customerId, listId) {
1210
- const query = `SELECT shared_criterion.resource_name, shared_criterion.keyword.text, shared_criterion.keyword.match_type FROM shared_criterion WHERE shared_set.id = ${listId}`;
1211
- const managerId = getManagerIdForCustomer(customerId);
1212
- const rows = [];
1213
- let pageToken;
1214
- do {
1215
- const response = await apiPost("/api/ads/google/query", {
1216
- customerId,
1217
- query,
1218
- pageSize: 8192,
1219
- skipCache: true,
1220
- ...managerId ? { managerId } : {},
1221
- ...pageToken ? { pageToken } : {}
1222
- });
1223
- rows.push(...response.rows ?? []);
1224
- pageToken = response.pageToken;
1225
- } while (pageToken);
1226
- return rows;
1227
- }
1228
-
1229
- // src/commands/ads/google/write-commands.ts
1230
- var STAGED_WRITE = "Stages only \u2014 applies to the live account when the chat is published. Field contract: `baker capabilities google-ads --op <entity>`.";
1231
- var BUDGET_DEMAND_HINTS = [
1232
- "Check this daily budget against the search volume you measured for these keywords, not against the plan you had before you measured it. A budget many times larger than the traffic the target pool can absorb never spends, and reads to the client as a number nobody costed.",
1233
- "No volume measured yet? Pull it first \u2014 `baker ads google query --preset search-terms` for what the account already captures, `baker ads google keywords metrics` for the market estimate (those are planner figures, never account performance)."
1234
- ];
1235
- function budgetAmountsFromFlags(args) {
1236
- if (args.amount !== void 0 && args.total !== void 0) {
1237
- failWriteValidation(
1238
- "pass --amount OR --total: a budget is either daily or one total for the campaign's flight, never both"
1239
- );
1240
- }
1241
- const amountMicros = microsFlag(args.amount, "--amount");
1242
- const totalAmountMicros = microsFlag(args.total, "--total");
1243
- return {
1244
- ...amountMicros !== void 0 ? { amountMicros } : {},
1245
- ...totalAmountMicros !== void 0 ? { totalAmountMicros } : {}
1246
- };
1247
- }
1248
- var totalArg = {
1249
- total: {
1250
- type: "string",
1251
- description: "A TOTAL budget instead of a daily one: one amount in major units spent across the campaign's start and end dates (e.g. 300). Search, Performance Max and Demand Gen only; the campaign needs --end-date; never shared. A budget stays daily or total for life."
1252
- }
1253
- };
1254
- var BUDGET_REMOVE_HINTS = [
1255
- "A budget can be removed only once no campaign uses it: staging refuses it while one does, unless this draft removes those campaigns or moves them to another budget (publish sends the campaign changes first)."
1256
- ];
1257
- var budgetsCommand = defineCommand4({
1258
- meta: { name: "budgets", description: "Stage campaign budget create/update/remove" },
1259
- subCommands: {
1260
- // Fires where the budget is actually set, rather than on whatever the chat happened to stage
1261
- // first. A budget several times what the target pool can absorb never spends, and reads to the
1262
- // client as a plan nobody costed.
1263
- create: withEffect(
1264
- googleStaged("google.budget.create"),
1265
- defineCommand4({
1266
- meta: {
1267
- name: "create",
1268
- description: `Stage a daily campaign budget; campaigns reference it by the g_temp_* ref it returns (--budget-ref). ${STAGED_WRITE}`
1269
- },
1270
- args: {
1271
- ...customerIdArg,
1272
- ...fileArg("google.budget.create"),
1273
- name: { type: "string", description: 'Budget name as shown in Google Ads (e.g. "Brand search \u2014 daily")' },
1274
- amount: { type: "string", description: "Daily amount in major currency units (e.g. 50)" },
1275
- ...totalArg,
1276
- delivery: {
1277
- type: "string",
1278
- description: "STANDARD \u2014 the only delivery Google still runs (ACCELERATED is refused: Google will not attach it to a campaign)"
1279
- },
1280
- shared: { type: "boolean", description: "Explicitly shared budget" }
1281
- },
1282
- run: async ({ args }) => {
1283
- const customerId = requireCustomerId(args);
1284
- const payload = mergePayload(loadJsonFileArg(args.file), {
1285
- name: args.name,
1286
- ...budgetAmountsFromFlags(args),
1287
- deliveryMethod: args.delivery,
1288
- explicitlyShared: args.shared || void 0
1289
- });
1290
- await stageCreate("google.budget.create", customerId, payload, BUDGET_DEMAND_HINTS);
1291
- }
1292
- })
1293
- ),
1294
- update: withEffect(
1295
- googleStaged("google.budget.update"),
1296
- defineCommand4({
1297
- meta: {
1298
- name: "update",
1299
- description: `Stage a change to an existing budget's name, daily amount or delivery. ${STAGED_WRITE}`
1300
- },
1301
- args: {
1302
- ...customerIdArg,
1303
- ...targetArg("budget"),
1304
- ...fileArg("google.budget.update"),
1305
- name: { type: "string", description: "New budget name as shown in Google Ads" },
1306
- amount: { type: "string", description: "New daily amount in major currency units" },
1307
- total: { type: "string", description: "A total budget's new total, in major units (total budgets only)" },
1308
- delivery: {
1309
- type: "string",
1310
- description: "STANDARD (ACCELERATED is refused \u2014 Google will not attach it to a campaign)"
1311
- }
1312
- },
1313
- run: async ({ args }) => {
1314
- const customerId = requireCustomerId(args);
1315
- const target = requireTarget(args, "budget");
1316
- const payload = mergePayload(loadJsonFileArg(args.file), {
1317
- name: args.name,
1318
- ...budgetAmountsFromFlags(args),
1319
- deliveryMethod: args.delivery
1320
- });
1321
- await stageUpdate("google.budget.update", customerId, target, payload, BUDGET_DEMAND_HINTS);
1322
- }
1323
- })
1324
- ),
1325
- remove: statusCommand("google.budget.remove", "budget", BUDGET_REMOVE_HINTS)
1326
- }
1327
- });
1328
- var MAX_CPC_STRATEGIES = ["TARGET_IMPRESSION_SHARE", "TARGET_SPEND", "PERCENT_CPC"];
1329
- var STRATEGY_SETTING_FLAGS = ["target-cpa", "target-roas", "impression-share", "impression-share-location"];
1330
- function biddingFromFlags(args) {
1331
- const type = args["bidding-strategy"];
1332
- const maxCpcMicros = microsFlag(args["max-cpc"], "--max-cpc");
1333
- if (!type) {
1334
- if (maxCpcMicros !== void 0) {
1335
- failWriteValidation(
1336
- "--max-cpc needs --bidding-strategy too (the ceiling belongs to a strategy) \u2014 e.g. --bidding-strategy TARGET_IMPRESSION_SHARE --max-cpc 12"
1337
- );
1338
- }
1339
- if (args["target-cpc"] !== void 0) {
1340
- failWriteValidation(
1341
- "--target-cpc needs --bidding-strategy too (the target belongs to a strategy) \u2014 use --bidding-strategy TARGET_CPC --target-cpc 1.5"
1342
- );
1343
- }
1344
- const orphan = STRATEGY_SETTING_FLAGS.find((flag) => args[flag] !== void 0);
1345
- if (orphan) {
1346
- failWriteValidation(
1347
- `--${orphan} needs --bidding-strategy too (it belongs to a strategy) \u2014 e.g. --bidding-strategy TARGET_IMPRESSION_SHARE --impression-share 70, or TARGET_CPA --target-cpa 35`
1348
- );
1349
- }
1350
- return void 0;
1351
- }
1352
- if (maxCpcMicros !== void 0 && !MAX_CPC_STRATEGIES.includes(type.toUpperCase())) {
1353
- failWriteValidation(`${type} does not take --max-cpc \u2014 only ${MAX_CPC_STRATEGIES.join(", ")} carry a bid ceiling`);
1354
- }
1355
- const targetCpcMicros = microsFlag(args["target-cpc"], "--target-cpc");
1356
- if (targetCpcMicros !== void 0 && type.toUpperCase() !== "TARGET_CPC") {
1357
- failWriteValidation(
1358
- `${type} does not take --target-cpc \u2014 pair it with --bidding-strategy TARGET_CPC (Demand Gen campaigns only)`
1359
- );
1360
- }
1361
- return {
1362
- type,
1363
- targetCpaMicros: microsFlag(args["target-cpa"], "--target-cpa"),
1364
- targetRoas: args["target-roas"] !== void 0 ? Number(args["target-roas"]) : void 0,
1365
- targetCpcMicros,
1366
- cpcBidCeilingMicros: maxCpcMicros,
1367
- ...impressionShareGoalFromFlags(args, type)
1368
- };
1369
- }
1370
- function impressionShareGoalFromFlags(args, type) {
1371
- const share = args["impression-share"];
1372
- const location = args["impression-share-location"];
1373
- if (share === void 0 && location === void 0) {
1374
- return {};
1375
- }
1376
- if (type.toUpperCase() !== "TARGET_IMPRESSION_SHARE") {
1377
- failWriteValidation(
1378
- `${type} does not take --impression-share / --impression-share-location \u2014 they set the goal of --bidding-strategy TARGET_IMPRESSION_SHARE`
1379
- );
1380
- }
1381
- const percent = share === void 0 ? void 0 : Number(share);
1382
- if (percent !== void 0 && !(percent > 0 && percent <= 100)) {
1383
- failWriteValidation(`--impression-share is a percentage between 0 and 100 (e.g. 70), got ${String(share)}`);
1384
- }
1385
- return {
1386
- ...typeof location === "string" ? { location: location.toUpperCase() } : {},
1387
- ...percent !== void 0 ? { locationFractionMicros: Math.round(percent * 1e4) } : {}
1388
- };
1389
- }
1390
- var maxCpcArg = {
1391
- "max-cpc": {
1392
- type: "string",
1393
- description: "Max CPC bid ceiling (major units) for TARGET_IMPRESSION_SHARE, TARGET_SPEND or PERCENT_CPC"
1394
- },
1395
- "impression-share": {
1396
- type: "string",
1397
- description: "TARGET_IMPRESSION_SHARE goal: the share of auctions to show in, as a percentage (e.g. 70). A new Target impression share needs this, --impression-share-location and --max-cpc."
1398
- },
1399
- "impression-share-location": {
1400
- type: "string",
1401
- description: "TARGET_IMPRESSION_SHARE goal: ANYWHERE_ON_PAGE | TOP_OF_PAGE | ABSOLUTE_TOP_OF_PAGE"
1402
- }
1403
- };
1404
- var portfolioRefArg = {
1405
- "portfolio-ref": {
1406
- type: "string",
1407
- description: "Put the campaign on a portfolio bid strategy (g_temp_* from `bidding-strategies create`, id, or resource name) instead of its own bidding. Which campaign types join which portfolios is fixed by Google \u2014 staging refuses the rest. To take a campaign OFF its portfolio, stage its own --bidding-strategy: staging clears the portfolio with it and says so."
1408
- }
1409
- };
1410
- var finalUrlSuffixArg = {
1411
- "final-url-suffix": {
1412
- type: "string",
1413
- description: 'Final URL suffix for this campaign \u2014 bare query params, no leading "?" (e.g. "utm_source=google&utm_agency=baker"). REPLACES the account-level suffix for this campaign; pass "" to clear it back to the account value. Account-wide tagging belongs at the account level: --level account stages it there.'
1414
- }
1415
- };
1416
- var urlOptionsArgs = {
1417
- "tracking-template": {
1418
- type: "string",
1419
- description: 'Campaign tracking template \u2014 the click-measurement URL every ad routes through. Must carry the landing page through {lpurl}, e.g. "https://tracker.example/?url={lpurl}". REPLACES the account-level template for this campaign; pass "" to clear it back to the account value.'
1420
- },
1421
- "custom-param": {
1422
- type: "string",
1423
- description: "Custom parameter as key=value, referenced in a template or final URL as {_key} (e.g. --custom-param season=summer). Repeat for several; Google allows 8. REPLACES the campaign's whole set."
1424
- },
1425
- "clear-custom-params": {
1426
- type: "boolean",
1427
- description: "Remove every custom parameter from this campaign (Google replaces the set wholesale)."
1428
- }
1429
- };
1430
- function urlCustomParametersFromFlags(args, rawArgs) {
1431
- const entries = repeatedValues(rawArgs, "custom-param", args["custom-param"]).filter((v) => v.length > 0);
1432
- if (entries.length === 0) {
1433
- return args["clear-custom-params"] === true ? [] : void 0;
1434
- }
1435
- if (args["clear-custom-params"] === true) {
1436
- failWriteValidation("--clear-custom-params removes every parameter \u2014 pass it OR --custom-param, not both");
1437
- }
1438
- return entries.map((entry) => {
1439
- const split = entry.indexOf("=");
1440
- if (split <= 0) {
1441
- failWriteValidation(`--custom-param "${entry}" must be key=value (e.g. --custom-param season=summer)`);
1442
- }
1443
- return { key: entry.slice(0, split), value: entry.slice(split + 1) };
1444
- });
1445
- }
1446
- var aiMaxArgs = {
1447
- "ai-max": {
1448
- type: "boolean",
1449
- description: "AI Max for Search: --ai-max turns it on (Google then matches searches beyond your keywords), --ai-max=false turns it off along with its text customization and URL expansion. Search campaigns only."
1450
- },
1451
- "ai-max-text": {
1452
- type: "boolean",
1453
- description: "AI Max text customization: --ai-max-text lets Google write ad text from your landing page and ads (needs AI Max on); --ai-max-text=false stops it. Required before text guidelines."
1454
- },
1455
- "ai-max-url-expansion": {
1456
- type: "boolean",
1457
- description: "AI Max final URL expansion: --ai-max-url-expansion lets Google send clicks to the most relevant page of your site (needs text customization on); --ai-max-url-expansion=false keeps every click on your final URLs."
1458
- }
1459
- };
1460
- function aiMaxFromFlags(args) {
1461
- const flag = (name) => typeof args[name] === "boolean" ? args[name] : void 0;
1462
- const aiMax = {
1463
- enabled: flag("ai-max"),
1464
- textCustomization: flag("ai-max-text"),
1465
- finalUrlExpansion: flag("ai-max-url-expansion")
1466
- };
1467
- const stated = Object.entries(aiMax).filter(([, v]) => v !== void 0);
1468
- return stated.length > 0 ? Object.fromEntries(stated) : void 0;
1469
- }
1470
- var textGuidelinesArgs = {
1471
- "term-exclusion": {
1472
- type: "string",
1473
- description: `Text guidelines (AI Max Search and Performance Max): a word or phrase Google's generated ad text must never use, up to 30 characters (e.g. --term-exclusion "cheap"). Repeat for several; Google allows 25. REPLACES the campaign's whole list.`
1474
- },
1475
- "messaging-restriction": {
1476
- type: "string",
1477
- description: `Text guidelines (AI Max Search and Performance Max): a plain-language rule for Google's generated ad text, up to 300 characters (e.g. --messaging-restriction "Never promise a delivery date"). Repeat for several; Google allows 40. REPLACES the campaign's whole list.`
1478
- },
1479
- "clear-term-exclusions": {
1480
- type: "boolean",
1481
- description: "Remove every term exclusion from this campaign's text guidelines."
1482
- },
1483
- "clear-messaging-restrictions": {
1484
- type: "boolean",
1485
- description: "Remove every messaging restriction from this campaign's text guidelines."
1486
- }
1487
- };
1488
- function guidelineListFromFlags(args, rawArgs, flag, clearFlag) {
1489
- const values = repeatedValues(rawArgs, flag, args[flag]).filter((v) => v.length > 0);
1490
- if (values.length === 0) {
1491
- return args[clearFlag] === true ? [] : void 0;
1492
- }
1493
- if (args[clearFlag] === true) {
1494
- failWriteValidation(`--${clearFlag} removes the whole list \u2014 pass it OR --${flag}, not both`);
1495
- }
1496
- return values;
1497
- }
1498
- function textGuidelinesFromFlags(args, rawArgs) {
1499
- const termExclusions = guidelineListFromFlags(args, rawArgs, "term-exclusion", "clear-term-exclusions");
1500
- const messagingRestrictions = guidelineListFromFlags(
1501
- args,
1502
- rawArgs,
1503
- "messaging-restriction",
1504
- "clear-messaging-restrictions"
1505
- );
1506
- if (termExclusions === void 0 && messagingRestrictions === void 0) {
1507
- return void 0;
1508
- }
1509
- return {
1510
- ...termExclusions !== void 0 ? { termExclusions } : {},
1511
- ...messagingRestrictions !== void 0 ? { messagingRestrictions } : {}
1512
- };
1513
- }
1514
- var geoTargetTypeArgs = {
1515
- "geo-target-type": {
1516
- type: "string",
1517
- description: 'Location option \u2014 PRESENCE (only people in your targeted locations) or PRESENCE_OR_INTEREST (also people interested in them). Google applies PRESENCE_OR_INTEREST when this is left out, so pass PRESENCE explicitly for local-service, delivery-radius or in-store campaigns. Sets the same "Location options" as the Google Ads UI.'
1518
- },
1519
- "negative-geo-target-type": {
1520
- type: "string",
1521
- description: "How EXCLUDED locations are matched \u2014 PRESENCE (default: excludes people in the location) or PRESENCE_OR_INTEREST (also excludes people interested in it)."
1522
- }
1523
- };
1524
- function enumFlag(value, flag, allowed) {
1525
- if (typeof value !== "string" || value.length === 0) {
1526
- return void 0;
1527
- }
1528
- const upper = value.toUpperCase();
1529
- if (!allowed.includes(upper)) {
1530
- failWriteValidation(`${flag} must be one of ${allowed.join(" | ")}`);
1531
- }
1532
- return upper;
1533
- }
1534
- function geoTargetTypeFromFlags(args) {
1535
- const positiveGeoTargetType = enumFlag(args["geo-target-type"], "--geo-target-type", POSITIVE_GEO_TARGET_TYPES);
1536
- const negativeGeoTargetType = enumFlag(
1537
- args["negative-geo-target-type"],
1538
- "--negative-geo-target-type",
1539
- NEGATIVE_GEO_TARGET_TYPES
1540
- );
1541
- if (positiveGeoTargetType === void 0 && negativeGeoTargetType === void 0) {
1542
- return void 0;
1543
- }
1544
- return Object.fromEntries(
1545
- Object.entries({ positiveGeoTargetType, negativeGeoTargetType }).filter(([, v]) => v !== void 0)
1546
- );
1547
- }
1548
- var NETWORK_SETTING_KEYS = [
1549
- "targetGoogleSearch",
1550
- "targetSearchNetwork",
1551
- "targetContentNetwork",
1552
- "targetPartnerSearchNetwork"
1553
- ];
1554
- var NETWORK_FLAG_VALUES = {
1555
- search: "targetGoogleSearch",
1556
- "search-partners": "targetSearchNetwork",
1557
- partners: "targetSearchNetwork",
1558
- display: "targetContentNetwork",
1559
- "partner-search": "targetPartnerSearchNetwork"
1560
- };
1561
- var networksArg = {
1562
- networks: {
1563
- type: "string",
1564
- description: `Networks to serve on, comma-separated: search | search-partners | display | partner-search. Every network you do not list is turned OFF, so state the whole set. Start here: --networks search \u2014 a new Search campaign left unset publishes on Google Search only, because Google's own default adds Search partners and the Display network, which spends the same budget on surfaces the advertiser did not pick. Sets the same "Networks" as the Google Ads UI.`
1565
- }
1566
- };
1567
- function networkSettingsFromFlags(args) {
1568
- const raw = args.networks;
1569
- if (typeof raw !== "string") {
1570
- return void 0;
1571
- }
1572
- const names = raw.split(",").map((n) => n.trim().toLowerCase()).filter((n) => n.length > 0);
1573
- const allowed = Object.keys(NETWORK_FLAG_VALUES).join(" | ");
1574
- if (names.length === 0) {
1575
- failWriteValidation(`--networks needs at least one of ${allowed}`);
1576
- }
1577
- const settings = Object.fromEntries(NETWORK_SETTING_KEYS.map((k) => [k, false]));
1578
- for (const name of names) {
1579
- const key = NETWORK_FLAG_VALUES[name];
1580
- if (!key) {
1581
- failWriteValidation(`--networks must list only ${allowed}`);
1582
- }
1583
- settings[key] = true;
1584
- }
1585
- return settings;
1586
- }
1587
- function networksHints(payload) {
1588
- if (payload.networkSettings !== void 0) {
1589
- return [];
1590
- }
1591
- if (payload.channelType !== "SEARCH") {
1592
- return [];
1593
- }
1594
- return [
1595
- "No --networks set, so this campaign publishes on Google Search only \u2014 Search partners and the Display network are off. Re-stage with --networks search,search-partners (or add display) to widen it, and tell the user which networks this campaign serves on."
1596
- ];
1597
- }
1598
- function geoTargetTypeHints(payload) {
1599
- if (payload.geoTargetTypeSetting !== void 0) {
1600
- return [];
1601
- }
1602
- return [
1603
- `No --geo-target-type set, so this campaign will use Google's default location option "Presence or interest" \u2014 it reaches people interested in your locations, not only people in them. Re-stage with --geo-target-type PRESENCE if the offer is local (in-store, delivery radius, service area), and tell the user which of the two this campaign uses.`
1604
- ];
1605
- }
1606
- var accountSettingsArgs = {
1607
- "auto-tagging": {
1608
- type: "boolean",
1609
- description: "Auto-tagging: --auto-tagging adds Google's click id (gclid) to every landing page; --auto-tagging=false stops it, and conversion tracking, offline conversion uploads and the Google Analytics link lose the click they match on."
1610
- },
1611
- "tracking-template": {
1612
- type: "string",
1613
- description: 'Account tracking template \u2014 the click-measurement URL every ad routes through unless a campaign, ad group or ad sets its own. Must carry the landing page through {lpurl}, e.g. "{lpurl}?src=google". Pass "" to clear it.'
1614
- },
1615
- "final-url-suffix": {
1616
- type: "string",
1617
- description: 'Account final URL suffix \u2014 bare query params appended to every landing page, no leading "?" (e.g. "utm_source=google&utm_agency=baker"). A campaign, ad group or ad suffix REPLACES it there. Pass "" to clear it.'
1618
- },
1619
- "call-reporting": {
1620
- type: "boolean",
1621
- description: "Call reporting: --call-reporting counts and reports calls from call assets; --call-reporting=false stops it."
1622
- },
1623
- "call-conversions": {
1624
- type: "boolean",
1625
- description: "Whether calls from ads count as conversions: --call-conversions / --call-conversions=false. Needs call reporting on."
1626
- },
1627
- "video-inventory": {
1628
- type: "string",
1629
- description: "Video inventory (brand safety) for YouTube and video placements: EXPANDED | STANDARD | LIMITED \u2014 limited shows ads beside the narrowest, safest range of content."
1630
- }
1631
- };
1632
- var VIDEO_INVENTORY_LEVELS = ["EXPANDED", "STANDARD", "LIMITED"];
1633
- function accountSettingsFromFlags(args) {
1634
- const flag = (name) => typeof args[name] === "boolean" ? args[name] : void 0;
1635
- const text = (name) => typeof args[name] === "string" ? args[name] : void 0;
1636
- const inventory = text("video-inventory")?.toUpperCase().replace(/_INVENTORY$/, "");
1637
- if (inventory !== void 0 && !VIDEO_INVENTORY_LEVELS.includes(inventory)) {
1638
- failWriteValidation(`--video-inventory must be ${VIDEO_INVENTORY_LEVELS.join(" | ")}`);
1639
- }
1640
- const payload = {
1641
- autoTaggingEnabled: flag("auto-tagging"),
1642
- trackingUrlTemplate: text("tracking-template"),
1643
- finalUrlSuffix: text("final-url-suffix"),
1644
- callReportingEnabled: flag("call-reporting"),
1645
- callConversionReportingEnabled: flag("call-conversions"),
1646
- videoBrandSafety: inventory === void 0 ? void 0 : `${inventory}_INVENTORY`
1647
- };
1648
- return Object.fromEntries(Object.entries(payload).filter(([, value]) => value !== void 0));
1649
- }
1650
- var ACCOUNT_LEVEL_URL_FLAGS = {
1651
- "final-url-suffix": "finalUrlSuffix",
1652
- "tracking-template": "trackingUrlTemplate"
1653
- };
1654
- function accountLevelUrlOptions(args) {
1655
- const kebab = (key) => key.replace(/[A-Z]/g, (c) => `-${c.toLowerCase()}`);
1656
- const ignored = /* @__PURE__ */ new Set(["level", "customer-id", "_", "id", ...Object.keys(ACCOUNT_LEVEL_URL_FLAGS)]);
1657
- const other = [
1658
- ...new Set(
1659
- Object.entries(args).filter(([key, value]) => !ignored.has(kebab(key)) && value !== void 0 && value !== false).map(([key]) => kebab(key))
1660
- )
1661
- ];
1662
- if (other.length > 0) {
1663
- failWriteValidation(
1664
- `--level account stages the account's final URL suffix and tracking template only \u2014 ${other.map((key) => `--${key}`).join(", ")} ${other.length === 1 ? "is a campaign setting" : "are campaign settings"}. Stage the account change alone, and the rest with \`baker ads google campaigns update <campaign-id>\` (or other account settings with \`baker ads google account update\`).`
1665
- );
1666
- }
1667
- const payload = Object.fromEntries(
1668
- Object.entries(ACCOUNT_LEVEL_URL_FLAGS).flatMap(
1669
- ([flag, key]) => typeof args[flag] === "string" ? [[key, args[flag]]] : []
1670
- )
1671
- );
1672
- if (Object.keys(payload).length === 0) {
1673
- failWriteValidation('--level account needs --final-url-suffix or --tracking-template (pass "" to clear one)');
1674
- }
1675
- return payload;
1676
- }
1677
- function accountUrlOptionHints(customerId) {
1678
- return [
1679
- `A campaign, ad group or ad that sets its own suffix or template REPLACES the account one there \u2014 run \`baker ads google url-options --customer-id ${customerId}\` and tell the user which ones will not pick this up.`
1680
- ];
1681
- }
1682
- var accountCommand = defineCommand4({
1683
- meta: {
1684
- name: "account",
1685
- description: "Stage the account's own settings \u2014 auto-tagging, account tracking template and final URL suffix, call reporting, video inventory (brand safety). Start here for an account-wide UTM or agency tag."
1686
- },
1687
- subCommands: {
1688
- update: withEffect(
1689
- googleStaged("google.customer.update"),
1690
- defineCommand4({
1691
- meta: {
1692
- name: "update",
1693
- description: `Stage a change to the account's settings (Google Ads \u2192 Admin \u2192 Account settings). One op per account; restaging amends it. ${STAGED_WRITE}
1694
-
1695
- Examples:
1696
- baker ads google account update --customer-id 1234567890 --final-url-suffix "utm_source=google&utm_agency=baker"
1697
- baker ads google account update --customer-id 1234567890 --auto-tagging
1698
- baker ads google account update --customer-id 1234567890 --call-reporting --call-conversions
1699
- baker ads google account update --customer-id 1234567890 --video-inventory LIMITED
1700
- baker ads google account update --customer-id 1234567890 --final-url-suffix "" \u2014 clear it`
1701
- },
1702
- args: { ...customerIdArg, ...fileArg("google.customer.update"), ...accountSettingsArgs },
1703
- run: async ({ args }) => {
1704
- const customerId = requireCustomerId(args);
1705
- const payload = mergePayload(loadJsonFileArg(args.file), accountSettingsFromFlags(args));
1706
- const urlHints = payload.finalUrlSuffix !== void 0 || payload.trackingUrlTemplate !== void 0 ? accountUrlOptionHints(customerId) : [];
1707
- await stageUpdate("google.customer.update", customerId, customerId, payload, urlHints);
1708
- }
1709
- })
1710
- )
1711
- }
1712
- });
1713
- var campaignsCommand = defineCommand4({
1714
- meta: { name: "campaigns", description: "Stage campaign create/update/pause/resume/remove" },
1715
- subCommands: {
1716
- create: withEffect(
1717
- googleStaged("google.campaign.create"),
1718
- defineCommand4({
1719
- meta: {
1720
- name: "create",
1721
- description: `Stage a new campaign on a budget (--budget-ref); it is created paused unless --status ENABLED. ${STAGED_WRITE}`
1722
- },
1723
- args: {
1724
- ...customerIdArg,
1725
- ...fileArg("google.campaign.create"),
1726
- name: { type: "string", description: 'Campaign name, unique in the account (e.g. "Search \u2014 Brand \u2014 ES")' },
1727
- "channel-type": {
1728
- type: "string",
1729
- description: "SEARCH | DISPLAY | PERFORMANCE_MAX | DEMAND_GEN | SHOPPING (--merchant-id) | MULTI_CHANNEL = App (--sub-type APP_CAMPAIGN --app-id --app-store --app-goal) | TRAVEL (--travel-account-id) | HOTEL (--hotel-center-id). Video, Smart and Local campaigns are refused with the reason and the route (video on YouTube \u2192 DEMAND_GEN)."
1730
- },
1731
- "sub-type": {
1732
- type: "string",
1733
- description: "Leave out for a standard campaign. APP_CAMPAIGN (installs) or APP_CAMPAIGN_FOR_ENGAGEMENT on an App campaign (required); DISPLAY_MOBILE_APP on Display. Travel's own sub-type is sent for you."
1734
- },
1735
- "budget-ref": { type: "string", description: "Budget ref (g_temp_*, id, or resource name)" },
1736
- ...portfolioRefArg,
1737
- "bidding-strategy": {
1738
- type: "string",
1739
- description: "MANUAL_CPC | MAXIMIZE_CONVERSIONS | MAXIMIZE_CONVERSION_VALUE | TARGET_SPEND | TARGET_IMPRESSION_SHARE | TARGET_CPA | TARGET_ROAS | TARGET_CPC | MANUAL_CPM. Each campaign type takes only some \u2014 staging refuses the rest and names the ones that work."
1740
- },
1741
- "target-cpa": {
1742
- type: "string",
1743
- description: "Target CPA (major units). On a Search campaign pair it with --bidding-strategy MAXIMIZE_CONVERSIONS \u2014 Google keeps the target inside that strategy and rejects a standalone TARGET_CPA."
1744
- },
1745
- "target-roas": {
1746
- type: "string",
1747
- description: "Target ROAS (e.g. 4.0). On a Search campaign pair it with --bidding-strategy MAXIMIZE_CONVERSION_VALUE \u2014 Google keeps the target inside that strategy and rejects a standalone TARGET_ROAS."
1748
- },
1749
- "target-cpc": {
1750
- type: "string",
1751
- description: "Target CPC (major units) for Demand Gen \u2014 pair it with --bidding-strategy TARGET_CPC. Demand Gen only; other channels have no target CPC."
1752
- },
1753
- ...maxCpcArg,
1754
- ...finalUrlSuffixArg,
1755
- ...urlOptionsArgs,
1756
- ...geoTargetTypeArgs,
1757
- ...networksArg,
1758
- ...aiMaxArgs,
1759
- ...shoppingArgs,
1760
- ...appArgs,
1761
- ...linkedAccountArgs,
1762
- ...dynamicSearchAdsArgs,
1763
- ...frequencyCapArgs,
1764
- ...textGuidelinesArgs,
1765
- ...assetAutomationArgs,
1766
- ...brandGuidelinesCreateArgs,
1767
- objective: { type: "string", description: "Advisory UI objective (SALES, LEADS, \u2026)" },
1768
- "start-date": { type: "string", description: "YYYY-MM-DD" },
1769
- "end-date": { type: "string", description: "YYYY-MM-DD" },
1770
- "eu-political-ads": {
1771
- type: "boolean",
1772
- description: "Pass when the campaign contains EU political advertising. Google requires the declaration on every new campaign; omitted stages the campaign as not containing EU political ads."
1773
- },
1774
- status: { type: "string", description: "ENABLED | PAUSED (default PAUSED)" }
1775
- },
1776
- run: async ({ args, rawArgs }) => {
1777
- const customerId = requireCustomerId(args);
1778
- const payload = mergePayload(loadJsonFileArg(args.file), {
1779
- name: args.name,
1780
- channelType: args["channel-type"],
1781
- channelSubType: args["sub-type"],
1782
- budget: args["budget-ref"],
1783
- bidding: biddingFromFlags(args),
1784
- biddingStrategy: args["portfolio-ref"],
1785
- geoTargetTypeSetting: geoTargetTypeFromFlags(args),
1786
- networkSettings: networkSettingsFromFlags(args),
1787
- finalUrlSuffix: args["final-url-suffix"],
1788
- trackingUrlTemplate: args["tracking-template"],
1789
- urlCustomParameters: urlCustomParametersFromFlags(args, rawArgs),
1790
- objective: args.objective,
1791
- startDate: args["start-date"],
1792
- endDate: args["end-date"],
1793
- euPoliticalAds: args["eu-political-ads"],
1794
- aiMax: aiMaxFromFlags(args),
1795
- shoppingSetting: shoppingSettingFromFlags(args),
1796
- ...appSettingsFromFlags(args),
1797
- ...linkedAccountFromFlags(args),
1798
- dynamicSearchAdsSetting: dynamicSearchAdsFromFlags(args),
1799
- frequencyCaps: frequencyCapsFromFlags(args, rawArgs),
1800
- textGuidelines: textGuidelinesFromFlags(args, rawArgs),
1801
- assetAutomation: assetAutomationFromFlags(args),
1802
- brandGuidelines: brandGuidelinesFromFlags(args, "create"),
1803
- status: args.status
1804
- });
1805
- await stageCreate("google.campaign.create", customerId, payload, [
1806
- ...geoTargetTypeHints(payload),
1807
- ...networksHints(payload)
1808
- ]);
1809
- }
1810
- })
1811
- ),
1812
- update: withEffect(
1813
- googleStaged("google.campaign.update", "google.customer.update"),
1814
- defineCommand4({
1815
- meta: {
1816
- name: "update",
1817
- description: `Stage a change to an existing campaign's name, budget, bidding, settings, AI Max switches or text guidelines (what AI Max and Performance Max ad text must avoid). ${STAGED_WRITE}`
1818
- },
1819
- args: {
1820
- ...customerIdArg,
1821
- ...targetArg("campaign"),
1822
- ...fileArg("google.campaign.update"),
1823
- name: { type: "string", description: "New campaign name, unique in the account" },
1824
- "budget-ref": { type: "string" },
1825
- ...portfolioRefArg,
1826
- "bidding-strategy": {
1827
- type: "string",
1828
- description: "MANUAL_CPC | MAXIMIZE_CONVERSIONS | MAXIMIZE_CONVERSION_VALUE | TARGET_SPEND | TARGET_IMPRESSION_SHARE | TARGET_CPA | TARGET_ROAS | TARGET_CPC | MANUAL_CPM. Each campaign type takes only some \u2014 staging refuses the rest and names the ones that work."
1829
- },
1830
- "target-cpa": {
1831
- type: "string",
1832
- description: "Target CPA (major units). On a Search campaign pair it with --bidding-strategy MAXIMIZE_CONVERSIONS \u2014 Google keeps the target inside that strategy and rejects a standalone TARGET_CPA."
1833
- },
1834
- "target-roas": {
1835
- type: "string",
1836
- description: "Target ROAS (e.g. 4.0). On a Search campaign pair it with --bidding-strategy MAXIMIZE_CONVERSION_VALUE \u2014 Google keeps the target inside that strategy and rejects a standalone TARGET_ROAS."
1837
- },
1838
- "target-cpc": {
1839
- type: "string",
1840
- description: "Target CPC (major units) for Demand Gen \u2014 pair it with --bidding-strategy TARGET_CPC. Demand Gen only; other channels have no target CPC."
1841
- },
1842
- ...maxCpcArg,
1843
- ...finalUrlSuffixArg,
1844
- ...urlOptionsArgs,
1845
- ...geoTargetTypeArgs,
1846
- ...networksArg,
1847
- ...textGuidelinesArgs,
1848
- ...aiMaxArgs,
1849
- ...shoppingUpdateArgs,
1850
- ...dynamicSearchAdsArgs,
1851
- ...frequencyCapArgs,
1852
- ...assetAutomationArgs,
1853
- ...brandStyleArgs,
1854
- "eu-political-ads": {
1855
- type: "boolean",
1856
- description: "Corrects the campaign's EU political advertising declaration: --eu-political-ads if it contains EU political ads, --eu-political-ads=false if it does not. Existing campaigns without a declaration block location-targeting changes until one is set."
1857
- },
1858
- level: {
1859
- type: "string",
1860
- description: "campaign (default) | account. `account` stages --final-url-suffix / --tracking-template on the ACCOUNT (every campaign without its own inherits it) \u2014 same as `baker ads google account update`."
1861
- },
1862
- status: { type: "string" }
1863
- },
1864
- run: async ({ args, rawArgs }) => {
1865
- const customerId = requireCustomerId(args);
1866
- const level = typeof args.level === "string" && args.level.length > 0 ? args.level : "campaign";
1867
- if (level === "account") {
1868
- const payload2 = accountLevelUrlOptions(args);
1869
- await stageUpdate(
1870
- "google.customer.update",
1871
- customerId,
1872
- customerId,
1873
- payload2,
1874
- accountUrlOptionHints(customerId)
1875
- );
1876
- return;
1877
- }
1878
- if (level !== "campaign") {
1879
- failWriteValidation("--level must be campaign or account");
1880
- }
1881
- const target = requireTarget(args, "campaign");
1882
- const payload = mergePayload(loadJsonFileArg(args.file), {
1883
- name: args.name,
1884
- budget: args["budget-ref"],
1885
- bidding: biddingFromFlags(args),
1886
- biddingStrategy: args["portfolio-ref"],
1887
- geoTargetTypeSetting: geoTargetTypeFromFlags(args),
1888
- networkSettings: networkSettingsFromFlags(args),
1889
- finalUrlSuffix: args["final-url-suffix"],
1890
- trackingUrlTemplate: args["tracking-template"],
1891
- urlCustomParameters: urlCustomParametersFromFlags(args, rawArgs),
1892
- euPoliticalAds: args["eu-political-ads"],
1893
- textGuidelines: textGuidelinesFromFlags(args, rawArgs),
1894
- aiMax: aiMaxFromFlags(args),
1895
- shoppingSetting: shoppingSettingUpdateFromFlags(args),
1896
- dynamicSearchAdsSetting: dynamicSearchAdsFromFlags(args),
1897
- frequencyCaps: frequencyCapsFromFlags(args, rawArgs),
1898
- assetAutomation: assetAutomationFromFlags(args),
1899
- brandGuidelines: brandGuidelinesFromFlags(args, "update"),
1900
- status: args.status
1901
- });
1902
- await stageUpdate("google.campaign.update", customerId, target, payload);
1903
- }
1904
- })
1905
- ),
1906
- pause: statusCommand("google.campaign.pause", "campaign"),
1907
- resume: statusCommand("google.campaign.resume", "campaign"),
1908
- remove: statusCommand("google.campaign.remove", "campaign"),
1909
- "enable-brand-guidelines": withEffect(
1910
- googleStaged("google.campaign.enableBrandGuidelines"),
1911
- defineCommand4({
1912
- meta: {
1913
- name: "enable-brand-guidelines",
1914
- description: `Turn brand guidelines on for an existing Performance Max campaign (Google fixes them at creation otherwise). Start here: \`baker ads google campaigns enable-brand-guidelines <id> --business-name-asset <id> --logo-assets <id> --final-url-domain example.com\`, or \`--auto-populate\` to take them from its asset groups. Applied at publish; \`draft validate\` cannot check it (Google has no dry run for it). ${STAGED_WRITE}`
1915
- },
1916
- args: {
1917
- ...customerIdArg,
1918
- ...fileArg("google.campaign.enableBrandGuidelines"),
1919
- id: { type: "positional", description: "Performance Max campaign id or resource name", required: false },
1920
- ...enableBrandGuidelinesArgs
1921
- },
1922
- run: async ({ args }) => {
1923
- const customerId = requireCustomerId(args);
1924
- const payload = mergePayload(loadJsonFileArg(args.file), enableBrandGuidelinesFromFlags(args));
1925
- await stageUpdate(
1926
- "google.campaign.enableBrandGuidelines",
1927
- customerId,
1928
- requireTarget(args, "campaign"),
1929
- payload
1930
- );
1931
- }
1932
- })
1933
- )
1934
- }
1935
- });
1936
- function statusCommand(kind, entity, hints) {
1937
- return withEffect(
1938
- googleStaged(kind),
1939
- defineCommand4({
1940
- meta: {
1941
- name: kind.split(".")[2],
1942
- description: `Stage a ${entity} ${kind.split(".")[2]}. Several? Stage them in one call with \`baker ads google draft stage --file ops.json\` \u2014 never one command per row.`
1943
- },
1944
- args: {
1945
- ...customerIdArg,
1946
- id: { type: "positional", description: `${entity} resource name or id`, required: false }
1947
- },
1948
- run: async ({ args }) => {
1949
- const customerId = requireCustomerId(args);
1950
- await stageTarget(kind, customerId, requireTarget(args, entity), hints);
1951
- }
1952
- })
1953
- );
1954
- }
1955
- function demandGenChannelsFlag(value) {
1956
- if (typeof value !== "string" || value.trim() === "") {
1957
- return void 0;
1958
- }
1959
- const canonical = new Map(DEMAND_GEN_CHANNELS.map((channel) => [channel.toLowerCase(), channel]));
1960
- const channels = {};
1961
- for (const raw of value.split(",")) {
1962
- const name = raw.trim().replace(/[-_\s]/g, "").toLowerCase();
1963
- if (name === "") {
1964
- continue;
1965
- }
1966
- if (name === "youtube") {
1967
- channels.youtubeInStream = true;
1968
- channels.youtubeInFeed = true;
1969
- channels.youtubeShorts = true;
1970
- continue;
1971
- }
1972
- const channel = canonical.get(name);
1973
- if (!channel) {
1974
- failWriteValidation(
1975
- `"${raw.trim()}" is not a Demand Gen channel. Name any of: ${DEMAND_GEN_CHANNELS.join(", ")} \u2014 or "youtube" for all three YouTube surfaces.`
1976
- );
1977
- }
1978
- channels[channel] = true;
1979
- }
1980
- return Object.keys(channels).length > 0 ? channels : void 0;
1981
- }
1982
- function optimizedTargetingFlag(value) {
1983
- if (typeof value !== "string" || value.trim() === "") {
1984
- return void 0;
1985
- }
1986
- const word = value.trim().toLowerCase();
1987
- if (word === "on" || word === "true") {
1988
- return true;
1989
- }
1990
- if (word === "off" || word === "false") {
1991
- return false;
1992
- }
1993
- return failWriteValidation("--optimized-targeting takes on or off.");
1994
- }
1995
- var demandGenAdGroupArgs = {
1996
- channels: {
1997
- type: "string",
1998
- description: 'Demand Gen only \u2014 the channels this ad group may serve on, comma-separated; everything else is off. "youtube" covers in-stream, in-feed and Shorts. Start here: --channels youtube. Channels: youtubeInStream, youtubeInFeed, youtubeShorts, discover, gmail, display, maps'
1999
- },
2000
- "channel-strategy": {
2001
- type: "string",
2002
- description: "Demand Gen only, instead of --channels: ALL_CHANNELS | ALL_OWNED_AND_OPERATED_CHANNELS (Google's own surfaces, Display off)"
2003
- },
2004
- "optimized-targeting": {
2005
- type: "string",
2006
- description: "on | off \u2014 whether Google may serve beyond the audience this ad group names. Off is what a YouTube playbook asks for. Also valid on Display and Video ad groups"
2007
- }
2008
- };
2009
- function demandGenAdGroupPayload(args) {
2010
- return {
2011
- channels: demandGenChannelsFlag(args.channels),
2012
- channelStrategy: typeof args["channel-strategy"] === "string" ? args["channel-strategy"] : void 0,
2013
- optimizedTargeting: optimizedTargetingFlag(args["optimized-targeting"])
2014
- };
2015
- }
2016
- var adGroupsCommand = defineCommand4({
2017
- meta: { name: "ad-groups", description: "Stage ad group create/update/pause/resume/remove" },
2018
- subCommands: {
2019
- create: withEffect(
2020
- googleStaged("google.adGroup.create"),
2021
- defineCommand4({
2022
- meta: {
2023
- name: "create",
2024
- description: `Stage a new ad group in a campaign (--campaign-ref); it is created paused unless --status ENABLED, or unless this draft creates that campaign enabled. ${STAGED_WRITE}`
2025
- },
2026
- args: {
2027
- ...customerIdArg,
2028
- ...fileArg("google.adGroup.create"),
2029
- name: {
2030
- type: "string",
2031
- description: 'Ad group name, unique within its campaign (e.g. "Solar panels \u2014 price")'
2032
- },
2033
- "campaign-ref": { type: "string", description: "Campaign ref (g_temp_*, id, or resource name)" },
2034
- type: {
2035
- type: "string",
2036
- description: "Ad group type \u2014 leave it out and Google derives it from the campaign's channel, which is required on a Demand Gen campaign (there is no Demand Gen ad group type). SEARCH_STANDARD | DISPLAY_STANDARD | SHOPPING_PRODUCT_ADS | VIDEO_*"
2037
- },
2038
- "cpc-bid": { type: "string", description: "Default CPC bid in major units" },
2039
- status: {
2040
- type: "string",
2041
- description: "ENABLED | PAUSED \u2014 left out: ENABLED when this draft creates the campaign enabled, else default PAUSED (pass ENABLED to serve inside a campaign that is already live)"
2042
- },
2043
- ...demandGenAdGroupArgs
2044
- },
2045
- run: async ({ args }) => {
2046
- const customerId = requireCustomerId(args);
2047
- const payload = mergePayload(loadJsonFileArg(args.file), {
2048
- name: args.name,
2049
- campaign: args["campaign-ref"],
2050
- type: args.type,
2051
- cpcBidMicros: microsFlag(args["cpc-bid"], "--cpc-bid"),
2052
- status: args.status,
2053
- ...demandGenAdGroupPayload(args)
2054
- });
2055
- await stageCreate("google.adGroup.create", customerId, payload);
2056
- }
2057
- })
2058
- ),
2059
- update: withEffect(
2060
- googleStaged("google.adGroup.update"),
2061
- defineCommand4({
2062
- meta: {
2063
- name: "update",
2064
- description: `Stage a change to an existing ad group's name, default CPC bid, status, Demand Gen channels or optimized targeting. ${STAGED_WRITE}`
2065
- },
2066
- args: {
2067
- ...customerIdArg,
2068
- ...targetArg("ad group"),
2069
- ...fileArg("google.adGroup.update"),
2070
- name: { type: "string", description: "New ad group name, unique within its campaign" },
2071
- "cpc-bid": { type: "string" },
2072
- status: { type: "string" },
2073
- ...demandGenAdGroupArgs
2074
- },
2075
- run: async ({ args }) => {
2076
- const customerId = requireCustomerId(args);
2077
- const target = requireTarget(args, "ad group");
2078
- const payload = mergePayload(loadJsonFileArg(args.file), {
2079
- name: args.name,
2080
- cpcBidMicros: microsFlag(args["cpc-bid"], "--cpc-bid"),
2081
- status: args.status,
2082
- ...demandGenAdGroupPayload(args)
2083
- });
2084
- await stageUpdate("google.adGroup.update", customerId, target, payload);
2085
- }
2086
- })
2087
- ),
2088
- pause: statusCommand("google.adGroup.pause", "ad group"),
2089
- resume: statusCommand("google.adGroup.resume", "ad group"),
2090
- remove: statusCommand("google.adGroup.remove", "ad group")
2091
- }
2092
- });
2093
- var KEYWORD_KILL_HINTS = [
2094
- "Keyword metrics are per ad group. Decide this from keyword_view rows carrying ad_group.id + ad_group_criterion.criterion_id (`--preset keyword-analysis` returns both) \u2014 never from campaign totals or metrics summed across ad groups.",
2095
- "The same keyword text in several ad groups shares ONE criterion id, so an aggregate blends the copy that holds the history with the copies that never served. Compare the copies row by row and keep the one with the impressions/conversions; if the keyword is duplicated and only one copy performs, pause the others, not it."
2096
- ];
2097
- function keywordKillHints(status) {
2098
- const kills = typeof status === "string" && ["PAUSED", "REMOVED"].includes(status.toUpperCase());
2099
- return kills ? KEYWORD_KILL_HINTS : [];
2100
- }
2101
- function keywordFinalUrlHints(finalUrl, count) {
2102
- if (typeof finalUrl !== "string" || finalUrl.length === 0) {
2103
- return [];
2104
- }
2105
- return count > 1 ? [
2106
- `--final-url applied the same landing page to all ${count} keywords \u2014 the flag has no per-keyword form. A keyword-level URL only earns its place when that keyword must land somewhere the ad doesn't, so one URL shared by every keyword belongs on the ad instead: set the ad's final URL to this page and re-stage the keywords without --final-url. Keep it only if this page is genuinely each keyword's own destination and not the ad's.`
2107
- ] : [
2108
- "Keep --final-url only if this keyword's destination differs from the ad's final URL \u2014 otherwise drop it and let the keyword inherit the ad's landing page."
2109
- ];
2110
- }
2111
- function keywordUpdateFinalUrls(args) {
2112
- const finalUrl = args["final-url"];
2113
- const clear = args["clear-final-url"] === true;
2114
- if (typeof finalUrl !== "string" || finalUrl.length === 0) {
2115
- return clear ? [] : void 0;
2116
- }
2117
- if (clear) {
2118
- failWriteValidation(
2119
- "--clear-final-url sends the keyword back to the ad's landing page \u2014 pass it OR --final-url, not both"
2120
- );
2121
- }
2122
- return [finalUrl];
2123
- }
2124
- var keywordWriteSubcommands = {
2125
- add: withEffect(
2126
- googleStagedBatch("google.keyword.add"),
2127
- defineCommand4({
2128
- meta: { name: "add", description: "Add keyword(s) to an ad group \u2014 one --text or a whole batch" },
2129
- args: {
2130
- ...customerIdArg,
2131
- "ad-group-ref": { type: "string", description: "Ad group ref (g_temp_*, id, or resource name)" },
2132
- text: {
2133
- type: "string",
2134
- description: 'Keyword text \u2014 comma-separate for a batch, optional ":EXACT|:PHRASE|:BROAD" suffix per entry'
2135
- },
2136
- file: { type: "string", description: "Text file with one keyword[:MATCH_TYPE] per line" },
2137
- "match-type": { type: "string", description: "Default match type: EXACT | PHRASE | BROAD" },
2138
- "cpc-bid": { type: "string", description: "Keyword CPC bid in major units (applies to all)" },
2139
- "final-url": {
2140
- type: "string",
2141
- description: "Rarely needed: send THIS keyword to a page the ad doesn't go to. Applies to every keyword in the call, so leave it unset unless the destination is keyword-specific \u2014 otherwise set the ad's final URL"
2142
- },
2143
- full: STAGE_FULL_ARG
2144
- },
2145
- run: async ({ args, rawArgs }) => {
2146
- const customerId = requireCustomerId(args);
2147
- const adGroup = requireStringFlag(args["ad-group-ref"], "--ad-group-ref");
2148
- const cpcBidMicros = microsFlag(args["cpc-bid"], "--cpc-bid");
2149
- const finalUrls = args["final-url"] ? [args["final-url"]] : void 0;
2150
- const entries = keywordEntries(args, rawArgs);
2151
- await stageGoogleOps(
2152
- entries.map((entry) => ({
2153
- kind: "google.keyword.add",
2154
- customerId,
2155
- payload: { adGroup, text: entry.text, matchType: entry.matchType, cpcBidMicros, finalUrls }
2156
- })),
2157
- keywordFinalUrlHints(args["final-url"], entries.length),
2158
- args.full === true
2159
- );
2160
- }
2161
- })
2162
- ),
2163
- update: withEffect(
2164
- googleStaged("google.keyword.update"),
2165
- defineCommand4({
2166
- meta: {
2167
- name: "update",
2168
- description: "Update one keyword's bid, status or final URL. Many keywords? `keywords pause|resume` take a list, and `baker ads google draft stage --file` stages any mix of updates in one call."
2169
- },
2170
- args: {
2171
- ...customerIdArg,
2172
- ...targetArg("keyword"),
2173
- "cpc-bid": { type: "string" },
2174
- status: { type: "string" },
2175
- "final-url": {
2176
- type: "string",
2177
- description: "Rarely needed: send THIS keyword to a page the ad doesn't go to. Leave unset unless the destination is keyword-specific \u2014 otherwise set the ad's final URL"
2178
- },
2179
- "clear-final-url": {
2180
- type: "boolean",
2181
- description: "Drop this keyword's own landing page so it inherits the ad's again"
2182
- }
2183
- },
2184
- run: async ({ args }) => {
2185
- const customerId = requireCustomerId(args);
2186
- const finalUrls = keywordUpdateFinalUrls(args);
2187
- await stageUpdate(
2188
- "google.keyword.update",
2189
- customerId,
2190
- requireTarget(args, "keyword"),
2191
- { cpcBidMicros: microsFlag(args["cpc-bid"], "--cpc-bid"), status: args.status, finalUrls },
2192
- [...keywordKillHints(args.status), ...keywordFinalUrlHints(args["final-url"], 1)]
2193
- );
2194
- }
2195
- })
2196
- ),
2197
- remove: statusCommand("google.keyword.remove", "keyword", KEYWORD_KILL_HINTS),
2198
- pause: keywordStatusCommand("pause", "PAUSED"),
2199
- resume: keywordStatusCommand("resume", "ENABLED")
2200
- };
2201
- function keywordStatusCommand(verb, status) {
2202
- return withEffect(
2203
- googleStagedBatch("google.keyword.update"),
2204
- defineCommand4({
2205
- meta: {
2206
- name: verb,
2207
- description: `${verb === "pause" ? "Pause" : "Resume"} keyword(s) \u2014 every target in ONE call. Start here:
2208
- baker ads google keywords ${verb} customers/1234567890/adGroupCriteria/111~222 customers/1234567890/adGroupCriteria/111~333 --customer-id 1234567890
2209
- baker ads google keywords ${verb} --file keywords.txt --customer-id 1234567890 # one resource name per line, up to 500
2210
- Take each keyword's resource name (adGroupId~criterionId) from \`--preset keyword-analysis\` rows \u2014 the same text in another ad group is a different keyword. ${STAGED_WRITE}`
2211
- },
2212
- args: {
2213
- ...customerIdArg,
2214
- id: { type: "positional", description: "Keyword resource name(s) \u2014 several allowed", required: false },
2215
- file: { type: "string", description: "Text file with one keyword resource name per line" },
2216
- full: STAGE_FULL_ARG
2217
- },
2218
- run: async ({ args }) => {
2219
- const customerId = requireCustomerId(args);
2220
- await stageGoogleOps(
2221
- targetEntries(args, "keyword").map((target) => ({
2222
- kind: "google.keyword.update",
2223
- customerId,
2224
- target,
2225
- payload: { status }
2226
- })),
2227
- keywordKillHints(status),
2228
- args.full === true
2229
- );
2230
- }
2231
- })
2232
- );
2233
- }
2234
- function negativeCoverageHints(customerId, level, parents) {
2235
- const campaignIds = level === "campaign" ? parents.map((parent) => /^(?:customers\/\d+\/campaigns\/)?(\d+)$/.exec(parent)?.[1]) : [];
2236
- const known = campaignIds.length > 0 && campaignIds.every((id) => id !== void 0);
2237
- const scope = `--customer-id ${customerId} --campaign-id ${known ? campaignIds.join(",") : "<campaign id>"}`;
2238
- return [
2239
- `Before publishing, check the terms in one read: \`baker ads google negative-keywords check ${scope} --text "<the terms>" --match-type <type>\` \u2014 coveredBy names a live negative (campaign, every ad group, shared list or the account's list) already blocking all it would; add --full for the coverage of each ad group when the negative goes on one; convertingTerms and keywords name what it would wrongly block.`,
2240
- "If a term is already in a negative list but still shows in search terms, the list likely isn't attached to this campaign or its match type is narrower than the query \u2014 explain that instead of staging a duplicate negative."
2241
- ];
2242
- }
2243
- function negativeParents(args) {
2244
- const given = [
2245
- { flag: "--campaign-id", level: "campaign", value: args["campaign-id"] },
2246
- { flag: "--ad-group-id", level: "adGroup", value: args["ad-group-id"] },
2247
- { flag: "--parent-ref", level: void 0, value: args["parent-ref"] }
2248
- ].filter((entry) => entry.value !== void 0);
2249
- const [chosen] = given;
2250
- if (!chosen) {
2251
- failWriteValidation(
2252
- "pass where the negatives go: --ad-group-id <ids> or --campaign-id <ids> (comma-separated), or --level with --parent-ref"
2253
- );
2254
- }
2255
- if (given.length > 1) {
2256
- failWriteValidation(
2257
- `pass one of --campaign-id, --ad-group-id or --parent-ref, not ${given.map((e) => e.flag).join(" and ")}`
2258
- );
2259
- }
2260
- const level = chosen.level ?? requireStringFlag(args.level, "--level");
2261
- if (chosen.level !== void 0 && args.level !== void 0 && args.level !== chosen.level) {
2262
- failWriteValidation(`${chosen.flag} sets the level to ${chosen.level} \u2014 drop --level ${String(args.level)}`);
2263
- }
2264
- const parents = [
2265
- ...new Set(
2266
- requireStringFlag(chosen.value, chosen.flag).split(",").map((parent) => parent.trim()).filter(Boolean)
2267
- )
2268
- ];
2269
- if (parents.length === 0) {
2270
- failWriteValidation(`${chosen.flag} names no ad group or campaign`);
2271
- }
2272
- return { level, parents };
2273
- }
2274
- var negativeKeywordsCommand = defineCommand4({
2275
- meta: {
2276
- name: "negative-keywords",
2277
- description: "Stage negative keyword add/update/remove (ad-group or campaign level) \u2014 update changes text or match type"
2278
- },
2279
- subCommands: {
2280
- add: withEffect(
2281
- googleStagedBatch("google.negativeKeyword.add"),
2282
- defineCommand4({
2283
- meta: {
2284
- name: "add",
2285
- description: `Add negative keyword(s) \u2014 every term on every ad group or campaign in ONE call. Start here:
2286
- baker ads google negative-keywords add --customer-id 1234567890 --ad-group-id 111,222,333 --text "free,jobs" --match-type PHRASE
2287
- baker ads google negative-keywords add --customer-id 1234567890 --campaign-id 123 --file terms.txt # one term[:MATCH_TYPE] per line
2288
- Each term is staged on each parent. ${STAGED_WRITE}`
2289
- },
2290
- args: {
2291
- ...customerIdArg,
2292
- "campaign-id": {
2293
- type: "string",
2294
- description: "Campaign(s) the negatives go on, comma-separated \u2014 ids or g_temp_* refs"
2295
- },
2296
- "ad-group-id": {
2297
- type: "string",
2298
- description: "Ad group(s) the negatives go on, comma-separated \u2014 ids or g_temp_* refs"
2299
- },
2300
- level: { type: "string", description: "adGroup | campaign \u2014 with --parent-ref" },
2301
- "parent-ref": {
2302
- type: "string",
2303
- description: "Ad group or campaign ref(s), comma-separated \u2014 a g_temp_* ref, an id or a resource name"
2304
- },
2305
- text: {
2306
- type: "string",
2307
- description: 'Keyword text \u2014 comma-separate for a batch, optional ":MATCH_TYPE" suffix per entry'
2308
- },
2309
- file: { type: "string", description: "Text file with one keyword[:MATCH_TYPE] per line" },
2310
- "match-type": { type: "string", description: "Default match type: EXACT | PHRASE | BROAD" },
2311
- full: STAGE_FULL_ARG
2312
- },
2313
- run: async ({ args, rawArgs }) => {
2314
- const customerId = requireCustomerId(args);
2315
- const { level, parents } = negativeParents(args);
2316
- const entries = keywordEntries(args, rawArgs);
2317
- if (entries.length * parents.length > GOOGLE_DRAFT_BATCH_MAX) {
2318
- failWriteValidation(
2319
- `${entries.length} terms on ${parents.length} parents is ${entries.length * parents.length} negatives, over the batch limit of ${GOOGLE_DRAFT_BATCH_MAX} \u2014 split the parents`
2320
- );
2321
- }
2322
- await stageGoogleOps(
2323
- parents.flatMap(
2324
- (parent) => entries.map((entry) => ({
2325
- kind: "google.negativeKeyword.add",
2326
- customerId,
2327
- payload: { level, parent, text: entry.text, matchType: entry.matchType }
2328
- }))
2329
- ),
2330
- negativeCoverageHints(customerId, level, parents),
2331
- args.full === true
2332
- );
2333
- }
2334
- })
2335
- ),
2336
- update: withEffect(
2337
- googleStaged("google.negativeKeyword.update"),
2338
- defineCommand4({
2339
- meta: {
2340
- name: "update",
2341
- description: "Change a negative keyword's text or match type. Start here: `negative-keywords update customers/<cid>/adGroupCriteria/<adGroupId>~<criterionId> --match-type PHRASE`. Google never edits either on a live negative, so this publishes as a replace \u2014 the new negative added and the old one removed together, all or nothing. The field you leave out keeps its live value. Read them with `baker ads google negative-keywords list`."
2342
- },
2343
- args: {
2344
- ...customerIdArg,
2345
- id: {
2346
- type: "positional",
2347
- description: "customers/\u2026/adGroupCriteria/{adGroupId}~{criterionId} or campaignCriteria/{campaignId}~{criterionId}",
2348
- required: false
2349
- },
2350
- text: { type: "string", description: "The new text" },
2351
- "match-type": { type: "string", description: "EXACT | PHRASE | BROAD" }
2352
- },
2353
- run: async ({ args }) => {
2354
- const customerId = requireCustomerId(args);
2355
- const payload = {
2356
- ...args.text !== void 0 ? { text: args.text } : {},
2357
- ...args["match-type"] !== void 0 ? { matchType: args["match-type"] } : {}
2358
- };
2359
- if (Object.keys(payload).length === 0) {
2360
- failWriteValidation("pass --text and/or --match-type");
2361
- }
2362
- await stageUpdate(
2363
- "google.negativeKeyword.update",
2364
- customerId,
2365
- requireTarget(args, "negative keyword"),
2366
- payload
2367
- );
2368
- }
2369
- })
2370
- ),
2371
- remove: statusCommand("google.negativeKeyword.remove", "negative keyword", [
2372
- "Pass the full resource name \u2014 customers/{cid}/campaignCriteria/{campaignId}~{criterionId} or \u2026/adGroupCriteria/{adGroupId}~{criterionId}, read from the row's resource_name; a bare id is refused. A shared keyword list's member (\u2026/sharedCriteria/{listId}~{criterionId}) is staged as a removal from that list, which every campaign the list covers loses."
2373
- ])
2374
- }
2375
- });
2376
- var KEYWORD_LIST_REMOVAL = {
2377
- ...googleStagedBatch("google.sharedSetMember.remove"),
2378
- routes: ["POST /api/ads/google/draft/stage", "POST /api/ads/google/draft/stage-batch", "POST /api/ads/google/query"]
2379
- };
2380
- var keywordListsCommand = defineCommand4({
2381
- meta: {
2382
- name: "keyword-lists",
2383
- description: "Stage shared lists \u2014 negative keyword lists, placement exclusion lists (sites, apps, YouTube) and brand lists (create/rename/delete a list; add/remove its members; attach/detach a keyword or placement list on a campaign \u2014 a brand list goes on a campaign as a `brandList` criterion)."
2384
- },
2385
- subCommands: {
2386
- create: withEffect(
2387
- googleStaged("google.sharedSet.create"),
2388
- defineCommand4({
2389
- meta: {
2390
- name: "create",
2391
- description: "Stage a new shared list \u2014 negative keywords (default), placement exclusions, account-level negative keywords or brands (--type). Applies when the chat is published; returns a temp ref to pass as --list-ref to `keyword-lists add` and `attach`."
2392
- },
2393
- args: {
2394
- ...customerIdArg,
2395
- name: { type: "string", description: "List name (required)" },
2396
- type: {
2397
- type: "string",
2398
- description: "NEGATIVE_KEYWORDS (default) | NEGATIVE_PLACEMENTS (sites, apps, YouTube to exclude) | ACCOUNT_LEVEL_NEGATIVE_KEYWORDS (applied with `account-exclusions add`) | BRANDS (a brand list for brand exclusions / AI Max)"
2399
- }
2400
- },
2401
- run: async ({ args }) => {
2402
- const customerId = requireCustomerId(args);
2403
- await stageCreate("google.sharedSet.create", customerId, {
2404
- name: requireStringFlag(args.name, "--name"),
2405
- type: args.type
2406
- });
2407
- }
2408
- })
2409
- ),
2410
- add: withEffect(
2411
- googleStagedBatch("google.sharedSetMember.add"),
2412
- defineCommand4({
2413
- meta: {
2414
- name: "add",
2415
- description: 'Add members to a shared list \u2014 keywords to a negative keyword list (--text / --file), or sites, apps and YouTube to a NEGATIVE_PLACEMENTS list (--placement, --app, --youtube-channel, --youtube-video) and brands to a BRANDS list (--brand). Start here: `keyword-lists add --list-ref <list> --placement "example.com,spam-site.net"`. A member the list type cannot hold is refused at staging.'
2416
- },
2417
- args: {
2418
- ...customerIdArg,
2419
- "list-ref": { type: "string", description: "Shared set ref" },
2420
- text: {
2421
- type: "string",
2422
- description: 'Keyword text \u2014 comma-separate for a batch, optional ":MATCH_TYPE" suffix per entry'
2423
- },
2424
- file: { type: "string", description: "Text file with one keyword[:MATCH_TYPE] per line" },
2425
- "match-type": { type: "string", description: "Default match type: EXACT | PHRASE | BROAD" },
2426
- ...LIST_MEMBER_ARGS,
2427
- full: STAGE_FULL_ARG
2428
- },
2429
- run: async ({ args, rawArgs }) => {
2430
- const customerId = requireCustomerId(args);
2431
- const sharedSet = requireStringFlag(args["list-ref"], "--list-ref");
2432
- const criteria = listMemberCriteria(args);
2433
- const keywords = criteria.length > 0 && args.text === void 0 && args.file === void 0 ? [] : keywordEntries(args, rawArgs);
2434
- await stageGoogleOps(
2435
- [
2436
- ...keywords.map((entry) => ({
2437
- kind: "google.sharedSetMember.add",
2438
- customerId,
2439
- payload: { sharedSet, text: entry.text, matchType: entry.matchType }
2440
- })),
2441
- ...criteria.map((criterion) => ({
2442
- kind: "google.sharedSetMember.add",
2443
- customerId,
2444
- payload: { sharedSet, criterion }
2445
- }))
2446
- ],
2447
- void 0,
2448
- args.full === true
2449
- );
2450
- }
2451
- })
2452
- ),
2453
- attach: withEffect(
2454
- googleStaged("google.campaignSharedSet.attach"),
2455
- defineCommand4({
2456
- meta: { name: "attach", description: "Attach a keyword list to a campaign" },
2457
- args: { ...customerIdArg, "campaign-ref": { type: "string" }, "list-ref": { type: "string" } },
2458
- run: async ({ args }) => {
2459
- const customerId = requireCustomerId(args);
2460
- await stageCreate("google.campaignSharedSet.attach", customerId, {
2461
- campaign: requireStringFlag(args["campaign-ref"], "--campaign-ref"),
2462
- sharedSet: requireStringFlag(args["list-ref"], "--list-ref")
2463
- });
2464
- }
2465
- })
2466
- ),
2467
- remove: withEffect(
2468
- KEYWORD_LIST_REMOVAL,
2469
- defineCommand4({
2470
- meta: {
2471
- name: "remove",
2472
- description: `Take term(s) out of a shared negative keyword list \u2014 every campaign the list covers stops excluding them. Start here:
2473
- baker ads google keyword-lists remove --list-ref 1234 --text "free,jobs:EXACT" --customer-id 1234567890
2474
- baker ads google keyword-lists remove --list-ref 1234 --file terms.txt --customer-id 1234567890 # one term[:MATCH_TYPE] per line
2475
- Baker reads the list and finds each term (no :MATCH_TYPE = every match type of it); a term the list does not hold is reported, not staged. Members named directly also work: their resource name (customers/{cid}/sharedCriteria/{listId}~{criterionId}), listId~criterionId, or a criterion id. ${STAGED_WRITE}`
2476
- },
2477
- args: {
2478
- ...customerIdArg,
2479
- "list-ref": { type: "string", description: "The list's id or customers/{cid}/sharedSets/{id}" },
2480
- text: { type: "string", description: 'Terms to take out \u2014 comma-separated, optional ":MATCH_TYPE" each' },
2481
- file: { type: "string", description: "Text file with one term[:MATCH_TYPE] per line" },
2482
- id: {
2483
- type: "positional",
2484
- description: "Member resource name(s), listId~criterionId or criterion id(s) \u2014 instead of --text",
2485
- required: false
2486
- },
2487
- full: STAGE_FULL_ARG
2488
- },
2489
- run: async ({ args, rawArgs }) => {
2490
- const customerId = requireCustomerId(args);
2491
- const listId = listIdOf(requireStringFlag(args["list-ref"], "--list-ref"));
2492
- const terms = [
2493
- ...repeatedValues(rawArgs, "text", args.text).flatMap((v) => v.split(",")),
2494
- ...typeof args.file === "string" && args.file.length > 0 ? fileLines(args.file) : []
2495
- ].map((v) => v.trim()).filter(Boolean);
2496
- const direct = (Array.isArray(args._) ? args._ : []).filter((v) => typeof v === "string").flatMap((v) => v.split(",")).map((v) => v.trim()).filter(Boolean).map((v) => memberTarget(customerId, listId, v));
2497
- if (terms.length === 0 && direct.length === 0) {
2498
- failWriteValidation("pass the terms to take out with --text / --file, or the members' resource names");
2499
- }
2500
- const found = terms.length > 0 ? memberRemovals(await readListMembersOrExit(customerId, listId), terms) : { targets: [], missing: [] };
2501
- const targets = [.../* @__PURE__ */ new Set([...direct, ...found.targets])];
2502
- if (targets.length === 0) {
2503
- failWriteValidation(
2504
- `list ${listId} holds none of: ${found.missing.join(", ")} \u2014 nothing to remove. Read its terms with \`baker ads google keyword-lists list --members --customer-id ${customerId}\``
2505
- );
2506
- }
2507
- await stageGoogleOps(
2508
- targets.map((target) => ({ kind: "google.sharedSetMember.remove", customerId, target })),
2509
- [
2510
- ...found.missing.length > 0 ? [
2511
- `NOT STAGED \u2014 list ${listId} does not hold: ${found.missing.join(", ")}. Nothing to remove for those; say so.`
2512
- ] : [],
2513
- "Every campaign this list is attached to stops excluding these terms once published \u2014 check `--preset negative-list-attachments` if the user should hear which."
2514
- ],
2515
- args.full === true
2516
- );
2517
- }
2518
- })
2519
- ),
2520
- detach: statusCommand("google.campaignSharedSet.detach", "campaign shared set"),
2521
- rename: withEffect(
2522
- googleStaged("google.sharedSet.update"),
2523
- defineCommand4({
2524
- meta: {
2525
- name: "rename",
2526
- description: `Rename a keyword list (its type never changes). Start here:
2527
- baker ads google keyword-lists rename 12263133655 --name "Junk terms" --customer-id 1234567890
2528
- Names are unique in the account. ${STAGED_WRITE}`
2529
- },
2530
- args: {
2531
- ...customerIdArg,
2532
- id: { type: "positional", description: "The list's id or customers/{cid}/sharedSets/{id}", required: false },
2533
- name: { type: "string", description: "New name \u2014 unique among the account's lists" }
2534
- },
2535
- run: async ({ args }) => {
2536
- const customerId = requireCustomerId(args);
2537
- await stageUpdate("google.sharedSet.update", customerId, requireTarget(args, "keyword list"), {
2538
- name: requireStringFlag(args.name, "--name")
2539
- });
2540
- }
2541
- })
2542
- ),
2543
- delete: withEffect(
2544
- googleStaged("google.sharedSet.remove"),
2545
- defineCommand4({
2546
- meta: {
2547
- name: "delete",
2548
- description: `Remove a whole keyword list (to take terms OUT of a list, use \`keyword-lists remove\`). Start here:
2549
- baker ads google keyword-lists delete 12263133655 --customer-id 1234567890
2550
- Google refuses to remove a list that is still attached \u2014 to a campaign (even one removed in the same publish), to the whole account, or as a campaign's brand list: take it off in the same draft first (\`keyword-lists detach\`, \`account-exclusions remove\`, \`campaign-criteria remove\`) \u2014 staging refuses the delete until then, naming each one. Those campaigns stop excluding its terms; staging says how many. ${STAGED_WRITE}`
2551
- },
2552
- args: {
2553
- ...customerIdArg,
2554
- id: { type: "positional", description: "The list's id or customers/{cid}/sharedSets/{id}", required: false }
2555
- },
2556
- run: async ({ args }) => {
2557
- const customerId = requireCustomerId(args);
2558
- await stageTarget("google.sharedSet.remove", customerId, requireTarget(args, "keyword list"));
2559
- }
2560
- })
2561
- )
2562
- }
2563
- });
2564
- async function readListMembersOrExit(customerId, listId) {
2565
- try {
2566
- return await readListMembers(customerId, listId);
2567
- } catch (err) {
2568
- handleGoogleError(err);
2569
- }
2570
- }
2571
- function rsaContentFromFlags(args) {
2572
- const headlines = copyListFlag(args.headlines, "headlines");
2573
- const descriptions = copyListFlag(args.descriptions, "descriptions");
2574
- if (!headlines || !descriptions) {
2575
- failWriteValidation("responsive search ads need --headlines and --descriptions, or use --file");
2576
- }
2577
- const finalUrls = listFlag(args["final-url"]);
2578
- if (!finalUrls) {
2579
- failWriteValidation("--final-url is required for a responsive search ad");
2580
- }
2581
- return {
2582
- format: "responsiveSearch",
2583
- headlines: headlines.map((text) => ({ text })),
2584
- descriptions: descriptions.map((text) => ({ text })),
2585
- path1: args.path1,
2586
- path2: args.path2,
2587
- finalUrls
2588
- };
2589
- }
2590
- function rdaContentFromFlags(args, base) {
2591
- const content = {
2592
- format: "responsiveDisplay",
2593
- ...base !== null && typeof base === "object" && !Array.isArray(base) ? base : {}
2594
- };
2595
- const headlines = copyListFlag(args.headlines, "headlines");
2596
- if (headlines) {
2597
- content.headlines = headlines.map((text) => ({ text }));
2598
- }
2599
- const descriptions = copyListFlag(args.descriptions, "descriptions");
2600
- if (descriptions) {
2601
- content.descriptions = descriptions.map((text) => ({ text }));
2602
- }
2603
- if (typeof args["long-headline"] === "string") {
2604
- content.longHeadline = { text: args["long-headline"] };
2605
- }
2606
- if (typeof args["business-name"] === "string") {
2607
- content.businessName = args["business-name"];
2608
- }
2609
- const finalUrls = listFlag(args["final-url"]);
2610
- if (finalUrls) {
2611
- content.finalUrls = finalUrls;
2612
- }
2613
- const marketing = listFlag(args["marketing-images"]);
2614
- if (marketing) {
2615
- content.marketingImageAssets = marketing;
2616
- }
2617
- const square = listFlag(args["square-marketing-images"]);
2618
- if (square) {
2619
- content.squareMarketingImageAssets = square;
2620
- }
2621
- const logos = listFlag(args["logo-images"]);
2622
- if (logos) {
2623
- content.logoImageAssets = logos;
2624
- }
2625
- return content;
2626
- }
2627
- function videoContentFromFlags(args, base) {
2628
- const content = {
2629
- format: "video",
2630
- ...base !== null && typeof base === "object" && !Array.isArray(base) ? base : {}
2631
- };
2632
- const videoAssets = listFlag(args["video-assets"]);
2633
- if (videoAssets) {
2634
- content.videoAssets = videoAssets;
2635
- }
2636
- if (typeof args["business-name"] === "string") {
2637
- content.businessName = args["business-name"];
2638
- }
2639
- const logoImages = listFlag(args["logo-image-assets"]);
2640
- if (logoImages) {
2641
- content.logoImageAssets = logoImages;
2642
- }
2643
- const finalUrls = listFlag(args["final-url"]);
2644
- if (finalUrls) {
2645
- content.finalUrls = finalUrls;
2646
- }
2647
- return content;
2648
- }
2649
- function demandGenContentFromFlags(args, base) {
2650
- const content = {
2651
- format: "demandGen",
2652
- ...base !== null && typeof base === "object" && !Array.isArray(base) ? base : {}
2653
- };
2654
- if (typeof args["ad-name"] === "string") {
2655
- content.name = args["ad-name"];
2656
- }
2657
- const headlines = copyListFlag(args.headlines, "headlines");
2658
- if (headlines) {
2659
- content.headlines = headlines.map((text) => ({ text }));
2660
- }
2661
- const descriptions = copyListFlag(args.descriptions, "descriptions");
2662
- if (descriptions) {
2663
- content.descriptions = descriptions.map((text) => ({ text }));
2664
- }
2665
- if (typeof args["business-name"] === "string") {
2666
- content.businessName = args["business-name"];
2667
- }
2668
- const finalUrls = listFlag(args["final-url"]);
2669
- if (finalUrls) {
2670
- content.finalUrls = finalUrls;
2671
- }
2672
- const images = listFlag(args["image-assets"]);
2673
- if (images) {
2674
- content.imageAssets = images;
2675
- }
2676
- const squareImages = listFlag(args["square-image-assets"]);
2677
- if (squareImages) {
2678
- content.squareImageAssets = squareImages;
2679
- }
2680
- const portraitImages = listFlag(args["portrait-image-assets"]);
2681
- if (portraitImages) {
2682
- content.portraitImageAssets = portraitImages;
2683
- }
2684
- const tallPortraitImages = listFlag(args["tall-portrait-image-assets"]);
2685
- if (tallPortraitImages) {
2686
- content.tallPortraitImageAssets = tallPortraitImages;
2687
- }
2688
- const logoImages = listFlag(args["logo-image-assets"]);
2689
- if (logoImages) {
2690
- content.logoImageAssets = logoImages;
2691
- }
2692
- return content;
2693
- }
2694
- function demandGenVideoContentFromFlags(args, base) {
2695
- const content = {
2696
- format: "demandGenVideo",
2697
- ...base !== null && typeof base === "object" && !Array.isArray(base) ? base : {}
2698
- };
2699
- if (typeof args["ad-name"] === "string") {
2700
- content.name = args["ad-name"];
2701
- }
2702
- const headlines = copyListFlag(args.headlines, "headlines");
2703
- if (headlines) {
2704
- content.headlines = headlines.map((text) => ({ text }));
2705
- }
2706
- const longHeadlines = copyListFlag(args["long-headlines"], "long-headlines");
2707
- if (longHeadlines) {
2708
- content.longHeadlines = longHeadlines.map((text) => ({ text }));
2709
- }
2710
- const descriptions = copyListFlag(args.descriptions, "descriptions");
2711
- if (descriptions) {
2712
- content.descriptions = descriptions.map((text) => ({ text }));
2713
- }
2714
- if (typeof args["business-name"] === "string") {
2715
- content.businessName = args["business-name"];
2716
- }
2717
- const finalUrls = listFlag(args["final-url"]);
2718
- if (finalUrls) {
2719
- content.finalUrls = finalUrls;
2720
- }
2721
- const videos = listFlag(args["video-assets"]);
2722
- if (videos) {
2723
- content.videoAssets = videos;
2724
- }
2725
- const logoImages = listFlag(args["logo-image-assets"]);
2726
- if (logoImages) {
2727
- content.logoImageAssets = logoImages;
2728
- }
2729
- const callToActions = listFlag(args["call-to-action-assets"]);
2730
- if (callToActions) {
2731
- content.callToActionAssets = callToActions;
2732
- }
2733
- return content;
2734
- }
2735
- function appContentFromFlags(args, base) {
2736
- const content = {
2737
- format: "app",
2738
- ...base !== null && typeof base === "object" && !Array.isArray(base) ? base : {}
2739
- };
2740
- const headlines = copyListFlag(args.headlines, "headlines");
2741
- if (headlines) {
2742
- content.headlines = headlines.map((text) => ({ text }));
2743
- }
2744
- const descriptions = copyListFlag(args.descriptions, "descriptions");
2745
- if (descriptions) {
2746
- content.descriptions = descriptions.map((text) => ({ text }));
2747
- }
2748
- const images = listFlag(args["image-assets"]);
2749
- if (images) {
2750
- content.images = images;
2751
- }
2752
- const videos = listFlag(args["video-assets"]);
2753
- if (videos) {
2754
- content.youtubeVideos = videos;
2755
- }
2756
- return content;
2757
- }
2758
- var FORMAT_CONTENT_FLAGS = {
2759
- responsiveSearch: ["headlines", "descriptions", "path1", "path2", "final-url"],
2760
- responsiveDisplay: [
2761
- "headlines",
2762
- "descriptions",
2763
- "long-headline",
2764
- "business-name",
2765
- "final-url",
2766
- "marketing-images",
2767
- "square-marketing-images",
2768
- "logo-images"
2769
- ],
2770
- video: ["video-assets", "business-name", "logo-image-assets", "final-url"],
2771
- demandGen: [
2772
- "ad-name",
2773
- "headlines",
2774
- "descriptions",
2775
- "business-name",
2776
- "final-url",
2777
- "image-assets",
2778
- "square-image-assets",
2779
- "portrait-image-assets",
2780
- "tall-portrait-image-assets",
2781
- "logo-image-assets"
2782
- ],
2783
- demandGenVideo: [
2784
- "ad-name",
2785
- "headlines",
2786
- "long-headlines",
2787
- "descriptions",
2788
- "business-name",
2789
- "final-url",
2790
- "video-assets",
2791
- "logo-image-assets",
2792
- "call-to-action-assets"
2793
- ],
2794
- app: ["headlines", "descriptions", "image-assets", "video-assets"],
2795
- // No copy at all: Google builds each product ad from the Merchant Center feed.
2796
- shoppingProduct: []
2797
- };
2798
- function formatsReading(flag) {
2799
- return Object.entries(FORMAT_CONTENT_FLAGS).filter(([, flags]) => flags.includes(flag)).map(([format]) => format);
2800
- }
2801
- function assertFlagsFitFormat(args, format) {
2802
- if (format === "call") {
2803
- failWriteValidation(CALL_AD_RETIRED_MESSAGE);
2804
- }
2805
- const allowed = FORMAT_CONTENT_FLAGS[format];
2806
- if (!allowed) {
2807
- return;
2808
- }
2809
- const stray = Object.keys(adContentArgs).filter(
2810
- (flag) => flag !== "format" && args[flag] !== void 0 && !allowed.includes(flag)
2811
- );
2812
- if (stray.length === 0) {
2813
- return;
2814
- }
2815
- const detail = stray.map((flag) => {
2816
- const elsewhere = formatsReading(flag);
2817
- return elsewhere.length > 0 ? `--${flag} (${elsewhere.join(" / ")})` : `--${flag}`;
2818
- }).join(", ");
2819
- failWriteValidation(
2820
- `a ${format} ad has no ${stray.map((f) => `--${f}`).join(", ")} \u2014 passing it here would stage the change without it. Formats that take it: ${detail}. Check the format with \`baker ads google query "SELECT ad_group_ad.ad.type FROM ad_group_ad WHERE ad_group_ad.ad.id = <id>"\`.`
2821
- );
2822
- }
2823
- function adContentFromFlags(args, format, fileContent) {
2824
- assertFlagsFitFormat(args, format);
2825
- if (format === "responsiveSearch") {
2826
- return fileContent ?? rsaContentFromFlags(args);
2827
- }
2828
- if (format === "responsiveDisplay") {
2829
- return rdaContentFromFlags(args, fileContent);
2830
- }
2831
- if (format === "video") {
2832
- return videoContentFromFlags(args, fileContent);
2833
- }
2834
- if (format === "demandGen") {
2835
- return demandGenContentFromFlags(args, fileContent);
2836
- }
2837
- if (format === "demandGenVideo") {
2838
- return demandGenVideoContentFromFlags(args, fileContent);
2839
- }
2840
- if (format === "app") {
2841
- return appContentFromFlags(args, fileContent);
2842
- }
2843
- if (format === "shoppingProduct") {
2844
- return { format: "shoppingProduct" };
2845
- }
2846
- return fileContent ?? failWriteValidation(`--format ${format} needs --file with the ad content`);
2847
- }
2848
- var adContentArgs = {
2849
- format: {
2850
- type: "string",
2851
- description: "responsiveSearch (the default on create) | responsiveDisplay | app | video | demandGen | demandGenVideo | shoppingProduct (a Shopping ad group's product ad \u2014 no copy flags). An update takes the ad's own format and needs this only with --video-assets / --image-assets"
2852
- },
2853
- headlines: {
2854
- type: "string",
2855
- description: `Headlines (RSA/RDA/demandGen/demandGenVideo/app) \u2014 ${AD_COPY_LIST_USAGE}`
2856
- },
2857
- descriptions: {
2858
- type: "string",
2859
- description: `Descriptions (RSA/RDA/demandGen/demandGenVideo/app) \u2014 ${AD_COPY_LIST_USAGE}`
2860
- },
2861
- path1: {
2862
- type: "string",
2863
- description: "Display path 1 (responsive search, up to 15 chars). On an update, leave it out to keep the live one; '' clears it"
2864
- },
2865
- path2: { type: "string", description: "Display path 2 \u2014 same rules as --path1" },
2866
- "long-headline": { type: "string", description: "Long headline (responsiveDisplay)" },
2867
- "ad-name": {
2868
- type: "string",
2869
- description: `The ad's own name, shown as "Ad name" in Google Ads. REQUIRED on a Demand Gen ad (demandGen/demandGenVideo) and on no other format`
2870
- },
2871
- "long-headlines": {
2872
- type: "string",
2873
- description: `Long headlines, up to 5 of 90 chars (demandGenVideo \u2014 no other format has them) \u2014 ${AD_COPY_LIST_USAGE}`
2874
- },
2875
- "business-name": { type: "string", description: "Business name (responsiveDisplay/demandGen/demandGenVideo/video)" },
2876
- "marketing-images": {
2877
- type: "string",
2878
- description: "Comma-separated marketing image asset refs (responsiveDisplay)"
2879
- },
2880
- "square-marketing-images": {
2881
- type: "string",
2882
- description: "Comma-separated square marketing image asset refs (responsiveDisplay)"
2883
- },
2884
- "logo-images": { type: "string", description: "Comma-separated logo image asset refs (responsiveDisplay)" },
2885
- "video-assets": {
2886
- type: "string",
2887
- description: `Comma-separated video asset refs (video/app/demandGenVideo formats) \u2014 stage the YouTube video as an asset first (assets create --file '{"type":"youtubeVideo",\u2026}')`
2888
- },
2889
- "image-assets": { type: "string", description: "Comma-separated image asset refs (demandGen/app)" },
2890
- "square-image-assets": { type: "string", description: "Comma-separated square image asset refs (demandGen)" },
2891
- "portrait-image-assets": {
2892
- type: "string",
2893
- description: "Comma-separated portrait 4:5 image asset refs (demandGen)"
2894
- },
2895
- "tall-portrait-image-assets": {
2896
- type: "string",
2897
- description: "Comma-separated tall portrait 9:16 image asset refs for Shorts (demandGen)"
2898
- },
2899
- "logo-image-assets": {
2900
- type: "string",
2901
- description: "Comma-separated logo image asset refs (demandGen/demandGenVideo/video)"
2902
- },
2903
- "call-to-action-assets": {
2904
- type: "string",
2905
- description: "Comma-separated callToAction asset refs for the ad's button (demandGenVideo)"
2906
- },
2907
- "final-url": { type: "string", description: "Comma-separated final URLs" }
2908
- };
2909
- var UPDATE_COPY_LISTS = { headlines: "headlines", descriptions: "descriptions", "long-headlines": "longHeadlines" };
2910
- var UPDATE_STRING_FIELDS = { path1: "path1", path2: "path2", "business-name": "businessName", "ad-name": "name" };
2911
- var UPDATE_LIST_FIELDS = {
2912
- "final-url": "finalUrls",
2913
- "marketing-images": "marketingImageAssets",
2914
- "square-marketing-images": "squareMarketingImageAssets",
2915
- "logo-images": "logoImageAssets",
2916
- "square-image-assets": "squareImageAssets",
2917
- "portrait-image-assets": "portraitImageAssets",
2918
- "tall-portrait-image-assets": "tallPortraitImageAssets",
2919
- "logo-image-assets": "logoImageAssets",
2920
- "call-to-action-assets": "callToActionAssets"
2921
- };
2922
- var FORMAT_DEPENDENT_FLAGS = ["video-assets", "image-assets"];
2923
- function contentFieldsFromFlags(args) {
2924
- const fields = {};
2925
- for (const [flag, field] of Object.entries(UPDATE_COPY_LISTS)) {
2926
- const items = copyListFlag(args[flag], flag);
2927
- if (items) {
2928
- fields[field] = items.map((text) => ({ text }));
2929
- }
2930
- }
2931
- if (typeof args["long-headline"] === "string") {
2932
- fields.longHeadline = { text: args["long-headline"] };
2933
- }
2934
- for (const [flag, field] of Object.entries(UPDATE_STRING_FIELDS)) {
2935
- if (typeof args[flag] === "string") {
2936
- fields[field] = args[flag];
2937
- }
2938
- }
2939
- for (const [flag, field] of Object.entries(UPDATE_LIST_FIELDS)) {
2940
- const values = listFlag(args[flag]);
2941
- if (values) {
2942
- fields[field] = values;
2943
- }
2944
- }
2945
- return fields;
2946
- }
2947
- function updateContentFromFlags(args, fileContent) {
2948
- const format = typeof args.format === "string" ? args.format : void 0;
2949
- if (format && format !== "responsiveSearch") {
2950
- return adContentFromFlags(args, format, fileContent);
2951
- }
2952
- if (format) {
2953
- assertFlagsFitFormat(args, format);
2954
- }
2955
- const unplaced = FORMAT_DEPENDENT_FLAGS.filter((flag) => !format && args[flag] !== void 0);
2956
- if (unplaced.length > 0) {
2957
- failWriteValidation(
2958
- `${unplaced.map((flag) => `--${flag}`).join(", ")} sets a different field on an App ad than on a video or Demand Gen ad \u2014 add the ad's --format (app | video | demandGen | demandGenVideo)`
2959
- );
2960
- }
2961
- const content = {
2962
- ...fileContent !== null && typeof fileContent === "object" && !Array.isArray(fileContent) ? fileContent : {},
2963
- ...format ? { format } : {},
2964
- ...contentFieldsFromFlags(args)
2965
- };
2966
- return Object.keys(content).length > 0 ? content : void 0;
2967
- }
2968
- function replaceTextFlag(rawArgs, parsed) {
2969
- const values = repeatedValues(rawArgs, "replace", parsed);
2970
- if (values.length === 0) {
2971
- return void 0;
2972
- }
2973
- return values.map((value) => {
2974
- const at = value.indexOf("=>");
2975
- if (at <= 0) {
2976
- failWriteValidation(`--replace takes 'old text=>new text' \u2014 "${value}" has no text before "=>"`);
2977
- }
2978
- return { find: value.slice(0, at), replace: value.slice(at + 2) };
2979
- });
2980
- }
2981
- var SENT_LIST_HINT = "Each copy list you sent replaces that list on the ad \u2014 every line you want to keep has to be in it. To change one line and keep the rest (and their pins) as they are, use `--replace 'old text=>new text'` instead.";
2982
- var adsCommand = defineCommand4({
2983
- meta: { name: "ads", description: "Stage ad create/update/pause/resume/remove" },
2984
- subCommands: {
2985
- create: withEffect(
2986
- googleStaged("google.ad.create"),
2987
- defineCommand4({
2988
- meta: {
2989
- name: "create",
2990
- description: "Stage an ad (responsive search via flags; other formats via --file). RSA needs 3\u201315 headlines and 2\u20134 descriptions \u2014 give Google 8\u201312 varied headlines to test, and stage 2\u20134 ads per ad group. Performance Max has no ad format of its own \u2014 stage its copy with `asset-groups create`."
2991
- },
2992
- args: {
2993
- ...customerIdArg,
2994
- ...fileArg("google.ad.create"),
2995
- "ad-group-ref": { type: "string", description: "Ad group ref" },
2996
- ...adContentArgs,
2997
- status: {
2998
- type: "string",
2999
- description: "ENABLED | PAUSED \u2014 left out: ENABLED when this draft creates the ad group enabled (and for --format app), else default PAUSED (pass ENABLED to serve inside an ad group that is already live)"
3000
- }
3001
- },
3002
- run: async ({ args: parsedArgs, rawArgs }) => {
3003
- const args = withRepeatedCopyFlags(parsedArgs, rawArgs);
3004
- const customerId = requireCustomerId(args);
3005
- const file = loadJsonFileArg(args.file);
3006
- const format = args.format ?? "responsiveSearch";
3007
- const content = adContentFromFlags(args, format, file.content);
3008
- await stageCreate(
3009
- "google.ad.create",
3010
- customerId,
3011
- {
3012
- adGroup: requireStringFlag(args["ad-group-ref"] ?? file.adGroup, "--ad-group-ref"),
3013
- status: defaultAdStatus(format, args.status ?? file.status),
3014
- content
3015
- },
3016
- copyListSplitHints(args)
3017
- );
3018
- }
3019
- })
3020
- ),
3021
- update: withEffect(
3022
- googleStagedBatch("google.ad.update"),
3023
- defineCommand4({
3024
- meta: {
3025
- name: "update",
3026
- description: `Stage a change to one or more existing ads \u2014 send only what changes; staging takes everything else from the live ad (or from the staged ad a g_temp_* ref names). Start here:
3027
- baker ads google ads update 111,222 --final-url https://example.com/new --customer-id 1234567890 # re-point; copy, pins and paths stay
3028
- baker ads google ads update 111,222 --replace '70,000+=>200,000+' --customer-id 1234567890 # one claim changed on every line it is on
3029
- baker ads google ads update 111 --descriptions 'New one,New two' --customer-id 1234567890 # a list you send replaces that list
3030
- A field you send replaces that field whole, so a --headlines list must hold every headline to keep \u2014 to change one line use --replace (repeatable). Display paths you leave out stay; --path1 '' clears one. --format is needed only with --video-assets / --image-assets. Several ads: comma-separate their ids.`
3031
- },
3032
- args: {
3033
- ...customerIdArg,
3034
- ...targetArg("ad"),
3035
- ...fileArg("google.ad.update"),
3036
- ...adContentArgs,
3037
- replace: {
3038
- type: "string",
3039
- description: "'old text=>new text' \u2014 replaced on every headline, description and long headline it is on, keeping every other line and pin. Repeatable; refused on an ad that does not have the old text"
3040
- },
3041
- status: { type: "string" },
3042
- full: STAGE_FULL_ARG
3043
- },
3044
- run: async ({ args: parsedArgs, rawArgs }) => {
3045
- const args = withRepeatedCopyFlags(parsedArgs, rawArgs);
3046
- const customerId = requireCustomerId(args);
3047
- const file = loadJsonFileArg(args.file);
3048
- const content = updateContentFromFlags(args, file.content);
3049
- const payload = mergePayload(file, {
3050
- status: args.status,
3051
- content,
3052
- replaceText: replaceTextFlag(rawArgs, args.replace)
3053
- });
3054
- const sentList = ["headlines", "descriptions", "longHeadlines"].some(
3055
- (field) => content?.[field] !== void 0
3056
- );
3057
- await stageGoogleOps(
3058
- updateTargets(args, "ad").map((target) => ({
3059
- kind: "google.ad.update",
3060
- customerId,
3061
- target,
3062
- payload
3063
- })),
3064
- [...sentList ? [SENT_LIST_HINT] : [], ...copyListSplitHints(args)],
3065
- args.full === true
3066
- );
3067
- }
3068
- })
3069
- ),
3070
- pause: statusCommand("google.ad.pause", "ad"),
3071
- resume: statusCommand("google.ad.resume", "ad"),
3072
- remove: statusCommand("google.ad.remove", "ad")
3073
- }
3074
- });
3075
- var assetGroupsCommand = defineCommand4({
3076
- meta: {
3077
- name: "asset-groups",
3078
- description: "Stage Performance Max asset group create/update \u2014 the PMax campaign's copy and images."
3079
- },
3080
- subCommands: {
3081
- create: withEffect(
3082
- googleStaged("google.assetGroup.create"),
3083
- defineCommand4({
3084
- meta: {
3085
- name: "create",
3086
- description: "Stage a Performance Max asset group: 3\u201315 headlines (\u226430ch), 1\u20135 long headlines (\u226490ch), 2\u20135 descriptions (\u226490ch), a business name, and image refs."
3087
- },
3088
- args: {
3089
- ...customerIdArg,
3090
- ...fileArg("google.assetGroup.create"),
3091
- "campaign-ref": {
3092
- type: "string",
3093
- description: "Performance Max campaign ref (g_temp_*, id, or resource name)"
3094
- },
3095
- name: { type: "string", description: "Asset group name" },
3096
- "final-urls": { type: "string", description: "Comma-separated final URLs" },
3097
- headlines: { type: "string", description: `Headlines (3\u201315, \u226430 chars) \u2014 ${AD_COPY_LIST_USAGE}` },
3098
- "long-headlines": { type: "string", description: `Long headlines (1\u20135, \u226490 chars) \u2014 ${AD_COPY_LIST_USAGE}` },
3099
- descriptions: { type: "string", description: `Descriptions (2\u20135, \u226490 chars) \u2014 ${AD_COPY_LIST_USAGE}` },
3100
- "business-name": { type: "string" },
3101
- "image-assets": { type: "string", description: "Comma-separated marketing image asset refs (1.91:1)" },
3102
- "square-image-assets": {
3103
- type: "string",
3104
- description: "Comma-separated square marketing image asset refs (1:1)"
3105
- },
3106
- "portrait-image-assets": {
3107
- type: "string",
3108
- description: "Comma-separated portrait marketing image asset refs (4:5)"
3109
- },
3110
- "logo-assets": { type: "string", description: "Comma-separated logo image asset refs" },
3111
- status: { type: "string", description: "ENABLED | PAUSED (default PAUSED)" }
3112
- },
3113
- run: async ({ args: parsedArgs, rawArgs }) => {
3114
- const args = withRepeatedCopyFlags(parsedArgs, rawArgs);
3115
- const customerId = requireCustomerId(args);
3116
- const headlines = copyListFlag(args.headlines, "headlines");
3117
- const longHeadlines = copyListFlag(args["long-headlines"], "long-headlines");
3118
- const descriptions = copyListFlag(args.descriptions, "descriptions");
3119
- const payload = mergePayload(loadJsonFileArg(args.file), {
3120
- campaign: args["campaign-ref"],
3121
- name: args.name,
3122
- finalUrls: listFlag(args["final-urls"]),
3123
- headlines: headlines?.map((text) => ({ text })),
3124
- longHeadlines: longHeadlines?.map((text) => ({ text })),
3125
- descriptions: descriptions?.map((text) => ({ text })),
3126
- businessName: args["business-name"],
3127
- imageAssets: listFlag(args["image-assets"]),
3128
- squareImageAssets: listFlag(args["square-image-assets"]),
3129
- portraitImageAssets: listFlag(args["portrait-image-assets"]),
3130
- logoAssets: listFlag(args["logo-assets"]),
3131
- status: args.status
3132
- });
3133
- await stageCreate("google.assetGroup.create", customerId, payload, [
3134
- ...copyListSplitHints(args),
3135
- "Performance Max has no keywords: give this group its search themes (and its audience signal, when the account has one) with `baker ads google asset-group-signals add --asset-group <its ref>` in this same draft."
3136
- ]);
3137
- }
3138
- })
3139
- ),
3140
- update: withEffect(
3141
- googleStaged("google.assetGroup.update"),
3142
- defineCommand4({
3143
- meta: { name: "update", description: "Stage a Performance Max asset group update" },
3144
- args: {
3145
- ...customerIdArg,
3146
- ...targetArg("asset group"),
3147
- ...fileArg("google.assetGroup.update"),
3148
- name: { type: "string" },
3149
- "final-urls": { type: "string", description: "Comma-separated final URLs" },
3150
- status: { type: "string", description: "ENABLED | PAUSED | REMOVED" }
3151
- },
3152
- run: async ({ args }) => {
3153
- const customerId = requireCustomerId(args);
3154
- const target = requireTarget(args, "asset group");
3155
- const payload = mergePayload(loadJsonFileArg(args.file), {
3156
- name: args.name,
3157
- finalUrls: listFlag(args["final-urls"]),
3158
- status: args.status
3159
- });
3160
- await stageUpdate("google.assetGroup.update", customerId, target, payload);
3161
- }
3162
- })
3163
- ),
3164
- attach: withEffect(
3165
- googleStaged("google.assetGroupAsset.attach"),
3166
- defineCommand4({
3167
- meta: {
3168
- name: "attach",
3169
- description: "Add one existing asset to an existing asset group. Start here to refresh a live PMax group's creatives: attach the new image, then `detach` the old one \u2014 never detach first."
3170
- },
3171
- args: {
3172
- ...customerIdArg,
3173
- ...fileArg("google.assetGroupAsset.attach"),
3174
- "asset-group-ref": { type: "string", description: "Asset group ref (g_temp_*, id, or resource name)" },
3175
- "asset-ref": { type: "string", description: "Asset ref (g_temp_*, id, or resource name)" },
3176
- "field-type": {
3177
- type: "string",
3178
- description: `Slot the asset fills: ${ASSET_GROUP_ASSET_FIELD_TYPES.join(" | ")}`
3179
- }
3180
- },
3181
- run: async ({ args }) => {
3182
- const customerId = requireCustomerId(args);
3183
- const payload = mergePayload(loadJsonFileArg(args.file), {
3184
- assetGroup: args["asset-group-ref"],
3185
- asset: args["asset-ref"],
3186
- fieldType: args["field-type"]
3187
- });
3188
- await stageCreate("google.assetGroupAsset.attach", customerId, payload, [
3189
- "Swapping a creative? Stage the matching `asset-groups detach` for the image this one replaces \u2014 an attach alone grows the group instead of refreshing it.",
3190
- "The field type must match the image's real ratio (1.91:1 \u2192 MARKETING_IMAGE, 1:1 \u2192 SQUARE_MARKETING_IMAGE, 4:5 \u2192 PORTRAIT_MARKETING_IMAGE); Google rejects a mismatch at publish.",
3191
- "Slots have ceilings as well as minimums: BUSINESS_NAME and CALL_TO_ACTION_SELECTION hold 1, LOGO 5, LONG_HEADLINE and DESCRIPTION 5, HEADLINE 15, YOUTUBE_VIDEO 15, images 20. Staging counts what the group holds plus this chat's attaches and detaches, and refuses an attach to a full slot \u2014 stage the detach alongside it; removals are sent after additions. Replacing the business name (exactly 1): stage its detach first, then this attach."
3192
- ]);
3193
- }
3194
- })
3195
- ),
3196
- detach: statusCommand("google.assetGroupAsset.detach", "asset group asset", [
3197
- "Replacing this image? Stage its `asset-groups attach` too \u2014 removals publish after every addition whatever order they are staged in, so the new image is in place before this one leaves and the group never drops below its per-ratio minimum.",
3198
- "Pass the full composite resource name (customers/{cid}/assetGroupAssets/{assetGroupId}~{assetId}~{FIELD_TYPE}) \u2014 read it from `asset_group_asset.resource_name` via `ads google query`, scoping `asset_group_asset.status != 'REMOVED'`: the link carries its own status and Google returns an already-detached one like any other row."
3199
- ])
3200
- }
3201
- });
3202
- function imageAssetHints(payload) {
3203
- if (payload.type !== "image") {
3204
- return [];
3205
- }
3206
- return [
3207
- "This image publishes into the advertiser's Google Ads asset library. Stage the `assets attach` too, with field type AD_IMAGE on the campaign (or ad group) it belongs on: Google opens Search image links per account, so Baker asks Google as you stage \u2014 where the account takes them the link is staged and applies at publish, and where it does not the link is skipped and names the campaign in the handover Task.",
3208
- "Until a link to it is staged, Baker keeps a Task for this image in this chat's changes \u2014 the user adding it to the campaign under Assets \u2014 and withdraws it when an accepted link names the image; do not stage a second one with `baker actions`. If that Task is still there after the attach, tell the user the images are already in their Google Ads account and only need adding to the campaign under Assets, and name them. Never tell them to upload images they already have. (A Performance Max asset group is different \u2014 images link there with `asset-groups attach`.)"
3209
- ];
3210
- }
3211
- var assetsUpdateCommand = withEffect(
3212
- googleStaged("google.asset.update"),
3213
- defineCommand4({
3214
- meta: {
3215
- name: "update",
3216
- description: "Update a staged or live asset in place (flat partial \u2014 set only the fields that changed). Works across asset types: sitelink (--link-text/--description1/--description2/--final-urls), callout (--callout-text), structured snippet (--header/--values), call-to-action (--cta), text (--text), or --name."
3217
- },
3218
- args: {
3219
- ...customerIdArg,
3220
- ...targetArg("asset"),
3221
- ...fileArg("google.asset.update"),
3222
- name: { type: "string", description: "Asset display name" },
3223
- "link-text": { type: "string", description: "Sitelink link text" },
3224
- description1: { type: "string", description: "Sitelink description line 1" },
3225
- description2: { type: "string", description: "Sitelink description line 2" },
3226
- "final-urls": { type: "string", description: "Comma-separated sitelink final URLs" },
3227
- "callout-text": { type: "string", description: "Callout text" },
3228
- header: { type: "string", description: "Structured snippet header" },
3229
- values: {
3230
- type: "string",
3231
- description: "Comma-separated structured snippet values (3-10, max 25 characters each)"
3232
- },
3233
- cta: { type: "string", description: "Call-to-action text" },
3234
- text: { type: "string", description: "Text asset content" }
3235
- },
3236
- run: async ({ args }) => {
3237
- const customerId = requireCustomerId(args);
3238
- const target = requireTarget(args, "asset");
3239
- const payload = mergePayload(loadJsonFileArg(args.file), {
3240
- name: args.name,
3241
- linkText: args["link-text"],
3242
- description1: args.description1,
3243
- description2: args.description2,
3244
- finalUrls: listFlag(args["final-urls"]),
3245
- calloutText: args["callout-text"],
3246
- header: args.header,
3247
- values: listFlag(args.values),
3248
- callToAction: args.cta,
3249
- text: args.text
3250
- });
3251
- await stageUpdate("google.asset.update", customerId, target, payload);
3252
- }
3253
- })
3254
- );
3255
- var assetsCommand = defineCommand4({
3256
- meta: {
3257
- name: "assets",
3258
- description: "Stage asset create/update + asset-link attach/detach (via --file). For a high-performance Search campaign add \u22654 sitelinks, \u22653 callouts and \u22651 structured snippet per campaign. Image extensions: `create` uploads the image into the advertiser's account, then `attach` links it with field type AD_IMAGE (campaign or ad group). Google opens image links per account, so Baker asks Google as you stage: an account that takes them stages the link like a sitelink; one that does not skips it and stages a handover Task instead \u2014 never tell them to upload anything. The advertiser's logo links as BUSINESS_LOGO, at campaign or customer level, on a verified account."
3259
- },
3260
- subCommands: {
3261
- create: fileCreateCommand(
3262
- "create",
3263
- "google.asset.create",
3264
- "Stage an asset (text/image/sitelink/callout/structuredSnippet/\u2026)",
3265
- imageAssetHints
3266
- ),
3267
- update: assetsUpdateCommand,
3268
- attach: fileCreateCommand("attach", "google.assetLink.attach", "Attach an asset to a campaign/adGroup/customer", [
3269
- 'Search image extensions link as AD_IMAGE, at campaign or ad group level: `{"level":"campaign","parent":"<campaign id>","asset":"<image asset id or g_temp_ ref>","fieldType":"AD_IMAGE"}`. Google opens these per advertiser account, so Baker asks Google (a check that changes nothing) as you stage. The image must be 1.91:1 or 1:1 \u2014 any other shape is sent back to crop. Accepted \u2192 the link is staged and applies at publish. Refused or not confirmed \u2192 it is skipped rather than stored, the rest of a batch is unaffected, and Baker stages the handover Task naming those images and that campaign; then tell the user they are already in their Google Ads account and only need adding to the campaign under Assets, and do not stage a second Task with `baker actions`. MARKETING_IMAGE / SQUARE_MARKETING_IMAGE are Performance Max asset-group slots (`asset-groups attach`), never a Search link. The advertiser\'s logo links as `BUSINESS_LOGO` (campaign or customer level, on a verified account).'
3270
- ]),
3271
- detach: statusCommand("google.assetLink.detach", "asset link", [
3272
- "Pass the resource name Google gave you \u2014 `SELECT campaign_asset.resource_name \u2026 FROM campaign_asset WHERE campaign_asset.status != 'REMOVED'` (or `ad_group_asset` / `customer_asset`) \u2014 never one composed out of an owner id and an asset id. A link's own status is not its campaign's and not its ad group's, so an inventory read scoped only to those lists extensions that are already detached, and a link between an asset and an owner that never held it parses fine and exists nowhere. Either way the target is read back before it is staged, and a detach of a link that is not there is refused here rather than at publish."
3273
- ])
3274
- }
3275
- });
3276
- var audienceModeArg = {
3277
- mode: {
3278
- type: "string",
3279
- description: "observation = the audience only adjusts bids, reach is unchanged | targeting = the ads are shown only to people in the audiences attached to this campaign/ad group"
3280
- }
3281
- };
3282
- function requireAudienceMode(value) {
3283
- const mode = typeof value === "string" ? value.toLowerCase() : void 0;
3284
- if (mode !== "observation" && mode !== "targeting") {
3285
- failWriteValidation(
3286
- `pass --mode observation (the audience adjusts bids and reach is unchanged \u2014 the Google Ads interface's default) or --mode targeting (the ads are shown only to people in the audiences on this campaign/ad group). There is no safe default: the API's own default is targeting, which can cut a campaign's reach to the size of the list.`
3287
- );
3288
- }
3289
- return mode === "observation" ? "OBSERVATION" : "TARGETING";
3290
- }
3291
- function requireAudienceLevel(value) {
3292
- const level = requireStringFlag(value, "--level");
3293
- if (level !== "campaign" && level !== "adGroup") {
3294
- failWriteValidation("--level must be campaign or adGroup");
3295
- }
3296
- return level;
3297
- }
3298
- var AUDIENCE_ATTACH_HINTS = [
3299
- 'Read back what the parent ended up with before you report: `baker ads google query "SELECT campaign.id, campaign.targeting_setting.target_restrictions FROM campaign"` (or the ad_group equivalent). A missing AUDIENCE row means TARGETING \u2014 Google does not serialize an empty setting, so absence is a value, not a gap.',
3300
- "Staging checks the list is big enough to serve on this campaign's network (100 active users on search, display and YouTube) and refuses a targeting attach that is not. It does NOT check delivery afterwards, and Google reports no error when an audience stops a campaign serving \u2014 after publishing, read the campaign's impressions for the hour that follows and say what you saw."
3301
- ];
3302
- var audiencesAttachCommand = withEffect(
3303
- googleStagedBatch("google.audienceCriterion.attach"),
3304
- defineCommand4({
3305
- meta: {
3306
- name: "attach",
3307
- description: "Target or exclude an audience on a campaign or ad group \u2014 a list (--user-list), an interest or in-market segment (--interest) or a custom segment (--custom-segment). Start here: baker ads google audiences attach --customer-id 1234567890 --level campaign --parent 23837707642 --user-list 9398951971 --mode observation. `--mode` is required for a positive attach and decides whether the list only adjusts bids (observation) or narrows who sees the ads (targeting) \u2014 with --mode observation the audience setting is staged alongside the attach, because Google's API otherwise defaults to targeting."
3308
- },
3309
- args: {
3310
- ...customerIdArg,
3311
- ...fileArg("google.audienceCriterion.attach"),
3312
- ...audienceModeArg,
3313
- level: { type: "string", description: "campaign | adGroup" },
3314
- parent: { type: "string", description: "Campaign or ad group id (or a g_temp_* ref staged earlier)" },
3315
- "user-list": { type: "string", description: "User list id (or a g_temp_* ref from `audiences create`)" },
3316
- interest: {
3317
- type: "string",
3318
- description: "Interest or in-market segment id (`user_interest.user_interest_id`) \u2014 instead of --user-list"
3319
- },
3320
- "custom-segment": {
3321
- type: "string",
3322
- description: "Custom segment id (`custom_audience.id`) built in Google Ads \u2014 instead of --user-list"
3323
- },
3324
- negative: { type: "boolean", description: "Exclude this audience instead of targeting it" },
3325
- full: STAGE_FULL_ARG
3326
- },
3327
- run: async ({ args }) => {
3328
- const customerId = requireCustomerId(args);
3329
- const payload = mergePayload(loadJsonFileArg(args.file), {
3330
- level: args.level,
3331
- parent: args.parent,
3332
- userList: args["user-list"],
3333
- userInterest: args.interest,
3334
- customAudience: args["custom-segment"],
3335
- negative: args.negative
3336
- });
3337
- if (payload.negative === true) {
3338
- if (args.mode !== void 0) {
3339
- failWriteValidation(
3340
- "--mode does not apply to --negative: an excluded audience is excluded under both observation and targeting. Drop --mode, or drop --negative if you meant to target the list."
3341
- );
3342
- }
3343
- await stageGoogleOp({ kind: "google.audienceCriterion.attach", customerId, payload });
3344
- return;
3345
- }
3346
- const ops = audienceAttachOps(customerId, payload, requireAudienceMode(args.mode));
3347
- await stageGoogleOps(ops, AUDIENCE_ATTACH_HINTS, args.full === true);
3348
- }
3349
- })
3350
- );
3351
- function audienceAttachOps(customerId, payload, mode) {
3352
- const attachOp = { kind: "google.audienceCriterion.attach", customerId, payload };
3353
- if (mode === "TARGETING") {
3354
- return [attachOp];
3355
- }
3356
- return [
3357
- {
3358
- kind: "google.targetingSetting.set",
3359
- customerId,
3360
- payload: { level: payload.level, parent: payload.parent, audience: "OBSERVATION" }
3361
- },
3362
- attachOp
3363
- ];
3364
- }
3365
- var audiencesTargetingCommand = withEffect(
3366
- googleStaged("google.targetingSetting.set"),
3367
- defineCommand4({
3368
- meta: {
3369
- name: "targeting",
3370
- description: "Switch the audiences already on a campaign or ad group between observation (they adjust bids only) and targeting (the ads are shown only to people in them) \u2014 the Observation/Targeting selector in the Google Ads interface. Start here: baker ads google audiences targeting 195883284706 --customer-id 1234567890 --level adGroup --mode observation."
3371
- },
3372
- args: {
3373
- ...customerIdArg,
3374
- ...targetArg("campaign or ad group"),
3375
- ...audienceModeArg,
3376
- level: { type: "string", description: "campaign | adGroup" }
3377
- },
3378
- run: async ({ args }) => {
3379
- const customerId = requireCustomerId(args);
3380
- const parent = requireTarget(args, "campaign or ad group");
3381
- await stageGoogleOp({
3382
- kind: "google.targetingSetting.set",
3383
- customerId,
3384
- payload: { level: requireAudienceLevel(args.level), parent, audience: requireAudienceMode(args.mode) }
3385
- });
3386
- }
3387
- })
3388
- );
3389
- var audiencesCommand = defineCommand4({
3390
- meta: {
3391
- name: "audiences",
3392
- description: "Stage audience (user list) create, criterion attach/detach, and the observation/targeting setting the criteria are read under"
3393
- },
3394
- subCommands: {
3395
- create: fileCreateCommand(
3396
- "create",
3397
- "google.audience.create",
3398
- `Stage a user-list audience from --file. Each type carries what Google builds it from. Start here:
3399
- website visitors {"name":"Pricing visitors","type":"RULE_BASED","rule":{"include":[{"conditions":[{"operator":"CONTAINS","value":"/pricing"}],"lookbackWindowDays":30}],"prefill":true}}
3400
- converters {"name":"Buyers","type":"BASIC","conversionActions":["<existing conversion action id>"],"membershipLifeSpanDays":90}
3401
- combined {"name":"Visitors, not buyers","type":"LOGICAL","logic":[{"operator":"ANY","audiences":["<existing id>"]},{"operator":"NONE","audiences":["<existing id>"]}]}
3402
- lookalike {"name":"Like buyers","type":"LOOKALIKE","lookalike":{"seedAudiences":["<existing audience id>"],"expansion":"BALANCED","countryCodes":["ES"]}} (Demand Gen only)
3403
- customer list {"name":"Customers","type":"CRM_BASED","members":[{"email":"\u2026"}]}`
3404
- ),
3405
- attach: audiencesAttachCommand,
3406
- detach: statusCommand("google.audienceCriterion.detach", "audience criterion"),
3407
- targeting: audiencesTargetingCommand
3408
- }
3409
- });
3410
- var PRIMARY_FOR_GOAL_QUERY = 'baker ads google query "SELECT conversion_action.name, conversion_action.primary_for_goal, conversion_action.status FROM conversion_action"';
3411
- var CONVERSION_CREATE_HINTS = [
3412
- `A new conversion action is staged as SECONDARY (reported, not bid toward) unless the payload says \`"primaryForGoal": true\` \u2014 Google otherwise decides for you, and an accidentally-primary action redirects the spend of every Maximize Conversions / Target CPA campaign. Ask the user which they want rather than guessing.`
3413
- ];
3414
- var CONVERSION_ROLE_HINTS = [
3415
- `Primary actions are what Maximize Conversions / Target CPA campaigns bid toward. Before publishing, list what the account will be left with: ${PRIMARY_FOR_GOAL_QUERY} \u2014 and say so if this leaves no primary action, because bidding then has nothing to optimize toward.`
3416
- ];
3417
- function conversionGoalFromFlags(args) {
3418
- const booleanWord = booleanWordPositionalError(args, "conversion goal");
3419
- if (booleanWord) {
3420
- failWriteValidation(booleanWord);
3421
- }
3422
- const category = requireStringFlag(args.category, "--category").toUpperCase();
3423
- const origin = requireStringFlag(args.origin, "--origin").toUpperCase();
3424
- if (typeof args.biddable !== "boolean") {
3425
- failWriteValidation(
3426
- "pass --biddable (this conversion category drives automated bidding) or --no-biddable (it is measured only). There is no safe default \u2014 this changes what the whole account bids toward."
3427
- );
3428
- }
3429
- if (!CONVERSION_ACTION_CATEGORIES.includes(category)) {
3430
- failWriteValidation(`--category must be one of ${CONVERSION_ACTION_CATEGORIES.join(" | ")}`);
3431
- }
3432
- if (!CONVERSION_ORIGINS.includes(origin)) {
3433
- failWriteValidation(`--origin must be one of ${CONVERSION_ORIGINS.join(" | ")}`);
3434
- }
3435
- return { category, origin, biddable: args.biddable };
3436
- }
3437
- var CONVERSION_GOAL_QUERY = 'baker ads google query "SELECT customer_conversion_goal.category, customer_conversion_goal.origin, customer_conversion_goal.biddable FROM customer_conversion_goal"';
3438
- var CONVERSION_GOAL_HINTS = [
3439
- `A conversion drives automated bidding only when BOTH halves are on: the action is primary (\`conversions update --primary\`) AND its category's account-level goal is included (this command). Before publishing, read back what the account will bid toward: ${CONVERSION_GOAL_QUERY} \u2014 and say plainly which conversions this leaves driving spend.`
3440
- ];
3441
- var conversionsCommand = defineCommand4({
3442
- meta: {
3443
- name: "conversions",
3444
- description: "Stage conversion action create/update (via --file), the account-level goal, and manual conversion uploads for a period where tracking was broken"
3445
- },
3446
- subCommands: {
3447
- upload: () => import("./conversion-upload-command-RE5MS4GY.js").then((m) => m.conversionsUploadCommand),
3448
- create: fileCreateCommand(
3449
- "create",
3450
- "google.conversionAction.create",
3451
- "Stage a conversion action (secondary unless the payload sets primaryForGoal)",
3452
- CONVERSION_CREATE_HINTS
3453
- ),
3454
- update: withEffect(
3455
- googleStagedBatch("google.conversionAction.update"),
3456
- defineCommand4({
3457
- meta: {
3458
- name: "update",
3459
- description: `Stage a change to one or more conversion actions. --primary makes it a primary action (automated bidding optimizes toward it); --no-primary demotes it to secondary (reported only). Start here:
3460
- baker ads google conversions update 111 --customer-id 1234567890 --file '{"name":"Purchase \u2014 web","category":"PURCHASE"}'
3461
- baker ads google conversions update 111 222 333 --customer-id 1234567890 --file '{"countingType":"ONE_PER_CLICK"}' # the same change on several actions, one call
3462
- A different change per action (several renames) is one \`baker ads google draft stage --file\` with a google.conversionAction.update op each.`
3463
- },
3464
- args: {
3465
- ...customerIdArg,
3466
- ...targetArg("conversion action"),
3467
- ...fileArg("google.conversionAction.update"),
3468
- primary: {
3469
- type: "boolean",
3470
- // The spaced form is refused by `booleanWordPositionalError`, shared by every ad surface
3471
- // and the source of truth for this — the description only states the forms that work.
3472
- description: "Primary action \u2014 automated bidding optimizes toward it. Demote to secondary (reported only) with --no-primary or --primary=false."
3473
- }
3474
- },
3475
- run: async ({ args }) => {
3476
- const customerId = requireCustomerId(args);
3477
- const payload = mergePayload(loadJsonFileArg(args.file), { primaryForGoal: args.primary });
3478
- await stageGoogleOps(
3479
- updateTargets(args, "conversion action").map((target) => ({
3480
- kind: "google.conversionAction.update",
3481
- customerId,
3482
- target,
3483
- payload
3484
- })),
3485
- payload.primaryForGoal === void 0 ? void 0 : CONVERSION_ROLE_HINTS
3486
- );
3487
- }
3488
- })
3489
- ),
3490
- goal: withEffect(
3491
- googleStaged("google.conversionAction.goal"),
3492
- defineCommand4({
3493
- meta: {
3494
- name: "goal",
3495
- description: `Stage the ACCOUNT-LEVEL conversion goal for one (category, origin) pair \u2014 Google Ads' "Included in account-level goals" switch. Start here when a conversion action is already Primary but bidding still ignores it: both halves have to be on. One command per pair. --biddable includes the category in bidding; --no-biddable measures it only.`
3496
- },
3497
- args: {
3498
- ...customerIdArg,
3499
- category: {
3500
- type: "string",
3501
- description: `Conversion category, e.g. PURCHASE, SUBMIT_LEAD_FORM, SIGNUP (${CONVERSION_ACTION_CATEGORIES.join(" | ")})`
3502
- },
3503
- origin: {
3504
- type: "string",
3505
- description: `Where the conversion happens (${CONVERSION_ORIGINS.join(" | ")})`
3506
- },
3507
- biddable: {
3508
- type: "boolean",
3509
- // The spaced form is refused by `booleanWordPositionalError` — the description only states
3510
- // the forms that work.
3511
- description: "Include this category in the account's bidding goals. Exclude it (measured only, never bid toward) with --no-biddable or --biddable=false."
3512
- }
3513
- },
3514
- run: async ({ args }) => {
3515
- const customerId = requireCustomerId(args);
3516
- await stageCreate("google.conversionAction.goal", customerId, conversionGoalFromFlags(args), [
3517
- ...CONVERSION_GOAL_HINTS
3518
- ]);
3519
- }
3520
- })
3521
- )
3522
- }
3523
- });
3524
- var biddingStrategiesCommand = defineCommand4({
3525
- meta: {
3526
- name: "bidding-strategies",
3527
- description: "Stage portfolio bidding strategy create/update (via --file) and remove"
3528
- },
3529
- subCommands: {
3530
- create: fileCreateCommand("create", "google.biddingStrategy.create", "Stage a portfolio bidding strategy"),
3531
- update: withEffect(
3532
- googleStaged("google.biddingStrategy.update"),
3533
- defineCommand4({
3534
- meta: { name: "update", description: "Stage a portfolio bidding strategy update" },
3535
- args: { ...customerIdArg, ...targetArg("bidding strategy"), ...fileArg("google.biddingStrategy.update") },
3536
- run: async ({ args }) => {
3537
- const customerId = requireCustomerId(args);
3538
- await stageUpdate(
3539
- "google.biddingStrategy.update",
3540
- customerId,
3541
- requireTarget(args, "bidding strategy"),
3542
- loadJsonFileArg(args.file)
3543
- );
3544
- }
3545
- })
3546
- ),
3547
- remove: statusCommand("google.biddingStrategy.remove", "portfolio bid strategy", [
3548
- "A portfolio can be removed only once no campaign bids with it: staging refuses it while one does, unless this draft removes those campaigns or moves them to their own bidding or another portfolio."
3549
- ])
3550
- }
3551
- });
3552
- function labelAttachFromFlags(args) {
3553
- return {
3554
- level: requireStringFlag(args.level, "--level"),
3555
- parent: requireStringFlag(args.on, "--on"),
3556
- label: requireStringFlag(args["label-ref"], "--label-ref")
3557
- };
3558
- }
3559
- function labelUpdateFromFlags(args) {
3560
- return {
3561
- name: args.name,
3562
- backgroundColor: args["background-color"],
3563
- description: args.description
3564
- };
3565
- }
3566
- var LABEL_LEVEL_HELP = "campaign | adGroup | ad | keyword. An ad or keyword is named by its full resource name (customers/{cid}/adGroupAds/{adGroupId}~{adId}, customers/{cid}/adGroupCriteria/{adGroupId}~{criterionId}). Google has no labels on assets, and labels on the account itself come only from a manager account \u2014 both are refused.";
3567
- var labelsCommand = defineCommand4({
3568
- meta: {
3569
- name: "labels",
3570
- description: "Stage labels: create, update (name/colour/description), remove, attach to a campaign/ad group/ad/keyword, detach"
3571
- },
3572
- subCommands: {
3573
- create: withEffect(
3574
- googleStaged("google.label.create"),
3575
- defineCommand4({
3576
- meta: { name: "create", description: `Create a label. Names are unique in the account. ${STAGED_WRITE}` },
3577
- args: {
3578
- ...customerIdArg,
3579
- name: { type: "string" },
3580
- "background-color": { type: "string", description: "Hex colour, e.g. #1A73E8" },
3581
- description: { type: "string" }
3582
- },
3583
- run: async ({ args }) => {
3584
- const customerId = requireCustomerId(args);
3585
- await stageCreate("google.label.create", customerId, {
3586
- name: requireStringFlag(args.name, "--name"),
3587
- backgroundColor: args["background-color"],
3588
- description: args.description
3589
- });
3590
- }
3591
- })
3592
- ),
3593
- update: withEffect(
3594
- googleStaged("google.label.update"),
3595
- defineCommand4({
3596
- meta: {
3597
- name: "update",
3598
- description: `Rename a label or change its colour or description. Start here:
3599
- baker ads google labels update 22297940102 --name "Q4 push" --customer-id 1234567890
3600
- \`--description ""\` clears the description. ${STAGED_WRITE}`
3601
- },
3602
- args: {
3603
- ...customerIdArg,
3604
- id: { type: "positional", description: "Label id or customers/{cid}/labels/{id}", required: false },
3605
- name: { type: "string", description: "New name \u2014 unique in the account" },
3606
- "background-color": { type: "string", description: "Hex colour, e.g. #1A73E8" },
3607
- description: { type: "string", description: 'New description ("" clears it)' }
3608
- },
3609
- run: async ({ args }) => {
3610
- const customerId = requireCustomerId(args);
3611
- await stageUpdate(
3612
- "google.label.update",
3613
- customerId,
3614
- requireTarget(args, "label"),
3615
- labelUpdateFromFlags(args)
3616
- );
3617
- }
3618
- })
3619
- ),
3620
- remove: statusCommand("google.label.remove", "label", [
3621
- "This removes the label itself \u2014 no need to detach it first. To take it off one thing only, use `labels detach <link resource name>`."
3622
- ]),
3623
- attach: withEffect(
3624
- googleStagedBatch("google.label.attach"),
3625
- defineCommand4({
3626
- meta: {
3627
- name: "attach",
3628
- description: `Put a label on a campaign, ad group, ad or keyword. Start here:
3629
- baker ads google labels attach --level campaign --on 23456789 --label-ref g_temp_\u2026 --customer-id 1234567890
3630
- baker ads google labels attach --level keyword --on customers/1234567890/adGroupCriteria/55~66 --label-ref 22297940102 --customer-id 1234567890
3631
- Many at once: --file labels.json (a JSON array of {level, parent, label}). ${STAGED_WRITE}`
3632
- },
3633
- args: {
3634
- ...customerIdArg,
3635
- ...fileBatchArg("google.label.attach"),
3636
- level: { type: "string", description: LABEL_LEVEL_HELP },
3637
- on: {
3638
- type: "string",
3639
- description: "What gets the label: campaign/ad group ref, or an ad's/keyword's resource name"
3640
- },
3641
- "label-ref": {
3642
- type: "string",
3643
- description: "The label: g_temp_* from `labels create`, its id, or resource name"
3644
- },
3645
- full: STAGE_FULL_ARG
3646
- },
3647
- run: async ({ args }) => {
3648
- const customerId = requireCustomerId(args);
3649
- const payloads = args.file ? loadJsonPayloads(args.file) : [labelAttachFromFlags(args)];
3650
- if (payloads.length > GOOGLE_DRAFT_BATCH_MAX) {
3651
- failWriteValidation(
3652
- `${payloads.length} payloads exceeds the batch limit of ${GOOGLE_DRAFT_BATCH_MAX} \u2014 split the file`
3653
- );
3654
- }
3655
- await stageGoogleOps(
3656
- payloads.map((payload) => ({ kind: "google.label.attach", customerId, payload })),
3657
- void 0,
3658
- args.full === true
3659
- );
3660
- }
3661
- })
3662
- ),
3663
- detach: statusCommand("google.label.detach", "label link", [
3664
- 'A label link is named by what it sits on and the label: customers/{cid}/campaignLabels/{campaignId}~{labelId}, adGroupLabels/{adGroupId}~{labelId}, adGroupAdLabels/{adGroupId}~{adId}~{labelId} or adGroupCriterionLabels/{adGroupId}~{criterionId}~{labelId} \u2014 read it with `baker ads google query "SELECT campaign_label.resource_name, label.name FROM campaign_label"`.'
3665
- ])
3666
- }
3667
- });
3668
- var googleWriteCommands = {
3669
- account: accountCommand,
3670
- budgets: budgetsCommand,
3671
- campaigns: campaignsCommand,
3672
- "ad-groups": adGroupsCommand,
3673
- "negative-keywords": negativeKeywordsCommand,
3674
- "keyword-lists": keywordListsCommand,
3675
- ads: adsCommand,
3676
- assets: assetsCommand,
3677
- "asset-groups": assetGroupsCommand,
3678
- audiences: audiencesCommand,
3679
- conversions: conversionsCommand,
3680
- "bidding-strategies": biddingStrategiesCommand,
3681
- labels: labelsCommand,
3682
- "campaign-criteria": campaignCriteriaCommand,
3683
- "ad-group-criteria": adGroupCriteriaCommand,
3684
- "ad-group-bid-modifiers": adGroupBidModifiersCommand,
3685
- "account-exclusions": accountExclusionsCommand,
3686
- "asset-group-signals": assetGroupSignalsCommand
3687
- };
3688
-
3689
- // src/commands/ads/google/index.ts
3690
- var keywordsWithWrites = defineCommand5({
3691
- meta: keywordsCommand.meta,
3692
- subCommands: {
3693
- ...keywordsCommand.subCommands,
3694
- ...LIST_COMMANDS.keywords ? { list: LIST_COMMANDS.keywords } : {},
3695
- ...keywordWriteSubcommands
3696
- }
3697
- });
3698
- var GROUP_READS = {
3699
- "negative-keywords": { check: () => import("./search-terms-6JPD3IBR.js").then((m) => m.negativeCheckCommand) }
3700
- };
3701
- function withList(thing, command) {
3702
- const list2 = LIST_COMMANDS[thing];
3703
- if (!list2) return command;
3704
- return defineCommand5({
3705
- meta: command.meta,
3706
- args: command.args,
3707
- subCommands: { list: list2, ...GROUP_READS[thing], ...command.subCommands }
3708
- });
3709
- }
3710
- var googleWriteCommandsWithLists = Object.fromEntries(
3711
- Object.entries(googleWriteCommands).map(([thing, command]) => [thing, withList(thing, command)])
3712
- );
3713
- var merchantCenterCommand = defineCommand5({
3714
- meta: { name: "merchant-center", description: "Merchant Center accounts linked to this Google Ads account" },
3715
- subCommands: LIST_COMMANDS["merchant-center"] ? { list: LIST_COMMANDS["merchant-center"] } : {}
3716
- });
3717
- var googleCommand = defineCommand5({
3718
- meta: {
3719
- name: "google",
3720
- description: `Google Ads commands. Query campaigns, keywords, search terms, and more via GAQL.
3721
-
3722
- Start here:
3723
- baker ads google accounts \u2014 list accessible accounts
3724
- baker ads google campaigns list \u2014 what exists, with ids (also ad-groups, keywords, ads, \u2026 list)
3725
- baker ads google query --list-presets \u2014 see available query templates
3726
- baker ads google search-terms --group-by ngram --zero-conversions \u2014 search-term waste, one call
3727
-
3728
- Examples:
3729
- baker ads google query "SELECT campaign.name, metrics.clicks FROM campaign WHERE segments.date DURING LAST_7_DAYS" --customer-id 1234567890
3730
- baker ads google query --preset campaign-performance --customer-id 1234567890
3731
- baker ads google currency --customer-id 1234567890
3732
- baker ads google url-options --customer-id 1234567890 \u2014 UTM / tracking parameters in force
3733
- baker ads google keywords discover --customer-id 1234567890 --seeds "running shoes"
3734
- baker ads google keywords forecast --customer-id 1234567890 --text "running shoes:PHRASE" --max-cpc 1.2
3735
- baker ads google previews --customer-id 1234567890 --asset-groups 111 \u2014 shareable preview link
3736
- baker ads google invoices --customer-id 1234567890 \u2014 last month's invoices
3737
-
3738
- Staged writes (never touch Google until the chat is published):
3739
- baker ads google budgets create --customer-id 1234567890 --name "Search" --amount 50
3740
- baker ads google campaigns create --customer-id 1234567890 --name "Brand" --channel-type SEARCH --budget-ref g_temp_\u2026 --bidding-strategy MANUAL_CPC
3741
- baker ads google keyword-lists create --customer-id 1234567890 --name "Brand exclusions"
3742
- baker ads google draft list \u2014 review staged Google Ads changes
3743
- Full guide: __tooling__/docs/tools/baker/ads-google.md`
3744
- },
3745
- subCommands: {
3746
- accounts: () => import("./accounts-KSR52GP4.js").then((m) => m.accountsCommand),
3747
- currency: () => import("./currency-VMKH6BMM.js").then((m) => m.currencyCommand),
3748
- "url-options": () => import("./url-options-XNMZCC5F.js").then((m) => m.urlOptionsCommand),
3749
- changes: () => import("./changes-UVTUXF7V.js").then((m) => m.changesCommand),
3750
- invoices: () => import("./account-reads-YXGZC5SY.js").then((m) => m.invoicesCommand),
3751
- "identity-verification": () => import("./account-reads-YXGZC5SY.js").then((m) => m.identityVerificationCommand),
3752
- previews: () => import("./account-reads-YXGZC5SY.js").then((m) => m.previewsCommand),
3753
- brands: () => import("./account-reads-YXGZC5SY.js").then((m) => m.brandsCommand),
3754
- query: () => import("./query-3EHZD7YM.js").then((m) => m.queryCommand),
3755
- "search-terms": () => import("./search-terms-6JPD3IBR.js").then((m) => m.searchTermsCommand),
3756
- keywords: keywordsWithWrites,
3757
- ...googleWriteCommandsWithLists,
3758
- "merchant-center": merchantCenterCommand,
3759
- draft: () => import("./draft-UCMBS36F.js").then((m) => m.draftCommand)
3760
- }
3761
- });
3762
- export {
3763
- googleCommand
3764
- };
3765
- //# sourceMappingURL=google-J5PUBM5L.js.map