# @generated by generate_proto_mypy_stubs.py.  Do not edit!
import sys
from google.protobuf.descriptor import (
    Descriptor as google___protobuf___descriptor___Descriptor,
    EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
)

from google.protobuf.message import Message as google___protobuf___message___Message

from typing import (
    List as typing___List,
    Tuple as typing___Tuple,
    Union as typing___Union,
    cast as typing___cast,
)

builtin___bytes = bytes
builtin___int = int
builtin___str = str
if sys.version_info < (3,):
    builtin___buffer = buffer
    builtin___unicode = unicode

class AdErrorEnum(google___protobuf___message___Message):
    DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
    class AdError(builtin___int):
        DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
        @classmethod
        def Name(cls, number: builtin___int) -> builtin___str: ...
        @classmethod
        def Value(cls, name: builtin___str) -> "AdErrorEnum.AdError": ...
        @classmethod
        def keys(cls) -> typing___List[builtin___str]: ...
        @classmethod
        def values(cls) -> typing___List["AdErrorEnum.AdError"]: ...
        @classmethod
        def items(
            cls,
        ) -> typing___List[typing___Tuple[builtin___str, "AdErrorEnum.AdError"]]: ...
        UNSPECIFIED = typing___cast("AdErrorEnum.AdError", 0)
        UNKNOWN = typing___cast("AdErrorEnum.AdError", 1)
        AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE = typing___cast(
            "AdErrorEnum.AdError", 2
        )
        APPROXIMATELY_TOO_LONG = typing___cast("AdErrorEnum.AdError", 3)
        APPROXIMATELY_TOO_SHORT = typing___cast("AdErrorEnum.AdError", 4)
        BAD_SNIPPET = typing___cast("AdErrorEnum.AdError", 5)
        CANNOT_MODIFY_AD = typing___cast("AdErrorEnum.AdError", 6)
        CANNOT_SET_BUSINESS_NAME_IF_URL_SET = typing___cast("AdErrorEnum.AdError", 7)
        CANNOT_SET_FIELD = typing___cast("AdErrorEnum.AdError", 8)
        CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET = typing___cast("AdErrorEnum.AdError", 9)
        CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING = typing___cast(
            "AdErrorEnum.AdError", 10
        )
        CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE = typing___cast("AdErrorEnum.AdError", 11)
        CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING = typing___cast(
            "AdErrorEnum.AdError", 12
        )
        CANNOT_SET_URL = typing___cast("AdErrorEnum.AdError", 13)
        CANNOT_SET_WITHOUT_FINAL_URLS = typing___cast("AdErrorEnum.AdError", 14)
        CANNOT_SET_WITH_FINAL_URLS = typing___cast("AdErrorEnum.AdError", 15)
        CANNOT_SET_WITH_URL_DATA = typing___cast("AdErrorEnum.AdError", 17)
        CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR = typing___cast("AdErrorEnum.AdError", 18)
        CUSTOMER_NOT_APPROVED_MOBILEADS = typing___cast("AdErrorEnum.AdError", 19)
        CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS = typing___cast("AdErrorEnum.AdError", 20)
        CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS = typing___cast(
            "AdErrorEnum.AdError", 21
        )
        CUSTOMER_NOT_ELIGIBLE = typing___cast("AdErrorEnum.AdError", 22)
        CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL = typing___cast(
            "AdErrorEnum.AdError", 23
        )
        DIMENSION_ALREADY_IN_UNION = typing___cast("AdErrorEnum.AdError", 24)
        DIMENSION_MUST_BE_SET = typing___cast("AdErrorEnum.AdError", 25)
        DIMENSION_NOT_IN_UNION = typing___cast("AdErrorEnum.AdError", 26)
        DISPLAY_URL_CANNOT_BE_SPECIFIED = typing___cast("AdErrorEnum.AdError", 27)
        DOMESTIC_PHONE_NUMBER_FORMAT = typing___cast("AdErrorEnum.AdError", 28)
        EMERGENCY_PHONE_NUMBER = typing___cast("AdErrorEnum.AdError", 29)
        EMPTY_FIELD = typing___cast("AdErrorEnum.AdError", 30)
        FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID = typing___cast(
            "AdErrorEnum.AdError", 31
        )
        FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH = typing___cast("AdErrorEnum.AdError", 32)
        ILLEGAL_AD_CUSTOMIZER_TAG_USE = typing___cast("AdErrorEnum.AdError", 33)
        ILLEGAL_TAG_USE = typing___cast("AdErrorEnum.AdError", 34)
        INCONSISTENT_DIMENSIONS = typing___cast("AdErrorEnum.AdError", 35)
        INCONSISTENT_STATUS_IN_TEMPLATE_UNION = typing___cast("AdErrorEnum.AdError", 36)
        INCORRECT_LENGTH = typing___cast("AdErrorEnum.AdError", 37)
        INELIGIBLE_FOR_UPGRADE = typing___cast("AdErrorEnum.AdError", 38)
        INVALID_AD_ADDRESS_CAMPAIGN_TARGET = typing___cast("AdErrorEnum.AdError", 39)
        INVALID_AD_TYPE = typing___cast("AdErrorEnum.AdError", 40)
        INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE = typing___cast("AdErrorEnum.AdError", 41)
        INVALID_ATTRIBUTES_FOR_MOBILE_TEXT = typing___cast("AdErrorEnum.AdError", 42)
        INVALID_CALL_TO_ACTION_TEXT = typing___cast("AdErrorEnum.AdError", 43)
        INVALID_CHARACTER_FOR_URL = typing___cast("AdErrorEnum.AdError", 44)
        INVALID_COUNTRY_CODE = typing___cast("AdErrorEnum.AdError", 45)
        INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG = typing___cast(
            "AdErrorEnum.AdError", 47
        )
        INVALID_INPUT = typing___cast("AdErrorEnum.AdError", 48)
        INVALID_MARKUP_LANGUAGE = typing___cast("AdErrorEnum.AdError", 49)
        INVALID_MOBILE_CARRIER = typing___cast("AdErrorEnum.AdError", 50)
        INVALID_MOBILE_CARRIER_TARGET = typing___cast("AdErrorEnum.AdError", 51)
        INVALID_NUMBER_OF_ELEMENTS = typing___cast("AdErrorEnum.AdError", 52)
        INVALID_PHONE_NUMBER_FORMAT = typing___cast("AdErrorEnum.AdError", 53)
        INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID = typing___cast(
            "AdErrorEnum.AdError", 54
        )
        INVALID_TEMPLATE_DATA = typing___cast("AdErrorEnum.AdError", 55)
        INVALID_TEMPLATE_ELEMENT_FIELD_TYPE = typing___cast("AdErrorEnum.AdError", 56)
        INVALID_TEMPLATE_ID = typing___cast("AdErrorEnum.AdError", 57)
        LINE_TOO_WIDE = typing___cast("AdErrorEnum.AdError", 58)
        MISSING_AD_CUSTOMIZER_MAPPING = typing___cast("AdErrorEnum.AdError", 59)
        MISSING_ADDRESS_COMPONENT = typing___cast("AdErrorEnum.AdError", 60)
        MISSING_ADVERTISEMENT_NAME = typing___cast("AdErrorEnum.AdError", 61)
        MISSING_BUSINESS_NAME = typing___cast("AdErrorEnum.AdError", 62)
        MISSING_DESCRIPTION1 = typing___cast("AdErrorEnum.AdError", 63)
        MISSING_DESCRIPTION2 = typing___cast("AdErrorEnum.AdError", 64)
        MISSING_DESTINATION_URL_TAG = typing___cast("AdErrorEnum.AdError", 65)
        MISSING_LANDING_PAGE_URL_TAG = typing___cast("AdErrorEnum.AdError", 66)
        MISSING_DIMENSION = typing___cast("AdErrorEnum.AdError", 67)
        MISSING_DISPLAY_URL = typing___cast("AdErrorEnum.AdError", 68)
        MISSING_HEADLINE = typing___cast("AdErrorEnum.AdError", 69)
        MISSING_HEIGHT = typing___cast("AdErrorEnum.AdError", 70)
        MISSING_IMAGE = typing___cast("AdErrorEnum.AdError", 71)
        MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS = typing___cast(
            "AdErrorEnum.AdError", 72
        )
        MISSING_MARKUP_LANGUAGES = typing___cast("AdErrorEnum.AdError", 73)
        MISSING_MOBILE_CARRIER = typing___cast("AdErrorEnum.AdError", 74)
        MISSING_PHONE = typing___cast("AdErrorEnum.AdError", 75)
        MISSING_REQUIRED_TEMPLATE_FIELDS = typing___cast("AdErrorEnum.AdError", 76)
        MISSING_TEMPLATE_FIELD_VALUE = typing___cast("AdErrorEnum.AdError", 77)
        MISSING_TEXT = typing___cast("AdErrorEnum.AdError", 78)
        MISSING_VISIBLE_URL = typing___cast("AdErrorEnum.AdError", 79)
        MISSING_WIDTH = typing___cast("AdErrorEnum.AdError", 80)
        MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED = typing___cast("AdErrorEnum.AdError", 81)
        MUST_USE_TEMP_AD_UNION_ID_ON_ADD = typing___cast("AdErrorEnum.AdError", 82)
        TOO_LONG = typing___cast("AdErrorEnum.AdError", 83)
        TOO_SHORT = typing___cast("AdErrorEnum.AdError", 84)
        UNION_DIMENSIONS_CANNOT_CHANGE = typing___cast("AdErrorEnum.AdError", 85)
        UNKNOWN_ADDRESS_COMPONENT = typing___cast("AdErrorEnum.AdError", 86)
        UNKNOWN_FIELD_NAME = typing___cast("AdErrorEnum.AdError", 87)
        UNKNOWN_UNIQUE_NAME = typing___cast("AdErrorEnum.AdError", 88)
        UNSUPPORTED_DIMENSIONS = typing___cast("AdErrorEnum.AdError", 89)
        URL_INVALID_SCHEME = typing___cast("AdErrorEnum.AdError", 90)
        URL_INVALID_TOP_LEVEL_DOMAIN = typing___cast("AdErrorEnum.AdError", 91)
        URL_MALFORMED = typing___cast("AdErrorEnum.AdError", 92)
        URL_NO_HOST = typing___cast("AdErrorEnum.AdError", 93)
        URL_NOT_EQUIVALENT = typing___cast("AdErrorEnum.AdError", 94)
        URL_HOST_NAME_TOO_LONG = typing___cast("AdErrorEnum.AdError", 95)
        URL_NO_SCHEME = typing___cast("AdErrorEnum.AdError", 96)
        URL_NO_TOP_LEVEL_DOMAIN = typing___cast("AdErrorEnum.AdError", 97)
        URL_PATH_NOT_ALLOWED = typing___cast("AdErrorEnum.AdError", 98)
        URL_PORT_NOT_ALLOWED = typing___cast("AdErrorEnum.AdError", 99)
        URL_QUERY_NOT_ALLOWED = typing___cast("AdErrorEnum.AdError", 100)
        URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG = typing___cast(
            "AdErrorEnum.AdError", 102
        )
        USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE = typing___cast(
            "AdErrorEnum.AdError", 103
        )
        INCONSISTENT_EXPANDABLE_SETTINGS = typing___cast("AdErrorEnum.AdError", 104)
        INVALID_FORMAT = typing___cast("AdErrorEnum.AdError", 105)
        INVALID_FIELD_TEXT = typing___cast("AdErrorEnum.AdError", 106)
        ELEMENT_NOT_PRESENT = typing___cast("AdErrorEnum.AdError", 107)
        IMAGE_ERROR = typing___cast("AdErrorEnum.AdError", 108)
        VALUE_NOT_IN_RANGE = typing___cast("AdErrorEnum.AdError", 109)
        FIELD_NOT_PRESENT = typing___cast("AdErrorEnum.AdError", 110)
        ADDRESS_NOT_COMPLETE = typing___cast("AdErrorEnum.AdError", 111)
        ADDRESS_INVALID = typing___cast("AdErrorEnum.AdError", 112)
        VIDEO_RETRIEVAL_ERROR = typing___cast("AdErrorEnum.AdError", 113)
        AUDIO_ERROR = typing___cast("AdErrorEnum.AdError", 114)
        INVALID_YOUTUBE_DISPLAY_URL = typing___cast("AdErrorEnum.AdError", 115)
        TOO_MANY_PRODUCT_IMAGES = typing___cast("AdErrorEnum.AdError", 116)
        TOO_MANY_PRODUCT_VIDEOS = typing___cast("AdErrorEnum.AdError", 117)
        INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE = typing___cast(
            "AdErrorEnum.AdError", 118
        )
        CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = typing___cast(
            "AdErrorEnum.AdError", 119
        )
        CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = typing___cast(
            "AdErrorEnum.AdError", 120
        )
        DISALLOWED_NUMBER_TYPE = typing___cast("AdErrorEnum.AdError", 121)
        PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = typing___cast(
            "AdErrorEnum.AdError", 122
        )
        PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = typing___cast(
            "AdErrorEnum.AdError", 123
        )
        PREMIUM_RATE_NUMBER_NOT_ALLOWED = typing___cast("AdErrorEnum.AdError", 124)
        VANITY_PHONE_NUMBER_NOT_ALLOWED = typing___cast("AdErrorEnum.AdError", 125)
        INVALID_CALL_CONVERSION_TYPE_ID = typing___cast("AdErrorEnum.AdError", 126)
        CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID = typing___cast(
            "AdErrorEnum.AdError", 127
        )
        CANNOT_SET_PATH2_WITHOUT_PATH1 = typing___cast("AdErrorEnum.AdError", 128)
        MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME = typing___cast(
            "AdErrorEnum.AdError", 129
        )
        INCOMPATIBLE_WITH_RESTRICTION_TYPE = typing___cast("AdErrorEnum.AdError", 130)
        CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = typing___cast(
            "AdErrorEnum.AdError", 131
        )
        MISSING_IMAGE_OR_MEDIA_BUNDLE = typing___cast("AdErrorEnum.AdError", 132)
        PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN = typing___cast(
            "AdErrorEnum.AdError", 133
        )
    UNSPECIFIED = typing___cast("AdErrorEnum.AdError", 0)
    UNKNOWN = typing___cast("AdErrorEnum.AdError", 1)
    AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE = typing___cast("AdErrorEnum.AdError", 2)
    APPROXIMATELY_TOO_LONG = typing___cast("AdErrorEnum.AdError", 3)
    APPROXIMATELY_TOO_SHORT = typing___cast("AdErrorEnum.AdError", 4)
    BAD_SNIPPET = typing___cast("AdErrorEnum.AdError", 5)
    CANNOT_MODIFY_AD = typing___cast("AdErrorEnum.AdError", 6)
    CANNOT_SET_BUSINESS_NAME_IF_URL_SET = typing___cast("AdErrorEnum.AdError", 7)
    CANNOT_SET_FIELD = typing___cast("AdErrorEnum.AdError", 8)
    CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET = typing___cast("AdErrorEnum.AdError", 9)
    CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING = typing___cast(
        "AdErrorEnum.AdError", 10
    )
    CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE = typing___cast("AdErrorEnum.AdError", 11)
    CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING = typing___cast(
        "AdErrorEnum.AdError", 12
    )
    CANNOT_SET_URL = typing___cast("AdErrorEnum.AdError", 13)
    CANNOT_SET_WITHOUT_FINAL_URLS = typing___cast("AdErrorEnum.AdError", 14)
    CANNOT_SET_WITH_FINAL_URLS = typing___cast("AdErrorEnum.AdError", 15)
    CANNOT_SET_WITH_URL_DATA = typing___cast("AdErrorEnum.AdError", 17)
    CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR = typing___cast("AdErrorEnum.AdError", 18)
    CUSTOMER_NOT_APPROVED_MOBILEADS = typing___cast("AdErrorEnum.AdError", 19)
    CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS = typing___cast("AdErrorEnum.AdError", 20)
    CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS = typing___cast(
        "AdErrorEnum.AdError", 21
    )
    CUSTOMER_NOT_ELIGIBLE = typing___cast("AdErrorEnum.AdError", 22)
    CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL = typing___cast(
        "AdErrorEnum.AdError", 23
    )
    DIMENSION_ALREADY_IN_UNION = typing___cast("AdErrorEnum.AdError", 24)
    DIMENSION_MUST_BE_SET = typing___cast("AdErrorEnum.AdError", 25)
    DIMENSION_NOT_IN_UNION = typing___cast("AdErrorEnum.AdError", 26)
    DISPLAY_URL_CANNOT_BE_SPECIFIED = typing___cast("AdErrorEnum.AdError", 27)
    DOMESTIC_PHONE_NUMBER_FORMAT = typing___cast("AdErrorEnum.AdError", 28)
    EMERGENCY_PHONE_NUMBER = typing___cast("AdErrorEnum.AdError", 29)
    EMPTY_FIELD = typing___cast("AdErrorEnum.AdError", 30)
    FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID = typing___cast(
        "AdErrorEnum.AdError", 31
    )
    FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH = typing___cast("AdErrorEnum.AdError", 32)
    ILLEGAL_AD_CUSTOMIZER_TAG_USE = typing___cast("AdErrorEnum.AdError", 33)
    ILLEGAL_TAG_USE = typing___cast("AdErrorEnum.AdError", 34)
    INCONSISTENT_DIMENSIONS = typing___cast("AdErrorEnum.AdError", 35)
    INCONSISTENT_STATUS_IN_TEMPLATE_UNION = typing___cast("AdErrorEnum.AdError", 36)
    INCORRECT_LENGTH = typing___cast("AdErrorEnum.AdError", 37)
    INELIGIBLE_FOR_UPGRADE = typing___cast("AdErrorEnum.AdError", 38)
    INVALID_AD_ADDRESS_CAMPAIGN_TARGET = typing___cast("AdErrorEnum.AdError", 39)
    INVALID_AD_TYPE = typing___cast("AdErrorEnum.AdError", 40)
    INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE = typing___cast("AdErrorEnum.AdError", 41)
    INVALID_ATTRIBUTES_FOR_MOBILE_TEXT = typing___cast("AdErrorEnum.AdError", 42)
    INVALID_CALL_TO_ACTION_TEXT = typing___cast("AdErrorEnum.AdError", 43)
    INVALID_CHARACTER_FOR_URL = typing___cast("AdErrorEnum.AdError", 44)
    INVALID_COUNTRY_CODE = typing___cast("AdErrorEnum.AdError", 45)
    INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG = typing___cast("AdErrorEnum.AdError", 47)
    INVALID_INPUT = typing___cast("AdErrorEnum.AdError", 48)
    INVALID_MARKUP_LANGUAGE = typing___cast("AdErrorEnum.AdError", 49)
    INVALID_MOBILE_CARRIER = typing___cast("AdErrorEnum.AdError", 50)
    INVALID_MOBILE_CARRIER_TARGET = typing___cast("AdErrorEnum.AdError", 51)
    INVALID_NUMBER_OF_ELEMENTS = typing___cast("AdErrorEnum.AdError", 52)
    INVALID_PHONE_NUMBER_FORMAT = typing___cast("AdErrorEnum.AdError", 53)
    INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID = typing___cast(
        "AdErrorEnum.AdError", 54
    )
    INVALID_TEMPLATE_DATA = typing___cast("AdErrorEnum.AdError", 55)
    INVALID_TEMPLATE_ELEMENT_FIELD_TYPE = typing___cast("AdErrorEnum.AdError", 56)
    INVALID_TEMPLATE_ID = typing___cast("AdErrorEnum.AdError", 57)
    LINE_TOO_WIDE = typing___cast("AdErrorEnum.AdError", 58)
    MISSING_AD_CUSTOMIZER_MAPPING = typing___cast("AdErrorEnum.AdError", 59)
    MISSING_ADDRESS_COMPONENT = typing___cast("AdErrorEnum.AdError", 60)
    MISSING_ADVERTISEMENT_NAME = typing___cast("AdErrorEnum.AdError", 61)
    MISSING_BUSINESS_NAME = typing___cast("AdErrorEnum.AdError", 62)
    MISSING_DESCRIPTION1 = typing___cast("AdErrorEnum.AdError", 63)
    MISSING_DESCRIPTION2 = typing___cast("AdErrorEnum.AdError", 64)
    MISSING_DESTINATION_URL_TAG = typing___cast("AdErrorEnum.AdError", 65)
    MISSING_LANDING_PAGE_URL_TAG = typing___cast("AdErrorEnum.AdError", 66)
    MISSING_DIMENSION = typing___cast("AdErrorEnum.AdError", 67)
    MISSING_DISPLAY_URL = typing___cast("AdErrorEnum.AdError", 68)
    MISSING_HEADLINE = typing___cast("AdErrorEnum.AdError", 69)
    MISSING_HEIGHT = typing___cast("AdErrorEnum.AdError", 70)
    MISSING_IMAGE = typing___cast("AdErrorEnum.AdError", 71)
    MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS = typing___cast("AdErrorEnum.AdError", 72)
    MISSING_MARKUP_LANGUAGES = typing___cast("AdErrorEnum.AdError", 73)
    MISSING_MOBILE_CARRIER = typing___cast("AdErrorEnum.AdError", 74)
    MISSING_PHONE = typing___cast("AdErrorEnum.AdError", 75)
    MISSING_REQUIRED_TEMPLATE_FIELDS = typing___cast("AdErrorEnum.AdError", 76)
    MISSING_TEMPLATE_FIELD_VALUE = typing___cast("AdErrorEnum.AdError", 77)
    MISSING_TEXT = typing___cast("AdErrorEnum.AdError", 78)
    MISSING_VISIBLE_URL = typing___cast("AdErrorEnum.AdError", 79)
    MISSING_WIDTH = typing___cast("AdErrorEnum.AdError", 80)
    MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED = typing___cast("AdErrorEnum.AdError", 81)
    MUST_USE_TEMP_AD_UNION_ID_ON_ADD = typing___cast("AdErrorEnum.AdError", 82)
    TOO_LONG = typing___cast("AdErrorEnum.AdError", 83)
    TOO_SHORT = typing___cast("AdErrorEnum.AdError", 84)
    UNION_DIMENSIONS_CANNOT_CHANGE = typing___cast("AdErrorEnum.AdError", 85)
    UNKNOWN_ADDRESS_COMPONENT = typing___cast("AdErrorEnum.AdError", 86)
    UNKNOWN_FIELD_NAME = typing___cast("AdErrorEnum.AdError", 87)
    UNKNOWN_UNIQUE_NAME = typing___cast("AdErrorEnum.AdError", 88)
    UNSUPPORTED_DIMENSIONS = typing___cast("AdErrorEnum.AdError", 89)
    URL_INVALID_SCHEME = typing___cast("AdErrorEnum.AdError", 90)
    URL_INVALID_TOP_LEVEL_DOMAIN = typing___cast("AdErrorEnum.AdError", 91)
    URL_MALFORMED = typing___cast("AdErrorEnum.AdError", 92)
    URL_NO_HOST = typing___cast("AdErrorEnum.AdError", 93)
    URL_NOT_EQUIVALENT = typing___cast("AdErrorEnum.AdError", 94)
    URL_HOST_NAME_TOO_LONG = typing___cast("AdErrorEnum.AdError", 95)
    URL_NO_SCHEME = typing___cast("AdErrorEnum.AdError", 96)
    URL_NO_TOP_LEVEL_DOMAIN = typing___cast("AdErrorEnum.AdError", 97)
    URL_PATH_NOT_ALLOWED = typing___cast("AdErrorEnum.AdError", 98)
    URL_PORT_NOT_ALLOWED = typing___cast("AdErrorEnum.AdError", 99)
    URL_QUERY_NOT_ALLOWED = typing___cast("AdErrorEnum.AdError", 100)
    URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG = typing___cast(
        "AdErrorEnum.AdError", 102
    )
    USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE = typing___cast("AdErrorEnum.AdError", 103)
    INCONSISTENT_EXPANDABLE_SETTINGS = typing___cast("AdErrorEnum.AdError", 104)
    INVALID_FORMAT = typing___cast("AdErrorEnum.AdError", 105)
    INVALID_FIELD_TEXT = typing___cast("AdErrorEnum.AdError", 106)
    ELEMENT_NOT_PRESENT = typing___cast("AdErrorEnum.AdError", 107)
    IMAGE_ERROR = typing___cast("AdErrorEnum.AdError", 108)
    VALUE_NOT_IN_RANGE = typing___cast("AdErrorEnum.AdError", 109)
    FIELD_NOT_PRESENT = typing___cast("AdErrorEnum.AdError", 110)
    ADDRESS_NOT_COMPLETE = typing___cast("AdErrorEnum.AdError", 111)
    ADDRESS_INVALID = typing___cast("AdErrorEnum.AdError", 112)
    VIDEO_RETRIEVAL_ERROR = typing___cast("AdErrorEnum.AdError", 113)
    AUDIO_ERROR = typing___cast("AdErrorEnum.AdError", 114)
    INVALID_YOUTUBE_DISPLAY_URL = typing___cast("AdErrorEnum.AdError", 115)
    TOO_MANY_PRODUCT_IMAGES = typing___cast("AdErrorEnum.AdError", 116)
    TOO_MANY_PRODUCT_VIDEOS = typing___cast("AdErrorEnum.AdError", 117)
    INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE = typing___cast(
        "AdErrorEnum.AdError", 118
    )
    CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = typing___cast("AdErrorEnum.AdError", 119)
    CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = typing___cast(
        "AdErrorEnum.AdError", 120
    )
    DISALLOWED_NUMBER_TYPE = typing___cast("AdErrorEnum.AdError", 121)
    PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = typing___cast("AdErrorEnum.AdError", 122)
    PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = typing___cast(
        "AdErrorEnum.AdError", 123
    )
    PREMIUM_RATE_NUMBER_NOT_ALLOWED = typing___cast("AdErrorEnum.AdError", 124)
    VANITY_PHONE_NUMBER_NOT_ALLOWED = typing___cast("AdErrorEnum.AdError", 125)
    INVALID_CALL_CONVERSION_TYPE_ID = typing___cast("AdErrorEnum.AdError", 126)
    CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID = typing___cast(
        "AdErrorEnum.AdError", 127
    )
    CANNOT_SET_PATH2_WITHOUT_PATH1 = typing___cast("AdErrorEnum.AdError", 128)
    MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME = typing___cast(
        "AdErrorEnum.AdError", 129
    )
    INCOMPATIBLE_WITH_RESTRICTION_TYPE = typing___cast("AdErrorEnum.AdError", 130)
    CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = typing___cast(
        "AdErrorEnum.AdError", 131
    )
    MISSING_IMAGE_OR_MEDIA_BUNDLE = typing___cast("AdErrorEnum.AdError", 132)
    PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN = typing___cast(
        "AdErrorEnum.AdError", 133
    )
    global___AdError = AdError
    def __init__(self,) -> None: ...
    if sys.version_info >= (3,):
        @classmethod
        def FromString(cls, s: builtin___bytes) -> AdErrorEnum: ...
    else:
        @classmethod
        def FromString(
            cls, s: typing___Union[builtin___bytes, builtin___buffer, builtin___unicode]
        ) -> AdErrorEnum: ...
    def MergeFrom(self, other_msg: google___protobuf___message___Message) -> None: ...
    def CopyFrom(self, other_msg: google___protobuf___message___Message) -> None: ...

global___AdErrorEnum = AdErrorEnum
