{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-campaign-manager/json-schema/google-campaign-manager-billing-profile-schema.json",
  "title": "BillingProfile",
  "description": "Contains properties of a Campaign Manager Billing Profile.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-campaign-manager-billing-profiles-api-openapi.yml#/components/schemas/BillingProfile",
  "type": "object",
  "properties": {
    "invoiceLevel": {
      "description": "Invoice level for this billing profile. Used to group fees into separate invoices by account, advertiser, or campaign.",
      "enum": [
        "ACCOUNT_LEVEL",
        "ADVERTISER_LEVEL",
        "CAMPAIGN_LEVEL"
      ],
      "type": "string"
    },
    "purchaseOrder": {
      "type": "string",
      "description": "Purchase order (PO) for this billing profile. This PO number is used in the invoices for all of the advertisers in this billing profile."
    },
    "kind": {
      "type": "string",
      "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#billingProfile\"."
    },
    "paymentsCustomerId": {
      "type": "string",
      "description": "The ID of the payment customer the billing profile belongs to. This is a read-only field."
    },
    "countryCode": {
      "description": "Country code of this billing profile.This is a read-only field.",
      "type": "string"
    },
    "id": {
      "description": "ID of this billing profile. This is a read-only, auto-generated field.",
      "type": "string",
      "format": "int64"
    },
    "isDefault": {
      "type": "boolean",
      "description": "True if the billing profile is the account default profile. This is a read-only field."
    },
    "secondaryPaymentsCustomerId": {
      "type": "string",
      "description": "The ID of the secondary payment customer the billing profile belongs to. This is a read-only field."
    },
    "status": {
      "description": "Status of this billing profile.This is a read-only field.",
      "type": "string",
      "enum": [
        "UNDER_REVIEW",
        "ACTIVE",
        "ARCHIVED"
      ]
    },
    "name": {
      "type": "string",
      "description": "Name of this billing profile. This is a required field and must be less than 256 characters long and must be unique among billing profile in the same account."
    },
    "consolidatedInvoice": {
      "type": "boolean",
      "description": "Consolidated invoice option for this billing profile. Used to get a single, consolidated invoice across the chosen invoice level."
    },
    "currencyCode": {
      "type": "string",
      "description": "Billing currency code in ISO 4217 format.This is a read-only field."
    },
    "paymentsAccountId": {
      "description": "The ID of the payment account the billing profile belongs to. This is a read-only field.",
      "type": "string"
    }
  }
}