Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions impression.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ type Impression struct {
ContentType string `json:"-"` // Used to attribute bid to a content - not sent in request
MediaType string `json:"-"` // media of the impression e.g. video/display
Ext Extension `json:"ext,omitempty"`
Rewarded bool `json:"rwdd,omitempty"` //Indicates whether the user receives a reward for viewing the ad
}

func (imp *Impression) assetCount() int {
Expand Down
1 change: 1 addition & 0 deletions impression_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ var _ = Describe("Impression", func() {
},
},
},
Rewarded: false,
}))
})

Expand Down