type QuotaError (v202405)
Describes a client-side error on which a user is attempting
to perform an action to which they have no quota remaining.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202405
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.
|
QuotaError
|
reason
|
QuotaError.Reason
Enumerations
-
EXCEEDED_QUOTA
-
The number of requests made per second is too high and has exceeded
the allowable limit. The recommended approach to handle this error
is to wait about 5 seconds and then retry the request. Note that
this does not guarantee the request will succeed. If it fails
again, try increasing the wait time.
Another way to mitigate this error is to limit requests to 8 per
second for Ad Manager 360 accounts, or 2 per second for Ad Manager
accounts. Once again this does not guarantee that every request
will succeed, but may help reduce the number of times you receive
this error.
-
UNKNOWN
- The value returned if the actual value is not exposed by the requested API version.
-
REPORT_JOB_LIMIT
-
This user has exceeded the allowed number of new report requests
per hour (this includes both reports run via the UI and reports run
via ReportService.runReportJob). The recommended approach to handle this error
is to wait about 10 minutes and then retry the request. Note that
this does not guarantee the request will succeed. If it fails
again, try increasing the wait time.
Another way to mitigate this error is to limit the number of new
report requests to 250 per hour per user. Once again, this does not
guarantee that every request will succeed, but may help reduce the
number of times you receive this error.
-
SEGMENT_POPULATION_LIMIT
- This network has exceeded the allowed number of identifiers uploaded within a 24 hour period.
The recommended approach to handle this error is to wait 30 minutes and then retry the
request. Note that this does not guarantee the request will succeed. If it fails again, try
increasing the wait time.
|
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 2024-05-15 UTC.
[null,null,["Last updated 2024-05-15 UTC."],[[["The `QuotaError` object describes situations where a user has exceeded their usage limits for a specific action in Google Ad Manager."],["This error commonly occurs when exceeding request limits or exceeding the hourly limit for new report requests."],["To resolve a `QuotaError`, it's recommended to wait a certain period and retry the request or to limit the frequency of requests."],["Ad Manager 360 accounts have a higher request limit per second compared to standard Ad Manager accounts."],["If encountering `QuotaError` related to report requests, limit the number of new report requests to 250 per hour per user."]]],["The document details various services within an ad management system, including `AdRuleService`, `AdjustmentService`, and `CreativeService`, among others. These services are associated with potential `QuotaError` exceptions. `QuotaError` occurs when a user exceeds their allowed action limit. The `QuotaError` class provides reasons like `EXCEEDED_QUOTA`, `REPORT_JOB_LIMIT`, and `SEGMENT_POPULATION_LIMIT`, alongside suggested mitigation strategies like waiting and retrying or limiting requests. The document also lists multiple error types that inherit from `ApiError`.\n"]]