struct Facebook::Proto::AdCampaignActivity
- Facebook::Proto::AdCampaignActivity
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdCampaignActivity.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #auto_create_lookalike_new : Bool | Nil
- #auto_create_lookalike_new=(auto_create_lookalike_new : Bool | Nil)
- #auto_create_lookalike_old : Bool | Nil
- #auto_create_lookalike_old=(auto_create_lookalike_old : Bool | Nil)
- #bid_adjustments_spec_new : String | Nil
- #bid_adjustments_spec_new=(bid_adjustments_spec_new : String | Nil)
- #bid_adjustments_spec_old : String | Nil
- #bid_adjustments_spec_old=(bid_adjustments_spec_old : String | Nil)
- #bid_amount_new : Int64 | Nil
- #bid_amount_new=(bid_amount_new : Int64 | Nil)
- #bid_amount_old : Int64 | Nil
- #bid_amount_old=(bid_amount_old : Int64 | Nil)
- #bid_strategy_new : String | Nil
- #bid_strategy_new=(bid_strategy_new : String | Nil)
- #bid_strategy_old : String | Nil
- #bid_strategy_old=(bid_strategy_old : String | Nil)
- #bid_type_new : String | Nil
- #bid_type_new=(bid_type_new : String | Nil)
- #bid_type_old : String | Nil
- #bid_type_old=(bid_type_old : String | Nil)
- #billing_event_new : String | Nil
- #billing_event_new=(billing_event_new : String | Nil)
- #billing_event_old : String | Nil
- #billing_event_old=(billing_event_old : String | Nil)
- #brande_audience_id_new : String | Nil
- #brande_audience_id_new=(brande_audience_id_new : String | Nil)
- #brande_audience_id_old : String | Nil
- #brande_audience_id_old=(brande_audience_id_old : String | Nil)
- #created_time : Datetime | Nil
- #created_time=(created_time : Datetime | Nil)
- #daily_impressions_new : Int64 | Nil
- #daily_impressions_new=(daily_impressions_new : Int64 | Nil)
- #daily_impressions_old : Int64 | Nil
- #daily_impressions_old=(daily_impressions_old : Int64 | Nil)
- #dco_mode_new : String | Nil
- #dco_mode_new=(dco_mode_new : String | Nil)
- #dco_mode_old : String | Nil
- #dco_mode_old=(dco_mode_old : String | Nil)
- #delivery_behavior_new : String | Nil
- #delivery_behavior_new=(delivery_behavior_new : String | Nil)
- #delivery_behavior_old : String | Nil
- #delivery_behavior_old=(delivery_behavior_old : String | Nil)
- #destination_type_new : String | Nil
- #destination_type_new=(destination_type_new : String | Nil)
- #destination_type_old : String | Nil
- #destination_type_old=(destination_type_old : String | Nil)
- #event_time : Datetime | Nil
- #event_time=(event_time : Datetime | Nil)
- #event_type : String | Nil
- #event_type=(event_type : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #invoicing_limit_new : Int64 | Nil
- #invoicing_limit_new=(invoicing_limit_new : Int64 | Nil)
- #invoicing_limit_old : Int64 | Nil
- #invoicing_limit_old=(invoicing_limit_old : Int64 | Nil)
- #name_new : String | Nil
- #name_new=(name_new : String | Nil)
- #name_old : String | Nil
- #name_old=(name_old : String | Nil)
- #optimization_goal_new : String | Nil
- #optimization_goal_new=(optimization_goal_new : String | Nil)
- #optimization_goal_old : String | Nil
- #optimization_goal_old=(optimization_goal_old : String | Nil)
- #pacing_type_new : Int64 | Nil
- #pacing_type_new=(pacing_type_new : Int64 | Nil)
- #pacing_type_old : Int64 | Nil
- #pacing_type_old=(pacing_type_old : Int64 | Nil)
- #run_status_new : String | Nil
- #run_status_new=(run_status_new : String | Nil)
- #run_status_old : String | Nil
- #run_status_old=(run_status_old : String | Nil)
- #start_time_new : Datetime | Nil
- #start_time_new=(start_time_new : Datetime | Nil)
- #start_time_old : Datetime | Nil
- #start_time_old=(start_time_old : Datetime | Nil)
- #stop_time_new : Datetime | Nil
- #stop_time_new=(stop_time_new : Datetime | Nil)
- #stop_time_old : Datetime | Nil
- #stop_time_old=(stop_time_old : Datetime | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #updated_time_new : Datetime | Nil
- #updated_time_new=(updated_time_new : Datetime | Nil)
- #updated_time_old : Datetime | Nil
- #updated_time_old=(updated_time_old : Datetime | Nil)
Constructor Detail
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)
#