Note: Version v201811 will be sunset soon. All users of those versions must migrate to a newer one.

enum ProductTemplateError.Reason (v201808)

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v201808
Enumeration Description
INVALID_FEATURE_EXPANDED_EXCLUSIVE One feature affinity should be expanded or not-expanded exclusively.
INVALID_EXPANDED_FEATURE_DEFAULT_NOT_TARGETED Expanded feature should have false default targeting type.
INVALID_EXPANDED_FEATURE_DEFAULT_LOCKED Expanded feature should be default locked.
INVALID_EXPANDED_FEATURE_VALUE_TARGETED Expanded feature value should have true targeting type.
INVALID_EXPANDED_FEATURE_VALUE_LOCKED Expanded feature value should be default locked.
INVALID_FEATURE_TYPE The feature type is mismatch with feature value's type.
INVALID_ROADBLOCKING_TYPE The roadblocking type is invalid.
INVALID_DELIVERY_RATE_TYPE The delivery rate type is invalid.
INVALID_CREATIVE_ROTATION_TYPE The creative rotation type is invalid.
INVALID_COMPANION_DELIVERY_OPTION The companion delivery option is invalid.
INVALID_TARGETING The targeting is invalid.
INVALID_FREQUENCY_CAPS The frequency cap is invalid.
INVALID_TECHNOLOGY_INCLUDE_EXCLUDE The technology criteria is included and excluded at same time.
INVALID_EXPANDED_PRODUCT_COUNT
INVALID_TARGET_PLATFORM The target platform should always be WEB.
INVALID_NON_TARGETING_FEATURE The non-targeting feature cannot have default target type TRUE.
INVALID_FEATURE_CARDINALITY_AT_LEAST_ONE The feature's targeted value number breaks the cardinality request, it should have at least one value.
INVALID_FEATURE_CARDINALITY_AT_MOST_ONE The feature's targeted value number breaks the cardinality request, it should have at most one value.
INVALID_FEATURE_CARDINALITY_EXACTLY_ONE The feature's targeted value number breaks the cardinality request, it should have exactly one value.
INVALID_FEATURE_FOR_OFFLINE The feature is invalid for offline product template.
INVALID_RATE_TYPE_FOR_OFFLINE The rate type is invalid for offline product template.
INVALID_RATE_TYPE_FOR_DFP The rate type should be in the valid set for corresponding line item type of a dfp product template.
INVALID_RATE_TYPE_FOR_NON_DFP The rate type should be in the valid set for corresponding line item type of a ProductType.NON_DFP product template.
INVALID_VALUES_FOR_CLICK_TRACKING_LINE_ITEM_TYPE One or more values on the product template are not valid for a LineItemType.CLICK_TRACKING line item type.
INVALID_SEGMENTATION_OR_TARGETING_FOR_CLICK_TRACKING_LINE_ITEM_TYPE The segmentation or targeting on the product template is not valid for a LineItemType.CLICK_TRACKING line item type.
INVALID_LINE_ITEM_PRIORITY The line item priority feature is not match with line item type feature.
INVALID_LINE_ITEM_TYPE The line item type value is not supported.
INVALID_ENVIRONMENT_TYPE The environment type is not valid.
DUPLICATED_PLACEHOLDER_IN_NAMEMACRO Duplication of placeholder for feature type affinity exists in name macro.
INVALID_EXPANDED_FEATURE_IN_NON_EXPANDABLE_AFFINITY Expanded features are not allowed in non expandable feature affinity.
INVALID_FEATURE_DEFAULT_TARGET_TYPE The default target type of the feature is not supported.
INVALID_FEATURE_VALUE_TARGET_TYPE The target type of the value is invalid.
INVALID_FEATURE_AND_VALUE_LOCK_EXCLUSIVE The default locked of feature is different with locked of feature values.
INVALID_CREATIVE_PLACEHOLDER The creative placeholder should have at least a master size, or has one master and multiple companion sizes.
DUPLICATED_FEATURE Duplicated features with the same feature type.
DUPLICATED_CUSTOM_TARGETING_KEY Duplicated custom criteria key.
DUPLICATED_CUSTOM_TARGETING_VALUE Duplicated custom criteria value.
INVALID_CUSTOM_TARGETING_KEY_ID The id of custom criteria key is invalid.
INVALID_CUSTOM_TARGETING_VALUE_ID The id of custom criteria value is invalid.
MISSING_CUSTOM_TARGETING_VALUES Missing custom targeting values.
LOCATION_CANNOT_BE_TARGETED_IF_PARENT_IS_TARGETED A child location can not be targeted if any one of its parent locations is also targeted.
LOCATION_CANNOT_BE_EXCLUDED_IF_PARENT_IS_EXCLUDED A child location can not be excluded if any one of its parent locations is also excluded.
LOCATION_CANNOT_BE_EXCLUDED_DIRECTLY_WHEN_HAVE_TARGETED_LOCATION An excluded location must have one targeted parent when targeted location is not empty.
CUSTOMIZABLE_CUSTOM_KEY_CANNOT_BE_SEGMENTED Customizable key is used in custom targeting segment.
CUSTOM_KEY_USED_IN_TARGETING_CANNOT_BE_SEGMENTED Custom targeting key is already used in custom targeting segment.
MISSING_EXPANDED_FEATURE_PLACEHOLDER_IN_NAMEMACRO A placeholder for an expanded feature type affinity is missing in name macro.
MISSING_FEATURE_VALUE_OF_NAMEMACRO_PLACEHOLDER The feature type affinity with placeholder been added is missing corresponding value.
MISSING_FEATURE_OF_NAMEMACRO_PLACEHOLDER The feature type affinity with placeholder been added is not specified.
MISSING_SUBTYPE_FOR_CUSTOM_TARGETING The SubTypeId of custom criteria feature is not specified.
COMPANION_NOT_ALLOWED A placeholder contains companions but the roadblocking type is not CREATIVE_SET or the product type is offline.
MISSING_COMPANION A placeholder does not contain companions but the roadblocking type is CREATIVE_SET.
DUPLICATED_MASTER_SIZE A placeholder's master size is the same as another placeholder.
CANNOT_HAVE_CREATIVE_TEMPLATE Non-native placeholders cannot have creative templates.
NATIVE_CREATIVE_TEMPLATE_REQUIRED Placeholders can only have native creative templates.
CANNOT_INCLUDE_NATIVE_PLACEHOLDER_WITHOUT_TEMPLATE_ID Cannot include native placeholders without native creative templates.
CANNOT_MODIFY_READONLY_FEATURE The feature is readonly.
CANNOT_MODIFY_PRODUCT_TYPE The product type can not be modified after creation.
CANNOT_ADD_SEGMENTATION Cannot add new segmentations after product template is saved.
CANNOT_REMOVE_SEGMENTATION Cannot remove segmentations after product template is saved.
CANNOT_REMOVE_VALUE_FROM_SEGMENTATION Cannot remove value from segmentation after product template is saved.
CANNOT_ADD_FEATURE_VALUE_FOR_CUSTOM_TARGETING Cannot add feature value for custom targeting.
CANNOT_MODIFY_BUILTIN_TARGETING_FEATURE Cannot modify a builtin targeting feature.
CANNOT_UPDATE_ARCHIVED_PRODUCT_TEMPLATE Cannot update an archived product template.
INVALID_VIDEO_POSITION_VALUE_FOR_LINE_ITEM_TYPE There are video position values that are invalid for the LineItemType.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.