# Namespace CompanionAdSelectionSettings

*** ** * ** ***

| Enumerations ||
|---|---|
| `https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/namespace/google.ima.CompanionAdSelectionSettings#google.ima.CompanionAdSelectionSettings.CreativeType` | Available choices for creative type of a companion ad. |
| `https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/namespace/google.ima.CompanionAdSelectionSettings#google.ima.CompanionAdSelectionSettings.ResourceType` | Available choices for resource type of a companion ad. |
| `https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/reference/namespace/google.ima.CompanionAdSelectionSettings#google.ima.CompanionAdSelectionSettings.SizeCriteria` | Available choices for size selection criteria. |

## Enumerations

*** ** * ** ***

### CreativeType

`CreativeType` Available choices for creative type of a companion ad. The user can specify any of these choices as a criterion for selecting companion ads.

| Enumeration Members ||
|---|---|
| `ALL` | Specifies all creative types. |
| `FLASH` | Specifies Flash creatives. |
| `IMAGE` | Specifies image creatives (such as JPEG, PNG, GIF, etc). |

*** ** * ** ***

### ResourceType

`ResourceType` Available choices for resource type of a companion ad. The user can specify any of these choices as a criterion for selecting companion ads.

| Enumeration Members ||
|---|---|
| `ALL` | Specifies that the resource can be any type of resource. |
| `HTML` | Specifies that the resource should be an HTML snippet. |
| `IFRAME` | Specifies that the resource should be a URL that should be used as the source of an `iframe`. |
| `STATIC` | Specifies that the resource should be a static file (usually the URL of an image of SWF). |

*** ** * ** ***

### SizeCriteria

`SizeCriteria` Available choices for size selection criteria. The user can specify any of these choices for selecting companion ads.

| Enumeration Members ||
|---|---|
| `IGNORE` | Specifies that size should be ignored when choosing companions. |
| `SELECT_EXACT_MATCH` | Specifies that only companions that match the size of the companion ad slot exactly should be chosen. |
| `SELECT_FLUID` | Specifies that only special size, 'fluid', companions should be chosen. |
| `SELECT_NEAR_MATCH` | Specifies that any companion close to the size of the companion ad slot should be chosen. |