> For the complete documentation index, see [llms.txt](https://adagio-io.gitbook.io/adagio-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://adagio-io.gitbook.io/adagio-documentation/openrtb-s2s-endpoint/in-app/bid-request-fields-for-app-inventory.md).

# Bid Request Fields for App Inventory

In OpenRTB, the `bidrequest` object acts as the central container for a request. It provides a complete description of the ad opportunity, user information, environment details, and any other context needed for effective bidding.

Below are the fields that Adagio considers **required** or **highly recommended** for OpenRTB S2S bid requests on App inventory. A sample bid request from a publisher appears after the table.

* **Required:** Necessary to receive a response from Adagio.
* **Highly Recommended:** Shown to improve yield and performance.

{% hint style="info" %}
Access the full list of supported parameters in [Bid Request objects and parameters](/adagio-documentation/openrtb-s2s-endpoint/all-supported-openrtb-parameters/bid-request-objects-and-parameters.md)
{% endhint %}

## Required parameters

{% hint style="danger" %}
AdRequests that do not include these parameters <mark style="color:red;">**won't be monetized**</mark>**,** we've **only listed the parameters that are specific to Adagio**
{% endhint %}

* `bidrequest.id`
* `bidrequest.app.bundle`
* `bidrequest.imp[].id`
* `bidrequest.imp[].tagid`
* depending on the media
  * `bidrequest.imp[].banner.*` , `bidrequest.imp[].video.*` or `bidrequest.imp[].native.*`
* if applicable:
  * `bidrequest.regs.*`
  * `bidrequest.user.consent` or `bidrequest.user.ext.consent`

## Recommended parameters

{% hint style="success" %}
Including the parameters below has been shown to <mark style="color:green;">**increase the monetization performance**</mark> of your inventory
{% endhint %}

<details>

<summary>⚡️ Highly Recommended</summary>

* `bidrequest.tmax`
* `bidrequest.source.*`: *all sub-fields are considered as bringing value to the demand*
* `bidrequest.imp[].gpid`
* `bidrquest.imp[].ext.skadn` for iOS 14+
* `bidrequest.app.storeurl`
* `bidrequest.app.content.url` : required by Amazon DSP (cf. [Amazon DSP: ContentURL & AmazonAdBot](/adagio-documentation/openrtb-s2s-endpoint/amazon-dsp-contenturl-and-amazonadbot.md))
* `bidrequest.device.ifa`
* `bidrequest.device.ext.ifa_type`
* if open measurement is present :
  * `bidrequest.imp[].api = 7`
  * `bidrequest.source.ext.omidpn` (string): OM SDK partner name.
  * `bidrequest.source.ext.omidpv` (string): OM SDK version

</details>

<details>

<summary>✅ Recommended</summary>

* `bidrequest.app.id`
* `bidrequest.app.domain`
* `bidrequest.app.cat`
* `bidrequest.app.ver`
* `bidrequest.app.privacypolicy`
* `bidrequest.app.paid`
* `bidrequest.app.ext.category`
* `bidrequest.app.ext.pagetype`
* `bidrequest.imp[].metric`
* `bidrequest.imp[].instl`
* `bidrequest.imp[].exp`
* `bidrequest.imp[].displaymanager`
* `bidrequest.imp[].displaymanagerver`
* `bidrequest.imp[].ext.skadn`: *for iOS App only*
* `bidrequest.device.*`: *all sub-fields are considered as bringing value to the demand*
* `bidrequest.geo.*`: *all sub-fields are considered as bringing value to the demand*

{% hint style="info" %}
In addition, see [Supported Extensions](/adagio-documentation/openrtb-s2s-endpoint/supported-extensions.md)to maximize even more your revenue.
{% endhint %}

</details>

### Bid Request Sample for App <a href="#bid-request-for-web-display-inventory-sample" id="bid-request-for-web-display-inventory-sample"></a>

{% hint style="info" %} <mark style="color:blue;">**Adagio supports both multi imps and multi mediatypes (Banner, Video and Native).**</mark>
{% endhint %}

{% tabs %}
{% tab title="Banner" %}
{% code fullWidth="true" %}

```json
{
    "id": "60681242-4b80-473c-a395-4743ec6f1696",
    "tmax": 1200,
    "imp": [
        {
            "id": "1",
            "tagid": "12303405",
            "secure": 1,
            "banner": {
                "api": [
                    3,
                    5,
                    6,
                    7
                ],
                "format": [
                    {
                        "w": 320,
                        "h": 50
                    }
                ]
            },
            "ext": {
                "gpid": "/4145/fnc/desk/art/sports/ban1"
            },
            "metric": [
                {
                    "type": "viewability",
                    "value": 0.85
                }
            ]
        }
    ],
    "app": {
        "name": "My App",
        "bundle": "org.mobile.myapp",
        "content": {
            "url": "https://publishersite.com/article/12345"
        }, 
        "cat": [
          "IAB9",
          "IAB9-30",
          "IAB1",
          "IAB19",
          "IAB3"
        ],
        "paid": 0,
        "privacypolicy": 1,
        "storeurl": "https://play.google.com/store/apps/details?id=org.mobile.myapp",
        "ver": "1.0.0",
        "publisher": {
            "id": "1000"
        },
        "ext": {
            "pagetype": "topic",
            "category": "home"
        }
    },
    "device": {
        "ifa": "469203a9-7bf5-4827-ad7b-29e00af35f32",
        "ext": {
            "ifa_type": "dpid"
        },
        "ua": "Mozilla\/5.0 (Linux; Android 15; sdk_gphone64_arm64 Build\/AE3A.240806.036; wv) AppleWebKit\/537.36 (KHTML, like Gecko) Version\/4.0 Chrome\/124.0.6367.219 Mobile Safari\/537.36",
        "lmt": 0,
        "dnt": 0,
        "geo": {
              "lat": 42.71,
              "lon": -78.83,
              "type": 1,
              "country": "USA",
              "region": "NY",
              "metro": "716",
              "city": "Hamburg",
              "zip": 14075
        },
        "devicetype": 4,
        "ip": "1.1.1.1",
        "make": "Google",
        "model": "sdk_gphone64_arm64",
        "os": "Android",
        "osv": "15",
        "hwv": "Google sdk_gphone64_arm64",
        "language": "en",
        "carrier": "T-Mobile",
        "mccmnc": "310-260",
        "h": 2400,
        "w": 1080,
        "connectiontype": 2,
        "pxratio": 2.625
    },
    "regs": {
        "gdpr": 1
    },
    "user": {
        "consent": "CO9boCtO9boCtAJAEBENBBCsAP_AAH_AACiQHGtd_X_fb39j-_59_9t0eY1f9_7_v20zjgeds-8Nyd_X_L8X42M7vB36pq4KuR4Eu3LBAQFlHOHcTUmw6IkVqTPsak2Mr7NKJ7PEinMbe2dYGHtfn9VTuZKYr97s___z__-__v__79f_r-3_3_vp9V---2BxIBJhqXwEWYljgSTRpVCiBCFcSHQAgAooRhaJrCAlcFOyuAj9BAwAQGoCMCIEGIKMWQQAAAABJREBIAeCARAEQCAAEAKkBCAAjQBBYASBgEAAoBoWAEUAQgSEGRwVHKYEBEi0UE8lYAlF3sYYQhlFADQIAAAA.f_gAD_gAAAAA"
    },
    "source": {
        "tid": "60681242-4b80-473c-a395-4743ec6f1696",
        "schain": {
            "ver": "1.0",
            "complete": 1,
            "nodes": [
                {
                    "asi": "advertising-sys.com",
                    "sid": "99999",
                    "hp": 1
                }
            ]
        }
    }
}
```

{% endcode %}
{% endtab %}

{% tab title="Video" %}

```json
{
    "id": "685e1fff-5d45-4d74-8e6e-9163dcca628a",
    "tmax": 1200,
    "imp": [
        {
            "id": "1",
            "tagid": "12309905",
            "video": {
                "mimes": [
                    "video\/mp4",
                    "video\/3gpp",
                    "video\/webm",
                    "video\/mkv"
                ],
                "playbackend": 2,
                "protocols": [
                    2,
                    5
                ],
                "w": 300,
                "h": 250,
                "linearity": 1,
                "placement": 2,
                "delivery": [
                    3
                ]
            },
            "metric": [
                {
                    "type": "viewability",
                    "value": 0.85
                }
            ],
            "ext": {
                "gpid": "/4145/fnc/desk/art/sports/vid1"
            }
        }
    ],
    "app": {
        "name": "My App",
        "bundle": "org.mobile.myapp",
        "content": {
            "url": "https://publishersite.com/article/12345"
        }, 
        "cat": [
          "IAB9",
          "IAB9-30",
          "IAB1",
          "IAB19",
          "IAB3"
        ],
        "paid": 0,
        "privacypolicy": 1,
        "storeurl": "https://play.google.com/store/apps/details?id=org.mobile.myapp",
        "ver": "1.0.0",
        "publisher": {
            "id": "1000"
        },
        "ext": {
          "pagetype": "topic",
          "category": "home"
        }
    },
    "device": {
        "ifa": "469203a9-7bf5-4827-ad7b-29e00af35f32",
        "ext": {
            "ifa_type": "dpid"
        },
        "ua": "Mozilla\/5.0 (Linux; Android 15; sdk_gphone64_arm64 Build\/AE3A.240806.036; wv) AppleWebKit\/537.36 (KHTML, like Gecko) Version\/4.0 Chrome\/124.0.6367.219 Mobile Safari\/537.36",
        "lmt": 0,
        "dnt": 0,
        "geo": {
              "lat": 42.71,
              "lon": -78.83,
              "type": 1,
              "country": "USA",
              "region": "NY",
              "metro": "716",
              "city": "Hamburg",
              "zip": 14075
        },
        "devicetype": 4,
        "ip": "1.1.1.1",
        "make": "Google",
        "model": "sdk_gphone64_arm64",
        "os": "Android",
        "osv": "15",
        "hwv": "Google sdk_gphone64_arm64",
        "language": "en",
        "carrier": "T-Mobile",
        "mccmnc": "310-260",
        "h": 2400,
        "w": 1080,
        "connectiontype": 2,
        "pxratio": 2.625
    },
    "regs": {
        "gdpr": 1
    },
    "user": {
        "consent": "CO9boCtO9boCtAJAEBENBBCsAP_AAH_AACiQHGtd_X_fb39j-_59_9t0eY1f9_7_v20zjgeds-8Nyd_X_L8X42M7vB36pq4KuR4Eu3LBAQFlHOHcTUmw6IkVqTPsak2Mr7NKJ7PEinMbe2dYGHtfn9VTuZKYr97s___z__-__v__79f_r-3_3_vp9V---2BxIBJhqXwEWYljgSTRpVCiBCFcSHQAgAooRhaJrCAlcFOyuAj9BAwAQGoCMCIEGIKMWQQAAAABJREBIAeCARAEQCAAEAKkBCAAjQBBYASBgEAAoBoWAEUAQgSEGRwVHKYEBEi0UE8lYAlF3sYYQhlFADQIAAAA.f_gAD_gAAAAA",
        "buyeruid": "va:GII73KIK-4IGG-8185-HJIH-59K1J01JGHK0:64497"
    },
    "source": {
        "tid": "685e1fff-5d45-4d74-8e6e-9163dcca628a",
        "schain": {
            "ver": "1.0",
            "complete": 1,
            "nodes": [
                {
                    "asi": "advertising-sys.com",
                    "sid": "99999",
                    "hp": 1
                }
            ]
        }
    },
    "ext": {}
}
```

{% endtab %}

{% tab title="Native" %}

```json
{
    "id": "f20ef65c-be19-4c3a-b44f-52ff22451b42",
    "tmax": 1200,
    "imp": [
        {
            "id": "1",
            "tagid": "12993405",
            "instl": 0,
            "clickbrowser": 0,
            "secure": 1,
            "native": {
                "request": "{\"ver\":\"1.2\",\"context\":2,\"contextsubtype\":20,\"plcmttype\":1,\"seq\":0,\"assets\":[{\"required\":1,\"title\":{\"len\":90}},{\"required\":1,\"img\":{\"type\":1,\"w\":20,\"wmin\":20,\"h\":20,\"hmin\":20}},{\"required\":1,\"img\":{\"type\":3,\"w\":200,\"wmin\":200,\"h\":200,\"hmin\":200}},{\"required\":1,\"data\":{\"type\":1,\"len\":90}},{\"required\":1,\"data\":{\"type\":2,\"len\":-1}},{\"required\":1,\"data\":{\"type\":12,\"len\":-1}}],\"eventtrackers\":[{\"event\":1,\"methods\":[1,2]}]}",
                "ver": "1.2"
            },
            "metric": [
                {
                    "type": "viewability",
                    "value": 0.85
                }
            ],
            "ext": {
                "gpid": "/4145/fnc/desk/art/sports/nat1"
            }
        }
    ],
    "app": {
        "name": "My App",
        "bundle": "org.mobile.myapp",
        "content": {
            "url": "https://publishersite.com/article/12345"
        }, 
        "cat": [
          "IAB9",
          "IAB9-30",
          "IAB1",
          "IAB19",
          "IAB3"
        ],
        "paid": 0,
        "privacypolicy": 1,
        "storeurl": "https://play.google.com/store/apps/details?id=org.mobile.myapp",
        "ver": "1.0.0",
        "publisher": {
            "id": "1000"
        },
        "ext": {
          "pagetype": "topic",
          "category": "home"
        }
    },
    "device": {
        "ifa": "469203a9-7bf5-4827-ad7b-29e00af35f32",
        "ext": {
            "ifa_type": "dpid"
        },
        "ua": "Mozilla\/5.0 (Linux; Android 15; sdk_gphone64_arm64 Build\/AE3A.240806.036; wv) AppleWebKit\/537.36 (KHTML, like Gecko) Version\/4.0 Chrome\/124.0.6367.219 Mobile Safari\/537.36",
        "lmt": 0,
        "dnt": 0,
        "geo": {
              "lat": 42.71,
              "lon": -78.83,
              "type": 1,
              "country": "USA",
              "region": "NY",
              "metro": "716",
              "city": "Hamburg",
              "zip": 14075
        },
        "devicetype": 4,
        "ip": "1.1.1.1",
        "make": "Google",
        "model": "sdk_gphone64_arm64",
        "os": "Android",
        "osv": "15",
        "hwv": "Google sdk_gphone64_arm64",
        "language": "en",
        "carrier": "T-Mobile",
        "mccmnc": "310-260",
        "h": 2400,
        "w": 1080,
        "connectiontype": 2,
        "pxratio": 2.625
    },
    "regs": {
        "gdpr": 1
    },
    "user": {
        "consent": "CO9boCtO9boCtAJAEBENBBCsAP_AAH_AACiQHGtd_X_fb39j-_59_9t0eY1f9_7_v20zjgeds-8Nyd_X_L8X42M7vB36pq4KuR4Eu3LBAQFlHOHcTUmw6IkVqTPsak2Mr7NKJ7PEinMbe2dYGHtfn9VTuZKYr97s___z__-__v__79f_r-3_3_vp9V---2BxIBJhqXwEWYljgSTRpVCiBCFcSHQAgAooRhaJrCAlcFOyuAj9BAwAQGoCMCIEGIKMWQQAAAABJREBIAeCARAEQCAAEAKkBCAAjQBBYASBgEAAoBoWAEUAQgSEGRwVHKYEBEi0UE8lYAlF3sYYQhlFADQIAAAA.f_gAD_gAAAAA"
    },
    "source": {
        "tid": "f20ef65c-be19-4c3a-b44f-52ff22451b42",
        "schain": {
            "ver": "1.0",
            "complete": 1,
            "nodes": [
                {
                    "asi": "advertising-sys.com",
                    "sid": "99999",
                    "hp": 1
                }
            ]
        }
    },
    "ext": {}
}
```

{% endtab %}

{% tab title="Banner + Video" %}

```json
{
    "id": "73b10f06-fb28-4bb4-8b8d-a083f4d8d72b",
    "tmax": 1200,
    "imp": [
        {
            "id": "1",
            "tagid": "12303405",
            "secure": 1,
            "banner": {
                "api": [
                    3,
                    5,
                    6,
                    7
                ],
                "format": [
                    {
                        "w": 320,
                        "h": 50
                    }
                ]
            },
            "video": {
                "mimes": [
                    "video\/mp4",
                    "video\/3gpp",
                    "video\/webm",
                    "video\/mkv"
                ],
                "playbackend": 2,
                "protocols": [
                    2,
                    5
                ],
                "w": 300,
                "h": 250,
                "linearity": 1,
                "placement": 2,
                "delivery": [
                    3
                ]
            },
            "metric": [
                {
                    "type": "viewability",
                    "value": 0.85
                }
            ],
            "ext": {
                "gpid": "/4145/fnc/desk/art/sports/ban1"
            }
        }
    ],
    "app": {
        "name": "My App",
        "bundle": "org.mobile.myapp",
        "content": {
            "url": "https://publishersite.com/article/12345"
        }, 
        "cat": [
          "IAB9",
          "IAB9-30",
          "IAB1",
          "IAB19",
          "IAB3"
        ],
        "paid": 0,
        "privacypolicy": 1,
        "storeurl": "https://play.google.com/store/apps/details?id=org.mobile.myapp",
        "ver": "1.0.0",
        "publisher": {
            "id": "1000"
        },
        "ext": {
          "pagetype": "topic",
          "category": "home"
        }
    },
    "device": {
        "ifa": "469203a9-7bf5-4827-ad7b-29e00af35f32",
        "ext": {
            "ifa_type": "dpid"
        },
        "ua": "Mozilla\/5.0 (Linux; Android 15; sdk_gphone64_arm64 Build\/AE3A.240806.036; wv) AppleWebKit\/537.36 (KHTML, like Gecko) Version\/4.0 Chrome\/124.0.6367.219 Mobile Safari\/537.36",
        "lmt": 0,
        "dnt": 0,
        "geo": {
              "lat": 42.71,
              "lon": -78.83,
              "type": 1,
              "country": "USA",
              "region": "NY",
              "metro": "716",
              "city": "Hamburg",
              "zip": 14075
        },
        "devicetype": 4,
        "ip": "1.1.1.1",
        "make": "Google",
        "model": "sdk_gphone64_arm64",
        "os": "Android",
        "osv": "15",
        "hwv": "Google sdk_gphone64_arm64",
        "language": "en",
        "carrier": "T-Mobile",
        "mccmnc": "310-260",
        "h": 2400,
        "w": 1080,
        "connectiontype": 2,
        "pxratio": 2.625
    },
    "regs": {
        "gdpr": 1
    },
    "user": {
        "consent": "CO9boCtO9boCtAJAEBENBBCsAP_AAH_AACiQHGtd_X_fb39j-_59_9t0eY1f9_7_v20zjgeds-8Nyd_X_L8X42M7vB36pq4KuR4Eu3LBAQFlHOHcTUmw6IkVqTPsak2Mr7NKJ7PEinMbe2dYGHtfn9VTuZKYr97s___z__-__v__79f_r-3_3_vp9V---2BxIBJhqXwEWYljgSTRpVCiBCFcSHQAgAooRhaJrCAlcFOyuAj9BAwAQGoCMCIEGIKMWQQAAAABJREBIAeCARAEQCAAEAKkBCAAjQBBYASBgEAAoBoWAEUAQgSEGRwVHKYEBEi0UE8lYAlF3sYYQhlFADQIAAAA.f_gAD_gAAAAA"
    },
    "source": {
        "tid": "73b10f06-fb28-4bb4-8b8d-a083f4d8d72b",
        "schain": {
            "ver": "1.0",
            "complete": 1,
            "nodes": [
                {
                    "asi": "advertising-sys.com",
                    "sid": "99999",
                    "hp": 1
                }
            ]
        }
    }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://adagio-io.gitbook.io/adagio-documentation/openrtb-s2s-endpoint/in-app/bid-request-fields-for-app-inventory.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
