@happyvertical/smrt-ads 0.57.36 → 0.57.37
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.
- package/AGENTS.md +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +180 -77
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +359 -24
- package/dist/models/AdDeliveryTier.d.ts.map +1 -1
- package/dist/models/AdFormat.d.ts.map +1 -1
- package/dist/models/AdGroup.d.ts.map +1 -1
- package/dist/models/AdVariation.d.ts.map +1 -1
- package/dist/recipes.d.ts +192 -0
- package/dist/recipes.d.ts.map +1 -0
- package/dist/smrt-knowledge.json +286 -33
- package/package.json +6 -6
package/AGENTS.md
CHANGED
|
@@ -9,6 +9,7 @@ Ad delivery with priority waterfall, weighted A/B testing, and immutable event t
|
|
|
9
9
|
- **AdGroup**: campaign with targeting, budget, zone restrictions
|
|
10
10
|
- **AdVariation** (STI): creative variant with weighted selection for A/B. `weight=2` is 2x more likely than `weight=1`. Denormalized `impressions`/`clicks` fields.
|
|
11
11
|
- **AdEvent** (STI, immutable): impression/click/conversion tracking. **Create-only** — no update/delete in API/MCP. `cli: false` (high-volume).
|
|
12
|
+
- **Recipe `ads.campaigns`** (`src/recipes.ts`, help in `src/campaigns.recipe.md`): lists ad campaigns, ads, ad sizes and priority tiers for the planner and other catalog hosts; `AdEvent` is left out (append-only serving log, nothing a person opens). Fields it shows carry `@field({ description })` in plain words; keep them when editing the models.
|
|
12
13
|
|
|
13
14
|
## Cross-Package References (all plain string IDs)
|
|
14
15
|
|
package/dist/index.d.ts
CHANGED
|
@@ -8,5 +8,6 @@
|
|
|
8
8
|
import './__smrt-register__.js';
|
|
9
9
|
export { AdDeliveryTierCollection, AdEventCollection, AdFormatCollection, AdGroupCollection, AdVariationCollection, } from './collections/index.js';
|
|
10
10
|
export { AdDeliveryTier, AdEvent, AdFormat, AdGroup, AdVariation, } from './models/index.js';
|
|
11
|
+
export { AdsCampaignsRecipe } from './recipes.js';
|
|
11
12
|
export { AdEventType, AdFormatType, AdGroupStatus, AdVariationStatus, PricingModel, } from './types/index.js';
|
|
12
13
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,wBAAwB,CAAC;AAGhC,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,cAAc,EACd,OAAO,EACP,QAAQ,EACR,OAAO,EACP,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,WAAW,EACX,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,YAAY,GACb,MAAM,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,wBAAwB,CAAC;AAGhC,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,cAAc,EACd,OAAO,EACP,QAAQ,EACR,OAAO,EACP,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAElD,OAAO,EACL,WAAW,EACX,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,YAAY,GACb,MAAM,kBAAkB,CAAC"}
|