[{"data":1,"prerenderedAt":1450},["ShallowReactive",2],{"nav-en":3,"learn-chrome-id":592,"doc-\u002Fid\u002Fdocs\u002Fai-and-api\u002Fassistants\u002Fplaybooks":690,"mdc--jhvjyr-key":1439},[4],{"title":5,"path":6,"stem":7,"children":8,"page":11},"Docs","\u002Fdocs","docs",[9,81,269,470,553],{"title":10,"draft":11,"path":12,"stem":13,"children":14},"Overview",false,"\u002Fdocs\u002Foverview","docs\u002F01.overview\u002Findex",[15,16,41,66],{"title":10,"path":12,"stem":13,"draft":11},{"title":17,"draft":11,"path":18,"stem":19,"children":20,"page":11},"Get started","\u002Fdocs\u002Foverview\u002Fget-started","docs\u002F01.overview\u002F01.get-started",[21,26,31,36],{"title":22,"path":23,"stem":24,"draft":11,"icon":25},"What is DataGlass","\u002Fdocs\u002Foverview\u002Fget-started\u002Fwhat-is-dataglass","docs\u002F01.overview\u002F01.get-started\u002F01.what-is-dataglass","i-material-symbols-info-rounded",{"title":27,"path":28,"stem":29,"draft":11,"icon":30},"Quick start","\u002Fdocs\u002Foverview\u002Fget-started\u002Fquick-start","docs\u002F01.overview\u002F01.get-started\u002F02.quick-start","i-material-symbols-rocket-launch-rounded",{"title":32,"path":33,"stem":34,"draft":11,"icon":35},"Supported platforms","\u002Fdocs\u002Foverview\u002Fget-started\u002Fsupported-platforms","docs\u002F01.overview\u002F01.get-started\u002F03.supported-platforms","i-material-symbols-grid-view-rounded",{"title":37,"path":38,"stem":39,"draft":11,"icon":40},"Connecting shops","\u002Fdocs\u002Foverview\u002Fget-started\u002Fconnecting-shops","docs\u002F01.overview\u002F01.get-started\u002F04.connecting-shops","i-material-symbols-link-rounded",{"title":42,"draft":11,"path":43,"stem":44,"children":45,"page":11},"Foundations","\u002Fdocs\u002Foverview\u002Ffoundations","docs\u002F01.overview\u002F02.foundations",[46,51,56,61],{"title":47,"path":48,"stem":49,"draft":11,"icon":50},"This shop vs Unified view","\u002Fdocs\u002Foverview\u002Ffoundations\u002Fthis-shop-vs-unified","docs\u002F01.overview\u002F02.foundations\u002F01.this-shop-vs-unified","i-material-symbols-layers-rounded",{"title":52,"path":53,"stem":54,"draft":11,"icon":55},"COGS and their role","\u002Fdocs\u002Foverview\u002Ffoundations\u002Fcogs-and-their-role","docs\u002F01.overview\u002F02.foundations\u002F02.cogs-and-their-role","i-material-symbols-payments-rounded",{"title":57,"path":58,"stem":59,"draft":11,"icon":60},"What's in your margin","\u002Fdocs\u002Foverview\u002Ffoundations\u002Fideal-vs-realized-margin","docs\u002F01.overview\u002F02.foundations\u002F03.ideal-vs-realized-margin","i-material-symbols-compare-arrows-rounded",{"title":62,"path":63,"stem":64,"draft":11,"icon":65},"True ROAS","\u002Fdocs\u002Foverview\u002Ffoundations\u002Ftrue-roas","docs\u002F01.overview\u002F02.foundations\u002F04.true-roas","i-material-symbols-ad-group-rounded",{"title":67,"draft":11,"path":68,"stem":69,"children":70,"page":11},"Explore","\u002Fdocs\u002Foverview\u002Fexplore","docs\u002F01.overview\u002F03.explore",[71,76],{"title":72,"path":73,"stem":74,"draft":11,"icon":75},"Pricing","\u002Fdocs\u002Foverview\u002Fexplore\u002Fpricing","docs\u002F01.overview\u002F03.explore\u002F01.pricing","i-material-symbols-sell-rounded",{"title":77,"path":78,"stem":79,"draft":11,"to":80},"Releases","\u002Fdocs\u002Foverview\u002Fexplore\u002Freleases","docs\u002F01.overview\u002F03.explore\u002F02.releases","\u002Freleases",{"title":82,"draft":11,"path":83,"stem":84,"children":85},"Features","\u002Fdocs\u002Ffeatures","docs\u002F02.features\u002Findex",[86,87,117,167,208,230,250],{"title":10,"path":83,"stem":84,"draft":11},{"title":88,"draft":11,"path":89,"stem":90,"children":91,"page":11},"Shops","\u002Fdocs\u002Ffeatures\u002Fshops","docs\u002F02.features\u002F01.shops",[92,97,102,107,112],{"title":93,"path":94,"stem":95,"draft":11,"icon":96},"Shop overview","\u002Fdocs\u002Ffeatures\u002Fshops\u002Fshop-overview","docs\u002F02.features\u002F01.shops\u002F01.shop-overview","i-material-symbols-space-dashboard-rounded",{"title":98,"path":99,"stem":100,"draft":11,"icon":101},"Understanding the numbers","\u002Fdocs\u002Ffeatures\u002Fshops\u002Funderstanding-the-numbers","docs\u002F02.features\u002F01.shops\u002F02.understanding-the-numbers","i-material-symbols-help-rounded",{"title":103,"path":104,"stem":105,"draft":11,"icon":106},"Attribution & dedup","\u002Fdocs\u002Ffeatures\u002Fshops\u002Fattribution-and-dedup","docs\u002F02.features\u002F01.shops\u002F03.attribution-and-dedup","i-material-symbols-call-merge-rounded",{"title":108,"path":109,"stem":110,"draft":11,"icon":111},"Shop health","\u002Fdocs\u002Ffeatures\u002Fshops\u002Fshop-health","docs\u002F02.features\u002F01.shops\u002F04.shop-health","i-material-symbols-monitor-heart-rounded",{"title":113,"path":114,"stem":115,"draft":11,"icon":116},"Shop settings and sync","\u002Fdocs\u002Ffeatures\u002Fshops\u002Fshop-settings-and-sync","docs\u002F02.features\u002F01.shops\u002F05.shop-settings-and-sync","i-material-symbols-settings-rounded",{"title":118,"draft":11,"path":119,"stem":120,"children":121,"page":11},"Products","\u002Fdocs\u002Ffeatures\u002Fproducts","docs\u002F02.features\u002F02.products",[122,127,132,137,142,147,152,157,162],{"title":123,"path":124,"stem":125,"draft":11,"icon":126},"Product table","\u002Fdocs\u002Ffeatures\u002Fproducts\u002Fproduct-table","docs\u002F02.features\u002F02.products\u002F01.product-table","i-material-symbols-deployed-code-rounded",{"title":128,"path":129,"stem":130,"draft":11,"icon":131},"Unified products","\u002Fdocs\u002Ffeatures\u002Fproducts\u002Funified-products","docs\u002F02.features\u002F02.products\u002F02.unified-products","i-material-symbols-dashboard-customize-rounded",{"title":133,"path":134,"stem":135,"draft":11,"icon":136},"Matching and merging products","\u002Fdocs\u002Ffeatures\u002Fproducts\u002Fmatching-and-merging","docs\u002F02.features\u002F02.products\u002F03.matching-and-merging","i-material-symbols-merge-rounded",{"title":138,"path":139,"stem":140,"draft":11,"icon":141},"Bulk edit (Excel)","\u002Fdocs\u002Ffeatures\u002Fproducts\u002Fbulk-edit-excel","docs\u002F02.features\u002F02.products\u002F04.bulk-edit-excel","i-material-symbols-grid-on-rounded",{"title":143,"path":144,"stem":145,"draft":11,"icon":146},"Inventory and reorder","\u002Fdocs\u002Ffeatures\u002Fproducts\u002Finventory-and-reorder","docs\u002F02.features\u002F02.products\u002F05.inventory-and-reorder","i-material-symbols-inventory-2-rounded",{"title":148,"path":149,"stem":150,"draft":11,"icon":151},"Stock sync","\u002Fdocs\u002Ffeatures\u002Fproducts\u002Fstock-sync","docs\u002F02.features\u002F02.products\u002F06.stock-sync","i-material-symbols-sync-rounded",{"title":153,"path":154,"stem":155,"draft":11,"icon":156},"Commission","\u002Fdocs\u002Ffeatures\u002Fproducts\u002Fcommission","docs\u002F02.features\u002F02.products\u002F07.commission","i-material-symbols-price-change-rounded",{"title":158,"path":159,"stem":160,"draft":11,"icon":161},"Auto bump","\u002Fdocs\u002Ffeatures\u002Fproducts\u002Fauto-bump","docs\u002F02.features\u002F02.products\u002F08.auto-bump","i-material-symbols-trending-up-rounded",{"title":163,"path":164,"stem":165,"draft":11,"icon":166},"Margin spread","\u002Fdocs\u002Ffeatures\u002Fproducts\u002Fmargin-spread","docs\u002F02.features\u002F02.products\u002F09.margin-spread","i-material-symbols-straighten-rounded",{"title":168,"draft":11,"path":169,"stem":170,"children":171},"Financial breakdown","\u002Fdocs\u002Ffeatures\u002Ffinancial-breakdown","docs\u002F02.features\u002F03.financial-breakdown\u002Findex",[172,173,178,183,188,193,198,203],{"title":10,"path":169,"stem":170,"draft":11},{"title":174,"path":175,"stem":176,"draft":11,"icon":177},"Simulate and draft edit","\u002Fdocs\u002Ffeatures\u002Ffinancial-breakdown\u002Fsimulate-and-draft-edit","docs\u002F02.features\u002F03.financial-breakdown\u002F01.simulate-and-draft-edit","i-material-symbols-science-rounded",{"title":179,"path":180,"stem":181,"draft":11,"icon":182},"Set margin","\u002Fdocs\u002Ffeatures\u002Ffinancial-breakdown\u002Fset-margin","docs\u002F02.features\u002F03.financial-breakdown\u002F02.set-margin","i-material-symbols-tune-rounded",{"title":184,"path":185,"stem":186,"draft":11,"icon":187},"Margin optimizer","\u002Fdocs\u002Ffeatures\u002Ffinancial-breakdown\u002Fmargin-optimizer","docs\u002F02.features\u002F03.financial-breakdown\u002F03.margin-optimizer","i-material-symbols-instant-mix-rounded",{"title":189,"path":190,"stem":191,"draft":11,"icon":192},"Price elasticity","\u002Fdocs\u002Ffeatures\u002Ffinancial-breakdown\u002Fprice-elasticity","docs\u002F02.features\u002F03.financial-breakdown\u002F04.price-elasticity","i-material-symbols-show-chart-rounded",{"title":194,"path":195,"stem":196,"draft":11,"icon":197},"Product calculator","\u002Fdocs\u002Ffeatures\u002Ffinancial-breakdown\u002Fproduct-calculator","docs\u002F02.features\u002F03.financial-breakdown\u002F05.product-calculator","i-material-symbols-calculate-rounded",{"title":199,"path":200,"stem":201,"draft":11,"icon":202},"Product history","\u002Fdocs\u002Ffeatures\u002Ffinancial-breakdown\u002Fproduct-history","docs\u002F02.features\u002F03.financial-breakdown\u002F06.product-history","i-material-symbols-history-rounded",{"title":204,"path":205,"stem":206,"draft":11,"icon":207},"Net profit & hidden cost","\u002Fdocs\u002Ffeatures\u002Ffinancial-breakdown\u002Fnet-profit-and-hidden-cost","docs\u002F02.features\u002F03.financial-breakdown\u002F07.net-profit-and-hidden-cost","i-material-symbols-visibility-off-rounded",{"title":72,"draft":11,"path":209,"stem":210,"children":211,"page":11},"\u002Fdocs\u002Ffeatures\u002Fpricing","docs\u002F02.features\u002F04.pricing",[212,216,221,226],{"title":213,"path":214,"stem":215,"draft":11,"icon":141},"Price Edit","\u002Fdocs\u002Ffeatures\u002Fpricing\u002Fprice-edit","docs\u002F02.features\u002F04.pricing\u002F01.price-edit",{"title":217,"path":218,"stem":219,"draft":11,"icon":220},"Price increase whitelist","\u002Fdocs\u002Ffeatures\u002Fpricing\u002Fprice-increase-whitelist","docs\u002F02.features\u002F04.pricing\u002F02.price-increase-whitelist","i-lucide-badge-check",{"title":222,"path":223,"stem":224,"draft":11,"icon":225},"Requesting whitelist approval","\u002Fdocs\u002Ffeatures\u002Fpricing\u002Frequest-whitelist-approval","docs\u002F02.features\u002F04.pricing\u002F03.request-whitelist-approval","i-lucide-mail",{"title":227,"path":228,"stem":229,"draft":11,"icon":75},"Price tiers","\u002Fdocs\u002Ffeatures\u002Fpricing\u002Fprice-tiers","docs\u002F02.features\u002F04.pricing\u002F04.price-tiers",{"title":231,"draft":11,"path":232,"stem":233,"children":234},"Campaign simulator","\u002Fdocs\u002Ffeatures\u002Fcampaign-simulator","docs\u002F02.features\u002F05.campaign-simulator\u002Findex",[235,236,241,246],{"title":10,"path":232,"stem":233,"draft":11},{"title":237,"path":238,"stem":239,"draft":11,"icon":240},"Campaign phases","\u002Fdocs\u002Ffeatures\u002Fcampaign-simulator\u002Fphase-model","docs\u002F02.features\u002F05.campaign-simulator\u002F01.phase-model","i-material-symbols-timeline-rounded",{"title":242,"path":243,"stem":244,"draft":11,"icon":245},"Ads planning","\u002Fdocs\u002Ffeatures\u002Fcampaign-simulator\u002Fads-planning","docs\u002F02.features\u002F05.campaign-simulator\u002F02.ads-planning","i-material-symbols-ads-click-rounded",{"title":247,"path":248,"stem":249,"draft":11,"icon":60},"Counterfactual","\u002Fdocs\u002Ffeatures\u002Fcampaign-simulator\u002Fcounterfactual","docs\u002F02.features\u002F05.campaign-simulator\u002F03.counterfactual",{"title":251,"draft":11,"path":252,"stem":253,"children":254,"page":11},"Orders","\u002Fdocs\u002Ffeatures\u002Forders","docs\u002F02.features\u002F06.orders",[255,259,264],{"title":251,"path":256,"stem":257,"draft":11,"icon":258},"\u002Fdocs\u002Ffeatures\u002Forders\u002Forders","docs\u002F02.features\u002F06.orders\u002F01.orders","i-material-symbols-receipt-long-rounded",{"title":260,"path":261,"stem":262,"draft":11,"icon":263},"Reconciliation","\u002Fdocs\u002Ffeatures\u002Forders\u002Freconciliation","docs\u002F02.features\u002F06.orders\u002F02.reconciliation","i-material-symbols-balance",{"title":265,"path":266,"stem":267,"draft":11,"icon":268},"Shipping labels","\u002Fdocs\u002Ffeatures\u002Forders\u002Fshipping-labels","docs\u002F02.features\u002F06.orders\u002F03.shipping-labels","i-material-symbols-local-shipping-rounded",{"title":270,"draft":11,"path":271,"stem":272,"children":273},"Growth","\u002Fdocs\u002Fgrowth","docs\u002F03.growth\u002Findex",[274,275,298,362,386],{"title":10,"path":271,"stem":272,"draft":11},{"title":276,"draft":11,"path":277,"stem":278,"children":279,"page":11},"Actions","\u002Fdocs\u002Fgrowth\u002Factions","docs\u002F03.growth\u002F01.actions",[280,285,289,294],{"title":281,"path":282,"stem":283,"draft":11,"icon":284},"What are Actions","\u002Fdocs\u002Fgrowth\u002Factions\u002Fwhat-are-actions","docs\u002F03.growth\u002F01.actions\u002F01.what-are-actions","i-material-symbols-app-spark-rounded",{"title":286,"path":287,"stem":288,"draft":11},"Action flow","\u002Fdocs\u002Fgrowth\u002Factions\u002Faction-flow","docs\u002F03.growth\u002F01.actions\u002F02.action-flow",{"title":290,"path":291,"stem":292,"draft":11,"icon":293},"Deployed and dismissed","\u002Fdocs\u002Fgrowth\u002Factions\u002Fdeployed-and-dismissed","docs\u002F03.growth\u002F01.actions\u002F03.deployed-and-dismissed","i-material-symbols-published-with-changes-rounded",{"title":295,"path":296,"stem":297,"draft":11,"icon":197},"How Results are calculated","\u002Fdocs\u002Fgrowth\u002Factions\u002Fresults","docs\u002F03.growth\u002F01.actions\u002F04.results",{"title":299,"draft":11,"path":300,"stem":301,"children":302,"icon":304},"Action types","\u002Fdocs\u002Fgrowth\u002Faction-types","docs\u002F03.growth\u002F02.action-types\u002Findex",[303,305,310,315,319,324,329,334,339,343,348,353,358],{"title":10,"path":300,"stem":301,"draft":11,"icon":304},"i-material-symbols-format-list-bulleted-rounded",{"title":306,"path":307,"stem":308,"draft":11,"icon":309},"Price buffer","\u002Fdocs\u002Fgrowth\u002Faction-types\u002Fprice-buffer","docs\u002F03.growth\u002F02.action-types\u002F01.price-buffer","i-material-symbols-money-range-rounded",{"title":311,"path":312,"stem":313,"draft":11,"icon":314},"Commission adjust","\u002Fdocs\u002Fgrowth\u002Faction-types\u002Fcommission-adjust","docs\u002F03.growth\u002F02.action-types\u002F02.commission-adjust","i-material-symbols-percent-discount-rounded",{"title":316,"path":317,"stem":318,"draft":11,"icon":106},"Variant merge","\u002Fdocs\u002Fgrowth\u002Faction-types\u002Fvariant-merge","docs\u002F03.growth\u002F02.action-types\u002F03.variant-merge",{"title":320,"path":321,"stem":322,"draft":11,"icon":323},"Target ROAS","\u002Fdocs\u002Fgrowth\u002Faction-types\u002Ftarget-roas","docs\u002F03.growth\u002F02.action-types\u002F04.target-roas","i-material-symbols-target",{"title":325,"path":326,"stem":327,"draft":11,"icon":328},"Bundle Deal","\u002Fdocs\u002Fgrowth\u002Faction-types\u002Fbundle-deal","docs\u002F03.growth\u002F02.action-types\u002F05.bundle-deal","i-material-symbols-category-rounded",{"title":330,"path":331,"stem":332,"draft":11,"icon":333},"Product Boost","\u002Fdocs\u002Fgrowth\u002Faction-types\u002Fproduct-boost","docs\u002F03.growth\u002F02.action-types\u002F06.product-boost","i-material-symbols-electric-bolt-rounded",{"title":335,"path":336,"stem":337,"draft":11,"icon":338},"Campaign Enrollment","\u002Fdocs\u002Fgrowth\u002Faction-types\u002Fcampaign-enrollment","docs\u002F03.growth\u002F02.action-types\u002F07.campaign-enrollment","i-material-symbols-play-arrow-rounded",{"title":340,"path":341,"stem":342,"draft":11,"icon":245},"Ad Adjustment","\u002Fdocs\u002Fgrowth\u002Faction-types\u002Fad-adjustment","docs\u002F03.growth\u002F02.action-types\u002F08.ad-adjustment",{"title":344,"path":345,"stem":346,"draft":11,"icon":347},"SEO","\u002Fdocs\u002Fgrowth\u002Faction-types\u002Fseo","docs\u002F03.growth\u002F02.action-types\u002F09.seo","i-material-symbols-category-search-rounded",{"title":349,"path":350,"stem":351,"draft":11,"icon":352},"Add-on Deal","\u002Fdocs\u002Fgrowth\u002Faction-types\u002Fadd-on-deal","docs\u002F03.growth\u002F02.action-types\u002F10.add-on-deal","i-material-symbols-add-box-rounded",{"title":354,"path":355,"stem":356,"draft":11,"icon":357},"Stock Up","\u002Fdocs\u002Fgrowth\u002Faction-types\u002Fstock-up","docs\u002F03.growth\u002F02.action-types\u002F11.stock-up","i-material-symbols-inventory-rounded",{"title":359,"path":360,"stem":361,"draft":11,"icon":323},"TikTok Target ROAS","\u002Fdocs\u002Fgrowth\u002Faction-types\u002Ftiktok-target-roas","docs\u002F03.growth\u002F02.action-types\u002F12.tiktok-target-roas",{"title":363,"draft":11,"path":364,"stem":365,"children":366,"page":11},"Ads","\u002Fdocs\u002Fgrowth\u002Fads","docs\u002F03.growth\u002F03.ads",[367,372,376,381],{"title":368,"path":369,"stem":370,"draft":11,"icon":371},"Reading the Sankey","\u002Fdocs\u002Fgrowth\u002Fads\u002Freading-the-sankey","docs\u002F03.growth\u002F03.ads\u002F01.reading-the-sankey","i-material-symbols-schema-rounded",{"title":373,"path":374,"stem":375,"draft":11,"icon":60},"Cannibalization","\u002Fdocs\u002Fgrowth\u002Fads\u002Fcannibalization","docs\u002F03.growth\u002F03.ads\u002F02.cannibalization",{"title":377,"path":378,"stem":379,"draft":11,"icon":380},"Meta (Facebook) Ads","\u002Fdocs\u002Fgrowth\u002Fads\u002Fmeta-ads","docs\u002F03.growth\u002F03.ads\u002F03.meta-ads","i-simple-icons-meta",{"title":382,"path":383,"stem":384,"draft":11,"icon":385},"CPAS profit","\u002Fdocs\u002Fgrowth\u002Fads\u002Fcpas-profit","docs\u002F03.growth\u002F03.ads\u002F04.cpas-profit","i-material-symbols-hub-rounded",{"title":387,"draft":11,"path":388,"stem":389,"children":390,"icon":65},"Optimization groups","\u002Fdocs\u002Fgrowth\u002Foptimization-groups","docs\u002F03.growth\u002F04.optimization-groups\u002Findex",[391,392,397,402,407,412,416,421,426,431,436,441,445,450,455,460,465],{"title":10,"path":388,"stem":389,"draft":11,"icon":65},{"title":393,"path":394,"stem":395,"draft":11,"icon":396},"Planning your groups","\u002Fdocs\u002Fgrowth\u002Foptimization-groups\u002Fplanning-your-groups","docs\u002F03.growth\u002F04.optimization-groups\u002F00.planning-your-groups","i-lucide-boxes",{"title":398,"path":399,"stem":400,"draft":11,"icon":401},"Creating a group","\u002Fdocs\u002Fgrowth\u002Foptimization-groups\u002Fcreating-a-group","docs\u002F03.growth\u002F04.optimization-groups\u002F01.creating-a-group","i-lucide-plus",{"title":403,"path":404,"stem":405,"draft":11,"icon":406},"Global settings","\u002Fdocs\u002Fgrowth\u002Foptimization-groups\u002Fglobal-settings","docs\u002F03.growth\u002F04.optimization-groups\u002F02.global-settings","i-lucide-settings-2",{"title":408,"path":409,"stem":410,"draft":11,"icon":411},"Budget and limits","\u002Fdocs\u002Fgrowth\u002Foptimization-groups\u002Fbudget-and-limits","docs\u002F03.growth\u002F04.optimization-groups\u002F03.budget-and-limits","i-lucide-wallet",{"title":270,"path":413,"stem":414,"draft":11,"icon":415},"\u002Fdocs\u002Fgrowth\u002Foptimization-groups\u002Fgrowth","docs\u002F03.growth\u002F04.optimization-groups\u002F04.growth","i-lucide-trending-up",{"title":417,"path":418,"stem":419,"draft":11,"icon":420},"Choosing an objective","\u002Fdocs\u002Fgrowth\u002Foptimization-groups\u002Fchoosing-an-objective","docs\u002F03.growth\u002F04.optimization-groups\u002F05.choosing-an-objective","i-lucide-target",{"title":422,"path":423,"stem":424,"draft":11,"icon":425},"Constraints","\u002Fdocs\u002Fgrowth\u002Foptimization-groups\u002Fconstraints","docs\u002F03.growth\u002F04.optimization-groups\u002F06.constraints","i-lucide-shield-check",{"title":427,"path":428,"stem":429,"draft":11,"icon":430},"Distribution","\u002Fdocs\u002Fgrowth\u002Foptimization-groups\u002Fallocation-preference","docs\u002F03.growth\u002F04.optimization-groups\u002F07.allocation-preference","i-lucide-sliders-horizontal",{"title":432,"path":433,"stem":434,"draft":11,"icon":435},"Pacing and rebalancing","\u002Fdocs\u002Fgrowth\u002Foptimization-groups\u002Fpacing-and-rebalancing","docs\u002F03.growth\u002F04.optimization-groups\u002F08.pacing-and-rebalancing","i-lucide-clock",{"title":437,"path":438,"stem":439,"draft":11,"icon":440},"The month plan","\u002Fdocs\u002Fgrowth\u002Foptimization-groups\u002Fmonthly-plan","docs\u002F03.growth\u002F04.optimization-groups\u002F09.monthly-plan","i-lucide-calendar-days",{"title":442,"path":443,"stem":444,"draft":11,"icon":435},"The Timeline schedule","\u002Fdocs\u002Fgrowth\u002Foptimization-groups\u002Fschedule","docs\u002F03.growth\u002F04.optimization-groups\u002F10.schedule",{"title":446,"path":447,"stem":448,"draft":11,"icon":449},"Automation rules","\u002Fdocs\u002Fgrowth\u002Foptimization-groups\u002Fautomation","docs\u002F03.growth\u002F04.optimization-groups\u002F11.automation","i-lucide-workflow",{"title":451,"path":452,"stem":453,"draft":11,"icon":454},"Managing campaigns in a group","\u002Fdocs\u002Fgrowth\u002Foptimization-groups\u002Fmanaging-campaigns","docs\u002F03.growth\u002F04.optimization-groups\u002F12.managing-campaigns","i-lucide-list-checks",{"title":456,"path":457,"stem":458,"draft":11,"icon":459},"How the run works","\u002Fdocs\u002Fgrowth\u002Foptimization-groups\u002Fdaily-run","docs\u002F03.growth\u002F04.optimization-groups\u002F13.daily-run","i-lucide-refresh-cw",{"title":461,"path":462,"stem":463,"draft":11,"icon":464},"When the ads model is updating","\u002Fdocs\u002Fgrowth\u002Foptimization-groups\u002Fmodel-training","docs\u002F03.growth\u002F04.optimization-groups\u002F14.model-training","i-lucide-brain-circuit",{"title":466,"path":467,"stem":468,"draft":11,"icon":469},"Glossary","\u002Fdocs\u002Fgrowth\u002Foptimization-groups\u002Fglossary","docs\u002F03.growth\u002F04.optimization-groups\u002F16.glossary","i-lucide-book-a",{"title":471,"draft":11,"path":472,"stem":473,"children":474},"AI and API","\u002Fdocs\u002Fai-and-api","docs\u002F04.ai-and-api\u002Findex",[475,476,518],{"title":10,"path":472,"stem":473,"draft":11},{"title":477,"draft":11,"path":478,"stem":479,"children":480,"icon":482},"AI assistants","\u002Fdocs\u002Fai-and-api\u002Fassistants","docs\u002F04.ai-and-api\u002F01.assistants\u002Findex",[481,483,488,493,498,503,508,513],{"title":10,"path":478,"stem":479,"draft":11,"icon":482},"i-material-symbols-smart-toy-rounded",{"title":484,"path":485,"stem":486,"draft":11,"icon":487},"Connect to ChatGPT","\u002Fdocs\u002Fai-and-api\u002Fassistants\u002Fconnect-chatgpt","docs\u002F04.ai-and-api\u002F01.assistants\u002F01.connect-chatgpt","i-simple-icons-openai",{"title":489,"path":490,"stem":491,"draft":11,"icon":492},"Connect to Claude","\u002Fdocs\u002Fai-and-api\u002Fassistants\u002Fconnect-claude","docs\u002F04.ai-and-api\u002F01.assistants\u002F02.connect-claude","i-simple-icons-claude",{"title":494,"path":495,"stem":496,"draft":11,"icon":497},"Native playbooks","\u002Fdocs\u002Fai-and-api\u002Fassistants\u002Fplaybooks","docs\u002F04.ai-and-api\u002F01.assistants\u002F03.playbooks","i-material-symbols-route-rounded",{"title":499,"path":500,"stem":501,"draft":11,"icon":502},"Prompt library","\u002Fdocs\u002Fai-and-api\u002Fassistants\u002Fprompt-library","docs\u002F04.ai-and-api\u002F01.assistants\u002F04.prompt-library","i-material-symbols-forum-rounded",{"title":504,"path":505,"stem":506,"draft":11,"icon":507},"MCP tool catalog","\u002Fdocs\u002Fai-and-api\u002Fassistants\u002Ftool-catalog","docs\u002F04.ai-and-api\u002F01.assistants\u002F05.tool-catalog","i-material-symbols-build-rounded",{"title":509,"path":510,"stem":511,"draft":11,"icon":512},"Permissions and safety","\u002Fdocs\u002Fai-and-api\u002Fassistants\u002Fusage-and-safety","docs\u002F04.ai-and-api\u002F01.assistants\u002F06.usage-and-safety","i-material-symbols-health-and-safety-rounded",{"title":514,"path":515,"stem":516,"draft":11,"icon":517},"Worked MCP examples","\u002Fdocs\u002Fai-and-api\u002Fassistants\u002Fworked-examples","docs\u002F04.ai-and-api\u002F01.assistants\u002F07.worked-examples","i-material-symbols-menu-book-rounded",{"title":519,"draft":11,"path":520,"stem":521,"children":522,"page":11},"API","\u002Fdocs\u002Fai-and-api\u002Fapi","docs\u002F04.ai-and-api\u002F02.api",[523,528,533,538,543,548],{"title":524,"path":525,"stem":526,"draft":11,"icon":527},"Getting started","\u002Fdocs\u002Fai-and-api\u002Fapi\u002Fgetting-started","docs\u002F04.ai-and-api\u002F02.api\u002F01.getting-started","i-material-symbols-key-rounded",{"title":529,"path":530,"stem":531,"draft":11,"icon":532},"API security & limits","\u002Fdocs\u002Fai-and-api\u002Fapi\u002Fsecurity","docs\u002F04.ai-and-api\u002F02.api\u002F02.security","i-material-symbols-verified-user-rounded",{"title":534,"path":535,"stem":536,"draft":11,"icon":537},"Endpoints: products & orders","\u002Fdocs\u002Fai-and-api\u002Fapi\u002Fproducts-and-orders","docs\u002F04.ai-and-api\u002F02.api\u002F03.products-and-orders","i-material-symbols-package-2-rounded",{"title":539,"path":540,"stem":541,"draft":11,"icon":542},"Endpoints: financial breakdown","\u002Fdocs\u002Fai-and-api\u002Fapi\u002Ffinancial-breakdown","docs\u002F04.ai-and-api\u002F02.api\u002F04.financial-breakdown","i-material-symbols-account-balance-rounded",{"title":544,"path":545,"stem":546,"draft":11,"icon":547},"Endpoints: raw platform data","\u002Fdocs\u002Fai-and-api\u002Fapi\u002Fplatform-data","docs\u002F04.ai-and-api\u002F02.api\u002F05.platform-data","i-material-symbols-database-rounded",{"title":549,"path":550,"stem":551,"draft":11,"icon":552},"Endpoints: Actions & recommendations","\u002Fdocs\u002Fai-and-api\u002Fapi\u002Frecommendations","docs\u002F04.ai-and-api\u002F02.api\u002F06.recommendations","i-material-symbols-recommend-rounded",{"title":554,"draft":11,"path":555,"stem":556,"children":557},"Administration","\u002Fdocs\u002Fadministration","docs\u002F05.administration\u002Findex",[558,559,579],{"title":10,"path":555,"stem":556,"draft":11},{"title":560,"draft":11,"path":561,"stem":562,"children":563,"page":11},"Team and access","\u002Fdocs\u002Fadministration\u002Fteam-and-access","docs\u002F05.administration\u002F01.team-and-access",[564,569,574],{"title":565,"path":566,"stem":567,"draft":11,"icon":568},"Team & roles","\u002Fdocs\u002Fadministration\u002Fteam-and-access\u002Fteam-and-roles","docs\u002F05.administration\u002F01.team-and-access\u002F01.team-and-roles","i-material-symbols-group-rounded",{"title":570,"path":571,"stem":572,"draft":11,"icon":573},"Adding teammates","\u002Fdocs\u002Fadministration\u002Fteam-and-access\u002Fadding-teammates","docs\u002F05.administration\u002F01.team-and-access\u002F02.adding-teammates","i-material-symbols-person-add-rounded",{"title":575,"path":576,"stem":577,"draft":11,"icon":578},"Managing access","\u002Fdocs\u002Fadministration\u002Fteam-and-access\u002Fmanaging-access","docs\u002F05.administration\u002F01.team-and-access\u002F03.managing-access","i-material-symbols-admin-panel-settings-rounded",{"title":580,"draft":11,"path":581,"stem":582,"children":583,"page":11},"Account","\u002Fdocs\u002Fadministration\u002Faccount","docs\u002F05.administration\u002F02.account",[584,588],{"title":585,"path":586,"stem":587,"draft":11,"icon":385},"Open Platform","\u002Fdocs\u002Fadministration\u002Faccount\u002Fopen-platform","docs\u002F05.administration\u002F02.account\u002F01.open-platform",{"title":589,"path":590,"stem":591,"draft":11,"icon":258},"VAT","\u002Fdocs\u002Fadministration\u002Faccount\u002Fvat","docs\u002F05.administration\u002F02.account\u002F02.vat",{"id":593,"docsPage":594,"docsSidebar":605,"docsTabs":607,"extension":609,"footer":610,"header":669,"localeSwitch":685,"meta":687,"stem":688,"__hash__":689},"chrome_en\u002Fen\u002Fchrome.yml",{"onThisPage":595,"copyPage":596,"copied":597,"copyMenu":598,"copyMarkdownLink":599,"linkCopied":600,"viewMarkdown":601,"openChatGpt":602,"openClaude":603,"platforms":604},"On this page","Copy page","Copied","More copy options","Copy Markdown link","Copied to clipboard","View as Markdown","Open in ChatGPT","Open in Claude","Works on",{"label":606},"Docs sidebar",{"ariaLabel":608},"Docs sections","yml",{"ariaLabel":611,"columns":612,"legal":649,"quote":650,"askAi":653},"Footer",[613,625,631,639],{"label":67,"children":614},[615,616,619,622],{"label":5,"to":6},{"label":617,"to":618},"Use cases","\u002Fuse-cases",{"label":620,"to":621},"Training","\u002Ftraining",{"label":623,"to":624},"Resources","\u002Fresources",{"label":626,"children":627},"Build",[628,629,630],{"label":477,"to":478},{"label":519,"to":525},{"label":585,"to":586},{"label":632,"children":633},"Updates",[634,635],{"label":77,"to":80},{"label":636,"to":637,"target":638},"Blog","https:\u002F\u002Fwww.dataglasslabs.com\u002Fblog","_blank",{"label":640,"children":641},"DataGlass",[642,645,648],{"label":643,"to":644,"target":638},"Open DataGlass","https:\u002F\u002Fapp.dataglasslabs.com",{"label":646,"to":647,"target":638},"Website","https:\u002F\u002Fwww.dataglasslabs.com",{"label":72,"to":73},"DataGlass Labs. All rights reserved.",{"text":651,"caption":652},"Measure what you keep, and then grow what you measure.","The DataGlass team",{"label":654,"prompt":655,"assistants":656},"Ask AI about DataGlass","I want to learn how to use DataGlass, a decision engine for Shopee, Lazada and TikTok Shop sellers that optimizes ads, pricing and promotions for true profit. Use web search to read the DataGlass docs at https:\u002F\u002Flearn.dataglasslabs.com\u002Fdocs (with an agent-readable summary at https:\u002F\u002Flearn.dataglasslabs.com\u002Fllms.txt), then explain what DataGlass does, how to get started and which guides to read first.",[657,661,665],{"label":658,"icon":659,"url":660},"ChatGPT","chatgpt","https:\u002F\u002Fchatgpt.com\u002F?prompt={prompt}",{"label":662,"icon":663,"url":664},"Claude","claude","https:\u002F\u002Fclaude.ai\u002Fnew?q={prompt}",{"label":666,"icon":667,"url":668},"Perplexity","perplexity","https:\u002F\u002Fwww.perplexity.ai\u002Fsearch?q={prompt}",{"sections":670,"navLabel":683,"openApp":643,"search":684},[671,674,675,677,679,681],{"key":672,"label":673},"home","Home",{"key":7,"label":5},{"key":676,"label":617},"use-cases",{"key":678,"label":620},"training",{"key":680,"label":77},"releases",{"key":682,"label":623},"resources","Sections","Start searching",{"label":686},"Region and language",{},"en\u002Fchrome","mobUs3s2Zj3jKhQlnWk_tray3mh7L0ptp0ZGYXlK4NA",{"id":691,"title":494,"body":692,"description":1431,"draft":11,"draftReason":1432,"extension":1433,"layout":1432,"meta":1434,"navigation":1435,"path":495,"platforms":1432,"rawbody":1436,"seo":1437,"stem":496,"__hash__":1438},"docs_en\u002Fdocs\u002F04.ai-and-api\u002F01.assistants\u002F03.playbooks.md",{"type":693,"value":694,"toc":1416},"minimark",[695,709,714,745,750,753,758,788,793,811,816,819,823,834,838,855,860,863,867,893,897,914,919,922,926,950,954,971,976,979,983,1003,1007,1024,1029,1032,1036,1070,1074,1091,1098,1103,1106,1110,1124,1128,1145,1150,1153,1157,1175,1179,1196,1201,1204,1208,1229,1233,1250,1255,1258,1262,1276,1280,1297,1302,1305,1309,1337,1341,1358,1362,1371,1409,1412],[696,697,698,699,703,704,708],"p",{},"The ",[700,701,702],"code",{},"get_playbook"," tool exposes these workflows directly to a connected model. ",[705,706,707],"strong",{},"A playbook is an ordered recipe, not a permission."," It grants nothing: every step uses the same tools your connector already holds, so a read-only connector runs the read steps and stops where a playbook would write.",[710,711,713],"h2",{"id":712},"golden-rule","Golden rule",[715,716,717,733,736,739,742],"ol",{},[718,719,720,721,724,725,728,729,732],"li",{},"Discover the shop and region with ",[700,722,723],{},"list_shopee_shops",", ",[700,726,727],{},"list_lazada_shops",", or ",[700,730,731],{},"list_tiktok_shops",". Never guess an identifier.",[718,734,735],{},"Start with a small diagnostic or summary call.",[718,737,738],{},"Drill into a signal's suggested tool only when the question requires that detail.",[718,740,741],{},"State the date range, local currency, and any uncertainty from estimated COGS or settlement lag.",[718,743,744],{},"Report or simulate first. If the next step writes, name the tool and the exact change, and wait for the user's go-ahead — then say plainly what changed.",[710,746,748],{"id":747},"cite-basis",[700,749,747],{},[696,751,752],{},"Use this for every figure the assistant reports. It is the one playbook that applies to all the others.",[696,754,755],{},[705,756,757],{},"Workflow",[715,759,760,768,771,778,785],{},[718,761,762,763,767],{},"Name the tool, the shop, and the exact date range the tool ",[764,765,766],"em",{},"returned"," — not the range that was asked for.",[718,769,770],{},"State the assumptions: VAT view, explicit versus inferred COGS, and realized versus order-based.",[718,772,773,774,777],{},"Relay the ",[700,775,776],{},"[DataGlass call basis]"," block that ends every tool result rather than paraphrasing it away.",[718,779,780,781,784],{},"When a number disagrees with Seller Center, check the definition before suspecting missing data. Seller Center GMV counts every order ",[764,782,783],{},"placed","; a DataGlass realized overview counts settled lines only, so recent days read low by design.",[718,786,787],{},"Remember that Shopee buckets settled lines on the order date and backfills, while TikTok and Lazada bucket on the settlement date and do not.",[696,789,790],{},[705,791,792],{},"Example scenarios",[794,795,796,801,806],"ul",{},[718,797,798],{},[700,799,800],{},"Why doesn't this match what Seller Center shows me?",[718,802,803],{},[700,804,805],{},"Which exact date range and VAT setting did you use for that number?",[718,807,808],{},[700,809,810],{},"Is this figure realized or order-based?",[710,812,814],{"id":813},"getting-started",[700,815,813],{},[696,817,818],{},"Use this when the user has just connected DataGlass or does not know which shops and data are available.",[696,820,821],{},[705,822,757],{},[715,824,825,828,831],{},[718,826,827],{},"List shops for the relevant marketplaces.",[718,829,830],{},"Explain that shop tools require the returned shop identifier and region.",[718,832,833],{},"Clarify that realized values are cancellation-adjusted, money is local currency, and the connector is read-only until a write scope is approved.",[696,835,836],{},[705,837,792],{},[794,839,840,845,850],{},[718,841,842],{},[700,843,844],{},"Show all shops I can analyze and group them by marketplace.",[718,846,847],{},[700,848,849],{},"Which region and currency does each connected shop use?",[718,851,852],{},[700,853,854],{},"What can I learn from DataGlass before we analyze a specific shop?",[710,856,858],{"id":857},"shop-health-check",[700,859,857],{},[696,861,862],{},"Use this for a quick, all-round assessment of one shop or a compact portfolio view.",[696,864,865],{},[705,866,757],{},[715,868,869,876,879,886],{},[718,870,871,872,875],{},"Call ",[700,873,874],{},"diagnose_shop"," with a 30-day lookback for one shop.",[718,877,878],{},"Relay the headline plus warning and critical signals.",[718,880,881,882,885],{},"Follow a signal's ",[700,883,884],{},"suggestedTool"," only when the user wants evidence.",[718,887,888,889,892],{},"Use ",[700,890,891],{},"get_financial_overview"," instead when the request covers all shops.",[696,894,895],{},[705,896,792],{},[794,898,899,904,909],{},[718,900,901],{},[700,902,903],{},"Give {shopName} a 30-day health check and flag urgent risks.",[718,905,906],{},[700,907,908],{},"What changed this week compared with last week?",[718,910,911],{},[700,912,913],{},"Summarize profit and margin across all connected shops.",[710,915,917],{"id":916},"why-profit-dropped",[700,918,916],{},[696,920,921],{},"Use this to root-cause a decline in realized profit, GMV, or sales.",[696,923,924],{},[705,925,757],{},[715,927,928,938,941,944,947],{},[718,929,930,931,933,934,937],{},"Start with ",[700,932,874],{}," and read KPI deltas and ",[700,935,936],{},"signals[]",".",[718,939,940],{},"For GMV or profit decline, inspect platform product breakdowns and profit rankings.",[718,942,943],{},"For margin compression, inspect cost, commission, and commission-impact tools.",[718,945,946],{},"Check missing COGS and settlement lag before calling the decline final.",[718,948,949],{},"Check ads when spend rose or True ROAS fell, then summarize the largest driver first.",[696,951,952],{},[705,953,792],{},[794,955,956,961,966],{},[718,957,958],{},[700,959,960],{},"Why did realized profit drop in {period}? Rank the causes.",[718,962,963],{},[700,964,965],{},"GMV is stable but margin fell. Which cost line changed?",[718,967,968],{},[700,969,970],{},"Is this decline real, or could missing COGS or unsettled orders explain it?",[710,972,974],{"id":973},"improve-low-margin",[700,975,973],{},[696,977,978],{},"Use this to find thin-margin or loss-making products and evaluate remedies.",[696,980,981],{},[705,982,757],{},[715,984,985,988,991,997,1000],{},[718,986,987],{},"Read the platform financial overview and note loss-makers and COGS coverage.",[718,989,990],{},"Rank or break down the worst products.",[718,992,993,994,937],{},"Confirm explicit, inferred, or missing cost with ",[700,995,996],{},"get_product_costs",[718,998,999],{},"Test a price, discount, or COGS remedy with the platform simulation tool.",[718,1001,1002],{},"Retrieve price-buffer or margin-defense recommendations when fee pressure is the cause.",[696,1004,1005],{},[705,1006,792],{},[794,1008,1009,1014,1019],{},[718,1010,1011],{},[700,1012,1013],{},"Which products lose the most money, and why?",[718,1015,1016],{},[700,1017,1018],{},"Find low-margin products with the greatest total profit impact.",[718,1020,1021],{},[700,1022,1023],{},"Compare a price increase, discount reduction, and COGS reduction for the worst product.",[710,1025,1027],{"id":1026},"debug-ads",[700,1028,1026],{},[696,1030,1031],{},"Use this to find weak campaigns and retrieve profit-aware bid, budget, or target-ROAS guidance.",[696,1033,1034],{},[705,1035,757],{},[715,1037,1038,1045,1048,1051],{},[718,1039,1040,1041,1044],{},"For Shopee, sort ",[700,1042,1043],{},"get_shopee_ads_performance"," by profit-adjusted ROAS ascending.",[718,1046,1047],{},"Confirm suspect performance with corrected or product True ROAS.",[718,1049,1050],{},"Retrieve Shopee target-ROAS, ads, or GMS recommendations. For TikTok, use GMV Max campaigns, True ROAS, budget, and target-ROAS recommendations.",[718,1052,1053,1054,1057,1058,1061,1062,1065,1066,1069],{},"Explain the recommendation and the evidence behind it. With ",[700,1055,1056],{},"PAT_ADS_WRITE"," granted, apply it with ",[700,1059,1060],{},"apply_shopee_target_roas"," or change a live campaign with ",[700,1063,1064],{},"control_ad_campaign"," — but state the current versus proposed value and get an explicit go-ahead first, because both change real spend immediately. ",[700,1067,1068],{},"revert_shopee_target_roas"," undoes an applied target. Without the scope, hand the user the numbers and the link.",[696,1071,1072],{},[705,1073,792],{},[794,1075,1076,1081,1086],{},[718,1077,1078],{},[700,1079,1080],{},"Which campaigns have the weakest True ROAS this month?",[718,1082,1083],{},[700,1084,1085],{},"Find ads that look profitable in the marketplace but lose money after all costs.",[718,1087,1088],{},[700,1089,1090],{},"Where should I raise, hold, or cut budget, and why?",[1092,1093,1095],"callout",{"icon":1094},"i-lucide-circle-alert",[696,1096,1097],{},"Never optimize on headline marketplace ROAS alone. Use True or profit-adjusted ROAS because COGS, fees, cancellations, and returns can turn apparent growth into a loss.",[710,1099,1101],{"id":1100},"defend-margin-commission",[700,1102,1100],{},[696,1104,1105],{},"Use this when a marketplace commission-rate change may compress margin.",[696,1107,1108],{},[705,1109,757],{},[715,1111,1112,1115,1118,1121],{},[718,1113,1114],{},"Retrieve the platform commission overview and impact for the effective date.",[718,1116,1117],{},"Read the matching Shopee or TikTok margin-defense actions.",[718,1119,1120],{},"Validate a selected price or discount adjustment with a profit simulation.",[718,1122,1123],{},"Present the expected impact, smallest safe adjustment, and effective date.",[696,1125,1126],{},[705,1127,792],{},[794,1129,1130,1135,1140],{},[718,1131,1132],{},[700,1133,1134],{},"How much will the upcoming commission increase cost by product?",[718,1136,1137],{},[700,1138,1139],{},"What is the smallest adjustment that preserves our current margin?",[718,1141,1142],{},[700,1143,1144],{},"Compare raising price with reducing discount for the most exposed products.",[710,1146,1148],{"id":1147},"plan-restock",[700,1149,1147],{},[696,1151,1152],{},"Use this to decide what to reorder, how much to buy, and why.",[696,1154,1155],{},[705,1156,757],{},[715,1158,1159,1162,1169,1172],{},[718,1160,1161],{},"Retrieve open inventory alerts.",[718,1163,1164,1165,1168],{},"Read the ",[700,1166,1167],{},"(s,S)"," reorder plan by variant.",[718,1170,1171],{},"Use forecast and demand charts to explain the suggested quantity.",[718,1173,1174],{},"Check open purchase orders so inbound units are not ordered twice.",[696,1176,1177],{},[705,1178,792],{},[794,1180,1181,1186,1191],{},[718,1182,1183],{},[700,1184,1185],{},"Which SKUs need restocking now?",[718,1187,1188],{},[700,1189,1190],{},"Build a reorder plan that accounts for forecast demand and inbound stock.",[718,1192,1193],{},[700,1194,1195],{},"Which products look overstocked or slow-moving?",[710,1197,1199],{"id":1198},"check-cogs",[700,1200,1198],{},[696,1202,1203],{},"Use this to identify products whose profit depends on missing or inferred product cost.",[696,1205,1206],{},[705,1207,757],{},[715,1209,1210,1217,1220,1226],{},[718,1211,1212,1213,1216],{},"Read ",[700,1214,1215],{},"cogsCoverage"," from the shop financial overview.",[718,1218,1219],{},"Retrieve product costs and distinguish explicit, inferred, and missing values.",[718,1221,888,1222,1225],{},[700,1223,1224],{},"get_estimated_margin"," for the Shopee shop-level inference when needed.",[718,1227,1228],{},"Prioritize products where a real entered cost would most improve profit confidence.",[696,1230,1231],{},[705,1232,792],{},[794,1234,1235,1240,1245],{},[718,1236,1237],{},[700,1238,1239],{},"Which products are missing explicit COGS?",[718,1241,1242],{},[700,1243,1244],{},"How much reported profit depends on estimated costs?",[718,1246,1247],{},[700,1248,1249],{},"Rank the missing-cost products by likely distortion to profit.",[710,1251,1253],{"id":1252},"simulate-price-change",[700,1254,1252],{},[696,1256,1257],{},"Use this to test a price, discount, or COGS change before the seller decides whether to act.",[696,1259,1260],{},[705,1261,757],{},[715,1263,1264,1267,1270,1273],{},[718,1265,1266],{},"Find the product and retrieve its current unit economics.",[718,1268,1269],{},"Run exactly one platform-specific simulation for each proposed scenario.",[718,1271,1272],{},"Compare current and simulated profit and margin, including assumptions.",[718,1274,1275],{},"Describe the result as a what-if; nothing is written.",[696,1277,1278],{},[705,1279,792],{},[794,1281,1282,1287,1292],{},[718,1283,1284],{},[700,1285,1286],{},"What happens to margin if I raise this product's price by 5%?",[718,1288,1289],{},[700,1290,1291],{},"Compare a 15% discount with a 10% discount.",[718,1293,1294],{},[700,1295,1296],{},"What unit COGS would this product need to reach a 20% margin?",[710,1298,1300],{"id":1299},"conventions",[700,1301,1299],{},[696,1303,1304],{},"Use this when a request fails because of date, platform, identifier, pagination, VAT, or money conventions.",[696,1306,1307],{},[705,1308,757],{},[715,1310,1311,1314,1324,1327,1334],{},[718,1312,1313],{},"Re-resolve shop and product identifiers rather than guessing.",[718,1315,888,1316,1319,1320,1323],{},[700,1317,1318],{},"YYYY-MM-DD"," calendar dates, ",[700,1321,1322],{},"YYYYMMDD"," conversion datadates, and ISO 8601 timestamps.",[718,1325,1326],{},"Preserve all TikTok identifiers as strings.",[718,1328,1329,1330,1333],{},"Follow ",[700,1331,1332],{},"nextCursor"," for another page only when necessary.",[718,1335,1336],{},"State local currency and whether inferred COGS or VAT settings affect the answer.",[696,1338,1339],{},[705,1340,792],{},[794,1342,1343,1348,1353],{},[718,1344,1345],{},[700,1346,1347],{},"Which dates will you use for last month and its comparison period?",[718,1349,1350],{},[700,1351,1352],{},"Resolve the correct shop and product IDs for this question.",[718,1354,1355],{},[700,1356,1357],{},"Explain why payout, realized profit, and True ROAS answer different questions.",[710,1359,1361],{"id":1360},"retrieve-a-playbook","Retrieve a playbook",[696,1363,871,1364,1366,1367,1370],{},[700,1365,702],{}," without a ",[700,1368,1369],{},"playbook"," value to receive the index, or provide one exact name:",[1372,1373,1378],"pre",{"className":1374,"code":1375,"language":1376,"meta":1377,"style":1377},"language-json shiki shiki-themes github-light","{\n  \"playbook\": \"why-profit-dropped\"\n}\n","json","",[700,1379,1380,1389,1403],{"__ignoreMap":1377},[1381,1382,1385],"span",{"class":1383,"line":1384},"line",1,[1381,1386,1388],{"class":1387},"sgsFI","{\n",[1381,1390,1392,1396,1399],{"class":1383,"line":1391},2,[1381,1393,1395],{"class":1394},"sYu0t","  \"playbook\"",[1381,1397,1398],{"class":1387},": ",[1381,1400,1402],{"class":1401},"sYBdl","\"why-profit-dropped\"\n",[1381,1404,1406],{"class":1383,"line":1405},3,[1381,1407,1408],{"class":1387},"}\n",[696,1410,1411],{},"The runtime response is the source of truth for the workflow text available to the connected assistant.",[1413,1414,1415],"style",{},"html pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}html pre.shiki code .sYu0t, html code.shiki .sYu0t{--shiki-default:#005CC5}html pre.shiki code .sYBdl, html code.shiki .sYBdl{--shiki-default:#032F62}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":1377,"searchDepth":1405,"depth":1405,"links":1417},[1418,1419,1420,1421,1422,1423,1424,1425,1426,1427,1428,1429,1430],{"id":712,"depth":1391,"text":713},{"id":747,"depth":1391,"text":747},{"id":813,"depth":1391,"text":813},{"id":857,"depth":1391,"text":857},{"id":916,"depth":1391,"text":916},{"id":973,"depth":1391,"text":973},{"id":1026,"depth":1391,"text":1026},{"id":1100,"depth":1391,"text":1100},{"id":1147,"depth":1391,"text":1147},{"id":1198,"depth":1391,"text":1198},{"id":1252,"depth":1391,"text":1252},{"id":1299,"depth":1391,"text":1299},{"id":1360,"depth":1391,"text":1361},"The 11 server-provided skills that tell an AI assistant which DataGlass tools to use, in which order, when to stop drilling down, and when to ask before writing.",null,"md",{},{"icon":497},"---\ntitle: Native playbooks\ndescription: The 11 server-provided skills that tell an AI assistant which DataGlass tools to use, in which order, when to stop drilling down, and when to ask before writing.\nnavigation:\n  icon: i-material-symbols-route-rounded\n---\n\nThe `get_playbook` tool exposes these workflows directly to a connected model. **A playbook is an ordered recipe, not a permission.** It grants nothing: every step uses the same tools your connector already holds, so a read-only connector runs the read steps and stops where a playbook would write.\n\n## Golden rule\n\n1. Discover the shop and region with `list_shopee_shops`, `list_lazada_shops`, or `list_tiktok_shops`. Never guess an identifier.\n2. Start with a small diagnostic or summary call.\n3. Drill into a signal's suggested tool only when the question requires that detail.\n4. State the date range, local currency, and any uncertainty from estimated COGS or settlement lag.\n5. Report or simulate first. If the next step writes, name the tool and the exact change, and wait for the user's go-ahead — then say plainly what changed.\n\n## `cite-basis`\n\nUse this for every figure the assistant reports. It is the one playbook that applies to all the others.\n\n**Workflow**\n\n1. Name the tool, the shop, and the exact date range the tool *returned* — not the range that was asked for.\n2. State the assumptions: VAT view, explicit versus inferred COGS, and realized versus order-based.\n3. Relay the `[DataGlass call basis]` block that ends every tool result rather than paraphrasing it away.\n4. When a number disagrees with Seller Center, check the definition before suspecting missing data. Seller Center GMV counts every order *placed*; a DataGlass realized overview counts settled lines only, so recent days read low by design.\n5. Remember that Shopee buckets settled lines on the order date and backfills, while TikTok and Lazada bucket on the settlement date and do not.\n\n**Example scenarios**\n\n- `Why doesn't this match what Seller Center shows me?`\n- `Which exact date range and VAT setting did you use for that number?`\n- `Is this figure realized or order-based?`\n\n## `getting-started`\n\nUse this when the user has just connected DataGlass or does not know which shops and data are available.\n\n**Workflow**\n\n1. List shops for the relevant marketplaces.\n2. Explain that shop tools require the returned shop identifier and region.\n3. Clarify that realized values are cancellation-adjusted, money is local currency, and the connector is read-only until a write scope is approved.\n\n**Example scenarios**\n\n- `Show all shops I can analyze and group them by marketplace.`\n- `Which region and currency does each connected shop use?`\n- `What can I learn from DataGlass before we analyze a specific shop?`\n\n## `shop-health-check`\n\nUse this for a quick, all-round assessment of one shop or a compact portfolio view.\n\n**Workflow**\n\n1. Call `diagnose_shop` with a 30-day lookback for one shop.\n2. Relay the headline plus warning and critical signals.\n3. Follow a signal's `suggestedTool` only when the user wants evidence.\n4. Use `get_financial_overview` instead when the request covers all shops.\n\n**Example scenarios**\n\n- `Give {shopName} a 30-day health check and flag urgent risks.`\n- `What changed this week compared with last week?`\n- `Summarize profit and margin across all connected shops.`\n\n## `why-profit-dropped`\n\nUse this to root-cause a decline in realized profit, GMV, or sales.\n\n**Workflow**\n\n1. Start with `diagnose_shop` and read KPI deltas and `signals[]`.\n2. For GMV or profit decline, inspect platform product breakdowns and profit rankings.\n3. For margin compression, inspect cost, commission, and commission-impact tools.\n4. Check missing COGS and settlement lag before calling the decline final.\n5. Check ads when spend rose or True ROAS fell, then summarize the largest driver first.\n\n**Example scenarios**\n\n- `Why did realized profit drop in {period}? Rank the causes.`\n- `GMV is stable but margin fell. Which cost line changed?`\n- `Is this decline real, or could missing COGS or unsettled orders explain it?`\n\n## `improve-low-margin`\n\nUse this to find thin-margin or loss-making products and evaluate remedies.\n\n**Workflow**\n\n1. Read the platform financial overview and note loss-makers and COGS coverage.\n2. Rank or break down the worst products.\n3. Confirm explicit, inferred, or missing cost with `get_product_costs`.\n4. Test a price, discount, or COGS remedy with the platform simulation tool.\n5. Retrieve price-buffer or margin-defense recommendations when fee pressure is the cause.\n\n**Example scenarios**\n\n- `Which products lose the most money, and why?`\n- `Find low-margin products with the greatest total profit impact.`\n- `Compare a price increase, discount reduction, and COGS reduction for the worst product.`\n\n## `debug-ads`\n\nUse this to find weak campaigns and retrieve profit-aware bid, budget, or target-ROAS guidance.\n\n**Workflow**\n\n1. For Shopee, sort `get_shopee_ads_performance` by profit-adjusted ROAS ascending.\n2. Confirm suspect performance with corrected or product True ROAS.\n3. Retrieve Shopee target-ROAS, ads, or GMS recommendations. For TikTok, use GMV Max campaigns, True ROAS, budget, and target-ROAS recommendations.\n4. Explain the recommendation and the evidence behind it. With `PAT_ADS_WRITE` granted, apply it with `apply_shopee_target_roas` or change a live campaign with `control_ad_campaign` — but state the current versus proposed value and get an explicit go-ahead first, because both change real spend immediately. `revert_shopee_target_roas` undoes an applied target. Without the scope, hand the user the numbers and the link.\n\n**Example scenarios**\n\n- `Which campaigns have the weakest True ROAS this month?`\n- `Find ads that look profitable in the marketplace but lose money after all costs.`\n- `Where should I raise, hold, or cut budget, and why?`\n\n::callout{icon=\"i-lucide-circle-alert\"}\nNever optimize on headline marketplace ROAS alone. Use True or profit-adjusted ROAS because COGS, fees, cancellations, and returns can turn apparent growth into a loss.\n::\n\n## `defend-margin-commission`\n\nUse this when a marketplace commission-rate change may compress margin.\n\n**Workflow**\n\n1. Retrieve the platform commission overview and impact for the effective date.\n2. Read the matching Shopee or TikTok margin-defense actions.\n3. Validate a selected price or discount adjustment with a profit simulation.\n4. Present the expected impact, smallest safe adjustment, and effective date.\n\n**Example scenarios**\n\n- `How much will the upcoming commission increase cost by product?`\n- `What is the smallest adjustment that preserves our current margin?`\n- `Compare raising price with reducing discount for the most exposed products.`\n\n## `plan-restock`\n\nUse this to decide what to reorder, how much to buy, and why.\n\n**Workflow**\n\n1. Retrieve open inventory alerts.\n2. Read the `(s,S)` reorder plan by variant.\n3. Use forecast and demand charts to explain the suggested quantity.\n4. Check open purchase orders so inbound units are not ordered twice.\n\n**Example scenarios**\n\n- `Which SKUs need restocking now?`\n- `Build a reorder plan that accounts for forecast demand and inbound stock.`\n- `Which products look overstocked or slow-moving?`\n\n## `check-cogs`\n\nUse this to identify products whose profit depends on missing or inferred product cost.\n\n**Workflow**\n\n1. Read `cogsCoverage` from the shop financial overview.\n2. Retrieve product costs and distinguish explicit, inferred, and missing values.\n3. Use `get_estimated_margin` for the Shopee shop-level inference when needed.\n4. Prioritize products where a real entered cost would most improve profit confidence.\n\n**Example scenarios**\n\n- `Which products are missing explicit COGS?`\n- `How much reported profit depends on estimated costs?`\n- `Rank the missing-cost products by likely distortion to profit.`\n\n## `simulate-price-change`\n\nUse this to test a price, discount, or COGS change before the seller decides whether to act.\n\n**Workflow**\n\n1. Find the product and retrieve its current unit economics.\n2. Run exactly one platform-specific simulation for each proposed scenario.\n3. Compare current and simulated profit and margin, including assumptions.\n4. Describe the result as a what-if; nothing is written.\n\n**Example scenarios**\n\n- `What happens to margin if I raise this product's price by 5%?`\n- `Compare a 15% discount with a 10% discount.`\n- `What unit COGS would this product need to reach a 20% margin?`\n\n## `conventions`\n\nUse this when a request fails because of date, platform, identifier, pagination, VAT, or money conventions.\n\n**Workflow**\n\n1. Re-resolve shop and product identifiers rather than guessing.\n2. Use `YYYY-MM-DD` calendar dates, `YYYYMMDD` conversion datadates, and ISO 8601 timestamps.\n3. Preserve all TikTok identifiers as strings.\n4. Follow `nextCursor` for another page only when necessary.\n5. State local currency and whether inferred COGS or VAT settings affect the answer.\n\n**Example scenarios**\n\n- `Which dates will you use for last month and its comparison period?`\n- `Resolve the correct shop and product IDs for this question.`\n- `Explain why payout, realized profit, and True ROAS answer different questions.`\n\n## Retrieve a playbook\n\nCall `get_playbook` without a `playbook` value to receive the index, or provide one exact name:\n\n```json\n{\n  \"playbook\": \"why-profit-dropped\"\n}\n```\n\nThe runtime response is the source of truth for the workflow text available to the connected assistant.\n",{"title":494,"description":1431},"hOFqtI19-JmhvGbmsWvRBcLF1qmlyurvI21FZ6DGAXY",{"data":1440,"body":1441},{},{"type":1442,"children":1443},"root",[1444],{"type":1445,"tag":696,"props":1446,"children":1447},"element",{},[1448],{"type":1449,"value":1431},"text",1792785224301]