1// Copyright 2023 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15syntax = "proto3"; 16 17package google.ads.googleads.v14.errors; 18 19option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; 20option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/errors;errors"; 21option java_multiple_files = true; 22option java_outer_classname = "AssetErrorProto"; 23option java_package = "com.google.ads.googleads.v14.errors"; 24option objc_class_prefix = "GAA"; 25option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; 26option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; 27 28// Proto file describing asset errors. 29 30// Container for enum describing possible asset errors. 31message AssetErrorEnum { 32 // Enum describing possible asset errors. 33 enum AssetError { 34 // Enum unspecified. 35 UNSPECIFIED = 0; 36 37 // The received error code is not known in this version. 38 UNKNOWN = 1; 39 40 // The customer is not is not on the allow-list for this asset type. 41 CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE = 13; 42 43 // Assets are duplicated across operations. 44 DUPLICATE_ASSET = 3; 45 46 // The asset name is duplicated, either across operations or with an 47 // existing asset. 48 DUPLICATE_ASSET_NAME = 4; 49 50 // The Asset.asset_data oneof is empty. 51 ASSET_DATA_IS_MISSING = 5; 52 53 // The asset has a name which is different from an existing duplicate that 54 // represents the same content. 55 CANNOT_MODIFY_ASSET_NAME = 6; 56 57 // The field cannot be set for this asset type. 58 FIELD_INCOMPATIBLE_WITH_ASSET_TYPE = 7; 59 60 // Call to action must come from the list of supported values. 61 INVALID_CALL_TO_ACTION_TEXT = 8; 62 63 // A lead form asset is created with an invalid combination of input fields. 64 LEAD_FORM_INVALID_FIELDS_COMBINATION = 9; 65 66 // Lead forms require that the Terms of Service have been agreed to before 67 // mutates can be executed. 68 LEAD_FORM_MISSING_AGREEMENT = 10; 69 70 // Asset status is invalid in this operation. 71 INVALID_ASSET_STATUS = 11; 72 73 // The field cannot be modified by this asset type. 74 FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE = 12; 75 76 // Ad schedules for the same asset cannot overlap. 77 SCHEDULES_CANNOT_OVERLAP = 14; 78 79 // Cannot set both percent off and money amount off fields of promotion 80 // asset. 81 PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 15; 82 83 // Cannot set both promotion code and orders over amount fields of promotion 84 // asset. 85 PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 16; 86 87 // The field has too many decimal places specified. 88 TOO_MANY_DECIMAL_PLACES_SPECIFIED = 17; 89 90 // Duplicate assets across operations, which have identical Asset.asset_data 91 // oneof, cannot have different asset level fields for asset types which are 92 // deduped. 93 DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE = 18; 94 95 // Carrier specific short number is not allowed. 96 CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 19; 97 98 // Customer consent required for call recording Terms of Service. 99 CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 20; 100 101 // The type of the specified phone number is not allowed. 102 CALL_DISALLOWED_NUMBER_TYPE = 21; 103 104 // If the default call_conversion_action is not used, the customer must have 105 // a ConversionAction with the same id and the ConversionAction must be call 106 // conversion type. 107 CALL_INVALID_CONVERSION_ACTION = 22; 108 109 // The country code of the phone number is invalid. 110 CALL_INVALID_COUNTRY_CODE = 23; 111 112 // The format of the phone number is incorrect. 113 CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 24; 114 115 // The input phone number is not a valid phone number. 116 CALL_INVALID_PHONE_NUMBER = 25; 117 118 // The phone number is not supported for country. 119 CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 26; 120 121 // Premium rate phone number is not allowed. 122 CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED = 27; 123 124 // Vanity phone number is not allowed. 125 CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED = 28; 126 127 // PriceOffering cannot have the same value for header and description. 128 PRICE_HEADER_SAME_AS_DESCRIPTION = 29; 129 130 // AppId is invalid. 131 MOBILE_APP_INVALID_APP_ID = 30; 132 133 // Invalid App download URL in final URLs. 134 MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 31; 135 136 // Asset name is required for the asset type. 137 NAME_REQUIRED_FOR_ASSET_TYPE = 32; 138 139 // Legacy qualifying questions cannot be in the same Lead Form as 140 // custom questions. 141 LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED = 33; 142 143 // Unique name is required for this asset type. 144 NAME_CONFLICT_FOR_ASSET_TYPE = 34; 145 146 // Cannot modify asset source. 147 CANNOT_MODIFY_ASSET_SOURCE = 35; 148 149 // User can not modify the automatically created asset. 150 CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET = 36; 151 152 // Lead Form is disallowed to use "LOCATION" answer type. 153 LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED = 37; 154 155 // Page Feed label text contains invalid characters. 156 PAGE_FEED_INVALID_LABEL_TEXT = 38; 157 } 158} 159