Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ORTB 2.6: Remove new fields from request for bidders that support ORTB 2.5 #1963

2 changes: 1 addition & 1 deletion src/main/java/com/iab/openrtb/request/Audio.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* those types. However, any given bid for the impression must conform to one of
* the offered types.
*/
@Builder
@Builder(toBuilder = true)
@Value
public class Audio {

Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/iab/openrtb/request/Channel.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.iab.openrtb.request;

import com.fasterxml.jackson.databind.node.ObjectNode;
import lombok.Builder;
import lombok.Value;

/**
Expand All @@ -13,6 +14,7 @@
* field while domain and id can be used for reporting and targeting
* purposes. See 7.6 for further examples.
*/
@Builder
@Value
public class Channel {

Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/iab/openrtb/request/Network.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.iab.openrtb.request;

import com.fasterxml.jackson.databind.node.ObjectNode;
import lombok.Builder;
import lombok.Value;

/**
Expand All @@ -13,6 +14,7 @@
* human-readable field while domain and id can be used for reporting
* and targeting purposes. See 7.6 for further examples.
*/
@Builder
@Value
public class Network {

Expand Down
14 changes: 11 additions & 3 deletions src/main/java/com/iab/openrtb/request/Producer.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.iab.openrtb.request;

import com.fasterxml.jackson.databind.node.ObjectNode;
import lombok.Builder;
import lombok.Value;

import java.util.List;
Expand All @@ -11,6 +12,7 @@
* distributed through different publishers and thus when the producer and
* publisher are not necessarily the same entity.
*/
@Builder(toBuilder = true)
@Value
public class Producer {

Expand All @@ -20,7 +22,9 @@ public class Producer {
*/
String id;

/** Content producer or originator name (e.g., “Warner Bros”). */
/**
* Content producer or originator name (e.g., “Warner Bros”).
*/
String name;

/**
Expand All @@ -36,9 +40,13 @@ public class Producer {
*/
List<String> cat;

/** Highest level domain of the content producer (e.g., “producer.com”). */
/**
* Highest level domain of the content producer (e.g., “producer.com”).
*/
String domain;

/** Placeholder for exchange-specific extensions to OpenRTB. */
/**
* Placeholder for exchange-specific extensions to OpenRTB.
*/
ObjectNode ext;
}
2 changes: 2 additions & 0 deletions src/main/java/com/iab/openrtb/request/UserAgent.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.iab.openrtb.request;

import com.fasterxml.jackson.databind.node.ObjectNode;
import lombok.Builder;
import lombok.Value;

import java.util.List;
Expand All @@ -13,6 +14,7 @@
* This is because the device.ua may contain a frozen or reduced user agent string
* due to deprecation of user agent strings by browsers.
*/
@Builder
@Value
public class UserAgent {

Expand Down
Loading