-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from taboola/closing-api-gaps-2023
Closing api gaps 2023
- Loading branch information
Showing
44 changed files
with
1,701 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/main/java/com/taboola/backstage/model/media/campaigns/AggregationType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.taboola.backstage.model.media.campaigns; | ||
|
||
import com.fasterxml.jackson.annotation.JsonEnumDefaultValue; | ||
|
||
/** | ||
* Created by vladi.m | ||
* Date 13/11/2023 | ||
* Time 9:46 | ||
* Copyright Taboola | ||
*/ | ||
public enum AggregationType { | ||
AGGREGATED, | ||
LAST_VALUE, | ||
@JsonEnumDefaultValue UNSUPPORTED_BY_SDK_VALUE | ||
} |
48 changes: 48 additions & 0 deletions
48
src/main/java/com/taboola/backstage/model/media/campaigns/AttributionConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
package com.taboola.backstage.model.media.campaigns; | ||
|
||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
|
||
/** | ||
* Created by vladi.m | ||
* Date 13/11/2023 | ||
* Time 9:38 | ||
* Copyright Taboola | ||
*/ | ||
public class AttributionConfig { | ||
private Integer lookBackWindowInMinutes; | ||
private Integer vtaLookBackWindowInMinutes; | ||
private AggregationType aggregationType; | ||
|
||
public Integer getLookBackWindowInMinutes() { | ||
return lookBackWindowInMinutes; | ||
} | ||
|
||
public void setLookBackWindowInMinutes(Integer lookBackWindowInMinutes) { | ||
this.lookBackWindowInMinutes = lookBackWindowInMinutes; | ||
} | ||
|
||
public Integer getVtaLookBackWindowInMinutes() { | ||
return vtaLookBackWindowInMinutes; | ||
} | ||
|
||
public void setVtaLookBackWindowInMinutes(Integer vtaLookBackWindowInMinutes) { | ||
this.vtaLookBackWindowInMinutes = vtaLookBackWindowInMinutes; | ||
} | ||
|
||
public AggregationType getAggregationType() { | ||
return aggregationType; | ||
} | ||
|
||
public void setAggregationType(AggregationType aggregationType) { | ||
this.aggregationType = aggregationType; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "AttributionConfig{" + | ||
"lookBackWindowInMinutes=" + lookBackWindowInMinutes + | ||
", vtaLookBackWindowInMinutes=" + vtaLookBackWindowInMinutes + | ||
", aggregationType=" + aggregationType + | ||
'}'; | ||
} | ||
} |
Oops, something went wrong.