EnableOperation
Stay organized with collections
Save and categorize content based on your preferences.
A single enable operation of a campaign.
Fields |
campaign
|
string
Required. The resource name of the campaign to enable.
|
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.
|
final_uri_domain
|
string
Optional. The domain of the final uri.
|
main_color
|
string
Optional. Hex code representation of the main brand color, for example #00ff00. main_color is required when accent color is specified.
|
accent_color
|
string
Optional. Hex code representation of the accent brand color, for example #00ff00. accent_color is required when main_color is specified.
|
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".
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[null,null,["Last updated 2025-08-07 UTC."],[],[],null,["# EnableOperation\n\nA single enable operation of a campaign.\n\n| Fields ||\n|----------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `campaign` | `string` Required. The resource name of the campaign to enable. |\n| ### `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. |\n| ### `brand_assets` | [BrandCampaignAssets](/google-ads/api/reference/rpc/v21/BrandCampaignAssets) Optional. The brand assets linked to the campaign. This field is required when the value of auto_populate_brand_assets is false. |\n| ### `final_uri_domain` | `string` Optional. The domain of the final uri. |\n| ### `main_color` | `string` Optional. Hex code representation of the main brand color, for example #00ff00. main_color is required when accent color is specified. |\n| ### `accent_color` | `string` Optional. Hex code representation of the accent brand color, for example #00ff00. accent_color is required when main_color is specified. |\n| ### `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\". |"]]