|
|
@@ -71,7 +71,7 @@ public class HonorTrackingController {
|
|
|
String tagId = requireTagId(params);
|
|
|
String traceId = honorTraceId(params);
|
|
|
if (traceId == null || traceId.isBlank()) {
|
|
|
- throw new ResponseStatusException(HttpStatus.BAD_REQUEST, "missing honor trace id (trackId/requestId/oaid)");
|
|
|
+ throw new ResponseStatusException(HttpStatus.BAD_REQUEST, "missing honor trace id (trackId)");
|
|
|
}
|
|
|
|
|
|
NormalizedBidResponse response = adxClient.requestBid(buildBidRequest(request, traceId, params));
|
|
|
@@ -92,7 +92,7 @@ public class HonorTrackingController {
|
|
|
String tagId = requireTagId(params);
|
|
|
String traceId = honorTraceId(params);
|
|
|
if (traceId == null || traceId.isBlank()) {
|
|
|
- throw new ResponseStatusException(HttpStatus.BAD_REQUEST, "missing honor trace id (trackId/requestId/oaid)");
|
|
|
+ throw new ResponseStatusException(HttpStatus.BAD_REQUEST, "missing honor trace id (trackId)");
|
|
|
}
|
|
|
|
|
|
HonorBidRecord record = hotStore.findBidByMediaTrace(traceId);
|
|
|
@@ -246,7 +246,7 @@ public class HonorTrackingController {
|
|
|
}
|
|
|
|
|
|
private String honorTraceId(Map<String, String> params) {
|
|
|
- return firstParam(params, "trackId", "requestId", "oaid");
|
|
|
+ return firstParam(params, "trackId");
|
|
|
}
|
|
|
|
|
|
private static void copyAlias(Map<String, String> params, String target, String... aliases) {
|