{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sparkads-dev/json-schema/sparkads-dev-post-api-tally-request-schema.json",
  "title": "PostApiTallyRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/sparkads-dev-openapi-generated.yml#/components/schemas/PostApiTallyRequest",
  "type": "object",
  "properties": {
    "app": {
      "type": "string",
      "description": "Your SparkPay app_id. Slug characters only, 40 max."
    },
    "creativeIds": {
      "type": "array",
      "description": "The ids you are reporting on, up to 50. Each one is counted separately."
    },
    "creativeId": {
      "type": "string",
      "description": "A single id instead of the list. The older shape, and it keeps working."
    },
    "event": {
      "type": "string",
      "description": "Exactly \"impression\" or \"click\"."
    },
    "source": {
      "type": "string",
      "description": "Either \"sellular\" or \"direct\". Anything else becomes \"network\"."
    }
  },
  "required": [
    "app",
    "creativeIds",
    "event"
  ]
}