Class: Google::Ads::AdManager::V1::Goal

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

Overview

Defines the criteria a LineItem needs to satisfy to meet its delivery goal.

Instance Attribute Summary collapse

Instance Attribute Details

#goal_type::Google::Ads::AdManager::V1::GoalTypeEnum::GoalType

Returns The type of the goal for the LineItem. It defines the period over which the goal should be reached.

Returns:



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

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

#unit_type::Google::Ads::AdManager::V1::UnitTypeEnum::UnitType

Returns The type of the goal unit for the LineItem.

Returns:



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

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

#units::Integer

Returns If this is a primary goal, it represents the number or percentage of impressions or clicks that will be reserved. If the line item is of type LineItemTypeEnum.LineItemType.SPONSORSHIP, it represents the percentage of available impressions reserved. If the line item is of type LineItemTypeEnum.LineItemType.BULK or LineItemTypeEnum.LineItemType.PRICE_PRIORITY, it represents the number of remaining impressions reserved. If the line item is of type LineItemTypeEnum.LineItemType.NETWORK or LineItemTypeEnum.LineItemType.HOUSE, it represents the percentage of remaining impressions reserved.

If this is an impression cap goal, it represents the number of impressions or conversions that the line item will stop serving at if reached. For valid line item types, see [LineItem.impressions_cap][].

Returns:



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

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