struct Facebook::Proto::AdCampaignActivity

Included Modules

Defined in:

cli/proto/facebook/AdCampaignActivity.pb.cr

Constant Summary

FIELDS = {1 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :auto_create_lookalike_new, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :auto_create_lookalike_old, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :bid_adjustments_spec_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :bid_adjustments_spec_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :bid_amount_new, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :bid_amount_old, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :bid_strategy_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :bid_strategy_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :bid_type_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :bid_type_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :billing_event_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :billing_event_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :brande_audience_id_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :brande_audience_id_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :created_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :daily_impressions_new, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :daily_impressions_old, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :dco_mode_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :dco_mode_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :delivery_behavior_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :delivery_behavior_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :destination_type_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :destination_type_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :event_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :event_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :invoicing_limit_new, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :invoicing_limit_old, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 29 => {name: :name_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :name_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :optimization_goal_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 32 => {name: :optimization_goal_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :pacing_type_new, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 34 => {name: :pacing_type_old, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 35 => {name: :run_status_new, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 36 => {name: :run_status_old, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 37 => {name: :start_time_new, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 38 => {name: :start_time_old, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 39 => {name: :stop_time_new, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 40 => {name: :stop_time_old, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 41 => {name: :updated_time_new, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 42 => {name: :updated_time_old, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Fields = {} of String => Field

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(id : String | Nil = nil, auto_create_lookalike_new : Bool | Nil = nil, auto_create_lookalike_old : Bool | Nil = nil, bid_adjustments_spec_new : String | Nil = nil, bid_adjustments_spec_old : String | Nil = nil, bid_amount_new : Int64 | Nil = nil, bid_amount_old : Int64 | Nil = nil, bid_strategy_new : String | Nil = nil, bid_strategy_old : String | Nil = nil, bid_type_new : String | Nil = nil, bid_type_old : String | Nil = nil, billing_event_new : String | Nil = nil, billing_event_old : String | Nil = nil, brande_audience_id_new : String | Nil = nil, brande_audience_id_old : String | Nil = nil, created_time : Datetime | Nil = nil, daily_impressions_new : Int64 | Nil = nil, daily_impressions_old : Int64 | Nil = nil, dco_mode_new : String | Nil = nil, dco_mode_old : String | Nil = nil, delivery_behavior_new : String | Nil = nil, delivery_behavior_old : String | Nil = nil, destination_type_new : String | Nil = nil, destination_type_old : String | Nil = nil, event_time : Datetime | Nil = nil, event_type : String | Nil = nil, invoicing_limit_new : Int64 | Nil = nil, invoicing_limit_old : Int64 | Nil = nil, name_new : String | Nil = nil, name_old : String | Nil = nil, optimization_goal_new : String | Nil = nil, optimization_goal_old : String | Nil = nil, pacing_type_new : Int64 | Nil = nil, pacing_type_old : Int64 | Nil = nil, run_status_new : String | Nil = nil, run_status_old : String | Nil = nil, start_time_new : Datetime | Nil = nil, start_time_old : Datetime | Nil = nil, stop_time_new : Datetime | Nil = nil, stop_time_old : Datetime | Nil = nil, updated_time_new : Datetime | Nil = nil, updated_time_old : Datetime | Nil = nil) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def auto_create_lookalike_new : Bool | Nil #

def auto_create_lookalike_new=(auto_create_lookalike_new : Bool | Nil) #

def auto_create_lookalike_old : Bool | Nil #

def auto_create_lookalike_old=(auto_create_lookalike_old : Bool | Nil) #

def bid_adjustments_spec_new : String | Nil #

def bid_adjustments_spec_new=(bid_adjustments_spec_new : String | Nil) #

def bid_adjustments_spec_old : String | Nil #

def bid_adjustments_spec_old=(bid_adjustments_spec_old : String | Nil) #

def bid_amount_new : Int64 | Nil #

def bid_amount_new=(bid_amount_new : Int64 | Nil) #

def bid_amount_old : Int64 | Nil #

def bid_amount_old=(bid_amount_old : Int64 | Nil) #

def bid_strategy_new : String | Nil #

def bid_strategy_new=(bid_strategy_new : String | Nil) #

def bid_strategy_old : String | Nil #

def bid_strategy_old=(bid_strategy_old : String | Nil) #

def bid_type_new : String | Nil #

def bid_type_new=(bid_type_new : String | Nil) #

def bid_type_old : String | Nil #

def bid_type_old=(bid_type_old : String | Nil) #

def billing_event_new : String | Nil #

def billing_event_new=(billing_event_new : String | Nil) #

def billing_event_old : String | Nil #

def billing_event_old=(billing_event_old : String | Nil) #

def brande_audience_id_new : String | Nil #

def brande_audience_id_new=(brande_audience_id_new : String | Nil) #

def brande_audience_id_old : String | Nil #

def brande_audience_id_old=(brande_audience_id_old : String | Nil) #

def created_time : Datetime | Nil #

def created_time=(created_time : Datetime | Nil) #

def daily_impressions_new : Int64 | Nil #

def daily_impressions_new=(daily_impressions_new : Int64 | Nil) #

def daily_impressions_old : Int64 | Nil #

def daily_impressions_old=(daily_impressions_old : Int64 | Nil) #

def dco_mode_new : String | Nil #

def dco_mode_new=(dco_mode_new : String | Nil) #

def dco_mode_old : String | Nil #

def dco_mode_old=(dco_mode_old : String | Nil) #

def delivery_behavior_new : String | Nil #

def delivery_behavior_new=(delivery_behavior_new : String | Nil) #

def delivery_behavior_old : String | Nil #

def delivery_behavior_old=(delivery_behavior_old : String | Nil) #

def destination_type_new : String | Nil #

def destination_type_new=(destination_type_new : String | Nil) #

def destination_type_old : String | Nil #

def destination_type_old=(destination_type_old : String | Nil) #

def event_time : Datetime | Nil #

def event_time=(event_time : Datetime | Nil) #

def event_type : String | Nil #

def event_type=(event_type : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def invoicing_limit_new : Int64 | Nil #

def invoicing_limit_new=(invoicing_limit_new : Int64 | Nil) #

def invoicing_limit_old : Int64 | Nil #

def invoicing_limit_old=(invoicing_limit_old : Int64 | Nil) #

def name_new : String | Nil #

def name_new=(name_new : String | Nil) #

def name_old : String | Nil #

def name_old=(name_old : String | Nil) #

def optimization_goal_new : String | Nil #

def optimization_goal_new=(optimization_goal_new : String | Nil) #

def optimization_goal_old : String | Nil #

def optimization_goal_old=(optimization_goal_old : String | Nil) #

def pacing_type_new : Int64 | Nil #

def pacing_type_new=(pacing_type_new : Int64 | Nil) #

def pacing_type_old : Int64 | Nil #

def pacing_type_old=(pacing_type_old : Int64 | Nil) #

def run_status_new : String | Nil #

def run_status_new=(run_status_new : String | Nil) #

def run_status_old : String | Nil #

def run_status_old=(run_status_old : String | Nil) #

def start_time_new : Datetime | Nil #

def start_time_new=(start_time_new : Datetime | Nil) #

def start_time_old : Datetime | Nil #

def start_time_old=(start_time_old : Datetime | Nil) #

def stop_time_new : Datetime | Nil #

def stop_time_new=(stop_time_new : Datetime | Nil) #

def stop_time_old : Datetime | Nil #

def stop_time_old=(stop_time_old : Datetime | Nil) #

def to_hash #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def updated_time_new : Datetime | Nil #

def updated_time_new=(updated_time_new : Datetime | Nil) #

def updated_time_old : Datetime | Nil #

def updated_time_old=(updated_time_old : Datetime | Nil) #