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
19 changes: 19 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
.gitignore
.openapi-generator-ignore
.travis.yml
README.md
api/openapi.yaml
build.gradle
build.sbt
docs/ConsentRequest.md
docs/Content.md
Expand All @@ -11,6 +15,7 @@ docs/Event.md
docs/MatchedPoint.md
docs/Placement.md
docs/PricingData.md
docs/SkipFilters.md
docs/User.md
docs/UserdbApi.md
git_push.sh
Expand Down Expand Up @@ -50,4 +55,18 @@ src/main/java/com/adzerk/sdk/generated/model/Event.java
src/main/java/com/adzerk/sdk/generated/model/MatchedPoint.java
src/main/java/com/adzerk/sdk/generated/model/Placement.java
src/main/java/com/adzerk/sdk/generated/model/PricingData.java
src/main/java/com/adzerk/sdk/generated/model/SkipFilters.java
src/main/java/com/adzerk/sdk/generated/model/User.java
src/test/java/com/adzerk/sdk/generated/api/DecisionApiTest.java
src/test/java/com/adzerk/sdk/generated/api/UserdbApiTest.java
src/test/java/com/adzerk/sdk/generated/model/ConsentRequestTest.java
src/test/java/com/adzerk/sdk/generated/model/ContentTest.java
src/test/java/com/adzerk/sdk/generated/model/DecisionRequestTest.java
src/test/java/com/adzerk/sdk/generated/model/DecisionResponseTest.java
src/test/java/com/adzerk/sdk/generated/model/DecisionTest.java
src/test/java/com/adzerk/sdk/generated/model/EventTest.java
src/test/java/com/adzerk/sdk/generated/model/MatchedPointTest.java
src/test/java/com/adzerk/sdk/generated/model/PlacementTest.java
src/test/java/com/adzerk/sdk/generated/model/PricingDataTest.java
src/test/java/com/adzerk/sdk/generated/model/SkipFiltersTest.java
src/test/java/com/adzerk/sdk/generated/model/UserTest.java
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.3.1
5.1.0
18 changes: 10 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,16 @@ artifacts {
dependencies {
implementation 'io.swagger:swagger-annotations:1.5.22'
implementation "com.google.code.findbugs:jsr305:3.0.2"
implementation 'com.squareup.okhttp3:okhttp:3.14.2'
implementation 'com.squareup.okhttp3:logging-interceptor:3.14.2'
implementation 'com.google.code.gson:gson:2.10'
implementation 'io.gsonfire:gson-fire:1.8.3'
implementation 'org.apache.commons:commons-lang3:3.9'
implementation 'org.threeten:threetenbp:1.4.0'
implementation 'org.slf4j:slf4j-api:1.7.29'
testImplementation 'junit:junit:4.12'
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'io.gsonfire:gson-fire:1.8.4'
implementation 'org.apache.commons:commons-lang3:3.10'
implementation 'org.threeten:threetenbp:1.4.3'
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation 'org.slf4j:slf4j-api:2.0.17'
implementation 'org.apache.logging.log4j:log4j-slf4j2-impl:2.20.0'
testImplementation 'junit:junit:4.13.1'
}

javadoc {
Expand Down
12 changes: 0 additions & 12 deletions docs/Consent.md

This file was deleted.

3 changes: 2 additions & 1 deletion docs/ConsentRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

# ConsentRequest


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**userKey** | **String** | | [optional]
**consent** | [**Object**](.md) | | [optional]
**consent** | **Object** | | [optional]


## Implemented Interfaces
Expand Down
3 changes: 2 additions & 1 deletion docs/Content.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

# Content


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **String** | | [optional]
**template** | **String** | | [optional]
**customTemplate** | **String** | | [optional]
**data** | [**Object**](.md) | | [optional]
**data** | **Object** | | [optional]
**body** | **String** | | [optional]


Expand Down
5 changes: 3 additions & 2 deletions docs/Decision.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# Decision


## Properties

Name | Type | Description | Notes
Expand All @@ -12,9 +13,9 @@ Name | Type | Description | Notes
**flightId** | **Integer** | | [optional]
**campaignId** | **Integer** | | [optional]
**priorityId** | **Integer** | | [optional]
**clickUrl** | [**URI**](URI.md) | | [optional]
**clickUrl** | **URI** | | [optional]
**contents** | [**List<Content>**](Content.md) | | [optional]
**impressionUrl** | [**URI**](URI.md) | | [optional]
**impressionUrl** | **URI** | | [optional]
**events** | [**List<Event>**](Event.md) | | [optional]
**matchedPoints** | [**List<MatchedPoint>**](MatchedPoint.md) | | [optional]
**pricing** | [**PricingData**](PricingData.md) | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/DecisionApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class Example {
defaultClient.setBasePath("https://e-23.adzerk.net");

DecisionApi apiInstance = new DecisionApi(defaultClient);
DecisionRequest decisionRequest = {"placements": [{ "divName": "header", "networkId": 23, "siteId": 667480, "adTypes": [5] }] }; // DecisionRequest |
DecisionRequest decisionRequest = new DecisionRequest(); // DecisionRequest |
try {
DecisionResponse result = apiInstance.getDecisions(decisionRequest);
System.out.println(result);
Expand Down
3 changes: 2 additions & 1 deletion docs/DecisionRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# DecisionRequest


## Properties

Name | Type | Description | Notes
Expand All @@ -18,7 +19,7 @@ Name | Type | Description | Notes
**notrack** | **Boolean** | If true, only return ads that are set to honor Do Not Track | [optional]
**enableBotFiltering** | **Boolean** | If making a client-side request, set to true. Defaults to false to ensure a server isn't seen as a bot. See [here](https://dev.adzerk.com/docs/tracking-overview#section-bot-filtering) for more info | [optional]
**enableUserDBIP** | **Boolean** | If true, override the IP address of the request with the IP address supplied on the UserKey. If no IP address is found on the UserKey, this will fall back to the IP address on the request. Requires UserDB | [optional]
**consent** | [**Object**](.md) | Object that sets the data consent preferences. Other consent settings are available in the GDPR settings documentation. | [optional]
**consent** | **Object** | Object that sets the data consent preferences. Other consent settings are available in the GDPR settings documentation. | [optional]
**deviceID** | **String** | RTB requests only - sets an Identifier for Advertisers (IFA or IDFA) | [optional]
**parallel** | **Boolean** | | [optional]
**intendedLatitude** | **Float** | | [optional]
Expand Down
5 changes: 3 additions & 2 deletions docs/DecisionResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

# DecisionResponse


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**user** | [**User**](User.md) | | [optional]
**decisions** | [**Object**](.md) | | [optional]
**explain** | [**Object**](.md) | | [optional]
**decisions** | [**Map<String, Decision>**](Decision.md) | | [optional]
**explain** | **Object** | | [optional]


## Implemented Interfaces
Expand Down
3 changes: 2 additions & 1 deletion docs/Event.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

# Event


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **Integer** | | [optional]
**url** | [**URI**](URI.md) | | [optional]
**url** | **URI** | | [optional]


## Implemented Interfaces
Expand Down
13 changes: 0 additions & 13 deletions docs/GdprConsent.md

This file was deleted.

1 change: 1 addition & 0 deletions docs/MatchedPoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# MatchedPoint


## Properties

Name | Type | Description | Notes
Expand Down
8 changes: 5 additions & 3 deletions docs/Placement.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# Placement


## Properties

Name | Type | Description | Notes
Expand All @@ -15,19 +16,20 @@ Name | Type | Description | Notes
**flightId** | **Integer** | A numeric ad (flight-creative map) id; if specified, only serve that ad if possible | [optional]
**adId** | **Integer** | A numeric ad (flight-creative map) id; if specified, only serve that ad if possible | [optional]
**clickUrl** | **String** | The ad's click-through URL | [optional]
**properties** | [**Object**](.md) | A map of key/value pairs used for [Custom Targeting](https://dev.adzerk.com/docs/custom-targeting) | [optional]
**properties** | **Object** | A map of key/value pairs used for [Custom Targeting](https://dev.adzerk.com/docs/custom-targeting) | [optional]
**eventIds** | **List<Integer>** | An array of numeric event types. Requests tracking URLs for custom events. See here for [Event Tracking IDs](https://dev.adzerk.com/v1.0/docs/custom-event-tracking) | [optional]
**overrides** | [**Object**](.md) | An object that overrides values for an advertiser, campaign, flight or ad. Used especially for header bidding | [optional]
**overrides** | **Object** | An object that overrides values for an advertiser, campaign, flight or ad. Used especially for header bidding | [optional]
**contentKeys** | **Map<String, String>** | A map of key/value pairs used with [ContentDB](https://dev.adzerk.com/docs/contentdb-1). The format is `\"contentKeys\": {\"schema\": \"contentKey\"}` | [optional]
**count** | **Integer** | (BETA) The number of ads to return per placement. Integer between 1 and 20 | [optional]
**proportionality** | **Boolean** | (BETA) If true, fills ads in a multi-winner placement in proportion to the flight's goals | [optional]
**ecpmPartition** | **String** | (BETA) The name of the eCPM Partition that should be used to source eCPM data for auctions | [optional]
**ecpmPartitions** | **List<String>** | (BETA) The names of the eCPM Partitions that should be used to source eCPM data for auctions | [optional]
**eventMultiplier** | **Integer** | | [optional]
**skipSelection** | **Boolean** | | [optional]
**adQuery** | [**Object**](.md) | | [optional]
**adQuery** | **Object** | | [optional]
**floorPrice** | **Float** | | [optional]
**floorCpc** | **Float** | | [optional]
**skipFilters** | [**SkipFilters**](SkipFilters.md) | | [optional]


## Implemented Interfaces
Expand Down
1 change: 1 addition & 0 deletions docs/PricingData.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# PricingData


## Properties

Name | Type | Description | Notes
Expand Down
25 changes: 0 additions & 25 deletions docs/Request.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/RequestConsent.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/RequestLocation.md

This file was deleted.

14 changes: 0 additions & 14 deletions docs/Response.md

This file was deleted.

24 changes: 24 additions & 0 deletions docs/SkipFilters.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@


# SkipFilters


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**distance** | **Boolean** | Geodistance filter, which skips geodistance targeting if true. | [optional]
**facet** | **Boolean** | Facet targeting filter, which skips facet targeting if true. | [optional]
**geodistance** | **Boolean** | Geodistance filter, which skips geodistance targeting if true. | [optional]
**geolocation** | **Boolean** | Geolocation filter, which skips location targeting if true. | [optional]
**keyword** | **Boolean** | Keyword limit filter, which skips all (ad and/or flight) keyword targeting if true. | [optional]
**location** | **Boolean** | Geolocation filter, which skips location targeting if true. | [optional]
**placementLimit** | **Boolean** | Placement limit filter, where no advertiser placement limit if true. | [optional]
**siteZone** | **Boolean** | Site/zone limit filter, which skips site/zone targeting if true. | [optional]


## Implemented Interfaces

* Serializable


1 change: 1 addition & 0 deletions docs/User.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# User

Object containing the UserKey used for [UserDB targeting](https://dev.adzerk.com/docs/userdb-1)

## Properties

Name | Type | Description | Notes
Expand Down
Loading
Loading