# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads_v4/proto/resources/bidding_strategy.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.common import bidding_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2
from google.ads.google_ads.v4.proto.enums import bidding_strategy_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__status__pb2
from google.ads.google_ads.v4.proto.enums import bidding_strategy_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__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/bidding_strategy.proto',
  package='google.ads.googleads.v4.resources',
  syntax='proto3',
  serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\024BiddingStrategyProtoP\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/bidding_strategy.proto\x12!google.ads.googleads.v4.resources\x1a\x32google/ads/googleads_v4/proto/common/bidding.proto\x1a\x41google/ads/googleads_v4/proto/enums/bidding_strategy_status.proto\x1a?google/ads/googleads_v4/proto/enums/bidding_strategy_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xd4\x07\n\x0f\x42iddingStrategy\x12G\n\rresource_name\x18\x01 \x01(\tB0\xe0\x41\x05\xfa\x41*\n(googleads.googleapis.com/BiddingStrategy\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\x63\n\x06status\x18\x0f \x01(\x0e\x32N.google.ads.googleads.v4.enums.BiddingStrategyStatusEnum.BiddingStrategyStatusB\x03\xe0\x41\x03\x12]\n\x04type\x18\x05 \x01(\x0e\x32J.google.ads.googleads.v4.enums.BiddingStrategyTypeEnum.BiddingStrategyTypeB\x03\xe0\x41\x03\x12\x38\n\x0e\x63\x61mpaign_count\x18\r \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x44\n\x1anon_removed_campaign_count\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x43\n\x0c\x65nhanced_cpc\x18\x07 \x01(\x0b\x32+.google.ads.googleads.v4.common.EnhancedCpcH\x00\x12?\n\ntarget_cpa\x18\t \x01(\x0b\x32).google.ads.googleads.v4.common.TargetCpaH\x00\x12X\n\x17target_impression_share\x18\x30 \x01(\x0b\x32\x35.google.ads.googleads.v4.common.TargetImpressionShareH\x00\x12\x41\n\x0btarget_roas\x18\x0b \x01(\x0b\x32*.google.ads.googleads.v4.common.TargetRoasH\x00\x12\x43\n\x0ctarget_spend\x18\x0c \x01(\x0b\x32+.google.ads.googleads.v4.common.TargetSpendH\x00:h\xea\x41\x65\n(googleads.googleapis.com/BiddingStrategy\x12\x39\x63ustomers/{customer}/biddingStrategies/{bidding_strategy}B\x08\n\x06schemeB\x81\x02\n%com.google.ads.googleads.v4.resourcesB\x14\x42iddingStrategyProtoP\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_common_dot_bidding__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__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,])




_BIDDINGSTRATEGY = _descriptor.Descriptor(
  name='BiddingStrategy',
  full_name='google.ads.googleads.v4.resources.BiddingStrategy',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='resource_name', full_name='google.ads.googleads.v4.resources.BiddingStrategy.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/BiddingStrategy'), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='id', full_name='google.ads.googleads.v4.resources.BiddingStrategy.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.BiddingStrategy.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='status', full_name='google.ads.googleads.v4.resources.BiddingStrategy.status', index=3,
      number=15, 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='type', full_name='google.ads.googleads.v4.resources.BiddingStrategy.type', index=4,
      number=5, 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='campaign_count', full_name='google.ads.googleads.v4.resources.BiddingStrategy.campaign_count', index=5,
      number=13, 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='non_removed_campaign_count', full_name='google.ads.googleads.v4.resources.BiddingStrategy.non_removed_campaign_count', index=6,
      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='enhanced_cpc', full_name='google.ads.googleads.v4.resources.BiddingStrategy.enhanced_cpc', index=7,
      number=7, 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='target_cpa', full_name='google.ads.googleads.v4.resources.BiddingStrategy.target_cpa', 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=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='target_impression_share', full_name='google.ads.googleads.v4.resources.BiddingStrategy.target_impression_share', index=9,
      number=48, 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='target_roas', full_name='google.ads.googleads.v4.resources.BiddingStrategy.target_roas', index=10,
      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=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='target_spend', full_name='google.ads.googleads.v4.resources.BiddingStrategy.target_spend', index=11,
      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=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=_b('\352Ae\n(googleads.googleapis.com/BiddingStrategy\0229customers/{customer}/biddingStrategies/{bidding_strategy}'),
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='scheme', full_name='google.ads.googleads.v4.resources.BiddingStrategy.scheme',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=408,
  serialized_end=1388,
)

_BIDDINGSTRATEGY.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
_BIDDINGSTRATEGY.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE
_BIDDINGSTRATEGY.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__status__pb2._BIDDINGSTRATEGYSTATUSENUM_BIDDINGSTRATEGYSTATUS
_BIDDINGSTRATEGY.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__type__pb2._BIDDINGSTRATEGYTYPEENUM_BIDDINGSTRATEGYTYPE
_BIDDINGSTRATEGY.fields_by_name['campaign_count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
_BIDDINGSTRATEGY.fields_by_name['non_removed_campaign_count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
_BIDDINGSTRATEGY.fields_by_name['enhanced_cpc'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._ENHANCEDCPC
_BIDDINGSTRATEGY.fields_by_name['target_cpa'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETCPA
_BIDDINGSTRATEGY.fields_by_name['target_impression_share'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETIMPRESSIONSHARE
_BIDDINGSTRATEGY.fields_by_name['target_roas'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETROAS
_BIDDINGSTRATEGY.fields_by_name['target_spend'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETSPEND
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(
  _BIDDINGSTRATEGY.fields_by_name['enhanced_cpc'])
_BIDDINGSTRATEGY.fields_by_name['enhanced_cpc'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(
  _BIDDINGSTRATEGY.fields_by_name['target_cpa'])
_BIDDINGSTRATEGY.fields_by_name['target_cpa'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(
  _BIDDINGSTRATEGY.fields_by_name['target_impression_share'])
_BIDDINGSTRATEGY.fields_by_name['target_impression_share'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(
  _BIDDINGSTRATEGY.fields_by_name['target_roas'])
_BIDDINGSTRATEGY.fields_by_name['target_roas'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(
  _BIDDINGSTRATEGY.fields_by_name['target_spend'])
_BIDDINGSTRATEGY.fields_by_name['target_spend'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
DESCRIPTOR.message_types_by_name['BiddingStrategy'] = _BIDDINGSTRATEGY
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

BiddingStrategy = _reflection.GeneratedProtocolMessageType('BiddingStrategy', (_message.Message,), dict(
  DESCRIPTOR = _BIDDINGSTRATEGY,
  __module__ = 'google.ads.googleads_v4.proto.resources.bidding_strategy_pb2'
  ,
  __doc__ = """A bidding strategy.
  
  
  Attributes:
      resource_name:
          Immutable. The resource name of the bidding strategy. Bidding
          strategy resource names have the form:  ``customers/{customer_
          id}/biddingStrategies/{bidding_strategy_id}``
      id:
          Output only. The ID of the bidding strategy.
      name:
          The name of the bidding strategy. All bidding strategies
          within an account must be named distinctly.  The length of
          this string should be between 1 and 255, inclusive, in UTF-8
          bytes, (trimmed).
      status:
          Output only. The status of the bidding strategy.  This field
          is read-only.
      type:
          Output only. The type of the bidding strategy. Create a
          bidding strategy by setting the bidding scheme.  This field is
          read-only.
      campaign_count:
          Output only. The number of campaigns attached to this bidding
          strategy.  This field is read-only.
      non_removed_campaign_count:
          Output only. The number of non-removed campaigns attached to
          this bidding strategy.  This field is read-only.
      scheme:
          The bidding scheme.  Only one can be set.
      enhanced_cpc:
          A bidding strategy that raises bids for clicks that seem more
          likely to lead to a conversion and lowers them for clicks
          where they seem less likely.
      target_cpa:
          A bidding strategy that sets bids to help get as many
          conversions as possible at the target cost-per-acquisition
          (CPA) you set.
      target_impression_share:
          A bidding strategy that automatically optimizes towards a
          desired percentage of impressions.
      target_roas:
          A bidding strategy that helps you maximize revenue while
          averaging a specific target Return On Ad Spend (ROAS).
      target_spend:
          A bid strategy that sets your bids to help get as many clicks
          as possible within your budget.
  """,
  # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.BiddingStrategy)
  ))
_sym_db.RegisterMessage(BiddingStrategy)


DESCRIPTOR._options = None
_BIDDINGSTRATEGY.fields_by_name['resource_name']._options = None
_BIDDINGSTRATEGY.fields_by_name['id']._options = None
_BIDDINGSTRATEGY.fields_by_name['status']._options = None
_BIDDINGSTRATEGY.fields_by_name['type']._options = None
_BIDDINGSTRATEGY.fields_by_name['campaign_count']._options = None
_BIDDINGSTRATEGY.fields_by_name['non_removed_campaign_count']._options = None
_BIDDINGSTRATEGY._options = None
# @@protoc_insertion_point(module_scope)

7daa78fc39930abc9051ad034dd8de67c816359c
<mask token>

<mask token>
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(_BIDDINGSTRATEGY.
    fields_by_name['enhanced_cpc'])
<mask token>
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(_BIDDINGSTRATEGY.
    fields_by_name['target_cpa'])
<mask token>
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(_BIDDINGSTRATEGY.
    fields_by_name['target_impression_share'])
<mask token>
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(_BIDDINGSTRATEGY.
    fields_by_name['target_roas'])
<mask token>
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(_BIDDINGSTRATEGY.
    fields_by_name['target_spend'])
<mask token>
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
<mask token>
_sym_db.RegisterMessage(BiddingStrategy)
<mask token>

<mask token>
_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode('latin1')
    )
<mask token>
_sym_db = _symbol_database.Default()
<mask token>
DESCRIPTOR = _descriptor.FileDescriptor(name=
    'google/ads/googleads_v4/proto/resources/bidding_strategy.proto',
    package='google.ads.googleads.v4.resources', syntax='proto3',
    serialized_options=_b(
    """
%com.google.ads.googleads.v4.resourcesBBiddingStrategyProtoPZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources¢GAAª!Google.Ads.GoogleAds.V4.ResourcesÊ!Google\\Ads\\GoogleAds\\V4\\Resourcesê%Google::Ads::GoogleAds::V4::Resources"""
    ), serialized_pb=_b(
    '\n>google/ads/googleads_v4/proto/resources/bidding_strategy.proto\x12!google.ads.googleads.v4.resources\x1a2google/ads/googleads_v4/proto/common/bidding.proto\x1aAgoogle/ads/googleads_v4/proto/enums/bidding_strategy_status.proto\x1a?google/ads/googleads_v4/proto/enums/bidding_strategy_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto"Ô\x07\n\x0fBiddingStrategy\x12G\n\rresource_name\x18\x01 \x01(\tB0àA\x05úA*\n(googleads.googleapis.com/BiddingStrategy\x12,\n\x02id\x18\x03 \x01(\x0b2\x1b.google.protobuf.Int64ValueB\x03àA\x03\x12*\n\x04name\x18\x04 \x01(\x0b2\x1c.google.protobuf.StringValue\x12c\n\x06status\x18\x0f \x01(\x0e2N.google.ads.googleads.v4.enums.BiddingStrategyStatusEnum.BiddingStrategyStatusB\x03àA\x03\x12]\n\x04type\x18\x05 \x01(\x0e2J.google.ads.googleads.v4.enums.BiddingStrategyTypeEnum.BiddingStrategyTypeB\x03àA\x03\x128\n\x0ecampaign_count\x18\r \x01(\x0b2\x1b.google.protobuf.Int64ValueB\x03àA\x03\x12D\n\x1anon_removed_campaign_count\x18\x0e \x01(\x0b2\x1b.google.protobuf.Int64ValueB\x03àA\x03\x12C\n\x0cenhanced_cpc\x18\x07 \x01(\x0b2+.google.ads.googleads.v4.common.EnhancedCpcH\x00\x12?\n\ntarget_cpa\x18\t \x01(\x0b2).google.ads.googleads.v4.common.TargetCpaH\x00\x12X\n\x17target_impression_share\x180 \x01(\x0b25.google.ads.googleads.v4.common.TargetImpressionShareH\x00\x12A\n\x0btarget_roas\x18\x0b \x01(\x0b2*.google.ads.googleads.v4.common.TargetRoasH\x00\x12C\n\x0ctarget_spend\x18\x0c \x01(\x0b2+.google.ads.googleads.v4.common.TargetSpendH\x00:hêAe\n(googleads.googleapis.com/BiddingStrategy\x129customers/{customer}/biddingStrategies/{bidding_strategy}B\x08\n\x06schemeB\x81\x02\n%com.google.ads.googleads.v4.resourcesB\x14BiddingStrategyProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources¢\x02\x03GAAª\x02!Google.Ads.GoogleAds.V4.ResourcesÊ\x02!Google\\Ads\\GoogleAds\\V4\\Resourcesê\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3'
    ), dependencies=[
    google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2.
    DESCRIPTOR,
    google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__status__pb2
    .DESCRIPTOR,
    google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__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])
_BIDDINGSTRATEGY = _descriptor.Descriptor(name='BiddingStrategy', full_name
    ='google.ads.googleads.v4.resources.BiddingStrategy', filename=None,
    file=DESCRIPTOR, containing_type=None, fields=[_descriptor.
    FieldDescriptor(name='resource_name', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.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(
    """àAúA*
(googleads.googleapis.com/BiddingStrategy"""), file=
    DESCRIPTOR), _descriptor.FieldDescriptor(name='id', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.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(
    'àA\x03'), file=DESCRIPTOR), _descriptor.FieldDescriptor(name='name',
    full_name='google.ads.googleads.v4.resources.BiddingStrategy.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='status', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.status', index=3,
    number=15, 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(
    'àA\x03'), file=DESCRIPTOR), _descriptor.FieldDescriptor(name='type',
    full_name='google.ads.googleads.v4.resources.BiddingStrategy.type',
    index=4, number=5, 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('àA\x03'), file=DESCRIPTOR), _descriptor.
    FieldDescriptor(name='campaign_count', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.campaign_count',
    index=5, number=13, 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('àA\x03'), file=DESCRIPTOR), _descriptor.
    FieldDescriptor(name='non_removed_campaign_count', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.non_removed_campaign_count'
    , index=6, 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('àA\x03'), file=DESCRIPTOR), _descriptor.
    FieldDescriptor(name='enhanced_cpc', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.enhanced_cpc', index
    =7, number=7, 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='target_cpa',
    full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.target_cpa', 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=None,
    file=DESCRIPTOR), _descriptor.FieldDescriptor(name=
    'target_impression_share', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.target_impression_share'
    , index=9, number=48, 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='target_roas', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.target_roas', index=
    10, 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=None,
    file=DESCRIPTOR), _descriptor.FieldDescriptor(name='target_spend',
    full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.target_spend', index
    =11, 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=None,
    file=DESCRIPTOR)], extensions=[], nested_types=[], enum_types=[],
    serialized_options=_b(
    """êAe
(googleads.googleapis.com/BiddingStrategy9customers/{customer}/biddingStrategies/{bidding_strategy}"""
    ), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[
    _descriptor.OneofDescriptor(name='scheme', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.scheme', index=0,
    containing_type=None, fields=[])], serialized_start=408, serialized_end
    =1388)
_BIDDINGSTRATEGY.fields_by_name['id'
    ].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
_BIDDINGSTRATEGY.fields_by_name['name'
    ].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE
_BIDDINGSTRATEGY.fields_by_name['status'].enum_type = (
    google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__status__pb2
    ._BIDDINGSTRATEGYSTATUSENUM_BIDDINGSTRATEGYSTATUS)
_BIDDINGSTRATEGY.fields_by_name['type'].enum_type = (
    google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__type__pb2
    ._BIDDINGSTRATEGYTYPEENUM_BIDDINGSTRATEGYTYPE)
_BIDDINGSTRATEGY.fields_by_name['campaign_count'
    ].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
_BIDDINGSTRATEGY.fields_by_name['non_removed_campaign_count'
    ].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
_BIDDINGSTRATEGY.fields_by_name['enhanced_cpc'].message_type = (
    google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2.
    _ENHANCEDCPC)
_BIDDINGSTRATEGY.fields_by_name['target_cpa'].message_type = (
    google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2.
    _TARGETCPA)
_BIDDINGSTRATEGY.fields_by_name['target_impression_share'].message_type = (
    google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2.
    _TARGETIMPRESSIONSHARE)
_BIDDINGSTRATEGY.fields_by_name['target_roas'].message_type = (
    google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2.
    _TARGETROAS)
_BIDDINGSTRATEGY.fields_by_name['target_spend'].message_type = (
    google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2.
    _TARGETSPEND)
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(_BIDDINGSTRATEGY.
    fields_by_name['enhanced_cpc'])
_BIDDINGSTRATEGY.fields_by_name['enhanced_cpc'
    ].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(_BIDDINGSTRATEGY.
    fields_by_name['target_cpa'])
_BIDDINGSTRATEGY.fields_by_name['target_cpa'
    ].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(_BIDDINGSTRATEGY.
    fields_by_name['target_impression_share'])
_BIDDINGSTRATEGY.fields_by_name['target_impression_share'
    ].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(_BIDDINGSTRATEGY.
    fields_by_name['target_roas'])
_BIDDINGSTRATEGY.fields_by_name['target_roas'
    ].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(_BIDDINGSTRATEGY.
    fields_by_name['target_spend'])
_BIDDINGSTRATEGY.fields_by_name['target_spend'
    ].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
DESCRIPTOR.message_types_by_name['BiddingStrategy'] = _BIDDINGSTRATEGY
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
BiddingStrategy = _reflection.GeneratedProtocolMessageType('BiddingStrategy',
    (_message.Message,), dict(DESCRIPTOR=_BIDDINGSTRATEGY, __module__=
    'google.ads.googleads_v4.proto.resources.bidding_strategy_pb2', __doc__
    =
    """A bidding strategy.
  
  
  Attributes:
      resource_name:
          Immutable. The resource name of the bidding strategy. Bidding
          strategy resource names have the form:  ``customers/{customer_
          id}/biddingStrategies/{bidding_strategy_id}``
      id:
          Output only. The ID of the bidding strategy.
      name:
          The name of the bidding strategy. All bidding strategies
          within an account must be named distinctly.  The length of
          this string should be between 1 and 255, inclusive, in UTF-8
          bytes, (trimmed).
      status:
          Output only. The status of the bidding strategy.  This field
          is read-only.
      type:
          Output only. The type of the bidding strategy. Create a
          bidding strategy by setting the bidding scheme.  This field is
          read-only.
      campaign_count:
          Output only. The number of campaigns attached to this bidding
          strategy.  This field is read-only.
      non_removed_campaign_count:
          Output only. The number of non-removed campaigns attached to
          this bidding strategy.  This field is read-only.
      scheme:
          The bidding scheme.  Only one can be set.
      enhanced_cpc:
          A bidding strategy that raises bids for clicks that seem more
          likely to lead to a conversion and lowers them for clicks
          where they seem less likely.
      target_cpa:
          A bidding strategy that sets bids to help get as many
          conversions as possible at the target cost-per-acquisition
          (CPA) you set.
      target_impression_share:
          A bidding strategy that automatically optimizes towards a
          desired percentage of impressions.
      target_roas:
          A bidding strategy that helps you maximize revenue while
          averaging a specific target Return On Ad Spend (ROAS).
      target_spend:
          A bid strategy that sets your bids to help get as many clicks
          as possible within your budget.
  """
    ))
_sym_db.RegisterMessage(BiddingStrategy)
DESCRIPTOR._options = None
_BIDDINGSTRATEGY.fields_by_name['resource_name']._options = None
_BIDDINGSTRATEGY.fields_by_name['id']._options = None
_BIDDINGSTRATEGY.fields_by_name['status']._options = None
_BIDDINGSTRATEGY.fields_by_name['type']._options = None
_BIDDINGSTRATEGY.fields_by_name['campaign_count']._options = None
_BIDDINGSTRATEGY.fields_by_name['non_removed_campaign_count']._options = None
_BIDDINGSTRATEGY._options = None

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
_sym_db = _symbol_database.Default()
from google.ads.google_ads.v4.proto.common import bidding_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2
from google.ads.google_ads.v4.proto.enums import bidding_strategy_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__status__pb2
from google.ads.google_ads.v4.proto.enums import bidding_strategy_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__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/bidding_strategy.proto',
    package='google.ads.googleads.v4.resources', syntax='proto3',
    serialized_options=_b(
    """
%com.google.ads.googleads.v4.resourcesBBiddingStrategyProtoPZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources¢GAAª!Google.Ads.GoogleAds.V4.ResourcesÊ!Google\\Ads\\GoogleAds\\V4\\Resourcesê%Google::Ads::GoogleAds::V4::Resources"""
    ), serialized_pb=_b(
    '\n>google/ads/googleads_v4/proto/resources/bidding_strategy.proto\x12!google.ads.googleads.v4.resources\x1a2google/ads/googleads_v4/proto/common/bidding.proto\x1aAgoogle/ads/googleads_v4/proto/enums/bidding_strategy_status.proto\x1a?google/ads/googleads_v4/proto/enums/bidding_strategy_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto"Ô\x07\n\x0fBiddingStrategy\x12G\n\rresource_name\x18\x01 \x01(\tB0àA\x05úA*\n(googleads.googleapis.com/BiddingStrategy\x12,\n\x02id\x18\x03 \x01(\x0b2\x1b.google.protobuf.Int64ValueB\x03àA\x03\x12*\n\x04name\x18\x04 \x01(\x0b2\x1c.google.protobuf.StringValue\x12c\n\x06status\x18\x0f \x01(\x0e2N.google.ads.googleads.v4.enums.BiddingStrategyStatusEnum.BiddingStrategyStatusB\x03àA\x03\x12]\n\x04type\x18\x05 \x01(\x0e2J.google.ads.googleads.v4.enums.BiddingStrategyTypeEnum.BiddingStrategyTypeB\x03àA\x03\x128\n\x0ecampaign_count\x18\r \x01(\x0b2\x1b.google.protobuf.Int64ValueB\x03àA\x03\x12D\n\x1anon_removed_campaign_count\x18\x0e \x01(\x0b2\x1b.google.protobuf.Int64ValueB\x03àA\x03\x12C\n\x0cenhanced_cpc\x18\x07 \x01(\x0b2+.google.ads.googleads.v4.common.EnhancedCpcH\x00\x12?\n\ntarget_cpa\x18\t \x01(\x0b2).google.ads.googleads.v4.common.TargetCpaH\x00\x12X\n\x17target_impression_share\x180 \x01(\x0b25.google.ads.googleads.v4.common.TargetImpressionShareH\x00\x12A\n\x0btarget_roas\x18\x0b \x01(\x0b2*.google.ads.googleads.v4.common.TargetRoasH\x00\x12C\n\x0ctarget_spend\x18\x0c \x01(\x0b2+.google.ads.googleads.v4.common.TargetSpendH\x00:hêAe\n(googleads.googleapis.com/BiddingStrategy\x129customers/{customer}/biddingStrategies/{bidding_strategy}B\x08\n\x06schemeB\x81\x02\n%com.google.ads.googleads.v4.resourcesB\x14BiddingStrategyProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources¢\x02\x03GAAª\x02!Google.Ads.GoogleAds.V4.ResourcesÊ\x02!Google\\Ads\\GoogleAds\\V4\\Resourcesê\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3'
    ), dependencies=[
    google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2.
    DESCRIPTOR,
    google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__status__pb2
    .DESCRIPTOR,
    google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__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])
_BIDDINGSTRATEGY = _descriptor.Descriptor(name='BiddingStrategy', full_name
    ='google.ads.googleads.v4.resources.BiddingStrategy', filename=None,
    file=DESCRIPTOR, containing_type=None, fields=[_descriptor.
    FieldDescriptor(name='resource_name', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.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(
    """àAúA*
(googleads.googleapis.com/BiddingStrategy"""), file=
    DESCRIPTOR), _descriptor.FieldDescriptor(name='id', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.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(
    'àA\x03'), file=DESCRIPTOR), _descriptor.FieldDescriptor(name='name',
    full_name='google.ads.googleads.v4.resources.BiddingStrategy.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='status', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.status', index=3,
    number=15, 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(
    'àA\x03'), file=DESCRIPTOR), _descriptor.FieldDescriptor(name='type',
    full_name='google.ads.googleads.v4.resources.BiddingStrategy.type',
    index=4, number=5, 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('àA\x03'), file=DESCRIPTOR), _descriptor.
    FieldDescriptor(name='campaign_count', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.campaign_count',
    index=5, number=13, 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('àA\x03'), file=DESCRIPTOR), _descriptor.
    FieldDescriptor(name='non_removed_campaign_count', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.non_removed_campaign_count'
    , index=6, 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('àA\x03'), file=DESCRIPTOR), _descriptor.
    FieldDescriptor(name='enhanced_cpc', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.enhanced_cpc', index
    =7, number=7, 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='target_cpa',
    full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.target_cpa', 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=None,
    file=DESCRIPTOR), _descriptor.FieldDescriptor(name=
    'target_impression_share', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.target_impression_share'
    , index=9, number=48, 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='target_roas', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.target_roas', index=
    10, 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=None,
    file=DESCRIPTOR), _descriptor.FieldDescriptor(name='target_spend',
    full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.target_spend', index
    =11, 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=None,
    file=DESCRIPTOR)], extensions=[], nested_types=[], enum_types=[],
    serialized_options=_b(
    """êAe
(googleads.googleapis.com/BiddingStrategy9customers/{customer}/biddingStrategies/{bidding_strategy}"""
    ), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[
    _descriptor.OneofDescriptor(name='scheme', full_name=
    'google.ads.googleads.v4.resources.BiddingStrategy.scheme', index=0,
    containing_type=None, fields=[])], serialized_start=408, serialized_end
    =1388)
_BIDDINGSTRATEGY.fields_by_name['id'
    ].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
_BIDDINGSTRATEGY.fields_by_name['name'
    ].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE
_BIDDINGSTRATEGY.fields_by_name['status'].enum_type = (
    google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__status__pb2
    ._BIDDINGSTRATEGYSTATUSENUM_BIDDINGSTRATEGYSTATUS)
_BIDDINGSTRATEGY.fields_by_name['type'].enum_type = (
    google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__type__pb2
    ._BIDDINGSTRATEGYTYPEENUM_BIDDINGSTRATEGYTYPE)
_BIDDINGSTRATEGY.fields_by_name['campaign_count'
    ].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
_BIDDINGSTRATEGY.fields_by_name['non_removed_campaign_count'
    ].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
_BIDDINGSTRATEGY.fields_by_name['enhanced_cpc'].message_type = (
    google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2.
    _ENHANCEDCPC)
_BIDDINGSTRATEGY.fields_by_name['target_cpa'].message_type = (
    google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2.
    _TARGETCPA)
_BIDDINGSTRATEGY.fields_by_name['target_impression_share'].message_type = (
    google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2.
    _TARGETIMPRESSIONSHARE)
_BIDDINGSTRATEGY.fields_by_name['target_roas'].message_type = (
    google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2.
    _TARGETROAS)
_BIDDINGSTRATEGY.fields_by_name['target_spend'].message_type = (
    google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2.
    _TARGETSPEND)
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(_BIDDINGSTRATEGY.
    fields_by_name['enhanced_cpc'])
_BIDDINGSTRATEGY.fields_by_name['enhanced_cpc'
    ].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(_BIDDINGSTRATEGY.
    fields_by_name['target_cpa'])
_BIDDINGSTRATEGY.fields_by_name['target_cpa'
    ].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(_BIDDINGSTRATEGY.
    fields_by_name['target_impression_share'])
_BIDDINGSTRATEGY.fields_by_name['target_impression_share'
    ].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(_BIDDINGSTRATEGY.
    fields_by_name['target_roas'])
_BIDDINGSTRATEGY.fields_by_name['target_roas'
    ].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(_BIDDINGSTRATEGY.
    fields_by_name['target_spend'])
_BIDDINGSTRATEGY.fields_by_name['target_spend'
    ].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
DESCRIPTOR.message_types_by_name['BiddingStrategy'] = _BIDDINGSTRATEGY
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
BiddingStrategy = _reflection.GeneratedProtocolMessageType('BiddingStrategy',
    (_message.Message,), dict(DESCRIPTOR=_BIDDINGSTRATEGY, __module__=
    'google.ads.googleads_v4.proto.resources.bidding_strategy_pb2', __doc__
    =
    """A bidding strategy.
  
  
  Attributes:
      resource_name:
          Immutable. The resource name of the bidding strategy. Bidding
          strategy resource names have the form:  ``customers/{customer_
          id}/biddingStrategies/{bidding_strategy_id}``
      id:
          Output only. The ID of the bidding strategy.
      name:
          The name of the bidding strategy. All bidding strategies
          within an account must be named distinctly.  The length of
          this string should be between 1 and 255, inclusive, in UTF-8
          bytes, (trimmed).
      status:
          Output only. The status of the bidding strategy.  This field
          is read-only.
      type:
          Output only. The type of the bidding strategy. Create a
          bidding strategy by setting the bidding scheme.  This field is
          read-only.
      campaign_count:
          Output only. The number of campaigns attached to this bidding
          strategy.  This field is read-only.
      non_removed_campaign_count:
          Output only. The number of non-removed campaigns attached to
          this bidding strategy.  This field is read-only.
      scheme:
          The bidding scheme.  Only one can be set.
      enhanced_cpc:
          A bidding strategy that raises bids for clicks that seem more
          likely to lead to a conversion and lowers them for clicks
          where they seem less likely.
      target_cpa:
          A bidding strategy that sets bids to help get as many
          conversions as possible at the target cost-per-acquisition
          (CPA) you set.
      target_impression_share:
          A bidding strategy that automatically optimizes towards a
          desired percentage of impressions.
      target_roas:
          A bidding strategy that helps you maximize revenue while
          averaging a specific target Return On Ad Spend (ROAS).
      target_spend:
          A bid strategy that sets your bids to help get as many clicks
          as possible within your budget.
  """
    ))
_sym_db.RegisterMessage(BiddingStrategy)
DESCRIPTOR._options = None
_BIDDINGSTRATEGY.fields_by_name['resource_name']._options = None
_BIDDINGSTRATEGY.fields_by_name['id']._options = None
_BIDDINGSTRATEGY.fields_by_name['status']._options = None
_BIDDINGSTRATEGY.fields_by_name['type']._options = None
_BIDDINGSTRATEGY.fields_by_name['campaign_count']._options = None
_BIDDINGSTRATEGY.fields_by_name['non_removed_campaign_count']._options = None
_BIDDINGSTRATEGY._options = None

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads_v4/proto/resources/bidding_strategy.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.common import bidding_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2
from google.ads.google_ads.v4.proto.enums import bidding_strategy_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__status__pb2
from google.ads.google_ads.v4.proto.enums import bidding_strategy_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__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/bidding_strategy.proto',
  package='google.ads.googleads.v4.resources',
  syntax='proto3',
  serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\024BiddingStrategyProtoP\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/bidding_strategy.proto\x12!google.ads.googleads.v4.resources\x1a\x32google/ads/googleads_v4/proto/common/bidding.proto\x1a\x41google/ads/googleads_v4/proto/enums/bidding_strategy_status.proto\x1a?google/ads/googleads_v4/proto/enums/bidding_strategy_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xd4\x07\n\x0f\x42iddingStrategy\x12G\n\rresource_name\x18\x01 \x01(\tB0\xe0\x41\x05\xfa\x41*\n(googleads.googleapis.com/BiddingStrategy\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\x63\n\x06status\x18\x0f \x01(\x0e\x32N.google.ads.googleads.v4.enums.BiddingStrategyStatusEnum.BiddingStrategyStatusB\x03\xe0\x41\x03\x12]\n\x04type\x18\x05 \x01(\x0e\x32J.google.ads.googleads.v4.enums.BiddingStrategyTypeEnum.BiddingStrategyTypeB\x03\xe0\x41\x03\x12\x38\n\x0e\x63\x61mpaign_count\x18\r \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x44\n\x1anon_removed_campaign_count\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x43\n\x0c\x65nhanced_cpc\x18\x07 \x01(\x0b\x32+.google.ads.googleads.v4.common.EnhancedCpcH\x00\x12?\n\ntarget_cpa\x18\t \x01(\x0b\x32).google.ads.googleads.v4.common.TargetCpaH\x00\x12X\n\x17target_impression_share\x18\x30 \x01(\x0b\x32\x35.google.ads.googleads.v4.common.TargetImpressionShareH\x00\x12\x41\n\x0btarget_roas\x18\x0b \x01(\x0b\x32*.google.ads.googleads.v4.common.TargetRoasH\x00\x12\x43\n\x0ctarget_spend\x18\x0c \x01(\x0b\x32+.google.ads.googleads.v4.common.TargetSpendH\x00:h\xea\x41\x65\n(googleads.googleapis.com/BiddingStrategy\x12\x39\x63ustomers/{customer}/biddingStrategies/{bidding_strategy}B\x08\n\x06schemeB\x81\x02\n%com.google.ads.googleads.v4.resourcesB\x14\x42iddingStrategyProtoP\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_common_dot_bidding__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__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,])




_BIDDINGSTRATEGY = _descriptor.Descriptor(
  name='BiddingStrategy',
  full_name='google.ads.googleads.v4.resources.BiddingStrategy',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='resource_name', full_name='google.ads.googleads.v4.resources.BiddingStrategy.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/BiddingStrategy'), file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='id', full_name='google.ads.googleads.v4.resources.BiddingStrategy.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.BiddingStrategy.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='status', full_name='google.ads.googleads.v4.resources.BiddingStrategy.status', index=3,
      number=15, 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='type', full_name='google.ads.googleads.v4.resources.BiddingStrategy.type', index=4,
      number=5, 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='campaign_count', full_name='google.ads.googleads.v4.resources.BiddingStrategy.campaign_count', index=5,
      number=13, 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='non_removed_campaign_count', full_name='google.ads.googleads.v4.resources.BiddingStrategy.non_removed_campaign_count', index=6,
      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='enhanced_cpc', full_name='google.ads.googleads.v4.resources.BiddingStrategy.enhanced_cpc', index=7,
      number=7, 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='target_cpa', full_name='google.ads.googleads.v4.resources.BiddingStrategy.target_cpa', 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=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='target_impression_share', full_name='google.ads.googleads.v4.resources.BiddingStrategy.target_impression_share', index=9,
      number=48, 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='target_roas', full_name='google.ads.googleads.v4.resources.BiddingStrategy.target_roas', index=10,
      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=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='target_spend', full_name='google.ads.googleads.v4.resources.BiddingStrategy.target_spend', index=11,
      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=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=_b('\352Ae\n(googleads.googleapis.com/BiddingStrategy\0229customers/{customer}/biddingStrategies/{bidding_strategy}'),
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='scheme', full_name='google.ads.googleads.v4.resources.BiddingStrategy.scheme',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=408,
  serialized_end=1388,
)

_BIDDINGSTRATEGY.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
_BIDDINGSTRATEGY.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE
_BIDDINGSTRATEGY.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__status__pb2._BIDDINGSTRATEGYSTATUSENUM_BIDDINGSTRATEGYSTATUS
_BIDDINGSTRATEGY.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__type__pb2._BIDDINGSTRATEGYTYPEENUM_BIDDINGSTRATEGYTYPE
_BIDDINGSTRATEGY.fields_by_name['campaign_count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
_BIDDINGSTRATEGY.fields_by_name['non_removed_campaign_count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE
_BIDDINGSTRATEGY.fields_by_name['enhanced_cpc'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._ENHANCEDCPC
_BIDDINGSTRATEGY.fields_by_name['target_cpa'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETCPA
_BIDDINGSTRATEGY.fields_by_name['target_impression_share'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETIMPRESSIONSHARE
_BIDDINGSTRATEGY.fields_by_name['target_roas'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETROAS
_BIDDINGSTRATEGY.fields_by_name['target_spend'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETSPEND
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(
  _BIDDINGSTRATEGY.fields_by_name['enhanced_cpc'])
_BIDDINGSTRATEGY.fields_by_name['enhanced_cpc'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(
  _BIDDINGSTRATEGY.fields_by_name['target_cpa'])
_BIDDINGSTRATEGY.fields_by_name['target_cpa'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(
  _BIDDINGSTRATEGY.fields_by_name['target_impression_share'])
_BIDDINGSTRATEGY.fields_by_name['target_impression_share'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(
  _BIDDINGSTRATEGY.fields_by_name['target_roas'])
_BIDDINGSTRATEGY.fields_by_name['target_roas'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append(
  _BIDDINGSTRATEGY.fields_by_name['target_spend'])
_BIDDINGSTRATEGY.fields_by_name['target_spend'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme']
DESCRIPTOR.message_types_by_name['BiddingStrategy'] = _BIDDINGSTRATEGY
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

BiddingStrategy = _reflection.GeneratedProtocolMessageType('BiddingStrategy', (_message.Message,), dict(
  DESCRIPTOR = _BIDDINGSTRATEGY,
  __module__ = 'google.ads.googleads_v4.proto.resources.bidding_strategy_pb2'
  ,
  __doc__ = """A bidding strategy.
  
  
  Attributes:
      resource_name:
          Immutable. The resource name of the bidding strategy. Bidding
          strategy resource names have the form:  ``customers/{customer_
          id}/biddingStrategies/{bidding_strategy_id}``
      id:
          Output only. The ID of the bidding strategy.
      name:
          The name of the bidding strategy. All bidding strategies
          within an account must be named distinctly.  The length of
          this string should be between 1 and 255, inclusive, in UTF-8
          bytes, (trimmed).
      status:
          Output only. The status of the bidding strategy.  This field
          is read-only.
      type:
          Output only. The type of the bidding strategy. Create a
          bidding strategy by setting the bidding scheme.  This field is
          read-only.
      campaign_count:
          Output only. The number of campaigns attached to this bidding
          strategy.  This field is read-only.
      non_removed_campaign_count:
          Output only. The number of non-removed campaigns attached to
          this bidding strategy.  This field is read-only.
      scheme:
          The bidding scheme.  Only one can be set.
      enhanced_cpc:
          A bidding strategy that raises bids for clicks that seem more
          likely to lead to a conversion and lowers them for clicks
          where they seem less likely.
      target_cpa:
          A bidding strategy that sets bids to help get as many
          conversions as possible at the target cost-per-acquisition
          (CPA) you set.
      target_impression_share:
          A bidding strategy that automatically optimizes towards a
          desired percentage of impressions.
      target_roas:
          A bidding strategy that helps you maximize revenue while
          averaging a specific target Return On Ad Spend (ROAS).
      target_spend:
          A bid strategy that sets your bids to help get as many clicks
          as possible within your budget.
  """,
  # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.BiddingStrategy)
  ))
_sym_db.RegisterMessage(BiddingStrategy)


DESCRIPTOR._options = None
_BIDDINGSTRATEGY.fields_by_name['resource_name']._options = None
_BIDDINGSTRATEGY.fields_by_name['id']._options = None
_BIDDINGSTRATEGY.fields_by_name['status']._options = None
_BIDDINGSTRATEGY.fields_by_name['type']._options = None
_BIDDINGSTRATEGY.fields_by_name['campaign_count']._options = None
_BIDDINGSTRATEGY.fields_by_name['non_removed_campaign_count']._options = None
_BIDDINGSTRATEGY._options = None
# @@protoc_insertion_point(module_scope)
