Sets the headline of the action ad. This field is optional, and only valid within TrueView for action video campaigns.
It is invalid and should not be specified in other campaign subtypes.
Sets the call-to-action of the action ad. This field is required for ads in TrueView for action video campaigns,
but is invalid and should not be specified in other kinds of video campaigns.
Sets the image that will be used as customized companion banner. If this field is not
specified, an auto-generated image from videos in your channel will be used.
The video ad builder with the customized companion banner.
withCompanionBanner(imageMedia)
Sets the image that will be used as customized companion banner. If this field is not
specified, an auto-generated image from videos in your channel will be used.
Sets the custom parameters of the new video ad to the specified value.
Custom parameters enable you to create your own ValueTrack parameters that you can
assign your own IDs to.
The name of a custom parameter can contain only alphanumeric characters, and custom
parameter values may not contain white space. When referring to the custom parameter in final
URLs and tracking template, you should surround the custom parameter in braces, and prefix an
underscore to its name, e.g. {_param}.
You can have up to 3 custom parameters for an entity. The key and value must not exceed 16
and 200 bytes respectively.
Custom parameters specified at a lower level entity will override the setting specified at a
higher level entity, e.g., setting custom parameters at the ad group level overrides the
setting at the campaign level, and custom parameters specified at the ad level override the
setting at the ad group level.
Sets the final URL of the new video ad to the specified value.
The final URL represents the actual landing page for your video ad. The final URL must be
the URL of the page that the user ends up on after clicking on your ad, once all the redirects
have taken place.
The video ad builder with the specified final URL.
withTrackingTemplate(trackingTemplate)
Sets the tracking template of the new video ad to the specified value.
You can optionally use the tracking template to specify additional tracking parameters or
redirects. Google Ads will use this template to assemble the actual destination URL to
associate with the ad.
A tracking template specified at a lower level entity will override the setting specified at
a higher level entity, e.g., a tracking template set at the ad group level overrides the
setting at the campaign level, and a tracking template specified at the ad level overrides the
setting at the ad group level.