struct Facebook::Proto::AdSet
- Facebook::Proto::AdSet
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdSet.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: :account_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :asset_feed_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :bid_amount, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :bid_strategy, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :billing_event, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :budget_remaining, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :campaign_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :configured_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :created_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :creative_sequence, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 12 => {name: :daily_budget, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :daily_min_spend_target, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :daily_spend_cap, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :destination_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :effective_status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :end_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :full_funnel_exploration_mode, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :instagram_actor_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :is_dynamic_creative, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :lifetime_budget, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :lifetime_imps, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :lifetime_min_spend_target, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :lifetime_spend_cap, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :optimization_goal, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :optimization_sub_event, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :pacing_type, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 29 => {name: :recurring_budget_semantics, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :review_feedback, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :rf_prediction_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 32 => {name: :source_adset_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :start_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 34 => {name: :status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 35 => {name: :targeting, pb_type: Targeting, crystal_type: Targeting, cast_type: Targeting?, native: false, optional: true, repeated: false, default: nil, packed: false}, 36 => {name: :time_based_ad_rotation_id_blocks, pb_type: Int64Array, crystal_type: Int64Array, cast_type: Array(Int64Array)?, native: false, optional: true, repeated: true, default: nil, packed: false}, 37 => {name: :time_based_ad_rotation_intervals, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 38 => {name: :updated_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 39 => {name: :use_new_app_click, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 40 => {name: :daily_imps, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 41 => {name: :date_format, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 42 => {name: :execution_options, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 43 => {name: :line_number, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 44 => {name: :rb_prediction_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 45 => {name: :time_start, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 46 => {name: :time_stop, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 47 => {name: :topline_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(id : String | Nil = nil, account_id : String | Nil = nil, asset_feed_id : String | Nil = nil, bid_amount : Int64 | Nil = nil, bid_strategy : String | Nil = nil, billing_event : String | Nil = nil, budget_remaining : String | Nil = nil, campaign_id : String | Nil = nil, configured_status : String | Nil = nil, created_time : Datetime | Nil = nil, creative_sequence : Array(String) | Nil = nil, daily_budget : String | Nil = nil, daily_min_spend_target : String | Nil = nil, daily_spend_cap : String | Nil = nil, destination_type : String | Nil = nil, effective_status : String | Nil = nil, end_time : Datetime | Nil = nil, full_funnel_exploration_mode : String | Nil = nil, instagram_actor_id : String | Nil = nil, is_dynamic_creative : Bool | Nil = nil, lifetime_budget : String | Nil = nil, lifetime_imps : Int64 | Nil = nil, lifetime_min_spend_target : String | Nil = nil, lifetime_spend_cap : String | Nil = nil, name : String | Nil = nil, optimization_goal : String | Nil = nil, optimization_sub_event : String | Nil = nil, pacing_type : Array(String) | Nil = nil, recurring_budget_semantics : Bool | Nil = nil, review_feedback : String | Nil = nil, rf_prediction_id : String | Nil = nil, source_adset_id : String | Nil = nil, start_time : Datetime | Nil = nil, status : String | Nil = nil, targeting : Targeting | Nil = nil, time_based_ad_rotation_id_blocks : Array(Int64Array) | Nil = nil, time_based_ad_rotation_intervals : Array(Int64) | Nil = nil, updated_time : Datetime | Nil = nil, use_new_app_click : Bool | Nil = nil, daily_imps : Int64 | Nil = nil, date_format : String | Nil = nil, execution_options : Array(String) | Nil = nil, line_number : Int64 | Nil = nil, rb_prediction_id : String | Nil = nil, time_start : Datetime | Nil = nil, time_stop : Datetime | Nil = nil, topline_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)
- #asset_feed_id : String | Nil
- #asset_feed_id=(asset_feed_id : String | Nil)
- #bid_amount : Int64 | Nil
- #bid_amount=(bid_amount : Int64 | Nil)
- #bid_strategy : String | Nil
- #bid_strategy=(bid_strategy : String | Nil)
- #billing_event : String | Nil
- #billing_event=(billing_event : String | Nil)
- #budget_remaining : String | Nil
- #budget_remaining=(budget_remaining : String | Nil)
- #campaign_id : String | Nil
- #campaign_id=(campaign_id : String | Nil)
- #configured_status : String | Nil
- #configured_status=(configured_status : String | Nil)
- #created_time : Datetime | Nil
- #created_time=(created_time : Datetime | Nil)
- #creative_sequence : Array(String) | Nil
- #creative_sequence=(creative_sequence : Array(String) | Nil)
- #creative_sequence=(creative_sequence : Array(String) | Nil)
- #daily_budget : String | Nil
- #daily_budget=(daily_budget : String | Nil)
- #daily_imps : Int64 | Nil
- #daily_imps=(daily_imps : Int64 | Nil)
- #daily_min_spend_target : String | Nil
- #daily_min_spend_target=(daily_min_spend_target : String | Nil)
- #daily_spend_cap : String | Nil
- #daily_spend_cap=(daily_spend_cap : String | Nil)
- #date_format : String | Nil
- #date_format=(date_format : String | Nil)
- #destination_type : String | Nil
- #destination_type=(destination_type : String | Nil)
- #effective_status : String | Nil
- #effective_status=(effective_status : String | Nil)
- #end_time : Datetime | Nil
- #end_time=(end_time : Datetime | Nil)
- #execution_options : Array(String) | Nil
- #execution_options=(execution_options : Array(String) | Nil)
- #execution_options=(execution_options : Array(String) | Nil)
- #full_funnel_exploration_mode : String | Nil
- #full_funnel_exploration_mode=(full_funnel_exploration_mode : String | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #instagram_actor_id : String | Nil
- #instagram_actor_id=(instagram_actor_id : String | Nil)
- #is_dynamic_creative : Bool | Nil
- #is_dynamic_creative=(is_dynamic_creative : Bool | Nil)
- #lifetime_budget : String | Nil
- #lifetime_budget=(lifetime_budget : String | Nil)
- #lifetime_imps : Int64 | Nil
- #lifetime_imps=(lifetime_imps : Int64 | Nil)
- #lifetime_min_spend_target : String | Nil
- #lifetime_min_spend_target=(lifetime_min_spend_target : String | Nil)
- #lifetime_spend_cap : String | Nil
- #lifetime_spend_cap=(lifetime_spend_cap : String | Nil)
- #line_number : Int64 | Nil
- #line_number=(line_number : Int64 | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #optimization_goal : String | Nil
- #optimization_goal=(optimization_goal : String | Nil)
- #optimization_sub_event : String | Nil
- #optimization_sub_event=(optimization_sub_event : String | Nil)
- #pacing_type : Array(String) | Nil
- #pacing_type=(pacing_type : Array(String) | Nil)
- #pacing_type=(pacing_type : Array(String) | Nil)
- #rb_prediction_id : String | Nil
- #rb_prediction_id=(rb_prediction_id : String | Nil)
- #recurring_budget_semantics : Bool | Nil
- #recurring_budget_semantics=(recurring_budget_semantics : Bool | Nil)
- #review_feedback : String | Nil
- #review_feedback=(review_feedback : String | Nil)
- #rf_prediction_id : String | Nil
- #rf_prediction_id=(rf_prediction_id : String | Nil)
- #source_adset_id : String | Nil
- #source_adset_id=(source_adset_id : String | Nil)
- #start_time : Datetime | Nil
- #start_time=(start_time : Datetime | Nil)
- #status : String | Nil
- #status=(status : String | Nil)
- #targeting : Targeting | Nil
- #targeting=(targeting : Targeting | Nil)
- #time_based_ad_rotation_id_blocks : Array(Int64Array) | Nil
- #time_based_ad_rotation_id_blocks=(time_based_ad_rotation_id_blocks : Array(Int64Array) | Nil)
- #time_based_ad_rotation_id_blocks=(time_based_ad_rotation_id_blocks : Array(Int64Array) | Nil)
- #time_based_ad_rotation_intervals : Array(Int64) | Nil
- #time_based_ad_rotation_intervals=(time_based_ad_rotation_intervals : Array(Int64) | Nil)
- #time_based_ad_rotation_intervals=(time_based_ad_rotation_intervals : Array(Int64) | Nil)
- #time_start : Datetime | Nil
- #time_start=(time_start : Datetime | Nil)
- #time_stop : Datetime | Nil
- #time_stop=(time_stop : Datetime | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #topline_id : String | Nil
- #topline_id=(topline_id : String | Nil)
- #updated_time : Datetime | Nil
- #updated_time=(updated_time : Datetime | Nil)
- #use_new_app_click : Bool | Nil
- #use_new_app_click=(use_new_app_click : Bool | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, account_id : String | Nil = nil, asset_feed_id : String | Nil = nil, bid_amount : Int64 | Nil = nil, bid_strategy : String | Nil = nil, billing_event : String | Nil = nil, budget_remaining : String | Nil = nil, campaign_id : String | Nil = nil, configured_status : String | Nil = nil, created_time : Datetime | Nil = nil, creative_sequence : Array(String) | Nil = nil, daily_budget : String | Nil = nil, daily_min_spend_target : String | Nil = nil, daily_spend_cap : String | Nil = nil, destination_type : String | Nil = nil, effective_status : String | Nil = nil, end_time : Datetime | Nil = nil, full_funnel_exploration_mode : String | Nil = nil, instagram_actor_id : String | Nil = nil, is_dynamic_creative : Bool | Nil = nil, lifetime_budget : String | Nil = nil, lifetime_imps : Int64 | Nil = nil, lifetime_min_spend_target : String | Nil = nil, lifetime_spend_cap : String | Nil = nil, name : String | Nil = nil, optimization_goal : String | Nil = nil, optimization_sub_event : String | Nil = nil, pacing_type : Array(String) | Nil = nil, recurring_budget_semantics : Bool | Nil = nil, review_feedback : String | Nil = nil, rf_prediction_id : String | Nil = nil, source_adset_id : String | Nil = nil, start_time : Datetime | Nil = nil, status : String | Nil = nil, targeting : Targeting | Nil = nil, time_based_ad_rotation_id_blocks : Array(Int64Array) | Nil = nil, time_based_ad_rotation_intervals : Array(Int64) | Nil = nil, updated_time : Datetime | Nil = nil, use_new_app_click : Bool | Nil = nil, daily_imps : Int64 | Nil = nil, date_format : String | Nil = nil, execution_options : Array(String) | Nil = nil, line_number : Int64 | Nil = nil, rb_prediction_id : String | Nil = nil, time_start : Datetime | Nil = nil, time_stop : Datetime | Nil = nil, topline_id : String | Nil = nil)
#