Class: Google::Apis::DisplayvideoV1::TrackingFloodlightActivityConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/representations.rb

Overview

Settings that control the behavior of a single Floodlight activity config.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TrackingFloodlightActivityConfig

Returns a new instance of TrackingFloodlightActivityConfig.



8133
8134
8135
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8133

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#floodlight_activity_idFixnum

Required. The ID of the Floodlight activity. Corresponds to the JSON property floodlightActivityId

Returns:

  • (Fixnum)


8119
8120
8121
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8119

def floodlight_activity_id
  @floodlight_activity_id
end

#post_click_lookback_window_daysFixnum

Required. The number of days after an ad has been clicked in which a conversion may be counted. Must be between 0 and 90 inclusive. Corresponds to the JSON property postClickLookbackWindowDays

Returns:

  • (Fixnum)


8125
8126
8127
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8125

def post_click_lookback_window_days
  @post_click_lookback_window_days
end

#post_view_lookback_window_daysFixnum

Required. The number of days after an ad has been viewed in which a conversion may be counted. Must be between 0 and 90 inclusive. Corresponds to the JSON property postViewLookbackWindowDays

Returns:

  • (Fixnum)


8131
8132
8133
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8131

def post_view_lookback_window_days
  @post_view_lookback_window_days
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8138
8139
8140
8141
8142
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8138

def update!(**args)
  @floodlight_activity_id = args[:floodlight_activity_id] if args.key?(:floodlight_activity_id)
  @post_click_lookback_window_days = args[:post_click_lookback_window_days] if args.key?(:post_click_lookback_window_days)
  @post_view_lookback_window_days = args[:post_view_lookback_window_days] if args.key?(:post_view_lookback_window_days)
end