struct Facebook::Proto::AdSet

Included Modules

Defined in:

cli/proto/facebook/AdSet.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: :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

Class Method Summary

Instance Method Summary

Constructor Detail

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

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) #

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 account_id : String | Nil #

def account_id=(account_id : String | Nil) #

def asset_feed_id : String | Nil #

def asset_feed_id=(asset_feed_id : String | Nil) #

def bid_amount : Int64 | Nil #

def bid_amount=(bid_amount : Int64 | Nil) #

def bid_strategy : String | Nil #

def bid_strategy=(bid_strategy : String | Nil) #

def billing_event : String | Nil #

def billing_event=(billing_event : String | Nil) #

def budget_remaining : String | Nil #

def budget_remaining=(budget_remaining : String | Nil) #

def campaign_id : String | Nil #

def campaign_id=(campaign_id : String | Nil) #

def configured_status : String | Nil #

def configured_status=(configured_status : String | Nil) #

def created_time : Datetime | Nil #

def created_time=(created_time : Datetime | Nil) #

def creative_sequence : Array(String) | Nil #

def creative_sequence=(creative_sequence : Array(String) | Nil) #

def creative_sequence=(creative_sequence : Array(String) | Nil) #

def daily_budget : String | Nil #

def daily_budget=(daily_budget : String | Nil) #

def daily_imps : Int64 | Nil #

def daily_imps=(daily_imps : Int64 | Nil) #

def daily_min_spend_target : String | Nil #

def daily_min_spend_target=(daily_min_spend_target : String | Nil) #

def daily_spend_cap : String | Nil #

def daily_spend_cap=(daily_spend_cap : String | Nil) #

def date_format : String | Nil #

def date_format=(date_format : String | Nil) #

def destination_type : String | Nil #

def destination_type=(destination_type : String | Nil) #

def effective_status : String | Nil #

def effective_status=(effective_status : String | Nil) #

def end_time : Datetime | Nil #

def end_time=(end_time : Datetime | Nil) #

def execution_options : Array(String) | Nil #

def execution_options=(execution_options : Array(String) | Nil) #

def execution_options=(execution_options : Array(String) | Nil) #

def full_funnel_exploration_mode : String | Nil #

def full_funnel_exploration_mode=(full_funnel_exploration_mode : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def instagram_actor_id : String | Nil #

def instagram_actor_id=(instagram_actor_id : String | Nil) #

def is_dynamic_creative : Bool | Nil #

def is_dynamic_creative=(is_dynamic_creative : Bool | Nil) #

def lifetime_budget : String | Nil #

def lifetime_budget=(lifetime_budget : String | Nil) #

def lifetime_imps : Int64 | Nil #

def lifetime_imps=(lifetime_imps : Int64 | Nil) #

def lifetime_min_spend_target : String | Nil #

def lifetime_min_spend_target=(lifetime_min_spend_target : String | Nil) #

def lifetime_spend_cap : String | Nil #

def lifetime_spend_cap=(lifetime_spend_cap : String | Nil) #

def line_number : Int64 | Nil #

def line_number=(line_number : Int64 | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def optimization_goal : String | Nil #

def optimization_goal=(optimization_goal : String | Nil) #

def optimization_sub_event : String | Nil #

def optimization_sub_event=(optimization_sub_event : String | Nil) #

def pacing_type : Array(String) | Nil #

def pacing_type=(pacing_type : Array(String) | Nil) #

def pacing_type=(pacing_type : Array(String) | Nil) #

def rb_prediction_id : String | Nil #

def rb_prediction_id=(rb_prediction_id : String | Nil) #

def recurring_budget_semantics : Bool | Nil #

def recurring_budget_semantics=(recurring_budget_semantics : Bool | Nil) #

def review_feedback : String | Nil #

def review_feedback=(review_feedback : String | Nil) #

def rf_prediction_id : String | Nil #

def rf_prediction_id=(rf_prediction_id : String | Nil) #

def source_adset_id : String | Nil #

def source_adset_id=(source_adset_id : String | Nil) #

def start_time : Datetime | Nil #

def start_time=(start_time : Datetime | Nil) #

def status : String | Nil #

def status=(status : String | Nil) #

def targeting : Targeting | Nil #

def targeting=(targeting : Targeting | Nil) #

def time_based_ad_rotation_id_blocks : Array(Int64Array) | Nil #

def time_based_ad_rotation_id_blocks=(time_based_ad_rotation_id_blocks : Array(Int64Array) | Nil) #

def time_based_ad_rotation_id_blocks=(time_based_ad_rotation_id_blocks : Array(Int64Array) | Nil) #

def time_based_ad_rotation_intervals : Array(Int64) | Nil #

def time_based_ad_rotation_intervals=(time_based_ad_rotation_intervals : Array(Int64) | Nil) #

def time_based_ad_rotation_intervals=(time_based_ad_rotation_intervals : Array(Int64) | Nil) #

def time_start : Datetime | Nil #

def time_start=(time_start : Datetime | Nil) #

def time_stop : Datetime | Nil #

def time_stop=(time_stop : Datetime | Nil) #

def to_hash #

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

def to_protobuf #

def topline_id : String | Nil #

def topline_id=(topline_id : String | Nil) #

def updated_time : Datetime | Nil #

def updated_time=(updated_time : Datetime | Nil) #

def use_new_app_click : Bool | Nil #

def use_new_app_click=(use_new_app_click : Bool | Nil) #