@adviverse/mcp 0.1.3 → 0.1.5

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/dist/http.js CHANGED
@@ -24605,7 +24605,9 @@ function createServer(client) {
24605
24605
  consentKey: external_exports.string().optional().describe("Cookie name (source=cookie) or JS global path (source=global)."),
24606
24606
  consentGrantValue: external_exports.string().optional().describe('The value that means "ads allowed" for cookie/global sources (default "true").'),
24607
24607
  tcfPurpose: external_exports.number().optional().describe("TCF purpose required for ads (default 1 = storage)."),
24608
- tcfVendorId: external_exports.number().optional().describe("Our IAB vendor id to require in the TCF string (optional).")
24608
+ tcfVendorId: external_exports.number().optional().describe("Our IAB vendor id to require in the TCF string (optional)."),
24609
+ contextualWithoutConsent: external_exports.boolean().optional().describe("Ads always load: visitors who have not answered (or rejected) the CMP get contextual ads with no identifier; personalized still waits for consent."),
24610
+ enhancedCapping: external_exports.boolean().optional().describe("Enhanced frequency capping: outside the EEA/UK, for visitors with no opt-out signal (GPC, US-privacy opt-out), contextual frequency caps also use browser signals and an SDK canvas hash (daily-rotating, per-site, never stored on the device). Off: caps use IP + user agent only and unusual contextual traffic is not served. Declare it in your privacy policy if you turn it on.")
24609
24611
  },
24610
24612
  (a) => client.consent.saveConfig(a)
24611
24613
  );
@@ -24674,7 +24676,7 @@ function createServer(client) {
24674
24676
  tool("property_domain_connect", "Initiate DomainConnect DNS automation for a property.", { id: external_exports.string() }, (a) => client.properties.domainConnect(a.id));
24675
24677
  tool("delete_property", "Delete a publisher property.", { id: external_exports.string() }, (a) => client.properties.delete(a.id));
24676
24678
  tool("property_mfa_score", "A property's Made-For-Advertising quality score + guidance.", { id: external_exports.string() }, (a) => client.properties.mfa(a.id));
24677
- tool("update_placement", `Update a placement (partial fields: floorCpm, floorSoft, revShare, status, houseShare, \u2026). Set floorAuto:true to let the yield optimizer manage floorCpm + floorSoft automatically from recent clearing prices (floorAuto:false = full manual control). autoAds tunes auto ads on a responsive banner placement (stored at settings.auto_ads, wins over the page's data-max): { enabled?, max?(1-10), every?(paragraphs between ads, 2-12), min_paragraph_chars?(0-2000), exclude_paths?["/checkout*"], selectors?[css] } \u2014 null clears.`, { id: external_exports.string(), fields }, (a) => client.placements.update(a.id, a.fields));
24679
+ tool("update_placement", `Update a placement (partial fields: floorCpm, floorSoft, revShare, status, houseShare, frequencyCap {impressions, windowSeconds} \u2014 {} or null removes it, \u2026). Set floorAuto:true to let the yield optimizer manage floorCpm + floorSoft automatically from recent clearing prices (floorAuto:false = full manual control). autoAds tunes auto ads on a responsive banner placement (stored at settings.auto_ads, wins over the page's data-max): { enabled?, max?(1-10), every?(paragraphs between ads, 2-12), min_paragraph_chars?(0-2000), exclude_paths?["/checkout*"], selectors?[css] } \u2014 null clears.`, { id: external_exports.string(), fields }, (a) => client.placements.update(a.id, a.fields));
24678
24680
  tool("list_feeds", "List product feeds.", {}, () => client.feeds.list());
24679
24681
  tool("create_feed", "Create a product feed. fields: { name, url, format: csv|xml|google_merchant, scheduleCron? }.", { fields }, (a) => client.feeds.create(a.fields));
24680
24682
  tool("fetch_feed", "Trigger an immediate feed fetch/refresh.", { id: external_exports.string() }, (a) => client.feeds.fetch(a.id));
package/dist/index.js CHANGED
@@ -23366,7 +23366,9 @@ function createServer(client) {
23366
23366
  consentKey: external_exports.string().optional().describe("Cookie name (source=cookie) or JS global path (source=global)."),
23367
23367
  consentGrantValue: external_exports.string().optional().describe('The value that means "ads allowed" for cookie/global sources (default "true").'),
23368
23368
  tcfPurpose: external_exports.number().optional().describe("TCF purpose required for ads (default 1 = storage)."),
23369
- tcfVendorId: external_exports.number().optional().describe("Our IAB vendor id to require in the TCF string (optional).")
23369
+ tcfVendorId: external_exports.number().optional().describe("Our IAB vendor id to require in the TCF string (optional)."),
23370
+ contextualWithoutConsent: external_exports.boolean().optional().describe("Ads always load: visitors who have not answered (or rejected) the CMP get contextual ads with no identifier; personalized still waits for consent."),
23371
+ enhancedCapping: external_exports.boolean().optional().describe("Enhanced frequency capping: outside the EEA/UK, for visitors with no opt-out signal (GPC, US-privacy opt-out), contextual frequency caps also use browser signals and an SDK canvas hash (daily-rotating, per-site, never stored on the device). Off: caps use IP + user agent only and unusual contextual traffic is not served. Declare it in your privacy policy if you turn it on.")
23370
23372
  },
23371
23373
  (a) => client.consent.saveConfig(a)
23372
23374
  );
