struct Facebook::Proto::AdAccount
- Facebook::Proto::AdAccount
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdAccount.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: :account_status, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :age, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :amount_spent, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :balance, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :business_city, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :business_country_code, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :business_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :business_state, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :business_street, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :business_street2, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :business_zip, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :can_create_brand_lift_study, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :capabilities, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, 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: :currency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :disable_reason, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :end_advertiser, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :end_advertiser_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :fb_entity, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :funding_source, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :has_migrated_permissions, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :has_page_authorized_adaccount, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :io_number, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :is_attribution_spec_system_default, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :is_direct_deals_enabled, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :is_in_3ds_authorization_enabled_market, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 29 => {name: :is_in_middle_of_local_entity_migration, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :is_notifications_enabled, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :is_personal, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 32 => {name: :is_prepay_account, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :is_tax_id_required, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 34 => {name: :line_numbers, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 35 => {name: :media_agency, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 36 => {name: :min_campaign_group_spend_cap, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 37 => {name: :min_daily_budget, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 38 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 39 => {name: :offsite_pixels_tos_accepted, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 40 => {name: :owner, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 41 => {name: :partner, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 42 => {name: :show_checkout_experience, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 43 => {name: :spend_cap, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 44 => {name: :tax_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 45 => {name: :tax_id_status, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 46 => {name: :tax_id_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 47 => {name: :timezone_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 48 => {name: :timezone_name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 49 => {name: :timezone_offset_hours_utc, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 50 => {name: :user_role, 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, account_status : Int64 | Nil = nil, age : Float64 | Nil = nil, amount_spent : String | Nil = nil, balance : String | Nil = nil, business_city : String | Nil = nil, business_country_code : String | Nil = nil, business_name : String | Nil = nil, business_state : String | Nil = nil, business_street : String | Nil = nil, business_street2 : String | Nil = nil, business_zip : String | Nil = nil, can_create_brand_lift_study : Bool | Nil = nil, capabilities : Array(String) | Nil = nil, created_time : Datetime | Nil = nil, currency : String | Nil = nil, disable_reason : Int64 | Nil = nil, end_advertiser : String | Nil = nil, end_advertiser_name : String | Nil = nil, fb_entity : Int64 | Nil = nil, funding_source : String | Nil = nil, has_migrated_permissions : Bool | Nil = nil, has_page_authorized_adaccount : Bool | Nil = nil, io_number : String | Nil = nil, is_attribution_spec_system_default : Bool | Nil = nil, is_direct_deals_enabled : Bool | Nil = nil, is_in_3ds_authorization_enabled_market : Bool | Nil = nil, is_in_middle_of_local_entity_migration : Bool | Nil = nil, is_notifications_enabled : Bool | Nil = nil, is_personal : Int64 | Nil = nil, is_prepay_account : Bool | Nil = nil, is_tax_id_required : Bool | Nil = nil, line_numbers : Array(Int64) | Nil = nil, media_agency : String | Nil = nil, min_campaign_group_spend_cap : String | Nil = nil, min_daily_budget : Int64 | Nil = nil, name : String | Nil = nil, offsite_pixels_tos_accepted : Bool | Nil = nil, owner : String | Nil = nil, partner : String | Nil = nil, show_checkout_experience : Bool | Nil = nil, spend_cap : String | Nil = nil, tax_id : String | Nil = nil, tax_id_status : Int64 | Nil = nil, tax_id_type : String | Nil = nil, timezone_id : Int64 | Nil = nil, timezone_name : String | Nil = nil, timezone_offset_hours_utc : Float64 | Nil = nil, user_role : 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)
- #account_status : Int64 | Nil
- #account_status=(account_status : Int64 | Nil)
- #age : Float64 | Nil
- #age=(age : Float64 | Nil)
- #amount_spent : String | Nil
- #amount_spent=(amount_spent : String | Nil)
- #balance : String | Nil
- #balance=(balance : String | Nil)
- #business_city : String | Nil
- #business_city=(business_city : String | Nil)
- #business_country_code : String | Nil
- #business_country_code=(business_country_code : String | Nil)
- #business_name : String | Nil
- #business_name=(business_name : String | Nil)
- #business_state : String | Nil
- #business_state=(business_state : String | Nil)
- #business_street : String | Nil
- #business_street2 : String | Nil
- #business_street2=(business_street2 : String | Nil)
- #business_street=(business_street : String | Nil)
- #business_zip : String | Nil
- #business_zip=(business_zip : String | Nil)
- #can_create_brand_lift_study : Bool | Nil
- #can_create_brand_lift_study=(can_create_brand_lift_study : Bool | Nil)
- #capabilities : Array(String) | Nil
- #capabilities=(capabilities : Array(String) | Nil)
- #capabilities=(capabilities : Array(String) | Nil)
- #created_time : Datetime | Nil
- #created_time=(created_time : Datetime | Nil)
- #currency : String | Nil
- #currency=(currency : String | Nil)
- #disable_reason : Int64 | Nil
- #disable_reason=(disable_reason : Int64 | Nil)
- #end_advertiser : String | Nil
- #end_advertiser=(end_advertiser : String | Nil)
- #end_advertiser_name : String | Nil
- #end_advertiser_name=(end_advertiser_name : String | Nil)
- #fb_entity : Int64 | Nil
- #fb_entity=(fb_entity : Int64 | Nil)
- #funding_source : String | Nil
- #funding_source=(funding_source : String | Nil)
- #has_migrated_permissions : Bool | Nil
- #has_migrated_permissions=(has_migrated_permissions : Bool | Nil)
- #has_page_authorized_adaccount : Bool | Nil
- #has_page_authorized_adaccount=(has_page_authorized_adaccount : Bool | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #io_number : String | Nil
- #io_number=(io_number : String | Nil)
- #is_attribution_spec_system_default : Bool | Nil
- #is_attribution_spec_system_default=(is_attribution_spec_system_default : Bool | Nil)
- #is_direct_deals_enabled : Bool | Nil
- #is_direct_deals_enabled=(is_direct_deals_enabled : Bool | Nil)
- #is_in_3ds_authorization_enabled_market : Bool | Nil
- #is_in_3ds_authorization_enabled_market=(is_in_3ds_authorization_enabled_market : Bool | Nil)
- #is_in_middle_of_local_entity_migration : Bool | Nil
- #is_in_middle_of_local_entity_migration=(is_in_middle_of_local_entity_migration : Bool | Nil)
- #is_notifications_enabled : Bool | Nil
- #is_notifications_enabled=(is_notifications_enabled : Bool | Nil)
- #is_personal : Int64 | Nil
- #is_personal=(is_personal : Int64 | Nil)
- #is_prepay_account : Bool | Nil
- #is_prepay_account=(is_prepay_account : Bool | Nil)
- #is_tax_id_required : Bool | Nil
- #is_tax_id_required=(is_tax_id_required : Bool | Nil)
- #line_numbers : Array(Int64) | Nil
- #line_numbers=(line_numbers : Array(Int64) | Nil)
- #line_numbers=(line_numbers : Array(Int64) | Nil)
- #media_agency : String | Nil
- #media_agency=(media_agency : String | Nil)
- #min_campaign_group_spend_cap : String | Nil
- #min_campaign_group_spend_cap=(min_campaign_group_spend_cap : String | Nil)
- #min_daily_budget : Int64 | Nil
- #min_daily_budget=(min_daily_budget : Int64 | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #offsite_pixels_tos_accepted : Bool | Nil
- #offsite_pixels_tos_accepted=(offsite_pixels_tos_accepted : Bool | Nil)
- #owner : String | Nil
- #owner=(owner : String | Nil)
- #partner : String | Nil
- #partner=(partner : String | Nil)
- #show_checkout_experience : Bool | Nil
- #show_checkout_experience=(show_checkout_experience : Bool | Nil)
- #spend_cap : String | Nil
- #spend_cap=(spend_cap : String | Nil)
- #tax_id : String | Nil
- #tax_id=(tax_id : String | Nil)
- #tax_id_status : Int64 | Nil
- #tax_id_status=(tax_id_status : Int64 | Nil)
- #tax_id_type : String | Nil
- #tax_id_type=(tax_id_type : String | Nil)
- #timezone_id : Int64 | Nil
- #timezone_id=(timezone_id : Int64 | Nil)
- #timezone_name : String | Nil
- #timezone_name=(timezone_name : String | Nil)
- #timezone_offset_hours_utc : Float64 | Nil
- #timezone_offset_hours_utc=(timezone_offset_hours_utc : Float64 | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #user_role : String | Nil
- #user_role=(user_role : String | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, account_id : String | Nil = nil, account_status : Int64 | Nil = nil, age : Float64 | Nil = nil, amount_spent : String | Nil = nil, balance : String | Nil = nil, business_city : String | Nil = nil, business_country_code : String | Nil = nil, business_name : String | Nil = nil, business_state : String | Nil = nil, business_street : String | Nil = nil, business_street2 : String | Nil = nil, business_zip : String | Nil = nil, can_create_brand_lift_study : Bool | Nil = nil, capabilities : Array(String) | Nil = nil, created_time : Datetime | Nil = nil, currency : String | Nil = nil, disable_reason : Int64 | Nil = nil, end_advertiser : String | Nil = nil, end_advertiser_name : String | Nil = nil, fb_entity : Int64 | Nil = nil, funding_source : String | Nil = nil, has_migrated_permissions : Bool | Nil = nil, has_page_authorized_adaccount : Bool | Nil = nil, io_number : String | Nil = nil, is_attribution_spec_system_default : Bool | Nil = nil, is_direct_deals_enabled : Bool | Nil = nil, is_in_3ds_authorization_enabled_market : Bool | Nil = nil, is_in_middle_of_local_entity_migration : Bool | Nil = nil, is_notifications_enabled : Bool | Nil = nil, is_personal : Int64 | Nil = nil, is_prepay_account : Bool | Nil = nil, is_tax_id_required : Bool | Nil = nil, line_numbers : Array(Int64) | Nil = nil, media_agency : String | Nil = nil, min_campaign_group_spend_cap : String | Nil = nil, min_daily_budget : Int64 | Nil = nil, name : String | Nil = nil, offsite_pixels_tos_accepted : Bool | Nil = nil, owner : String | Nil = nil, partner : String | Nil = nil, show_checkout_experience : Bool | Nil = nil, spend_cap : String | Nil = nil, tax_id : String | Nil = nil, tax_id_status : Int64 | Nil = nil, tax_id_type : String | Nil = nil, timezone_id : Int64 | Nil = nil, timezone_name : String | Nil = nil, timezone_offset_hours_utc : Float64 | Nil = nil, user_role : String | Nil = nil)
#