def primary_web_event_tag : String | Nil
#
struct
TwitterAds::Proto::LineItem
- TwitterAds::Proto::LineItem
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
twitter-ads/proto/line_item.pb.crConstant Summary
-
FIELDS =
{1 => {name: :bid_strategy, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :advertiser_user_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :placements, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 5 => {name: :start_time, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :bid_amount_local_micro, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :advertiser_domain, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :target_cpa_local_micro, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :primary_web_event_tag, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :pay_by, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :product_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :end_time, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :duration_in_days, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :total_budget_amount_local_micro, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :objective, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :entity_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :goal, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :frequency_cap, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :categories, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 21 => {name: :currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :created_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :updated_at, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :campaign_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :creative_source, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :deleted, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :account_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode) -
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(bid_strategy : String | Nil = nil, advertiser_user_id : String | Nil = nil, name : String | Nil = nil, placements : Array(String) | Nil = nil, start_time : String | Nil = nil, bid_amount_local_micro : Int64 | Nil = nil, advertiser_domain : String | Nil = nil, target_cpa_local_micro : String | Nil = nil, primary_web_event_tag : String | Nil = nil, pay_by : String | Nil = nil, product_type : String | Nil = nil, end_time : String | Nil = nil, duration_in_days : Int64 | Nil = nil, total_budget_amount_local_micro : Int64 | Nil = nil, objective : String | Nil = nil, id : String | Nil = nil, entity_status : String | Nil = nil, goal : String | Nil = nil, frequency_cap : Int64 | Nil = nil, categories : Array(String) | Nil = nil, currency : String | Nil = nil, created_at : String | Nil = nil, updated_at : String | Nil = nil, campaign_id : String | Nil = nil, creative_source : String | Nil = nil, deleted : Bool | Nil = nil, account_id : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #account_id : String | Nil
- #account_id=(account_id : String | Nil)
- #advertiser_domain : String | Nil
- #advertiser_domain=(advertiser_domain : String | Nil)
- #advertiser_user_id : String | Nil
- #advertiser_user_id=(advertiser_user_id : String | Nil)
- #bid_amount_local_micro : Int64 | Nil
- #bid_amount_local_micro=(bid_amount_local_micro : Int64 | Nil)
- #bid_strategy : String | Nil
- #bid_strategy=(bid_strategy : String | Nil)
- #campaign_id : String | Nil
- #campaign_id=(campaign_id : String | Nil)
- #categories : Array(String) | Nil
- #categories=(categories : Array(String) | Nil)
- #categories=(categories : Array(String) | Nil)
- #created_at : String | Nil
- #created_at=(created_at : String | Nil)
- #creative_source : String | Nil
- #creative_source=(creative_source : String | Nil)
- #currency : String | Nil
- #currency=(currency : String | Nil)
- #deleted : Bool | Nil
- #deleted=(deleted : Bool | Nil)
- #duration_in_days : Int64 | Nil
- #duration_in_days=(duration_in_days : Int64 | Nil)
- #end_time : String | Nil
- #end_time=(end_time : String | Nil)
- #entity_status : String | Nil
- #entity_status=(entity_status : String | Nil)
- #frequency_cap : Int64 | Nil
- #frequency_cap=(frequency_cap : Int64 | Nil)
- #goal : String | Nil
- #goal=(goal : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #objective : String | Nil
- #objective=(objective : String | Nil)
- #pay_by : String | Nil
- #pay_by=(pay_by : String | Nil)
- #placements : Array(String) | Nil
- #placements=(placements : Array(String) | Nil)
- #placements=(placements : Array(String) | Nil)
- #primary_web_event_tag : String | Nil
- #primary_web_event_tag=(primary_web_event_tag : String | Nil)
- #product_type : String | Nil
- #product_type=(product_type : String | Nil)
- #start_time : String | Nil
- #start_time=(start_time : String | Nil)
- #target_cpa_local_micro : String | Nil
- #target_cpa_local_micro=(target_cpa_local_micro : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #total_budget_amount_local_micro : Int64 | Nil
- #total_budget_amount_local_micro=(total_budget_amount_local_micro : Int64 | Nil)
- #updated_at : String | Nil
- #updated_at=(updated_at : String | Nil)
Constructor Detail
def self.new(bid_strategy : String | Nil = nil, advertiser_user_id : String | Nil = nil, name : String | Nil = nil, placements : Array(String) | Nil = nil, start_time : String | Nil = nil, bid_amount_local_micro : Int64 | Nil = nil, advertiser_domain : String | Nil = nil, target_cpa_local_micro : String | Nil = nil, primary_web_event_tag : String | Nil = nil, pay_by : String | Nil = nil, product_type : String | Nil = nil, end_time : String | Nil = nil, duration_in_days : Int64 | Nil = nil, total_budget_amount_local_micro : Int64 | Nil = nil, objective : String | Nil = nil, id : String | Nil = nil, entity_status : String | Nil = nil, goal : String | Nil = nil, frequency_cap : Int64 | Nil = nil, categories : Array(String) | Nil = nil, currency : String | Nil = nil, created_at : String | Nil = nil, updated_at : String | Nil = nil, campaign_id : String | Nil = nil, creative_source : String | Nil = nil, deleted : Bool | Nil = nil, account_id : String | Nil = nil)
#