@@ -23435,7 +23437,7 @@ function createServer(client) {
23435
23437
  tool("property_domain_connect", "Initiate DomainConnect DNS automation for a property.", { id: external_exports.string() }, (a) => client.properties.domainConnect(a.id));
23436
23438
  tool("delete_property", "Delete a publisher property.", { id: external_exports.string() }, (a) => client.properties.delete(a.id));
23437
23439
  tool("property_mfa_score", "A property's Made-For-Advertising quality score + guidance.", { id: external_exports.string() }, (a) => client.properties.mfa(a.id));
23438
- tool("update_placement", `Update a placement (partial fields: floorCpm, floorSoft, revShare, status, houseShare, \u2026). Set floorAuto:true to let the yield optimizer manage floorCpm + floorSoft automatically from recent clearing prices (floorAuto:false = full manual control). autoAds tunes auto ads on a responsive banner placement (stored at settings.auto_ads, wins over the page's data-max): { enabled?, max?(1-10), every?(paragraphs between ads, 2-12), min_paragraph_chars?(0-2000), exclude_paths?["/checkout*"], selectors?[css] } \u2014 null clears.`, { id: external_exports.string(), fields }, (a) => client.placements.update(a.id, a.fields));
23440
+ tool("update_placement", `Update a placement (partial fields: floorCpm, floorSoft, revShare, status, houseShare, frequencyCap {impressions, windowSeconds} \u2014 {} or null removes it, \u2026). Set floorAuto:true to let the yield optimizer manage floorCpm + floorSoft automatically from recent clearing prices (floorAuto:false = full manual control). autoAds tunes auto ads on a responsive banner placement (stored at settings.auto_ads, wins over the page's data-max): { enabled?, max?(1-10), every?(paragraphs between ads, 2-12), min_paragraph_chars?(0-2000), exclude_paths?["/checkout*"], selectors?[css] } \u2014 null clears.`, { id: external_exports.string(), fields }, (a) => client.placements.update(a.id, a.fields));
23439
23441
  tool("list_feeds", "List product feeds.", {}, () => client.feeds.list());
23440
23442
  tool("create_feed", "Create a product feed. fields: { name, url, format: csv|xml|google_merchant, scheduleCron? }.", { fields }, (a) => client.feeds.create(a.fields));
23441
23443
  tool("fetch_feed", "Trigger an immediate feed fetch/refresh.", { id: external_exports.string() }, (a) => client.feeds.fetch(a.id));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adviverse/mcp",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "MCP server exposing the Adviverse ad network API as tools for AI agents.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",
@@ -22,7 +22,7 @@
22
22
  "tsup": "^8.3.0",
23
23
  "typescript": "^5.6.2",
24
24
  "@types/node": "^22.0.0",
25
- "@adviverse/sdk": "0.1.3",
25
+ "@adviverse/sdk": "0.1.5",
26
26
  "@adnet/shared": "0.1.0"
27
27
  },
28
28
  "repository": {