> For the complete documentation index, see [llms.txt](https://developer.nexx360.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.nexx360.io/integration-methods/openrtb/mobile-example.md).

# Mobile Example

This example shows a mobile in-app banner request with two ad placements.

```json
{
    "id": "03fd47be-67bf-4c93-b787-f8eaa82247d0",
    "imp": [
        {
            "id": "A",
            "banner": {
                "format": [
                    {
                        "w": 300,
                        "h": 250
                    }
                ],
                "pos": 1
            },
            "displaymanager": "TBDSDK",
            "displaymanagerver": "0.0.1",
            "tagid": "header-ad",
            "bidfloor": 0.15,
            "instl": 0,
            "secure": 1,
            "ext": {
                "nexx360": {
                    "tagId": "your-nexx360-tag-id"
                }
            }
        },
        {
            "id": "B",
            "banner": {
                "format": [
                    {
                        "w": 320,
                        "h": 250
                    },
                    {
                        "w": 336,
                        "h": 280
                    }
                ],
                "pos": 1
            },
            "displaymanager": "TBDSDK",
            "displaymanagerver": "0.0.1",
            "tagid": "incontent-ad",
            "bidfloor": 0.15,
            "instl": 0,
            "secure": 1,
            "ext": {
                "nexx360": {
                    "tagId": "your-nexx360-tag-id"
                }
            }
        }
    ],
    "app": {
        "id": "agltb3B1Yi1pbmNyDAsSA0FwcBiJkfIUDA",
        "name": "Yahoo Weather",
        "cat": ["IAB15", "IAB15-10"],
        "ver": "1.0.2",
        "bundle": "com.yahoo.mobile.client.android.weather",
        "storeurl": "https://play.google.com/store/apps/details?id=com.yahoo.mobile.client.android.weather",
        "publisher": {
            "id": "agltb3B1Yi1pbmNyDAsSA0FwcBiJkfTUCV",
            "name": "yahoo",
            "domain": "www.yahoo.com"
        }
    },
    "device": {
        "geo": {
            "lat": -10.2321,
            "lon": -48.8803,
            "country": "BRA",
            "region": "TO",
            "city": "Paraiso do Tocantins",
            "zip": "77600",
            "type": 2
        },
        "ip": "45.183.30.0",
        "ua": "Mozilla/5.0 (Linux; Android 10; moto g(8) play Build/QMDS30.47-33-5; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/115.0.5790.166 Mobile Safari/537.36",
        "language": "pt",
        "carrier": "WIFI",
        "connectiontype": 2,
        "make": "motorola",
        "ifa": "e511e6d5-99c1-4361-9bf3-b9ca0402657f",
        "model": "motorola moto g(8) play",
        "os": "Android",
        "osv": "10.0",
        "w": 720,
        "h": 1465,
        "dnt": 0,
        "lmt": 0,
        "devicetype": 4,
        "js": 1
    },
    "user": {
        "id": "e511e6d5-99c1-4361-9bf3-b9ca0402657f"
    },
    "at": 1,
    "tmax": 1000,
    "cur": ["USD"],
    "badv": [
        "blocked-domain1.com",
        "blocked-domain2.com"
    ],
    "bcat": ["IAB26"],
    "regs": {
        "coppa": 0,
        "ext": {
            "gdpr": 1
        }
    },
    "source": {
        "pchain": "2b1a2f9cd997fcab:773",
        "ext": {
            "schain": {
                "complete": 1,
                "nodes": [],
                "ver": "1.0"
            }
        }
    },
    "test": 0
}
```

## Key Fields for Mobile/In-App

| Field               | Description                                            |
| ------------------- | ------------------------------------------------------ |
| `app`               | App object (use instead of `site` for in-app requests) |
| `app.bundle`        | Application bundle ID (e.g., `com.example.app`)        |
| `app.storeurl`      | App store URL                                          |
| `device.ifa`        | Advertising ID (IDFA/GAID)                             |
| `device.lmt`        | Limit Ad Tracking flag                                 |
| `device.devicetype` | Device type (4 = phone, 5 = tablet)                    |
| `displaymanager`    | SDK name                                               |
| `displaymanagerver` | SDK version                                            |


---

# 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://developer.nexx360.io/integration-methods/openrtb/mobile-example.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.
