Information for tracking the display of a particular ad by a client.
<dl>
<dt>adId</dt>
<dd>
The identifier for this ad, from a previous Ad.id given to the client
</dd>
<dt>impressionCount</dt>
<dd>
The number of times this ad was displayed since the last successful
ad retrieval. The client should only report times the ad was selected
when the client was visible.
</dd>
<dt>impressionTime</dt>
<dd>
The number of seconds that the client displayed the advertisement since
the last successful ad retrieval. This corresponds to the seconds that
the client application was visible.
</dd>
</dl>
# File usr/lib/ruby/vendor_ruby/Evernote/EDAM/note_store_types.rb, line 432 def struct_fields; FIELDS; end
# File usr/lib/ruby/vendor_ruby/Evernote/EDAM/note_store_types.rb, line 434 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field adId is unset!') unless @adId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field impressionCount is unset!') unless @impressionCount raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field impressionTime is unset!') unless @impressionTime end
Generated with the Darkfish Rdoc Generator 2.