Class Companion (0.5.0)

Companion(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Metadata for a companion.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
iframe_ad_resource google.cloud.video.stitcher_v1.types.IframeAdResource
The IFrame ad resource associated with the companion ad. This field is a member of oneof_ ad_resource.
static_ad_resource google.cloud.video.stitcher_v1.types.StaticAdResource
The static ad resource associated with the companion ad. This field is a member of oneof_ ad_resource.
html_ad_resource google.cloud.video.stitcher_v1.types.HtmlAdResource
The HTML ad resource associated with the companion ad. This field is a member of oneof_ ad_resource.
api_framework str
The API necessary to communicate with the creative if available.
height_px int
The pixel height of the placement slot for the intended creative.
width_px int
The pixel width of the placement slot for the intended creative.
asset_height_px int
The pixel height of the creative.
expanded_height_px int
The maximum pixel height of the creative in its expanded state.
asset_width_px int
The pixel width of the creative.
expanded_width_px int
The maximum pixel width of the creative in its expanded state.
ad_slot_id str
The ID used to identify the desired placement on a publisher's page. Values to be used should be discussed between publishers and advertisers.
events MutableSequence[google.cloud.video.stitcher_v1.types.Event]
The list of tracking events for the companion.