Mobile Measurability enables advertisers to configure Open Measurement for mobile measurability. Enable Open Measurement, disable it or default to ALL where no specific targeting is applied.
Endpoint
/traffic/lines/{id}/targetingUse the following HTTP methods:
Use the
GETmethod to view line targetingUse the
POSTmethod to update line targeting
Parameters
Parameters | Parameter Type | Description | Data Type | Required/Optional |
|---|---|---|---|---|
| query | Specifies the line Id. |
| Required |
| body | Specifies the measurement option. Allowed Types:
|
| Required |
| body | Specifies an array of targeting types. |
| Required |
Add or Update Mobile Measuribility
Add or update mobile measurability targeting for the specified line.
POST traffic/lines/{id}/targeting/Sample Request URL
POST https://dspapi.admanagerplus.yahoo.com/traffic/lines/{id}/targetingSample Request Body
{
"mobileMeasurementOption": "OPEN_MEASUREMENT",
"types": [
{
"name": "MOBILE_MEASUREMENT",
"isTargeted": true
}
]
}Sample Response
{
...
"mobileMeasurementOption": "OPEN_MEASUREMENT",
"types": [
{
"isTargeted": true,
"name": "MOBILE_MEASUREMENT"
}
],
...
},
"errors": null,
"timeStamp": "2025-11-14T17:47:09.077Z"
}Note
When
isTargetedis set tofalse, Open Measurement will not be enabled, regardless of themobileMeasurementOptionvalue passed.When
"mobileMeasurementOption": "ALL", the DSP treats this as no specific measurement targeting, and the line returns"isTargeted": false.This feature applies only at the line level within the Traffic API.
Read Mobile Measurability Targeting
Retrieve the current mobile measurability configuration for a specified line.
Parameters
Parameters | Parameter Type | Description | Data Type | Required/Optional |
|---|---|---|---|---|
| query | Specifies the line Id. |
| Required |
Sample Request URL (Line-Level)
GET https://dspapi.admanagerplus.yahoo.com/traffic/lines/{id}/targeting/Sample Response (Line-Level)
{
"response": {
"auctionType": "ALL",
"mobileMeasurementOption": "OPEN_MEASUREMENT",
"types": [
{
"name": "MOBILE_MEASUREMENT",
"isTargeted": true
}
],
"errors": null,
"timeStamp": "2025-11-11T14:41:05Z"
}
}