@adviverse/mcp 0.1.3 → 0.1.4

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,8 @@ 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.")
24609
24610
  },
24610
24611
  (a) => client.consent.saveConfig(a)
24611
24612
  );
@@ -24674,7 +24675,7 @@ function createServer(client) {
24674
24675
  tool("property_domain_connect", "Initiate DomainConnect DNS automation for a property.", { id: external_exports.string() }, (a) => client.properties.domainConnect(a.id));
24675
24676
  tool("delete_property", "Delete a publisher property.", { id: external_exports.string() }, (a) => client.properties.delete(a.id));
24676
24677
  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));
24678
+ 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
24679
  tool("list_feeds", "List product feeds.", {}, () => client.feeds.list());
24679
24680
  tool("create_feed", "Create a product feed. fields: { name, url, format: csv|xml|google_merchant, scheduleCron? }.", { fields }, (a) => client.feeds.create(a.fields));
24680
24681
  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,8 @@ 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.")
23370
23371
  },
23371
23372
  (a) => client.consent.saveConfig(a)
23372
23373
  );
@@ -23435,7 +23436,7 @@ function createServer(client) {
23435
23436
  tool("property_domain_connect", "Initiate DomainConnect DNS automation for a property.", { id: external_exports.string() }, (a) => client.properties.domainConnect(a.id));
23436
23437
  tool("delete_property", "Delete a publisher property.", { id: external_exports.string() }, (a) => client.properties.delete(a.id));
23437
23438
  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));
23439
+ 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
23440
  tool("list_feeds", "List product feeds.", {}, () => client.feeds.list());
23440
23441
  tool("create_feed", "Create a product feed. fields: { name, url, format: csv|xml|google_merchant, scheduleCron? }.", { fields }, (a) => client.feeds.create(a.fields));
23441
23442
  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.4",
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.4",
26
26
  "@adnet/shared": "0.1.0"
27
27
  },
28
28
  "repository": {