Send feedback
Namespace CompanionAdSelectionSettings
Stay organized with collections
Save and categorize content based on your preferences.
Note: This reference page follows TypeScript documentation structure. If you have
suggestions for or see issues with the reference documentation, open a thread with your
feedback on the IMA technical forum .
Enumerations
Creative Type
Available choices for creative type of a companion ad.
Resource Type
Available choices for resource type of a companion ad.
Size Criteria
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-17 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-17 UTC."],[],[]]