{
  "$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-enable-pmax-brand-guidelines-request-schema.json",
  "title": "GoogleAdsGoogleadsV25Services__EnablePMaxBrandGuidelinesRequest",
  "description": "Request to enable Brand Guidelines for a Performance Max campaign.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-ads-customers-campaigns-api-openapi.yml#/components/schemas/GoogleAdsGoogleadsV25Services__EnablePMaxBrandGuidelinesRequest",
  "type": "object",
  "properties": {
    "operations": {
      "type": "array",
      "description": "Required. The list of individual campaign operations. A maximum of 10 enable operations can be executed in a request.",
      "items": {
        "$ref": "#/$defs/GoogleAdsGoogleadsV25Services__EnableOperation"
      }
    }
  },
  "$defs": {
    "GoogleAdsGoogleadsV25Services__BrandCampaignAssets": {
      "type": "object",
      "properties": {
        "businessNameAsset": {
          "type": "string",
          "description": "Required. The resource name of the business name text asset."
        },
        "logoAsset": {
          "type": "array",
          "description": "Required. The resource name of square logo assets.",
          "items": {
            "type": "string"
          }
        },
        "landscapeLogoAsset": {
          "type": "array",
          "description": "Optional. The resource name of landscape logo assets.",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "Assets linked at the campaign level. A business_name and at least one logo_asset are required."
    },
    "GoogleAdsGoogleadsV25Services__EnableOperation": {
      "type": "object",
      "properties": {
        "campaign": {
          "description": "Required. The resource name of the campaign to enable.",
          "type": "string"
        },
        "accentColor": {
          "description": "Optional. Hex code representation of the accent brand color, for example #00ff00. accent_color is required when main_color is specified.",
          "type": "string"
        },
        "brandAssets": {
          "$ref": "#/$defs/GoogleAdsGoogleadsV25Services__BrandCampaignAssets",
          "description": "Optional. The brand assets linked to the campaign. This field is required when the value of auto_populate_brand_assets is false."
        },
        "fontFamily": {
          "type": "string",
          "description": "Optional. The font family is specified as a string, and must be one of the following: \"Open Sans\", \"Roboto\", \"Roboto Slab\", \"Montserrat\", \"Poppins\", \"Lato\", \"Oswald\", or \"Playfair Display\"."
        },
        "autoPopulateBrandAssets": {
          "description": "Required. The switch to automatically populate top-performing brand assets. This field is required. If true, top-performing brand assets will be automatically populated. If false, the brand_assets field is required.",
          "type": "boolean"
        },
        "mainColor": {
          "type": "string",
          "description": "Optional. Hex code representation of the main brand color, for example #00ff00. main_color is required when accent color is specified."
        },
        "finalUriDomain": {
          "description": "Optional. The domain of the final uri.",
          "type": "string"
        }
      },
      "description": "A single enable operation of a campaign."
    }
  }
}