AccuWeather · Schema

AdInfo

AdInfo schema from AccuWeather API

WeatherForecastsMeteorologyLocation ServicesAir QualityStorms

Properties

Name Type Description
code string Simplified ad code for ad slots on the page. Eg. '6581/web/us/*/news_info/country_home'
status string One of 'active', 'missing', or 'restricted' indicating a user's ID status Default missing.
cookie3p string One of 'active', 'missing', or 'restricted' indicating a user can access 3rd party cookies or not. Default missing.
View JSON Schema on GitHub

JSON Schema

accuweather-ad-info-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/accuweather/refs/heads/main/json-schema/accuweather-ad-info-schema.json",
  "title": "AdInfo",
  "description": "AdInfo schema from AccuWeather API",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Simplified ad code for ad slots on the page.\r\nEg. '6581/web/us/*/news_info/country_home'",
      "nullable": true
    },
    "status": {
      "type": "string",
      "description": "One of 'active', 'missing', or 'restricted' indicating a user's ID status\r\nDefault missing.",
      "nullable": true
    },
    "cookie3p": {
      "type": "string",
      "description": "One of 'active', 'missing', or 'restricted' indicating a user can access 3rd party cookies or not.\r\nDefault missing.",
      "nullable": true
    }
  },
  "additionalProperties": false
}