Share your feedback about the Google Ads (AdWords) API. Take the 2021 AdWords API and Google Ads API Annual Survey.

The AdWords API will sunset on April 27, 2022. Migrate to the Google Ads API to take advantage of the latest Google Ads features.

type PerformanceTargetError (v201809)

Base error class for all performance target related errors.


Namespace
https://adwords.google.com/api/adwords/cm/v201809

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.

ApiError.Type

xsd:string

Indicates that this instance is a subtype of ApiError. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

PerformanceTargetError

reason

PerformanceTargetError.Reason

The error reason represented by an enum.


Enumerations
SPEND_TARGET_REQUIRES_DATE_RANGE
Spend target requires both start date and end date to be specified.
VOLUME_TARGET_VALUE_REQUIRES_DATE_RANGE
Volume target value requires both start date and end date to be specified.
START_DATE_AFTER_END_DATE
The end date is before the start date.
INCOMPATIBLE_EFFICIENCY_TARGET_TYPE
The efficiency target type is incompatible with the volume goal type. The following mapping describes which volume goal types are compatibe with which efficiency target types. If a volume goal does not appear in the mapping, then no efficiency target types are compatible with it. Volume Goal Type : List of Efficiency Target Types MAXIMIZE_CLICKS : CPC_LESS_THAN_OR_EQUAL_TO MAXIMIZE_CONVERSIONS : CPA_LESS_THAN_OR_EQUAL_TO
EFFICIENCY_TARGET_VALUE_AND_TYPE_ARE_MUTUALLY_REQUIRED
Efficiency target value and type have to both be null or set to some value.
OVERLAPPING_DATE_RANGE
A modified or newly added performance target's date range overlaps with one or more other date ranges of other performance targets assigned to the same parent.
HISTORICAL_PERFORMANCE_TARGETS_CANNOT_BE_MODIFIED
It is not possible to set performance targets that have already ended. If modifications are needed, remove the performance target first and re-create it with the desired settings.
SPEND_TARGET_AND_SPEND_TARGET_TYPE_ARE_MUTUALLY_REQUIRED
Spend target and spend target type have to both be null or set to some value.
PERFORMANCE_TARGET_ERROR
Default error