# GoogleMobileAds.Api.MobileAds.Utils

Contains methods for returning the device scale and safe width.

## Summary

| ### Public static functions ||
|---|---|
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/mobile-ads/utils#class_google_mobile_ads_1_1_api_1_1_mobile_ads_1_1_utils_1a3d697cf4598947c7107088b00765cfe6()` | `int` The safe width of the device. |
| `https://developers.google.com/admob/unity/reference/class/google-mobile-ads/api/mobile-ads/utils#class_google_mobile_ads_1_1_api_1_1_mobile_ads_1_1_utils_1a966a34c8b638b6463f0607edb47b41db()` | `float` The scale of the device in density independent pixels. |

## Public static functions

### GetDeviceSafeWidth

```c#
int GetDeviceSafeWidth()
```
The safe width of the device.

<br />

| Details ||
|---|---|
| **Returns** |   |

### GetDeviceScale

```c#
float GetDeviceScale()
```
The scale of the device in density independent pixels.