Starting
September 8, 2025, every new line item will need to declare whether or not they will serve Eurpoean Union (EU) political ads. Display & Video 360 API and SDF uploads that don't provide declarations will fail. See our
deprecations page for more details on how to update your integration to make this declaration.
RuleAggregationType
Stay organized with collections
Save and categorize content based on your preferences.
The supported aggregation type for the Algorithm Rules and Rulesets.
Enums |
RULE_AGGREGATION_TYPE_UNSPECIFIED |
Unknown aggregation type. |
SUM_OF_VALUES |
The sum of rule values. |
PRODUCT_OF_VALUES |
The product of rule values. |
MAXIMUM_VALUE |
The maximum rule value. |
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-03-27 UTC.
[null,null,["Last updated 2025-03-27 UTC."],[],["Display & Video 360 API v4 is in beta and supports specific aggregation types for Algorithm Rules and Rulesets. The available aggregation types are: `SUM_OF_VALUES`, which calculates the sum of rule values; `PRODUCT_OF_VALUES`, which calculates the product of rule values; and `MAXIMUM_VALUE`, which selects the highest rule value. `RULE_AGGREGATION_TYPE_UNSPECIFIED` represents an unknown aggregation type.\n"],null,["# RuleAggregationType\n\nThe supported aggregation type for the Algorithm Rules and Rulesets.\n\n| Enums ||\n|-------------------------------------|-----------------------------|\n| `RULE_AGGREGATION_TYPE_UNSPECIFIED` | Unknown aggregation type. |\n| `SUM_OF_VALUES` | The sum of rule values. |\n| `PRODUCT_OF_VALUES` | The product of rule values. |\n| `MAXIMUM_VALUE` | The maximum rule value. |"]]