BRAINIAC Ad Fraud Intelligence

Paid Ad Fraud Intelligence API via x402. Unpaid tool calls return 402.

Should I use this

Quality & Safety

B
Description quality
98%
Schema completeness
99%
Naming quality
37%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (21)

  • LOWTool 'ad-fraud_click-pattern-detect' description lacks action verbin ad-fraud_click-pattern-detect
  • LOWTool 'ad-fraud_bot-detect' doesn't follow camelCase/snake_casein ad-fraud_bot-detect
  • LOWTool 'ad-fraud_browser-integrity-check' doesn't follow camelCase/snake_casein ad-fraud_browser-integrity-check
  • LOWTool 'ad-fraud_browser-integrity-check' name length outside 3-30 rangein ad-fraud_browser-integrity-check
  • LOWTool 'ad-fraud_device-consistency-check' doesn't follow camelCase/snake_casein ad-fraud_device-consistency-check
  • LOWTool 'ad-fraud_device-consistency-check' name length outside 3-30 rangein ad-fraud_device-consistency-check
  • LOWTool 'ad-fraud_click-timing-analyze' doesn't follow camelCase/snake_casein ad-fraud_click-timing-analyze
  • LOWTool 'ad-fraud_duplicate-click-detect' doesn't follow camelCase/snake_casein ad-fraud_duplicate-click-detect
  • LOWTool 'ad-fraud_duplicate-click-detect' name length outside 3-30 rangein ad-fraud_duplicate-click-detect
  • LOWTool 'ad-fraud_click-velocity-analyze' doesn't follow camelCase/snake_casein ad-fraud_click-velocity-analyze

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~11,595Tokens (tool definitions)
~9.9 KBTypical response size
Significant attention impact (9.06% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "ad-fraud": {
      "url": "https://www.brainiac.software/mcp/ad-fraud"
    }
  }
}

Remote endpoints

https://www.brainiac.software/mcp/ad-fraudstreamable-http

What it can do

Tool inventory

Tools (12)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢ad-fraud_bot-detect(signals)

Look for automation indicators in caller-supplied HTTP and browser signals. Docs: https://www.brainiac.software/api/ad-fraud/bot-detect Keywords: before you pay or optimise an ad campaign, signals, success, analysis, verdict, confidence, evidence, risk score, risk_score, Detect ad-click automation signals, bot detect.

Input Schema

