Class: Google::Ads::AdManager::V1::LineItem

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

Overview

A LineItem contains information about how specific ad creatives are intended to serve to your website or app along with pricing and other delivery details.

Instance Attribute Summary collapse

Instance Attribute Details

#budget::Google::Type::Money (readonly)

Returns Output only. The amount of money allocated to the LineItem. This attribute is readonly and is populated by Google. The currency code is readonly.

Returns:

  • (::Google::Type::Money)

    Output only. The amount of money allocated to the LineItem. This attribute is readonly and is populated by Google. The currency code is readonly.



67
68
69
70
# File 'proto_docs/google/ads/admanager/v1/line_item_messages.rb', line 67

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

#custom_field_values::Array<::Google::Ads::AdManager::V1::CustomFieldValue>

Returns Optional. The values of the custom fields associated with this line item.

Returns:



67
68
69
70
# File 'proto_docs/google/ads/admanager/v1/line_item_messages.rb', line 67

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

#display_name::String

Returns Required. The name of the line item. This attribute is required and has a maximum length of 255 characters.

Returns:

  • (::String)

    Required. The name of the line item. This attribute is required and has a maximum length of 255 characters.



67
68
69
70
# File 'proto_docs/google/ads/admanager/v1/line_item_messages.rb', line 67

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

#end_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The timestamp when the LineItem will stop serving. This attribute is read-only and includes auto extension days.

Returns:

  • (::Google::Protobuf::Timestamp)

    Output only. The timestamp when the LineItem will stop serving. This attribute is read-only and includes auto extension days.



67
68
69
70
# File 'proto_docs/google/ads/admanager/v1/line_item_messages.rb', line 67

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

#goal::Google::Ads::AdManager::V1::Goal

Returns Optional. The primary goal that this LineItem is associated with, which is used in its pacing and budgeting.

Returns:



67
68
69
70
# File 'proto_docs/google/ads/admanager/v1/line_item_messages.rb', line 67

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

#line_item_type::Google::Ads::AdManager::V1::LineItemTypeEnum::LineItemType

Returns Required. Indicates the line item type of a LineItem. This attribute is required. The line item type determines the default priority of the line item. More information can be found at https://support.google.com/admanager/answer/177279.

Returns:



67
68
69
70
# File 'proto_docs/google/ads/admanager/v1/line_item_messages.rb', line 67

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

#name::String

Returns Identifier. The resource name of the LineItem. Format: networks/{network_code}/lineItems/{line_item_id}.

Returns:

  • (::String)

    Identifier. The resource name of the LineItem. Format: networks/{network_code}/lineItems/{line_item_id}



67
68
69
70
# File 'proto_docs/google/ads/admanager/v1/line_item_messages.rb', line 67

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

#order::String (readonly)

Returns Output only. The ID of the Order to which the LineItem belongs. This attribute is required. Format: networks/{network_code}/orders/{order}.

Returns:

  • (::String)

    Output only. The ID of the Order to which the LineItem belongs. This attribute is required. Format: networks/{network_code}/orders/{order}



67
68
69
70
# File 'proto_docs/google/ads/admanager/v1/line_item_messages.rb', line 67

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

#rate::Google::Type::Money

Returns Required. The amount of money to spend per impression or click.

Returns:



67
68
69
70
# File 'proto_docs/google/ads/admanager/v1/line_item_messages.rb', line 67

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

#start_time::Google::Protobuf::Timestamp

Returns Required. The date and time on which the LineItem is enabled to begin serving. This attribute is required and must be in the future.

Returns:

  • (::Google::Protobuf::Timestamp)

    Required. The date and time on which the LineItem is enabled to begin serving. This attribute is required and must be in the future.



67
68
69
70
# File 'proto_docs/google/ads/admanager/v1/line_item_messages.rb', line 67

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