type EntityLimitReachedError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
An error that occurs when creating an entity if the limit on the number of allowed entities for
a network has already been reached.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
The OGNL field path to identify cause of error.
|
fieldPathElements
|
FieldPathElement[]
A parsed copy of the field path. For example, the field path "operations[1].operand"
corresponds to this list: {FieldPathElement(field = "operations", index = 1),
FieldPathElement(field = "operand", index = null)}.
|
trigger
|
xsd:string
The data that caused the error.
|
errorString
|
xsd:string
A simple string representation of the error and reason.
|
EntityLimitReachedError
|
reason
|
EntityLimitReachedError.Reason
Enumerations
-
CUSTOM_TARGETING_VALUES_LIMIT_REACHED
- The number of custom targeting values exceeds the max number allowed in the network.
-
AD_EXCLUSION_RULES_LIMIT_REACHED
- The number of ad exclusion rules exceeds the max number allowed in the network.
-
FIRST_PARTY_AUDIENCE_SEGMENTS_LIMIT_REACHED
- The number of first party audience segments exceeds the max number allowed in the network.
-
PLACEMENTS_LIMIT_REACHED
- The number of active placements exceeds the max number allowed in the network.
-
LINE_ITEMS_LIMIT_REACHED
- The number of line items excceeds the max number allowed in the network.
-
ACTIVE_LINE_ITEMS_LIMIT_REACHED
- The number of active line items exceeds the max number allowed in the network.
-
DAI_ENCODING_PROFILES_LIMIT_REACHED
- The number of not-archived encoding profiles exceeds the max number allowed in the network.
-
TRAFFIC_FORECAST_SEGMENTS_LIMIT_REACHED
- The number of traffic forecast segments exceeds the max number allowed in the network.
-
FORECAST_ADJUSTMENTS_LIMIT_REACHED
- The number of forecast adjustments exceeds the max number allowed in the network.
-
ACTIVE_EXPERIMENTS_LIMIT_REACHED
- The number of active experiments exceeds the max number allowed in the network.
-
SITES_LIMIT_REACHED
- The number of sites exceeds the max number allowed in the network.
-
USER_TEAMS_LIMIT_REACHED
- The number of teams on the user exceeds the max number allowed.
-
UNKNOWN
- The value returned if the actual value is not exposed by the requested API version.
|
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-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eEntityLimitReachedError\u003c/code\u003e occurs when you try to create an entity, but the network has already reached its limit for that entity type.\u003c/p\u003e\n"],["\u003cp\u003eThis error is a subclass of \u003ccode\u003eApiError\u003c/code\u003e and provides information about the cause of the error.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereason\u003c/code\u003e field explains the specific entity limit that was reached, like too many custom targeting values or placements.\u003c/p\u003e\n"],["\u003cp\u003ePossible \u003ccode\u003ereason\u003c/code\u003e values include \u003ccode\u003eCUSTOM_TARGETING_VALUES_LIMIT_REACHED\u003c/code\u003e, \u003ccode\u003ePLACEMENTS_LIMIT_REACHED\u003c/code\u003e, \u003ccode\u003eLINE_ITEMS_LIMIT_REACHED\u003c/code\u003e, etc.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the provided table for a detailed list of fields, inheritance, and possible reasons for the \u003ccode\u003eEntityLimitReachedError\u003c/code\u003e.\u003c/p\u003e\n"]]],["This document details the `EntityLimitReachedError`, which occurs when a network's entity limit is exceeded. It outlines various services like `AdjustmentService`, `AudienceSegmentService`, and `LineItemService`, including a comprehensive list of potential errors. Key fields include `fieldPath`, `trigger`, and `errorString`. The `reason` field specifies the exact limit reached, such as `CUSTOM_TARGETING_VALUES_LIMIT_REACHED`, `LINE_ITEMS_LIMIT_REACHED`, or `SITES_LIMIT_REACHED`, amongst others, indicating the type of entity limit that has been surpassed.\n"],null,[]]