Class | Evernote::EDAM::NoteStore::AdImpressions |
In: |
ruby/lib/Evernote/EDAM/note_store_types.rb
|
Parent: | Object |
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>
ADID | = | 1 |
IMPRESSIONCOUNT | = | 2 |
IMPRESSIONTIME | = | 3 |
FIELDS | = | { ADID => {:type => ::Thrift::Types::I32, :name => 'adId'}, IMPRESSIONCOUNT => {:type => ::Thrift::Types::I32, :name => 'impressionCount'}, IMPRESSIONTIME => {:type => ::Thrift::Types::I32, :name => 'impressionTime'} |
# File ruby/lib/Evernote/EDAM/note_store_types.rb, line 434 434: def validate 435: raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field adId is unset!') unless @adId 436: raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field impressionCount is unset!') unless @impressionCount 437: raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field impressionTime is unset!') unless @impressionTime 438: end