AI-generated Key Takeaways
-
The
CompanionAdSelectionSettings
object defines criteria for selecting companion ads using thegoogle.ima.Ad.getCompanionAds
function. -
This object includes properties like
adSlotIds
,creativeType
,nearMatchPercent
,resourceType
, andsizeCriteria
to specify ad selection preferences. -
The
CompanionAdSelectionSettings
object has a constructor to create new instances of the class. -
The various properties it supports, are inherited from
CompanionAdSelectionSettingsInterface
.
google.ima.Ad.getCompanionAds
function.
Constructors | |
---|---|
constructor
|
Constructor. |
Properties | |
---|---|
ad
|
The companion ad slot ids to be used for matching set by the user.
Inherited from
|
creative
|
Creative type setting set by the user.
Inherited from
|
near
|
The near fit percent set by the user.
Inherited from
|
resource
|
Resource type setting set by the user.
Inherited from
|
size
|
Size criteria setting set by the user.
Inherited from
|
Constructors
constructor
new CompanionAdSelectionSettings(): CompanionAdSelectionSettings
Returns | |
---|---|
CompanionAdSelectionSettings
|
Properties
adSlotIds
adSlotIds: string[]
creativeType
creativeType: string
nearMatchPercent
nearMatchPercent: number
resourceType
resourceType: string
sizeCriteria
sizeCriteria: string