class Google::Apis::DisplayvideoV1::CounterEvent

Counter event of the creative.

Attributes

name[RW]

Required. The name of the counter event. Corresponds to the JSON property `name` @return [String]

reporting_name[RW]

Required. The name used to identify this counter event in reports. Corresponds to the JSON property `reportingName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 2835
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 2840
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @reporting_name = args[:reporting_name] if args.key?(:reporting_name)
end