text: # -*- coding: utf-8 -*-
  # Generated by the protocol buffer compiler.  DO NOT EDIT!
  # source: google/ads/googleads_v4/proto/resources/campaign_budget.proto
  
  import sys
  _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
  from google.protobuf import descriptor as _descriptor
  from google.protobuf import message as _message
  from google.protobuf import reflection as _reflection
  from google.protobuf import symbol_database as _symbol_database
  # @@protoc_insertion_point(imports)
  
  _sym_db = _symbol_database.Default()
  
  
  from google.ads.google_ads.v4.proto.enums import budget_delivery_method_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__delivery__method__pb2
  from google.ads.google_ads.v4.proto.enums import budget_period_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__period__pb2
  from google.ads.google_ads.v4.proto.enums import budget_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__status__pb2
  from google.ads.google_ads.v4.proto.enums import budget_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__type__pb2
  from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
  from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
  from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
  from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
  
  
  DESCRIPTOR = _descriptor.FileDescriptor(
    name='google/ads/googleads_v4/proto/resources/campaign_budget.proto',
    package='google.ads.googleads.v4.resources',
    syntax='proto3',
    serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\023CampaignBudgetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'),
    serialized_pb=_b('\n=google/ads/googleads_v4/proto/resources/campaign_budget.proto\x12!google.ads.googleads.v4.resources\x1a@google/ads/googleads_v4/proto/enums/budget_delivery_method.proto\x1a\x37google/ads/googleads_v4/proto/enums/budget_period.proto\x1a\x37google/ads/googleads_v4/proto/enums/budget_status.proto\x1a\x35google/ads/googleads_v4/proto/enums/budget_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xdd\n\n\x0e\x43\x61mpaignBudget\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x05\xfa\x41)\n\'googleads.googleapis.com/CampaignBudget\x12,\n\x02id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12*\n\x04name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\ramount_micros\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x13total_amount_micros\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12Q\n\x06status\x18\x06 \x01(\x0e\x32<.google.ads.googleads.v4.enums.BudgetStatusEnum.BudgetStatusB\x03\xe0\x41\x03\x12\x65\n\x0f\x64\x65livery_method\x18\x07 \x01(\x0e\x32L.google.ads.googleads.v4.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod\x12\x35\n\x11\x65xplicitly_shared\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x39\n\x0freference_count\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12?\n\x16has_recommended_budget\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12J\n recommended_budget_amount_micros\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12Q\n\x06period\x18\r \x01(\x0e\x32<.google.ads.googleads.v4.enums.BudgetPeriodEnum.BudgetPeriodB\x03\xe0\x41\x05\x12[\n1recommended_budget_estimated_change_weekly_clicks\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12`\n6recommended_budget_estimated_change_weekly_cost_micros\x18\x0f \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x61\n7recommended_budget_estimated_change_weekly_interactions\x18\x10 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12Z\n0recommended_budget_estimated_change_weekly_views\x18\x11 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12K\n\x04type\x18\x12 \x01(\x0e\x32\x38.google.ads.googleads.v4.enums.BudgetTypeEnum.BudgetTypeB\x03\xe0\x41\x05:d\xea\x41\x61\n\'googleads.googleapis.com/CampaignBudget\x12\x36\x63ustomers/{customer}/campaignBudgets/{campaign_budget}B\x80\x02\n%com.google.ads.googleads.v4.resourcesB\x13\x43\x61mpaignBudgetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3')
    ,
    dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__delivery__method__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__period__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,])
  
  
  
  
  _CAMPAIGNBUDGET = _descriptor.Descriptor(
    name='CampaignBudget',
    full_name='google.ads.googleads.v4.resources.CampaignBudget',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
      _descriptor.FieldDescriptor(
        name='resource_name', full_name='google.ads.googleads.v4.resources.CampaignBudget.resource_name', index=0,
        number=1, type=9, cpp_type=9, label=1,
        has_default_value=False, default_value=_b("").decode('utf-8'),
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=_b('\340A\005\372A)\n\'googleads.googleapis.com/CampaignBudget'), file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='id', full_name='google.ads.googleads.v4.resources.CampaignBudget.id', index=1,
        number=3, type=11, cpp_type=10, label=1,
        has_default_value=False, default_value=None,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=_b('\340A\003'), file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='name', full_name='google.ads.googleads.v4.resources.CampaignBudget.name', index=2,
        number=4, type=11, cpp_type=10, label=1,
        has_default_value=False, default_value=None,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='amount_micros', full_name='google.ads.googleads.v4.resources.CampaignBudget.amount_micros', index=3,
        number=5, type=11, cpp_type=10, label=1,
        has_default_value=False, default_value=None,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='total_amount_micros', full_name='google.ads.googleads.v4.resources.CampaignBudget.total_amount_micros', index=4,
        number=10, type=11, cpp_type=10, label=1,
        has_default_value=False, default_value=None,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='status', full_name='google.ads.googleads.v4.resources.CampaignBudget.status', index=5,
        number=6, type=14, cpp_type=8, label=1,
        has_default_value=False, default_value=0,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=_b('\340A\003'), file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='delivery_method', full_name='google.ads.googleads.v4.resources.CampaignBudget.delivery_method', index=6,
        number=7, type=14, cpp_type=8, label=1,
        has_default_value=False, default_value=0,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='explicitly_shared', full_name='google.ads.googleads.v4.resources.CampaignBudget.explicitly_shared', index=7,
        number=8, type=11, cpp_type=10, label=1,
        has_default_value=False, default_value=None,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=None, file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='reference_count', full_name='google.ads.googleads.v4.resources.CampaignBudget.reference_count', index=8,
        number=9, type=11, cpp_type=10, label=1,
        has_default_value=False, default_value=None,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=_b('\340A\003'), file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='has_recommended_budget', full_name='google.ads.googleads.v4.resources.CampaignBudget.has_recommended_budget', index=9,
        number=11, type=11, cpp_type=10, label=1,
        has_default_value=False, default_value=None,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=_b('\340A\003'), file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='recommended_budget_amount_micros', full_name='google.ads.googleads.v4.resources.CampaignBudget.recommended_budget_amount_micros', index=10,
        number=12, type=11, cpp_type=10, label=1,
        has_default_value=False, default_value=None,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=_b('\340A\003'), file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='period', full_name='google.ads.googleads.v4.resources.CampaignBudget.period', index=11,
        number=13, type=14, cpp_type=8, label=1,
        has_default_value=False, default_value=0,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=_b('\340A\005'), file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='recommended_budget_estimated_change_weekly_clicks', full_name='google.ads.googleads.v4.resources.CampaignBudget.recommended_budget_estimated_change_weekly_clicks', index=12,
        number=14, type=11, cpp_type=10, label=1,
        has_default_value=False, default_value=None,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=_b('\340A\003'), file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='recommended_budget_estimated_change_weekly_cost_micros', full_name='google.ads.googleads.v4.resources.CampaignBudget.recommended_budget_estimated_change_weekly_cost_micros', index=13,
        number=15, type=11, cpp_type=10, label=1,
        has_default_value=False, default_value=None,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=_b('\340A\003'), file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='recommended_budget_estimated_change_weekly_interactions', full_name='google.ads.googleads.v4.resources.CampaignBudget.recommended_budget_estimated_change_weekly_interactions', index=14,
        number=16, type=11, cpp_type=10, label=1,
        has_default_value=False, default_value=None,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=_b('\340A\003'), file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='recommended_budget_estimated_change_weekly_views', full_name='google.ads.googleads.v4.resources.CampaignBudget.recommended_budget_estimated_change_weekly_views', index=15,
        number=17, type=11, cpp_type=10, label=1,
        has_default_value=False, default_value=None,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=_b('\340A\003'), file=DESCRIPTOR),
      _descriptor.FieldDescriptor(
        name='type', full_name='google.ads.googleads.v4.resources.CampaignBudget.type', index=16,
        number=18, type=14, cpp_type=8, label=1,
        has_default_value=False, default_value=0,
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        serialized_options=_b('\340A\005'), file=DESCRIPTOR),
    ],
    extensions=[
    ],
    nested_types=[],
    enum_types=[
    ],
    serialized_options=_b('\352Aa\n\'googleads.googleapis.com/CampaignBudget\0226customers/{customer}/campaignBudgets/{campaign_budget}'),
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=458,
    serialized_end=1831,
  )
  
  _CAMPAIGNBUDGET.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
  _CAMPAIGNBUDGET.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE
  _CAMPAIGNBUDGET.fields_by_name['amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
  _CAMPAIGNBUDGET.fields_by_name['total_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
  _CAMPAIGNBUDGET.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__status__pb2._BUDGETSTATUSENUM_BUDGETSTATUS
  _CAMPAIGNBUDGET.fields_by_name['delivery_method'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__delivery__method__pb2._BUDGETDELIVERYMETHODENUM_BUDGETDELIVERYMETHOD
  _CAMPAIGNBUDGET.fields_by_name['explicitly_shared'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE
  _CAMPAIGNBUDGET.fields_by_name['reference_count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
  _CAMPAIGNBUDGET.fields_by_name['has_recommended_budget'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE
  _CAMPAIGNBUDGET.fields_by_name['recommended_budget_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
  _CAMPAIGNBUDGET.fields_by_name['period'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__period__pb2._BUDGETPERIODENUM_BUDGETPERIOD
  _CAMPAIGNBUDGET.fields_by_name['recommended_budget_estimated_change_weekly_clicks'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
  _CAMPAIGNBUDGET.fields_by_name['recommended_budget_estimated_change_weekly_cost_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
  _CAMPAIGNBUDGET.fields_by_name['recommended_budget_estimated_change_weekly_interactions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
  _CAMPAIGNBUDGET.fields_by_name['recommended_budget_estimated_change_weekly_views'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
  _CAMPAIGNBUDGET.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__type__pb2._BUDGETTYPEENUM_BUDGETTYPE
  DESCRIPTOR.message_types_by_name['CampaignBudget'] = _CAMPAIGNBUDGET
  _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  
  CampaignBudget = _reflection.GeneratedProtocolMessageType('CampaignBudget', (_message.Message,), dict(
    DESCRIPTOR = _CAMPAIGNBUDGET,
    __module__ = 'google.ads.googleads_v4.proto.resources.campaign_budget_pb2'
    ,
    __doc__ = """A campaign budget.
    
    
    Attributes:
        resource_name:
            Immutable. The resource name of the campaign budget. Campaign
            budget resource names have the form:
            ``customers/{customer_id}/campaignBudgets/{budget_id}``
        id:
            Output only. The ID of the campaign budget.  A campaign budget
            is created using the CampaignBudgetService create operation
            and is assigned a budget ID. A budget ID can be shared across
            different campaigns; the system will then allocate the
            campaign budget among different campaigns to get optimum
            results.
        name:
            The name of the campaign budget.  When creating a campaign
            budget through CampaignBudgetService, every explicitly shared
            campaign budget must have a non-null, non-empty name. Campaign
            budgets that are not explicitly shared derive their name from
            the attached campaign's name.  The length of this string must
            be between 1 and 255, inclusive, in UTF-8 bytes, (trimmed).
        amount_micros:
            The amount of the budget, in the local currency for the
            account. Amount is specified in micros, where one million is
            equivalent to one currency unit. Monthly spend is capped at
            30.4 times this amount.
        total_amount_micros:
            The lifetime amount of the budget, in the local currency for
            the account. Amount is specified in micros, where one million
            is equivalent to one currency unit.
        status:
            Output only. The status of this campaign budget. This field is
            read-only.
        delivery_method:
            The delivery method that determines the rate at which the
            campaign budget is spent.  Defaults to STANDARD if unspecified
            in a create operation.
        explicitly_shared:
            Specifies whether the budget is explicitly shared. Defaults to
            true if unspecified in a create operation.  If true, the
            budget was created with the purpose of sharing across one or
            more campaigns.  If false, the budget was created with the
            intention of only being used with a single campaign. The
            budget's name and status will stay in sync with the campaign's
            name and status. Attempting to share the budget with a second
            campaign will result in an error.  A non-shared budget can
            become an explicitly shared. The same operation must also
            assign the budget a name.  A shared campaign budget can never
            become non-shared.
        reference_count:
            Output only. The number of campaigns actively using the
            budget.  This field is read-only.
        has_recommended_budget:
            Output only. Indicates whether there is a recommended budget
            for this campaign budget.  This field is read-only.
        recommended_budget_amount_micros:
            Output only. The recommended budget amount. If no
            recommendation is available, this will be set to the budget
            amount. Amount is specified in micros, where one million is
            equivalent to one currency unit.  This field is read-only.
        period:
            Immutable. Period over which to spend the budget. Defaults to
            DAILY if not specified.
        recommended_budget_estimated_change_weekly_clicks:
            Output only. The estimated change in weekly clicks if the
            recommended budget is applied.  This field is read-only.
        recommended_budget_estimated_change_weekly_cost_micros:
            Output only. The estimated change in weekly cost in micros if
            the recommended budget is applied. One million is equivalent
            to one currency unit.  This field is read-only.
        recommended_budget_estimated_change_weekly_interactions:
            Output only. The estimated change in weekly interactions if
            the recommended budget is applied.  This field is read-only.
        recommended_budget_estimated_change_weekly_views:
            Output only. The estimated change in weekly views if the
            recommended budget is applied.  This field is read-only.
        type:
            Immutable. The type of the campaign budget.
    """,
    # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CampaignBudget)
    ))
  _sym_db.RegisterMessage(CampaignBudget)
  
  
  DESCRIPTOR._options = None
  _CAMPAIGNBUDGET.fields_by_name['resource_name']._options = None
  _CAMPAIGNBUDGET.fields_by_name['id']._options = None
  _CAMPAIGNBUDGET.fields_by_name['status']._options = None
  _CAMPAIGNBUDGET.fields_by_name['reference_count']._options = None
  _CAMPAIGNBUDGET.fields_by_name['has_recommended_budget']._options = None
  _CAMPAIGNBUDGET.fields_by_name['recommended_budget_amount_micros']._options = None
  _CAMPAIGNBUDGET.fields_by_name['period']._options = None
  _CAMPAIGNBUDGET.fields_by_name['recommended_budget_estimated_change_weekly_clicks']._options = None
  _CAMPAIGNBUDGET.fields_by_name['recommended_budget_estimated_change_weekly_cost_micros']._options = None
  _CAMPAIGNBUDGET.fields_by_name['recommended_budget_estimated_change_weekly_interactions']._options = None
  _CAMPAIGNBUDGET.fields_by_name['recommended_budget_estimated_change_weekly_views']._options = None
  _CAMPAIGNBUDGET.fields_by_name['type']._options = None
  _CAMPAIGNBUDGET._options = None
  # @@protoc_insertion_point(module_scope)
  