struct Facebook::Proto::AdKeywordStats
- Facebook::Proto::AdKeywordStats
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdKeywordStats.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: :clicks, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :cost_per_total_action, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :cost_per_unique_click, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :cpc, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :cpm, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :cpp, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :ctr, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :frequency, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :impressions, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :reach, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :spend, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :total_actions, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :total_unique_actions, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :unique_clicks, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :unique_ctr, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :unique_impressions, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, 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, clicks : Int64 | Nil = nil, cost_per_total_action : Float64 | Nil = nil, cost_per_unique_click : Float64 | Nil = nil, cpc : Float64 | Nil = nil, cpm : Float64 | Nil = nil, cpp : Float64 | Nil = nil, ctr : Float64 | Nil = nil, frequency : Float64 | Nil = nil, impressions : Int64 | Nil = nil, name : String | Nil = nil, reach : Int64 | Nil = nil, spend : Float64 | Nil = nil, total_actions : Int64 | Nil = nil, total_unique_actions : Int64 | Nil = nil, unique_clicks : Int64 | Nil = nil, unique_ctr : Float64 | Nil = nil, unique_impressions : Int64 | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #clicks : Int64 | Nil
- #clicks=(clicks : Int64 | Nil)
- #cost_per_total_action : Float64 | Nil
- #cost_per_total_action=(cost_per_total_action : Float64 | Nil)
- #cost_per_unique_click : Float64 | Nil
- #cost_per_unique_click=(cost_per_unique_click : Float64 | Nil)
- #cpc : Float64 | Nil
- #cpc=(cpc : Float64 | Nil)
- #cpm : Float64 | Nil
- #cpm=(cpm : Float64 | Nil)
- #cpp : Float64 | Nil
- #cpp=(cpp : Float64 | Nil)
- #ctr : Float64 | Nil
- #ctr=(ctr : Float64 | Nil)
- #frequency : Float64 | Nil
- #frequency=(frequency : Float64 | Nil)
- #id : String | Nil
- #id=(id : String | Nil)
- #impressions : Int64 | Nil
- #impressions=(impressions : Int64 | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #reach : Int64 | Nil
- #reach=(reach : Int64 | Nil)
- #spend : Float64 | Nil
- #spend=(spend : Float64 | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #total_actions : Int64 | Nil
- #total_actions=(total_actions : Int64 | Nil)
- #total_unique_actions : Int64 | Nil
- #total_unique_actions=(total_unique_actions : Int64 | Nil)
- #unique_clicks : Int64 | Nil
- #unique_clicks=(unique_clicks : Int64 | Nil)
- #unique_ctr : Float64 | Nil
- #unique_ctr=(unique_ctr : Float64 | Nil)
- #unique_impressions : Int64 | Nil
- #unique_impressions=(unique_impressions : Int64 | Nil)
Constructor Detail
def self.new(id : String | Nil = nil, clicks : Int64 | Nil = nil, cost_per_total_action : Float64 | Nil = nil, cost_per_unique_click : Float64 | Nil = nil, cpc : Float64 | Nil = nil, cpm : Float64 | Nil = nil, cpp : Float64 | Nil = nil, ctr : Float64 | Nil = nil, frequency : Float64 | Nil = nil, impressions : Int64 | Nil = nil, name : String | Nil = nil, reach : Int64 | Nil = nil, spend : Float64 | Nil = nil, total_actions : Int64 | Nil = nil, total_unique_actions : Int64 | Nil = nil, unique_clicks : Int64 | Nil = nil, unique_ctr : Float64 | Nil = nil, unique_impressions : Int64 | Nil = nil)
#