struct
TwitterAds::Proto::StatsMetrics
- TwitterAds::Proto::StatsMetrics
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
twitter-ads/proto/stats_metrics.pb.crConstant Summary
-
FIELDS =
{1 => {name: :engagements, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :impressions, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :retweets, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 4 => {name: :replies, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 5 => {name: :likes, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 6 => {name: :follows, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 7 => {name: :card_engagements, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 8 => {name: :clicks, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 9 => {name: :app_clicks, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 10 => {name: :url_clicks, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 11 => {name: :qualified_impressions, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 12 => {name: :billed_engagements, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 13 => {name: :billed_charge_local_micro, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 14 => {name: :video_total_views, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 15 => {name: :video_views_25, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 16 => {name: :video_views_50, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 17 => {name: :video_views_75, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 18 => {name: :video_views_100, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 19 => {name: :video_cta_clicks, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 20 => {name: :video_content_starts, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 21 => {name: :video_mrc_views, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 22 => {name: :video_3s100pct_views, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 23 => {name: :media_views, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 24 => {name: :media_engagements, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode) -
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(engagements : Array(Int64) | Nil = nil, impressions : Array(Int64) | Nil = nil, retweets : Array(Int64) | Nil = nil, replies : Array(Int64) | Nil = nil, likes : Array(Int64) | Nil = nil, follows : Array(Int64) | Nil = nil, card_engagements : Array(Int64) | Nil = nil, clicks : Array(Int64) | Nil = nil, app_clicks : Array(Int64) | Nil = nil, url_clicks : Array(Int64) | Nil = nil, qualified_impressions : Array(Int64) | Nil = nil, billed_engagements : Array(Int64) | Nil = nil, billed_charge_local_micro : Array(Int64) | Nil = nil, video_total_views : Array(Int64) | Nil = nil, video_views_25 : Array(Int64) | Nil = nil, video_views_50 : Array(Int64) | Nil = nil, video_views_75 : Array(Int64) | Nil = nil, video_views_100 : Array(Int64) | Nil = nil, video_cta_clicks : Array(Int64) | Nil = nil, video_content_starts : Array(Int64) | Nil = nil, video_mrc_views : Array(Int64) | Nil = nil, video_3s100pct_views : Array(Int64) | Nil = nil, media_views : Array(Int64) | Nil = nil, media_engagements : Array(Int64) | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #app_clicks : Array(Int64) | Nil
- #app_clicks=(app_clicks : Array(Int64) | Nil)
- #app_clicks=(app_clicks : Array(Int64) | Nil)
- #billed_charge_local_micro : Array(Int64) | Nil
- #billed_charge_local_micro=(billed_charge_local_micro : Array(Int64) | Nil)
- #billed_charge_local_micro=(billed_charge_local_micro : Array(Int64) | Nil)
- #billed_engagements : Array(Int64) | Nil
- #billed_engagements=(billed_engagements : Array(Int64) | Nil)
- #billed_engagements=(billed_engagements : Array(Int64) | Nil)
- #card_engagements : Array(Int64) | Nil
- #card_engagements=(card_engagements : Array(Int64) | Nil)
- #card_engagements=(card_engagements : Array(Int64) | Nil)
- #clicks : Array(Int64) | Nil
- #clicks=(clicks : Array(Int64) | Nil)
- #clicks=(clicks : Array(Int64) | Nil)
- #engagements : Array(Int64) | Nil
- #engagements=(engagements : Array(Int64) | Nil)
- #engagements=(engagements : Array(Int64) | Nil)
- #follows : Array(Int64) | Nil
- #follows=(follows : Array(Int64) | Nil)
- #follows=(follows : Array(Int64) | Nil)
- #impressions : Array(Int64) | Nil
- #impressions=(impressions : Array(Int64) | Nil)
- #impressions=(impressions : Array(Int64) | Nil)
- #likes : Array(Int64) | Nil
- #likes=(likes : Array(Int64) | Nil)
- #likes=(likes : Array(Int64) | Nil)
- #media_engagements : Array(Int64) | Nil
- #media_engagements=(media_engagements : Array(Int64) | Nil)
- #media_engagements=(media_engagements : Array(Int64) | Nil)
- #media_views : Array(Int64) | Nil
- #media_views=(media_views : Array(Int64) | Nil)
- #media_views=(media_views : Array(Int64) | Nil)
- #qualified_impressions : Array(Int64) | Nil
- #qualified_impressions=(qualified_impressions : Array(Int64) | Nil)
- #qualified_impressions=(qualified_impressions : Array(Int64) | Nil)
- #replies : Array(Int64) | Nil
- #replies=(replies : Array(Int64) | Nil)
- #replies=(replies : Array(Int64) | Nil)
- #retweets : Array(Int64) | Nil
- #retweets=(retweets : Array(Int64) | Nil)
- #retweets=(retweets : Array(Int64) | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #url_clicks : Array(Int64) | Nil
- #url_clicks=(url_clicks : Array(Int64) | Nil)
- #url_clicks=(url_clicks : Array(Int64) | Nil)
- #video_3s100pct_views : Array(Int64) | Nil
- #video_3s100pct_views=(video_3s100pct_views : Array(Int64) | Nil)
- #video_3s100pct_views=(video_3s100pct_views : Array(Int64) | Nil)
- #video_content_starts : Array(Int64) | Nil
- #video_content_starts=(video_content_starts : Array(Int64) | Nil)
- #video_content_starts=(video_content_starts : Array(Int64) | Nil)
- #video_cta_clicks : Array(Int64) | Nil
- #video_cta_clicks=(video_cta_clicks : Array(Int64) | Nil)
- #video_cta_clicks=(video_cta_clicks : Array(Int64) | Nil)
- #video_mrc_views : Array(Int64) | Nil
- #video_mrc_views=(video_mrc_views : Array(Int64) | Nil)
- #video_mrc_views=(video_mrc_views : Array(Int64) | Nil)
- #video_total_views : Array(Int64) | Nil
- #video_total_views=(video_total_views : Array(Int64) | Nil)
- #video_total_views=(video_total_views : Array(Int64) | Nil)
- #video_views_100 : Array(Int64) | Nil
- #video_views_100=(video_views_100 : Array(Int64) | Nil)
- #video_views_100=(video_views_100 : Array(Int64) | Nil)
- #video_views_25 : Array(Int64) | Nil
- #video_views_25=(video_views_25 : Array(Int64) | Nil)
- #video_views_25=(video_views_25 : Array(Int64) | Nil)
- #video_views_50 : Array(Int64) | Nil
- #video_views_50=(video_views_50 : Array(Int64) | Nil)
- #video_views_50=(video_views_50 : Array(Int64) | Nil)
- #video_views_75 : Array(Int64) | Nil
- #video_views_75=(video_views_75 : Array(Int64) | Nil)
- #video_views_75=(video_views_75 : Array(Int64) | Nil)
Constructor Detail
def self.new(engagements : Array(Int64) | Nil = nil, impressions : Array(Int64) | Nil = nil, retweets : Array(Int64) | Nil = nil, replies : Array(Int64) | Nil = nil, likes : Array(Int64) | Nil = nil, follows : Array(Int64) | Nil = nil, card_engagements : Array(Int64) | Nil = nil, clicks : Array(Int64) | Nil = nil, app_clicks : Array(Int64) | Nil = nil, url_clicks : Array(Int64) | Nil = nil, qualified_impressions : Array(Int64) | Nil = nil, billed_engagements : Array(Int64) | Nil = nil, billed_charge_local_micro : Array(Int64) | Nil = nil, video_total_views : Array(Int64) | Nil = nil, video_views_25 : Array(Int64) | Nil = nil, video_views_50 : Array(Int64) | Nil = nil, video_views_75 : Array(Int64) | Nil = nil, video_views_100 : Array(Int64) | Nil = nil, video_cta_clicks : Array(Int64) | Nil = nil, video_content_starts : Array(Int64) | Nil = nil, video_mrc_views : Array(Int64) | Nil = nil, video_3s100pct_views : Array(Int64) | Nil = nil, media_views : Array(Int64) | Nil = nil, media_engagements : Array(Int64) | Nil = nil)
#