{
  "type": "object",
  "properties": {
    "signals": {
      "type": "object",
      "properties": {
        "userAgent": {
          "description": "userAgent, string, length 0 to 400. Optional.",
          "type": "string",
          "maxLength": 400
        },
        "acceptLanguage": {
          "description": "acceptLanguage, string, length 0 to 200. Optional.",
          "type": "string",
          "maxLength": 200
        },
        "webdriver": {
          "description": "webdriver, boolean. Optional.",
          "type": "boolean"
        },
        "headless": {
          "description": "headless, boolean. Optional.",
          "type": "boolean"
        },
        "automationFlags": {
          "description": "automationFlags, array. Optional.",
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 40,
            "description": "item, string, length 0 to 40. Required."
          }
        },
        "pluginsCount": {
          "description": "pluginsCount, integer, from 0 to 500. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 500
        },
        "languages": {
          "description": "languages, array. Optional.",
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 40,
            "description": "item, string, length 0 to 40. Required."
          }
        },
        "hardwareConcurrency": {
          "description": "hardwareConcurrency, integer, from 0 to 512. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 512
        },
        "deviceMemory": {
          "description": "deviceMemory, number, from 0 to 1024. Optional.",
          "type": "number",
          "minimum": 0,
          "maximum": 1024
        },
        "maxTouchPoints": {
          "description": "maxTouchPoints, integer, from 0 to 32. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 32
        },
        "screenWidth": {
          "description": "screenWidth, integer, from 0 to 20000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 20000
        },
        "screenHeight": {
          "description": "screenHeight, integer, from 0 to 20000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 20000
        },
        "mouseMoves": {
          "description": "mouseMoves, integer, from 0 to 1000000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "keyCount": {
          "description": "keyCount, integer, from 0 to 1000000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "scrollCount": {
          "description": "scrollCount, integer, from 0 to 1000000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "clickCount": {
          "description": "clickCount, integer, from 0 to 1000000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "timeOnPageMs": {
          "description": "timeOnPageMs, integer, from 0 to 86400000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 86400000
        },
        "ip": {
          "description": "ip, string, length 0 to 80. Optional.",
          "type": "string",
          "maxLength": 80
        }
      },
      "description": "signals, object. Required."
    }
  },
  "required": [
    "signals"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "success. Boolean."
    },
    "analysis": {
      "type": "string",
      "description": "analysis. String."
    },
    "verdict": {
      "type": "string",
      "description": "verdict. String."
    },
    "confidence": {
      "type": "string",
      "description": "confidence. String."
    },
    "signals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "type. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "explanation": {
            "type": "string",
            "description": "explanation. String."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "fields. Array."
          },
          "basis": {
            "type": "string",
            "description": "basis. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "signals. Array."
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "evidence. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    },
    "risk_score": {
      "type": "number",
      "description": "risk_score. Number."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ad-fraud_browser-integrity-check(browser)

Compare caller-supplied browser properties for contradictions. Docs: https://www.brainiac.software/api/ad-fraud/browser-integrity-check Keywords: before you pay or optimise an ad campaign, browser, success, analysis, verdict, confidence, signals, evidence, Check browser property consistency, browser integrity check.

Input Schema

{
  "type": "object",
  "properties": {
    "browser": {
      "type": "object",
      "properties": {
        "userAgent": {
          "description": "userAgent, string, length 0 to 400. Optional.",
          "type": "string",
          "maxLength": 400
        },
        "platform": {
          "description": "platform, string, length 0 to 80. Optional.",
          "type": "string",
          "maxLength": 80
        },
        "vendor": {
          "description": "vendor, string, length 0 to 80. Optional.",
          "type": "string",
          "maxLength": 80
        },
        "language": {
          "description": "language, string, length 0 to 40. Optional.",
          "type": "string",
          "maxLength": 40
        },
        "languages": {
          "description": "languages, array. Optional.",
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 40,
            "description": "item, string, length 0 to 40. Required."
          }
        },
        "timezone": {
          "description": "timezone, string, length 0 to 80. Optional.",
          "type": "string",
          "maxLength": 80
        },
        "timezoneOffsetMinutes": {
          "description": "timezoneOffsetMinutes, integer, from -840 to 840. Optional.",
          "type": "integer",
          "minimum": -840,
          "maximum": 840
        },
        "screenWidth": {
          "description": "screenWidth, integer, from 0 to 20000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 20000
        },
        "screenHeight": {
          "description": "screenHeight, integer, from 0 to 20000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 20000
        },
        "colorDepth": {
          "description": "colorDepth, integer, from 0 to 64. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 64
        },
        "devicePixelRatio": {
          "description": "devicePixelRatio, number, from 0 to 10. Optional.",
          "type": "number",
          "minimum": 0,
          "maximum": 10
        },
        "hardwareConcurrency": {
          "description": "hardwareConcurrency, integer, from 0 to 512. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 512
        },
        "deviceMemory": {
          "description": "deviceMemory, number, from 0 to 1024. Optional.",
          "type": "number",
          "minimum": 0,
          "maximum": 1024
        },
        "maxTouchPoints": {
          "description": "maxTouchPoints, integer, from 0 to 32. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 32
        },
        "brands": {
          "description": "brands, array. Optional.",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "brand": {
                "type": "string",
                "maxLength": 40,
                "description": "brand, string, length 0 to 40. Required."
              },
              "version": {
                "description": "version, string, length 0 to 20. Optional.",
                "type": "string",
                "maxLength": 20
              }
            },
            "required": [
              "brand"
            ],
            "description": "item, object. Required."
          }
        },
        "uaPlatform": {
          "description": "uaPlatform, string, length 0 to 40. Optional.",
          "type": "string",
          "maxLength": 40
        },
        "webglVendor": {
          "description": "webglVendor, string, length 0 to 120. Optional.",
          "type": "string",
          "maxLength": 120
        },
        "webglRenderer": {
          "description": "webglRenderer, string, length 0 to 160. Optional.",
          "type": "string",
          "maxLength": 160
        }
      },
      "description": "browser, object. Required."
    }
  },
  "required": [
    "browser"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "success. Boolean."
    },
    "analysis": {
      "type": "string",
      "description": "analysis. String."
    },
    "verdict": {
      "type": "string",
      "description": "verdict. String."
    },
    "confidence": {
      "type": "string",
      "description": "confidence. String."
    },
    "signals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "type. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "explanation": {
            "type": "string",
            "description": "explanation. String."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "fields. Array."
          },
          "basis": {
            "type": "string",
            "description": "basis. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "signals. Array."
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "evidence. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ad-fraud_device-consistency-check(device)

Compare caller-supplied device type, OS, model, screen, and architecture. Docs: https://www.brainiac.software/api/ad-fraud/device-consistency-check Keywords: before you pay or optimise an ad campaign, device, success, analysis, verdict, confidence, signals, evidence, Check device characteristic consistency, device consistency check.

Input Schema

{
  "type": "object",
  "properties": {
    "device": {
      "type": "object",
      "properties": {
        "deviceType": {
          "description": "deviceType, string, one of phone, tablet, desktop, tv, other. Optional.",
          "type": "string",
          "enum": [
            "phone",
            "tablet",
            "desktop",
            "tv",
            "other"
          ]
        },
        "os": {
          "description": "os, string, length 0 to 40. Optional.",
          "type": "string",
          "maxLength": 40
        },
        "osVersion": {
          "description": "osVersion, string, length 0 to 40. Optional.",
          "type": "string",
          "maxLength": 40
        },
        "model": {
          "description": "model, string, length 0 to 80. Optional.",
          "type": "string",
          "maxLength": 80
        },
        "architecture": {
          "description": "architecture, string, length 0 to 40. Optional.",
          "type": "string",
          "maxLength": 40
        },
        "simulator": {
          "description": "simulator, boolean. Optional.",
          "type": "boolean"
        },
        "screenWidth": {
          "description": "screenWidth, integer, from 0 to 20000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 20000
        },
        "screenHeight": {
          "description": "screenHeight, integer, from 0 to 20000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 20000
        },
        "pixelRatio": {
          "description": "pixelRatio, number, from 0 to 10. Optional.",
          "type": "number",
          "minimum": 0,
          "maximum": 10
        },
        "touch": {
          "description": "touch, boolean. Optional.",
          "type": "boolean"
        }
      },
      "description": "device, object. Required."
    }
  },
  "required": [
    "device"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "success. Boolean."
    },
    "analysis": {
      "type": "string",
      "description": "analysis. String."
    },
    "verdict": {
      "type": "string",
      "description": "verdict. String."
    },
    "confidence": {
      "type": "string",
      "description": "confidence. String."
    },
    "signals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "type. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "explanation": {
            "type": "string",
            "description": "explanation. String."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "fields. Array."
          },
          "basis": {
            "type": "string",
            "description": "basis. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "signals. Array."
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "evidence. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ad-fraud_click-timing-analyze(clicks)

Check caller-supplied click timestamps and dwell for impossible order or a fixed short gap. Docs: https://www.brainiac.software/api/ad-fraud/click-timing-analyze Keywords: before you pay or optimise an ad campaign, clicks, success, analysis, verdict, confidence, signals, evidence, Analyze click timing, click timing analyze.

Input Schema

{
  "type": "object",
  "properties": {
    "clicks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "description": "id, string, length 1 to 120. Required."
          },
          "at": {
            "description": "at, string, length 8 to 40. Optional.",
            "type": "string",
            "minLength": 8,
            "maxLength": 40
          },
          "clickId": {
            "description": "clickId, string, length 0 to 160. Optional.",
            "type": "string",
            "maxLength": 160
          },
          "gclid": {
            "description": "gclid, string, length 0 to 200. Optional.",
            "type": "string",
            "maxLength": 200
          },
          "fbclid": {
            "description": "fbclid, string, length 0 to 200. Optional.",
            "type": "string",
            "maxLength": 200
          },
          "dwellMs": {
            "description": "dwellMs, integer, from -1000000 to 86400000. Optional.",
            "type": "integer",
            "minimum": -1000000,
            "maximum": 86400000
          },
          "timeToClickMs": {
            "description": "timeToClickMs, integer, from -1000000 to 86400000. Optional.",
            "type": "integer",
            "minimum": -1000000,
            "maximum": 86400000
          },
          "pageLoadAt": {
            "description": "pageLoadAt, string, length 8 to 40. Optional.",
            "type": "string",
            "minLength": 8,
            "maxLength": 40
          },
          "x": {
            "description": "x, number, from 0 to 20000. Optional.",
            "type": "number",
            "minimum": 0,
            "maximum": 20000
          },
          "y": {
            "description": "y, number, from 0 to 20000. Optional.",
            "type": "number",
            "minimum": 0,
            "maximum": 20000
          },
          "campaignId": {
            "description": "campaignId, string, length 0 to 80. Optional.",
            "type": "string",
            "maxLength": 80
          },
          "fingerprintId": {
            "description": "fingerprintId, string, length 0 to 120. Optional.",
            "type": "string",
            "maxLength": 120
          },
          "referrer": {
            "description": "referrer, string, length 0 to 500. Optional.",
            "type": "string",
            "maxLength": 500
          },
          "landingUrl": {
            "description": "landingUrl, string, length 0 to 500. Optional.",
            "type": "string",
            "maxLength": 500
          }
        },
        "required": [
          "id"
        ],
        "description": "item, object. Required."
      },
      "description": "clicks, array. Required."
    }
  },
  "required": [
    "clicks"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "success. Boolean."
    },
    "analysis": {
      "type": "string",
      "description": "analysis. String."
    },
    "verdict": {
      "type": "string",
      "description": "verdict. String."
    },
    "confidence": {
      "type": "string",
      "description": "confidence. String."
    },
    "signals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "type. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "explanation": {
            "type": "string",
            "description": "explanation. String."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "fields. Array."
          },
          "basis": {
            "type": "string",
            "description": "basis. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "signals. Array."
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "evidence. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ad-fraud_duplicate-click-detect(clicks, history)

Find repeated click ids, gclids, and fbclids in the supplied batch and optional history. Docs: https://www.brainiac.software/api/ad-fraud/duplicate-click-detect Keywords: before you pay or optimise an ad campaign, clicks, history, success, analysis, verdict, confidence, signals, evidence, Detect duplicate click identifiers, duplicate click detect.

Input Schema

{
  "type": "object",
  "properties": {
    "clicks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "description": "id, string, length 1 to 120. Required."
          },
          "at": {
            "description": "at, string, length 8 to 40. Optional.",
            "type": "string",
            "minLength": 8,
            "maxLength": 40
          },
          "clickId": {
            "description": "clickId, string, length 0 to 160. Optional.",
            "type": "string",
            "maxLength": 160
          },
          "gclid": {
            "description": "gclid, string, length 0 to 200. Optional.",
            "type": "string",
            "maxLength": 200
          },
          "fbclid": {
            "description": "fbclid, string, length 0 to 200. Optional.",
            "type": "string",
            "maxLength": 200
          },
          "dwellMs": {
            "description": "dwellMs, integer, from -1000000 to 86400000. Optional.",
            "type": "integer",
            "minimum": -1000000,
            "maximum": 86400000
          },
          "timeToClickMs": {
            "description": "timeToClickMs, integer, from -1000000 to 86400000. Optional.",
            "type": "integer",
            "minimum": -1000000,
            "maximum": 86400000
          },
          "pageLoadAt": {
            "description": "pageLoadAt, string, length 8 to 40. Optional.",
            "type": "string",
            "minLength": 8,
            "maxLength": 40
          },
          "x": {
            "description": "x, number, from 0 to 20000. Optional.",
            "type": "number",
            "minimum": 0,
            "maximum": 20000
          },
          "y": {
            "description": "y, number, from 0 to 20000. Optional.",
            "type": "number",
            "minimum": 0,
            "maximum": 20000
          },
          "campaignId": {
            "description": "campaignId, string, length 0 to 80. Optional.",
            "type": "string",
            "maxLength": 80
          },
          "fingerprintId": {
            "description": "fingerprintId, string, length 0 to 120. Optional.",
            "type": "string",
            "maxLength": 120
          },
          "referrer": {
            "description": "referrer, string, length 0 to 500. Optional.",
            "type": "string",
            "maxLength": 500
          },
          "landingUrl": {
            "description": "landingUrl, string, length 0 to 500. Optional.",
            "type": "string",
            "maxLength": 500
          }
        },
        "required": [
          "id"
        ],
        "description": "item, object. Required."
      },
      "description": "clicks, array. Required."
    },
    "history": {
      "description": "history, array. Optional.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "clickId": {
            "description": "clickId, string, length 0 to 160. Optional.",
            "type": "string",
            "maxLength": 160
          },
          "gclid": {
            "description": "gclid, string, length 0 to 200. Optional.",
            "type": "string",
            "maxLength": 200
          },
          "fbclid": {
            "description": "fbclid, string, length 0 to 200. Optional.",
            "type": "string",
            "maxLength": 200
          }
        },
        "description": "item, object. Required."
      }
    }
  },
  "required": [
    "clicks"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "success. Boolean."
    },
    "analysis": {
      "type": "string",
      "description": "analysis. String."
    },
    "verdict": {
      "type": "string",
      "description": "verdict. String."
    },
    "confidence": {
      "type": "string",
      "description": "confidence. String."
    },
    "signals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "type. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "explanation": {
            "type": "string",
            "description": "explanation. String."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "fields. Array."
          },
          "basis": {
            "type": "string",
            "description": "basis. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "signals. Array."
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "evidence. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ad-fraud_click-velocity-analyze(clicks, windowSeconds, threshold, groupBy)

Count timestamped clicks inside a supplied window. Docs: https://www.brainiac.software/api/ad-fraud/click-velocity-analyze Keywords: before you pay or optimise an ad campaign, clicks, windowSeconds, threshold, groupBy, success, analysis, verdict, confidence, signals, evidence, risk score, risk_score, Analyze click velocity, click velocity analyze.

Input Schema

{
  "type": "object",
  "properties": {
    "clicks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "description": "id, string, length 1 to 120. Required."
          },
          "at": {
            "description": "at, string, length 8 to 40. Optional.",
            "type": "string",
            "minLength": 8,
            "maxLength": 40
          },
          "clickId": {
            "description": "clickId, string, length 0 to 160. Optional.",
            "type": "string",
            "maxLength": 160
          },
          "gclid": {
            "description": "gclid, string, length 0 to 200. Optional.",
            "type": "string",
            "maxLength": 200
          },
          "fbclid": {
            "description": "fbclid, string, length 0 to 200. Optional.",
            "type": "string",
            "maxLength": 200
          },
          "dwellMs": {
            "description": "dwellMs, integer, from -1000000 to 86400000. Optional.",
            "type": "integer",
            "minimum": -1000000,
            "maximum": 86400000
          },
          "timeToClickMs": {
            "description": "timeToClickMs, integer, from -1000000 to 86400000. Optional.",
            "type": "integer",
            "minimum": -1000000,
            "maximum": 86400000
          },
          "pageLoadAt": {
            "description": "pageLoadAt, string, length 8 to 40. Optional.",
            "type": "string",
            "minLength": 8,
            "maxLength": 40
          },
          "x": {
            "description": "x, number, from 0 to 20000. Optional.",
            "type": "number",
            "minimum": 0,
            "maximum": 20000
          },
          "y": {
            "description": "y, number, from 0 to 20000. Optional.",
            "type": "number",
            "minimum": 0,
            "maximum": 20000
          },
          "campaignId": {
            "description": "campaignId, string, length 0 to 80. Optional.",
            "type": "string",
            "maxLength": 80
          },
          "fingerprintId": {
            "description": "fingerprintId, string, length 0 to 120. Optional.",
            "type": "string",
            "maxLength": 120
          },
          "referrer": {
            "description": "referrer, string, length 0 to 500. Optional.",
            "type": "string",
            "maxLength": 500
          },
          "landingUrl": {
            "description": "landingUrl, string, length 0 to 500. Optional.",
            "type": "string",
            "maxLength": 500
          }
        },
        "required": [
          "id"
        ],
        "description": "item, object. Required."
      },
      "description": "clicks, array. Required."
    },
    "windowSeconds": {
      "description": "windowSeconds, integer, from 1 to 3600. Optional.",
      "type": "integer",
      "minimum": 1,
      "maximum": 3600
    },
    "threshold": {
      "description": "threshold, integer, from 3 to 500. Optional.",
      "type": "integer",
      "minimum": 3,
      "maximum": 500
    },
    "groupBy": {
      "description": "groupBy, string, one of none, campaign, fingerprint. Optional.",
      "type": "string",
      "enum": [
        "none",
        "campaign",
        "fingerprint"
      ]
    }
  },
  "required": [
    "clicks"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "success. Boolean."
    },
    "analysis": {
      "type": "string",
      "description": "analysis. String."
    },
    "verdict": {
      "type": "string",
      "description": "verdict. String."
    },
    "confidence": {
      "type": "string",
      "description": "confidence. String."
    },
    "signals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "type. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "explanation": {
            "type": "string",
            "description": "explanation. String."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "fields. Array."
          },
          "basis": {
            "type": "string",
            "description": "basis. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "signals. Array."
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "kind. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "fields. Array."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "evidence. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    },
    "risk_score": {
      "type": "number",
      "description": "risk_score. Number."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ad-fraud_referrer-integrity-check(referrer, landingUrl, campaign, expectedHosts)

Compare a caller-supplied referrer, landing URL, and campaign source. Docs: https://www.brainiac.software/api/ad-fraud/referrer-integrity-check Keywords: before you pay or optimise an ad campaign, referrer, landingUrl, campaign, expectedHosts, success, analysis, verdict, confidence, signals, evidence, Check referrer and campaign consistency, referrer integrity check.

Input Schema

{
  "type": "object",
  "properties": {
    "referrer": {
      "description": "referrer, string, length 0 to 500. Optional.",
      "type": "string",
      "maxLength": 500
    },
    "landingUrl": {
      "description": "landingUrl, string, length 0 to 500. Optional.",
      "type": "string",
      "maxLength": 500
    },
    "campaign": {
      "description": "campaign, object. Optional.",
      "type": "object",
      "properties": {
        "source": {
          "description": "source, string, length 0 to 80. Optional.",
          "type": "string",
          "maxLength": 80
        },
        "medium": {
          "description": "medium, string, length 0 to 40. Optional.",
          "type": "string",
          "maxLength": 40
        },
        "name": {
          "description": "name, string, length 0 to 80. Optional.",
          "type": "string",
          "maxLength": 80
        }
      }
    },
    "expectedHosts": {
      "description": "expectedHosts, array. Optional.",
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 200,
        "description": "item, string, length 0 to 200. Required."
      }
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "success. Boolean."
    },
    "analysis": {
      "type": "string",
      "description": "analysis. String."
    },
    "verdict": {
      "type": "string",
      "description": "verdict. String."
    },
    "confidence": {
      "type": "string",
      "description": "confidence. String."
    },
    "signals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "type. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "explanation": {
            "type": "string",
            "description": "explanation. String."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "fields. Array."
          },
          "basis": {
            "type": "string",
            "description": "basis. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "signals. Array."
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "evidence. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ad-fraud_click-fingerprint-analyze(fingerprints)

Compare caller-supplied canvas, WebGL, audio, and font hashes. Docs: https://www.brainiac.software/api/ad-fraud/click-fingerprint-analyze Keywords: before you pay or optimise an ad campaign, fingerprints, success, analysis, verdict, confidence, signals, evidence, Compare click fingerprints, click fingerprint analyze.

Input Schema

{
  "type": "object",
  "properties": {
    "fingerprints": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "description": "id, string, length 1 to 120. Required."
          },
          "canvasHash": {
            "description": "canvasHash, string, length 0 to 128. Optional.",
            "type": "string",
            "maxLength": 128
          },
          "webglHash": {
            "description": "webglHash, string, length 0 to 128. Optional.",
            "type": "string",
            "maxLength": 128
          },
          "audioHash": {
            "description": "audioHash, string, length 0 to 128. Optional.",
            "type": "string",
            "maxLength": 128
          },
          "fontHash": {
            "description": "fontHash, string, length 0 to 128. Optional.",
            "type": "string",
            "maxLength": 128
          },
          "userAgent": {
            "description": "userAgent, string, length 0 to 400. Optional.",
            "type": "string",
            "maxLength": 400
          },
          "screenWidth": {
            "description": "screenWidth, integer, from 0 to 20000. Optional.",
            "type": "integer",
            "minimum": 0,
            "maximum": 20000
          },
          "screenHeight": {
            "description": "screenHeight, integer, from 0 to 20000. Optional.",
            "type": "integer",
            "minimum": 0,
            "maximum": 20000
          },
          "timezone": {
            "description": "timezone, string, length 0 to 80. Optional.",
            "type": "string",
            "maxLength": 80
          },
          "language": {
            "description": "language, string, length 0 to 40. Optional.",
            "type": "string",
            "maxLength": 40
          }
        },
        "required": [
          "id"
        ],
        "description": "item, object. Required."
      },
      "description": "fingerprints, array. Required."
    }
  },
  "required": [
    "fingerprints"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "success. Boolean."
    },
    "analysis": {
      "type": "string",
      "description": "analysis. String."
    },
    "verdict": {
      "type": "string",
      "description": "verdict. String."
    },
    "confidence": {
      "type": "string",
      "description": "confidence. String."
    },
    "signals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "type. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "explanation": {
            "type": "string",
            "description": "explanation. String."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "fields. Array."
          },
          "basis": {
            "type": "string",
            "description": "basis. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "signals. Array."
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "evidence. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ad-fraud_conversion-fraud-detect(clicks, conversions)

Compare caller-supplied clicks and conversions for time order, campaign mismatch, and repeated ids. Docs: https://www.brainiac.software/api/ad-fraud/conversion-fraud-detect Keywords: before you pay or optimise an ad campaign, conversions, clicks, success, analysis, verdict, confidence, signals, evidence, risk score, risk_score, Detect click and conversion disagreements, conversion fraud detect.

Input Schema

{
  "type": "object",
  "properties": {
    "clicks": {
      "description": "clicks, array. Optional.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "description": "id, string, length 1 to 120. Required."
          },
          "at": {
            "description": "at, string, length 8 to 40. Optional.",
            "type": "string",
            "minLength": 8,
            "maxLength": 40
          },
          "clickId": {
            "description": "clickId, string, length 0 to 160. Optional.",
            "type": "string",
            "maxLength": 160
          },
          "gclid": {
            "description": "gclid, string, length 0 to 200. Optional.",
            "type": "string",
            "maxLength": 200
          },
          "fbclid": {
            "description": "fbclid, string, length 0 to 200. Optional.",
            "type": "string",
            "maxLength": 200
          },
          "dwellMs": {
            "description": "dwellMs, integer, from -1000000 to 86400000. Optional.",
            "type": "integer",
            "minimum": -1000000,
            "maximum": 86400000
          },
          "timeToClickMs": {
            "description": "timeToClickMs, integer, from -1000000 to 86400000. Optional.",
            "type": "integer",
            "minimum": -1000000,
            "maximum": 86400000
          },
          "pageLoadAt": {
            "description": "pageLoadAt, string, length 8 to 40. Optional.",
            "type": "string",
            "minLength": 8,
            "maxLength": 40
          },
          "x": {
            "description": "x, number, from 0 to 20000. Optional.",
            "type": "number",
            "minimum": 0,
            "maximum": 20000
          },
          "y": {
            "description": "y, number, from 0 to 20000. Optional.",
            "type": "number",
            "minimum": 0,
            "maximum": 20000
          },
          "campaignId": {
            "description": "campaignId, string, length 0 to 80. Optional.",
            "type": "string",
            "maxLength": 80
          },
          "fingerprintId": {
            "description": "fingerprintId, string, length 0 to 120. Optional.",
            "type": "string",
            "maxLength": 120
          },
          "referrer": {
            "description": "referrer, string, length 0 to 500. Optional.",
            "type": "string",
            "maxLength": 500
          },
          "landingUrl": {
            "description": "landingUrl, string, length 0 to 500. Optional.",
            "type": "string",
            "maxLength": 500
          }
        },
        "required": [
          "id"
        ],
        "description": "item, object. Required."
      }
    },
    "conversions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "description": "id, string, length 1 to 120. Required."
          },
          "at": {
            "description": "at, string, length 8 to 40. Optional.",
            "type": "string",
            "minLength": 8,
            "maxLength": 40
          },
          "clickId": {
            "description": "clickId, string, length 0 to 160. Optional.",
            "type": "string",
            "maxLength": 160
          },
          "campaignId": {
            "description": "campaignId, string, length 0 to 80. Optional.",
            "type": "string",
            "maxLength": 80
          },
          "value": {
            "description": "value, number, from 0 to 1000000000. Optional.",
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          }
        },
        "required": [
          "id"
        ],
        "description": "item, object. Required."
      },
      "description": "conversions, array. Required."
    }
  },
  "required": [
    "conversions"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "success. Boolean."
    },
    "analysis": {
      "type": "string",
      "description": "analysis. String."
    },
    "verdict": {
      "type": "string",
      "description": "verdict. String."
    },
    "confidence": {
      "type": "string",
      "description": "confidence. String."
    },
    "signals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "type. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "explanation": {
            "type": "string",
            "description": "explanation. String."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "fields. Array."
          },
          "basis": {
            "type": "string",
            "description": "basis. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "signals. Array."
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "evidence. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    },
    "risk_score": {
      "type": "number",
      "description": "risk_score. Number."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ad-fraud_campaign-anomaly-detect(rows)

Find impossible ratios and, when at least eight rows have clicks and impressions, click-through-rate outliers. Docs: https://www.brainiac.software/api/ad-fraud/campaign-anomaly-detect Keywords: before you pay or optimise an ad campaign, rows, success, analysis, verdict, confidence, signals, evidence, risk score, risk_score, Detect campaign metric anomalies, campaign anomaly detect.

Input Schema

{
  "type": "object",
  "properties": {
    "rows": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "description": "id, string, length 1 to 120. Required."
          },
          "campaignId": {
            "description": "campaignId, string, length 0 to 80. Optional.",
            "type": "string",
            "maxLength": 80
          },
          "day": {
            "description": "day, string, length 0 to 20. Optional.",
            "type": "string",
            "maxLength": 20
          },
          "clicks": {
            "description": "clicks, number, from 0 to 1000000000. Optional.",
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "impressions": {
            "description": "impressions, number, from 0 to 1000000000. Optional.",
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "conversions": {
            "description": "conversions, number, from 0 to 1000000000. Optional.",
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "spend": {
            "description": "spend, number, from 0 to 1000000000. Optional.",
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          }
        },
        "required": [
          "id"
        ],
        "description": "item, object. Required."
      },
      "description": "rows, array. Required."
    }
  },
  "required": [
    "rows"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "success. Boolean."
    },
    "analysis": {
      "type": "string",
      "description": "analysis. String."
    },
    "verdict": {
      "type": "string",
      "description": "verdict. String."
    },
    "confidence": {
      "type": "string",
      "description": "confidence. String."
    },
    "signals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "type. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "explanation": {
            "type": "string",
            "description": "explanation. String."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "fields. Array."
          },
          "basis": {
            "type": "string",
            "description": "basis. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "signals. Array."
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "kind. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "fields. Array."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "evidence. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    },
    "risk_score": {
      "type": "number",
      "description": "risk_score. Number."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ad-fraud_click-pattern-detect(clicks)

Look for identical timestamps, a fixed gap, or identical coordinates across a supplied click collection. Docs: https://www.brainiac.software/api/ad-fraud/click-pattern-detect Keywords: before you pay or optimise an ad campaign, clicks, success, analysis, verdict, confidence, signals, evidence, risk score, risk_score, Detect repeated click patterns, click pattern detect.

Input Schema

{
  "type": "object",
  "properties": {
    "clicks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120,
            "description": "id, string, length 1 to 120. Required."
          },
          "at": {
            "description": "at, string, length 8 to 40. Optional.",
            "type": "string",
            "minLength": 8,
            "maxLength": 40
          },
          "clickId": {
            "description": "clickId, string, length 0 to 160. Optional.",
            "type": "string",
            "maxLength": 160
          },
          "gclid": {
            "description": "gclid, string, length 0 to 200. Optional.",
            "type": "string",
            "maxLength": 200
          },
          "fbclid": {
            "description": "fbclid, string, length 0 to 200. Optional.",
            "type": "string",
            "maxLength": 200
          },
          "dwellMs": {
            "description": "dwellMs, integer, from -1000000 to 86400000. Optional.",
            "type": "integer",
            "minimum": -1000000,
            "maximum": 86400000
          },
          "timeToClickMs": {
            "description": "timeToClickMs, integer, from -1000000 to 86400000. Optional.",
            "type": "integer",
            "minimum": -1000000,
            "maximum": 86400000
          },
          "pageLoadAt": {
            "description": "pageLoadAt, string, length 8 to 40. Optional.",
            "type": "string",
            "minLength": 8,
            "maxLength": 40
          },
          "x": {
            "description": "x, number, from 0 to 20000. Optional.",
            "type": "number",
            "minimum": 0,
            "maximum": 20000
          },
          "y": {
            "description": "y, number, from 0 to 20000. Optional.",
            "type": "number",
            "minimum": 0,
            "maximum": 20000
          },
          "campaignId": {
            "description": "campaignId, string, length 0 to 80. Optional.",
            "type": "string",
            "maxLength": 80
          },
          "fingerprintId": {
            "description": "fingerprintId, string, length 0 to 120. Optional.",
            "type": "string",
            "maxLength": 120
          },
          "referrer": {
            "description": "referrer, string, length 0 to 500. Optional.",
            "type": "string",
            "maxLength": 500
          },
          "landingUrl": {
            "description": "landingUrl, string, length 0 to 500. Optional.",
            "type": "string",
            "maxLength": 500
          }
        },
        "required": [
          "id"
        ],
        "description": "item, object. Required."
      },
      "description": "clicks, array. Required."
    }
  },
  "required": [
    "clicks"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "success. Boolean."
    },
    "analysis": {
      "type": "string",
      "description": "analysis. String."
    },
    "verdict": {
      "type": "string",
      "description": "verdict. String."
    },
    "confidence": {
      "type": "string",
      "description": "confidence. String."
    },
    "signals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "type. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "explanation": {
            "type": "string",
            "description": "explanation. String."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "fields. Array."
          },
          "basis": {
            "type": "string",
            "description": "basis. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "signals. Array."
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Item. String."
      },
      "description": "evidence. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    },
    "risk_score": {
      "type": "number",
      "description": "risk_score. Number."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢ad-fraud_click-risk-score(click, signals, history, conversion, referrer, ...)

Sum a documented weight for each supplied click attribute. Docs: https://www.brainiac.software/api/ad-fraud/click-risk-score Keywords: before you pay or optimise an ad campaign, click, signals, history, conversion, referrer, landingUrl, campaign, success, analysis, verdict, confidence, evidence, risk score, risk_score.

Input Schema

{
  "type": "object",
  "properties": {
    "click": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "description": "id, string, length 1 to 120. Required."
        },
        "at": {
          "description": "at, string, length 8 to 40. Optional.",
          "type": "string",
          "minLength": 8,
          "maxLength": 40
        },
        "clickId": {
          "description": "clickId, string, length 0 to 160. Optional.",
          "type": "string",
          "maxLength": 160
        },
        "gclid": {
          "description": "gclid, string, length 0 to 200. Optional.",
          "type": "string",
          "maxLength": 200
        },
        "fbclid": {
          "description": "fbclid, string, length 0 to 200. Optional.",
          "type": "string",
          "maxLength": 200
        },
        "dwellMs": {
          "description": "dwellMs, integer, from -1000000 to 86400000. Optional.",
          "type": "integer",
          "minimum": -1000000,
          "maximum": 86400000
        },
        "timeToClickMs": {
          "description": "timeToClickMs, integer, from -1000000 to 86400000. Optional.",
          "type": "integer",
          "minimum": -1000000,
          "maximum": 86400000
        },
        "pageLoadAt": {
          "description": "pageLoadAt, string, length 8 to 40. Optional.",
          "type": "string",
          "minLength": 8,
          "maxLength": 40
        },
        "x": {
          "description": "x, number, from 0 to 20000. Optional.",
          "type": "number",
          "minimum": 0,
          "maximum": 20000
        },
        "y": {
          "description": "y, number, from 0 to 20000. Optional.",
          "type": "number",
          "minimum": 0,
          "maximum": 20000
        },
        "campaignId": {
          "description": "campaignId, string, length 0 to 80. Optional.",
          "type": "string",
          "maxLength": 80
        },
        "fingerprintId": {
          "description": "fingerprintId, string, length 0 to 120. Optional.",
          "type": "string",
          "maxLength": 120
        },
        "referrer": {
          "description": "referrer, string, length 0 to 500. Optional.",
          "type": "string",
          "maxLength": 500
        },
        "landingUrl": {
          "description": "landingUrl, string, length 0 to 500. Optional.",
          "type": "string",
          "maxLength": 500
        }
      },
      "required": [
        "id"
      ],
      "description": "click, object. Required."
    },
    "signals": {
      "description": "signals, object. Optional.",
      "type": "object",
      "properties": {
        "userAgent": {
          "description": "userAgent, string, length 0 to 400. Optional.",
          "type": "string",
          "maxLength": 400
        },
        "acceptLanguage": {
          "description": "acceptLanguage, string, length 0 to 200. Optional.",
          "type": "string",
          "maxLength": 200
        },
        "webdriver": {
          "description": "webdriver, boolean. Optional.",
          "type": "boolean"
        },
        "headless": {
          "description": "headless, boolean. Optional.",
          "type": "boolean"
        },
        "automationFlags": {
          "description": "automationFlags, array. Optional.",
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 40,
            "description": "item, string, length 0 to 40. Required."
          }
        },
        "pluginsCount": {
          "description": "pluginsCount, integer, from 0 to 500. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 500
        },
        "languages": {
          "description": "languages, array. Optional.",
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 40,
            "description": "item, string, length 0 to 40. Required."
          }
        },
        "hardwareConcurrency": {
          "description": "hardwareConcurrency, integer, from 0 to 512. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 512
        },
        "deviceMemory": {
          "description": "deviceMemory, number, from 0 to 1024. Optional.",
          "type": "number",
          "minimum": 0,
          "maximum": 1024
        },
        "maxTouchPoints": {
          "description": "maxTouchPoints, integer, from 0 to 32. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 32
        },
        "screenWidth": {
          "description": "screenWidth, integer, from 0 to 20000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 20000
        },
        "screenHeight": {
          "description": "screenHeight, integer, from 0 to 20000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 20000
        },
        "mouseMoves": {
          "description": "mouseMoves, integer, from 0 to 1000000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "keyCount": {
          "description": "keyCount, integer, from 0 to 1000000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "scrollCount": {
          "description": "scrollCount, integer, from 0 to 1000000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "clickCount": {
          "description": "clickCount, integer, from 0 to 1000000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "timeOnPageMs": {
          "description": "timeOnPageMs, integer, from 0 to 86400000. Optional.",
          "type": "integer",
          "minimum": 0,
          "maximum": 86400000
        },
        "ip": {
          "description": "ip, string, length 0 to 80. Optional.",
          "type": "string",
          "maxLength": 80
        }
      }
    },
    "history": {
      "description": "history, array. Optional.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "clickId": {
            "description": "clickId, string, length 0 to 160. Optional.",
            "type": "string",
            "maxLength": 160
          },
          "gclid": {
            "description": "gclid, string, length 0 to 200. Optional.",
            "type": "string",
            "maxLength": 200
          },
          "fbclid": {
            "description": "fbclid, string, length 0 to 200. Optional.",
            "type": "string",
            "maxLength": 200
          }
        },
        "description": "item, object. Required."
      }
    },
    "conversion": {
      "description": "conversion, object. Optional.",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 120,
          "description": "id, string, length 1 to 120. Required."
        },
        "at": {
          "description": "at, string, length 8 to 40. Optional.",
          "type": "string",
          "minLength": 8,
          "maxLength": 40
        },
        "clickId": {
          "description": "clickId, string, length 0 to 160. Optional.",
          "type": "string",
          "maxLength": 160
        },
        "campaignId": {
          "description": "campaignId, string, length 0 to 80. Optional.",
          "type": "string",
          "maxLength": 80
        },
        "value": {
          "description": "value, number, from 0 to 1000000000. Optional.",
          "type": "number",
          "minimum": 0,
          "maximum": 1000000000
        }
      },
      "required": [
        "id"
      ]
    },
    "referrer": {
      "description": "referrer, string, length 0 to 500. Optional.",
      "type": "string",
      "maxLength": 500
    },
    "landingUrl": {
      "description": "landingUrl, string, length 0 to 500. Optional.",
      "type": "string",
      "maxLength": 500
    },
    "campaign": {
      "description": "campaign, object. Optional.",
      "type": "object",
      "properties": {
        "source": {
          "description": "source, string, length 0 to 80. Optional.",
          "type": "string",
          "maxLength": 80
        }
      }
    }
  },
  "required": [
    "click"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "success. Boolean."
    },
    "analysis": {
      "type": "string",
      "description": "analysis. String."
    },
    "verdict": {
      "type": "string",
      "description": "verdict. String."
    },
    "confidence": {
      "type": "string",
      "description": "confidence. String."
    },
    "signals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "type. String."
          },
          "severity": {
            "type": "string",
            "description": "severity. String."
          },
          "explanation": {
            "type": "string",
            "description": "explanation. String."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "fields. Array."
          },
          "basis": {
            "type": "string",
            "description": "basis. String."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "signals. Array."
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "kind. String."
          },
          "detail": {
            "type": "string",
            "description": "detail. String."
          },
          "fields": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "item. String."
            },
            "description": "fields. Array."
          }
        },
        "additionalProperties": {},
        "description": "item. Object."
      },
      "description": "evidence. Array."
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "item. String."
      },
      "description": "limitations. Array."
    },
    "risk_score": {
      "type": "number",
      "description": "risk_score. Number."
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded12 tools