Class: Google::Ads::AdManager::V1::GeoTarget

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/ads/admanager/v1/geo_target_messages.rb

Overview

Represents a location in the world, for targeting.

Instance Attribute Summary collapse

Instance Attribute Details

#canonical_parent::String (readonly)

Returns Output only. The name of the direct parent that defines the canonical name of the geo target. For example, if the current geo target is "San Francisco", its canonical name would be "San Francisco, California, United States" thus the canonical_parent would be the name of California and the canonical_parent of California would be the name of United states Format: networks/{network_code}/geoTargets/{geo_target}.

Returns:

  • (::String)

    Output only. The name of the direct parent that defines the canonical name of the geo target. For example, if the current geo target is "San Francisco", its canonical name would be "San Francisco, California, United States" thus the canonical_parent would be the name of California and the canonical_parent of California would be the name of United states Format: networks/{network_code}/geoTargets/{geo_target}



52
53
54
55
# File 'proto_docs/google/ads/admanager/v1/geo_target_messages.rb', line 52

class GeoTarget
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#display_name::String (readonly)

Returns Output only. The display name of the GeoTarget.

Returns:

  • (::String)

    Output only. The display name of the GeoTarget.



52
53
54
55
# File 'proto_docs/google/ads/admanager/v1/geo_target_messages.rb', line 52

class GeoTarget
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns Identifier. The resource name of the GeoTarget. Format: networks/{network_code}/geoTargets/{geo_target_id}.

Returns:

  • (::String)

    Identifier. The resource name of the GeoTarget. Format: networks/{network_code}/geoTargets/{geo_target_id}



52
53
54
55
# File 'proto_docs/google/ads/admanager/v1/geo_target_messages.rb', line 52

class GeoTarget
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent_names::Array<::String> (readonly)

Returns Output only. All parents of the geo target ordered by ascending size.

Returns:

  • (::Array<::String>)

    Output only. All parents of the geo target ordered by ascending size.



52
53
54
55
# File 'proto_docs/google/ads/admanager/v1/geo_target_messages.rb', line 52

class GeoTarget
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#region_code::String (readonly)

Returns Output only. The Unicode CLDR region code of the geo target.

Returns:

  • (::String)

    Output only. The Unicode CLDR region code of the geo target.



52
53
54
55
# File 'proto_docs/google/ads/admanager/v1/geo_target_messages.rb', line 52

class GeoTarget
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#targetable::Boolean (readonly)

Returns Output only. Whether the geo target is targetable.

Returns:

  • (::Boolean)

    Output only. Whether the geo target is targetable.



52
53
54
55
# File 'proto_docs/google/ads/admanager/v1/geo_target_messages.rb', line 52

class GeoTarget
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#type::String (readonly)

Returns Output only. The location type (unlocalized) for this geographical entity.

Returns:

  • (::String)

    Output only. The location type (unlocalized) for this geographical entity.



52
53
54
55
# File 'proto_docs/google/ads/admanager/v1/geo_target_messages.rb', line 52

class GeoTarget
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end