EnableOperation

A single enable operation of a campaign.

Proto definition

Fields

accent_color

string

Optional. Hex code representation of the accent brand color, for example #00ff00. accent_color is required when main_color is specified.

auto_populate_brand_assets

bool

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.

brand_assets

BrandCampaignAssets

Optional. The brand assets linked to the campaign. This field is required when the value of auto_populate_brand_assets is false.

campaign

string

Required. The resource name of the campaign to enable.

final_uri_domain

string

Optional. The domain of the final uri.

font_family

string

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".

main_color

string

Optional. Hex code representation of the main brand color, for example #00ff00. main_color is required when accent color is specified.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-22 UTC.