File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -141,14 +141,10 @@ pub struct ChannelSpec {
141
141
#[ serde( default , skip_serializing_if = "Option::is_none" ) ]
142
142
pub event_submission : Option < EventSubmission > ,
143
143
/// A millisecond timestamp of when the campaign was created
144
- #[ serde(
145
- default ,
146
- skip_serializing_if = "Option::is_none" ,
147
- with = "ts_milliseconds_option"
148
- ) ]
149
- pub created : Option < DateTime < Utc > > ,
144
+ #[ serde( with = "ts_milliseconds" ) ]
145
+ pub created : DateTime < Utc > ,
150
146
/// A millisecond timestamp representing the time you want this campaign to become active (optional)
151
- /// Used by the AdViewManager
147
+ /// Used by the AdViewManager & Targeting AIP#31
152
148
#[ serde(
153
149
default ,
154
150
skip_serializing_if = "Option::is_none" ,
You can’t perform that action at this time.
0 commit comments