Class: Google::Apis::DisplayvideoV2::ConversionCountingConfig
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::ConversionCountingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb
Overview
Settings that control how conversions are counted. All post-click conversions will be counted. A percentage value can be set for post-view conversions counting.
Instance Attribute Summary collapse
-
#floodlight_activity_configs ⇒ Array<Google::Apis::DisplayvideoV2::TrackingFloodlightActivityConfig>
The Floodlight activity configs used to track conversions.
-
#post_view_count_percentage_millis ⇒ Fixnum
The percentage of post-view conversions to count, in millis (1/1000 of a percent).
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConversionCountingConfig
constructor
A new instance of ConversionCountingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConversionCountingConfig
Returns a new instance of ConversionCountingConfig.
3201 3202 3203 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3201 def initialize(**args) update!(**args) end |
Instance Attribute Details
#floodlight_activity_configs ⇒ Array<Google::Apis::DisplayvideoV2::TrackingFloodlightActivityConfig>
The Floodlight activity configs used to track conversions. The number of
conversions counted is the sum of all of the conversions counted by all of the
Floodlight activity IDs specified in this field.
Corresponds to the JSON property floodlightActivityConfigs
3192 3193 3194 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3192 def floodlight_activity_configs @floodlight_activity_configs end |
#post_view_count_percentage_millis ⇒ Fixnum
The percentage of post-view conversions to count, in millis (1/1000 of a
percent). Must be between 0 and 100000 inclusive. For example, to track 50% of
the post-click conversions, set a value of 50000.
Corresponds to the JSON property postViewCountPercentageMillis
3199 3200 3201 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3199 def post_view_count_percentage_millis @post_view_count_percentage_millis end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3206 3207 3208 3209 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 3206 def update!(**args) @floodlight_activity_configs = args[:floodlight_activity_configs] if args.key?(:floodlight_activity_configs) @post_view_count_percentage_millis = args[:post_view_count_percentage_millis] if args.key?(:post_view_count_percentage_millis) end |