Skip to content

Commit

Permalink
TID changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bretg authored Nov 7, 2023
1 parent 0f8add7 commit b06e471
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions prebid-server/endpoints/openrtb2/pbs-endpoint-auction.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ if $.id contains "{{UUID}}", replace that macro with a random value

##### request.source.tid

PBS-Go - this will change once [issue 2727](https:/prebid/prebid-server/issues/2727) is implemented to link the transmitTid activity.
```text

Check failure on line 172 in prebid-server/endpoints/openrtb2/pbs-endpoint-auction.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Fenced code blocks should be surrounded by blank lines

prebid-server/endpoints/openrtb2/pbs-endpoint-auction.md:172 MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines [Context: "```text"] https:/DavidAnson/markdownlint/blob/v0.31.1/doc/md031.md
if source.tid is not set:
set source.tid to a random UUID
Expand All @@ -176,6 +177,15 @@ if host config auto_gen_source_tid (Go) / generate-storedrequest-bidrequest-id (
if $.source.tid contains "{{UUID}}", replace that macro with a random value
```

PBS-Java
```text

Check failure on line 181 in prebid-server/endpoints/openrtb2/pbs-endpoint-auction.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Fenced code blocks should be surrounded by blank lines

prebid-server/endpoints/openrtb2/pbs-endpoint-auction.md:181 MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines [Context: "```text"] https:/DavidAnson/markdownlint/blob/v0.31.1/doc/md031.md
if source.tid is not set and the transmitTid activity is allowed:
set source.tid to a random UUID
if host config generate-storedrequest-bidrequest-id config is true and the transmitTid activity is allowed
if the storedrequest is from AMP or from a top-level stored request (ext.prebid.storedrequest), then replace any existing $.source.tid with a random value
if $.source.tid contains "{{UUID}}", replace that macro with a random value
```

##### request.imp[].id

```text
Expand All @@ -186,6 +196,7 @@ if host config generate-storedrequest-bidrequest-id config is true

##### request.imp[].ext.tid

PBS-Go - this will change once [issue 2727](https:/prebid/prebid-server/issues/2727) is implemented to link the transmitTid activity.
```text

Check failure on line 200 in prebid-server/endpoints/openrtb2/pbs-endpoint-auction.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Fenced code blocks should be surrounded by blank lines

prebid-server/endpoints/openrtb2/pbs-endpoint-auction.md:200 MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines [Context: "```text"] https:/DavidAnson/markdownlint/blob/v0.31.1/doc/md031.md
if imp[n].ext.tid is not set:
set imp[n].ext.tid to a randomly generated UUID
Expand All @@ -194,6 +205,16 @@ if imp[n].ext.tid is not set:
if $.imp[n].ext.tid contains "{{UUID}}", replace that macro with a random value
```

PBS-Java
```text

Check failure on line 209 in prebid-server/endpoints/openrtb2/pbs-endpoint-auction.md

View workflow job for this annotation

GitHub Actions / run markdownlint

Fenced code blocks should be surrounded by blank lines

prebid-server/endpoints/openrtb2/pbs-endpoint-auction.md:209 MD031/blanks-around-fences Fenced code blocks should be surrounded by blank lines [Context: "```text"] https:/DavidAnson/markdownlint/blob/v0.31.1/doc/md031.md
for each imp:
if imp[n].ext.tid is not set and the transmitTid activity is allowed:
set imp[n].ext.tid to a randomly generated UUID
if host config generate-storedrequest-bidrequest-id config is true and the transmitTid activity is allowed
if the storedrequest is from AMP or from a top-level stored request (ext.prebid.storedrequest), then replace any existing $.imp[n].ext.tid with a random value
if $.imp[n].ext.tid contains "{{UUID}}", replace that macro with a random value
```

#### Expiration

The `imp[].exp` field is an "Advisory as to the number of seconds that may elapse
Expand Down

0 comments on commit b06e471

Please sign in to comment.