# POST

## **Path**

POST `http://fast.nexx360.io/native`

## Body

```typescript
{
  tag_id: string,         // TagId given by Nexx360 (required)
  url: string,            // URL where ad is displayed (required)
  native_config: 1 | 2,   // Native Config (required)
  gdpr?: 0 | 1,           // GDPR active
  gdpr_consent?: string,  // GDPR consent string
  id5id?: string,         // ID5 identifier
  firstid?: string,       // FirstID identifier
  test?: 0 | 1,           // Test mode - enables test auction
  nexx360_debug?: 0 | 1,  // Debug mode - enables debug information in response
  cur?: string,           // Currency for bid prices (EUR or USD, defaults to EUR)
  floor?: {               // Adrenalead floor price configuration
    providerName: string, // Provider name
    cpm: number,          // Floor CPM value
    currency: 'EUR' | 'USD',  // Floor currency
    modelVersion: string, // Model version
  },
  sspFloors?: [           // SSP-specific floor prices
    {
      ssp: string,        // SSP name
      cpm: number,        // Floor CPM value for this SSP
      currency: 'EUR' | 'USD',  // Floor currency
    }
  ],
}
```

## Parameters

| Name           | Type   | Description                                 | Scope       |
| -------------- | ------ | ------------------------------------------- | ----------- |
| tag\_id        | string | TagId given by Nexx360                      | Required    |
| url            | string | URL where ad is displayed                   | Required    |
| native\_config | 1 \| 2 | Native Config (see native-configs)          | Required    |
| gdpr           | 0 \| 1 | GDPR active                                 | Recommended |
| gdpr\_consent  | string | GDPR consent string                         | Recommended |
| id5id          | string | ID5 identifier                              | Optional    |
| firstid        | string | FirstID identifier                          | Optional    |
| test           | 0 \| 1 | Test mode - enables test auction            | Optional    |
| nexx360\_debug | 0 \| 1 | Debug mode - enables debug info in response | Optional    |
| cur            | string | Currency for bid prices (EUR or USD)        | Optional    |
| floor          | object | Adrenalead floor price configuration        | Optional    |
| sspFloors      | array  | SSP-specific floor prices                   | Optional    |

## Example

```json
{
  "tag_id": "testnexx",
  "url": "https://www.example.com/",
  "native_config": 1,
  "gdpr": 1,
  "gdpr_consent": "CPgocUAPgocUAAHABBENCjCsAP_AAA...",
  "cur": "EUR",
  "sspFloors": [
    { "ssp": "appnexus", "cpm": 0.5, "currency": "EUR" },
    { "ssp": "rubicon", "cpm": 0.4, "currency": "EUR" }
  ]
}
```
