{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-ads/json-schema/google-ads-google-ads-googleads-v25-services-get-smart-campaign-status-response-schema.json",
  "title": "GoogleAdsGoogleadsV25Services__GetSmartCampaignStatusResponse",
  "description": "Response message for SmartCampaignSettingService.GetSmartCampaignStatus.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-ads-customers-smartcampaignsettings-api-openapi.yml#/components/schemas/GoogleAdsGoogleadsV25Services__GetSmartCampaignStatusResponse",
  "type": "object",
  "properties": {
    "smartCampaignStatus": {
      "x-enumDescriptions": [
        "The status has not been specified.",
        "The received value is not known in this version. This is a response-only value.",
        "The campaign was paused.",
        "The campaign is not eligible to serve and has issues that may require intervention.",
        "The campaign is pending the approval of at least one ad.",
        "The campaign is eligible to serve.",
        "The campaign has been removed.",
        "The campaign has ended."
      ],
      "enum": [
        "UNSPECIFIED",
        "UNKNOWN",
        "PAUSED",
        "NOT_ELIGIBLE",
        "PENDING",
        "ELIGIBLE",
        "REMOVED",
        "ENDED"
      ],
      "description": "The status of this Smart campaign.",
      "type": "string"
    },
    "notEligibleDetails": {
      "$ref": "#/$defs/GoogleAdsGoogleadsV25Services__SmartCampaignNotEligibleDetails",
      "description": "Details related to Smart campaigns that are ineligible to serve."
    },
    "pausedDetails": {
      "$ref": "#/$defs/GoogleAdsGoogleadsV25Services__SmartCampaignPausedDetails",
      "description": "Details related to paused Smart campaigns."
    },
    "removedDetails": {
      "$ref": "#/$defs/GoogleAdsGoogleadsV25Services__SmartCampaignRemovedDetails",
      "description": "Details related to removed Smart campaigns."
    },
    "endedDetails": {
      "$ref": "#/$defs/GoogleAdsGoogleadsV25Services__SmartCampaignEndedDetails",
      "description": "Details related to Smart campaigns that have ended."
    },
    "eligibleDetails": {
      "$ref": "#/$defs/GoogleAdsGoogleadsV25Services__SmartCampaignEligibleDetails",
      "description": "Details related to Smart campaigns that are eligible to serve."
    }
  },
  "$defs": {
    "GoogleAdsGoogleadsV25Services__SmartCampaignEligibleDetails": {
      "description": "Details related to Smart campaigns that are eligible to serve.",
      "type": "object",
      "properties": {
        "lastImpressionDateTime": {
          "description": "The timestamp of the last impression observed in the last 48 hours for this campaign. The timestamp is in the customer’s timezone and in “yyyy-MM-dd HH:mm:ss” format.",
          "type": "string"
        },
        "endDateTime": {
          "description": "The timestamp of when the campaign will end, if applicable. The timestamp is in the customer’s timezone and in “yyyy-MM-dd HH:mm:ss” format.",
          "type": "string"
        }
      }
    },
    "GoogleAdsGoogleadsV25Services__SmartCampaignEndedDetails": {
      "type": "object",
      "properties": {
        "endDateTime": {
          "type": "string",
          "description": "The timestamp of when the campaign ended. The timestamp is in the customer’s timezone and in “yyyy-MM-dd HH:mm:ss” format."
        }
      },
      "description": "Details related to Smart campaigns that have ended."
    },
    "GoogleAdsGoogleadsV25Services__SmartCampaignNotEligibleDetails": {
      "type": "object",
      "properties": {
        "notEligibleReason": {
          "type": "string",
          "description": "The reason why the Smart campaign is not eligible to serve.",
          "x-enumDescriptions": [
            "The status has not been specified.",
            "The received value is not known in this version. This is a response-only value.",
            "The campaign is not eligible to serve because of an issue with the account.",
            "The campaign is not eligible to serve because of a payment issue.",
            "The business profile location associated with the campaign has been removed.",
            "All system-generated ads have been disapproved. Consult the policy_summary field in the AdGroupAd resource for more details."
          ],
          "enum": [
            "UNSPECIFIED",
            "UNKNOWN",
            "ACCOUNT_ISSUE",
            "BILLING_ISSUE",
            "BUSINESS_PROFILE_LOCATION_REMOVED",
            "ALL_ADS_DISAPPROVED"
          ]
        }
      },
      "description": "Details related to Smart campaigns that are not eligible to serve."
    },
    "GoogleAdsGoogleadsV25Services__SmartCampaignPausedDetails": {
      "type": "object",
      "properties": {
        "pausedDateTime": {
          "description": "The timestamp of when the campaign was last paused. The timestamp is in the customer’s timezone and in “yyyy-MM-dd HH:mm:ss” format.",
          "type": "string"
        }
      },
      "description": "Details related to paused Smart campaigns."
    },
    "GoogleAdsGoogleadsV25Services__SmartCampaignRemovedDetails": {
      "type": "object",
      "properties": {
        "removedDateTime": {
          "description": "The timestamp of when the campaign was removed. The timestamp is in the customer’s timezone and in “yyyy-MM-dd HH:mm:ss” format.",
          "type": "string"
        }
      },
      "description": "Details related to removed Smart campaigns."
    }
  }
}