Class: Google::Apis::DisplayvideoV2::VideoPerformanceAd
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::VideoPerformanceAd
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb
Overview
Details for a video performance ad.
Instance Attribute Summary collapse
-
#action_button_labels ⇒ Array<String>
The list of text assets shown on the call-to-action button.
-
#companion_banners ⇒ Array<Google::Apis::DisplayvideoV2::ImageAsset>
The list of companion banners used by this ad.
-
#custom_parameters ⇒ Hash<String,String>
The custom parameters to pass custom values to tracking URL template.
-
#descriptions ⇒ Array<String>
The list of descriptions shown on the call-to-action banner.
-
#display_url_breadcrumb1 ⇒ String
The first piece after the domain in the display URL.
-
#display_url_breadcrumb2 ⇒ String
The second piece after the domain in the display URL.
-
#domain ⇒ String
The domain of the display URL.
-
#final_url ⇒ String
The URL address of the webpage that people reach after they click the ad.
-
#headlines ⇒ Array<String>
The list of headlines shown on the call-to-action banner.
-
#long_headlines ⇒ Array<String>
The list of lone headlines shown on the call-to-action banner.
-
#tracking_url ⇒ String
The URL address loaded in the background for tracking purposes.
-
#videos ⇒ Array<Google::Apis::DisplayvideoV2::YoutubeVideoDetails>
The list of YouTube video assets used by this ad.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoPerformanceAd
constructor
A new instance of VideoPerformanceAd.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VideoPerformanceAd
Returns a new instance of VideoPerformanceAd.
11841 11842 11843 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11841 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_button_labels ⇒ Array<String>
The list of text assets shown on the call-to-action button.
Corresponds to the JSON property actionButtonLabels
11784 11785 11786 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11784 def @action_button_labels end |
#companion_banners ⇒ Array<Google::Apis::DisplayvideoV2::ImageAsset>
The list of companion banners used by this ad.
Corresponds to the JSON property companionBanners
11789 11790 11791 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11789 def @companion_banners end |
#custom_parameters ⇒ Hash<String,String>
The custom parameters to pass custom values to tracking URL template.
Corresponds to the JSON property customParameters
11794 11795 11796 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11794 def custom_parameters @custom_parameters end |
#descriptions ⇒ Array<String>
The list of descriptions shown on the call-to-action banner.
Corresponds to the JSON property descriptions
11799 11800 11801 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11799 def descriptions @descriptions end |
#display_url_breadcrumb1 ⇒ String
The first piece after the domain in the display URL.
Corresponds to the JSON property displayUrlBreadcrumb1
11804 11805 11806 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11804 def @display_url_breadcrumb1 end |
#display_url_breadcrumb2 ⇒ String
The second piece after the domain in the display URL.
Corresponds to the JSON property displayUrlBreadcrumb2
11809 11810 11811 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11809 def @display_url_breadcrumb2 end |
#domain ⇒ String
The domain of the display URL.
Corresponds to the JSON property domain
11814 11815 11816 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11814 def domain @domain end |
#final_url ⇒ String
The URL address of the webpage that people reach after they click the ad.
Corresponds to the JSON property finalUrl
11819 11820 11821 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11819 def final_url @final_url end |
#headlines ⇒ Array<String>
The list of headlines shown on the call-to-action banner.
Corresponds to the JSON property headlines
11824 11825 11826 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11824 def headlines @headlines end |
#long_headlines ⇒ Array<String>
The list of lone headlines shown on the call-to-action banner.
Corresponds to the JSON property longHeadlines
11829 11830 11831 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11829 def long_headlines @long_headlines end |
#tracking_url ⇒ String
The URL address loaded in the background for tracking purposes.
Corresponds to the JSON property trackingUrl
11834 11835 11836 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11834 def tracking_url @tracking_url end |
#videos ⇒ Array<Google::Apis::DisplayvideoV2::YoutubeVideoDetails>
The list of YouTube video assets used by this ad.
Corresponds to the JSON property videos
11839 11840 11841 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11839 def videos @videos end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11846 def update!(**args) @action_button_labels = args[:action_button_labels] if args.key?(:action_button_labels) @companion_banners = args[:companion_banners] if args.key?(:companion_banners) @custom_parameters = args[:custom_parameters] if args.key?(:custom_parameters) @descriptions = args[:descriptions] if args.key?(:descriptions) @display_url_breadcrumb1 = args[:display_url_breadcrumb1] if args.key?(:display_url_breadcrumb1) @display_url_breadcrumb2 = args[:display_url_breadcrumb2] if args.key?(:display_url_breadcrumb2) @domain = args[:domain] if args.key?(:domain) @final_url = args[:final_url] if args.key?(:final_url) @headlines = args[:headlines] if args.key?(:headlines) @long_headlines = args[:long_headlines] if args.key?(:long_headlines) @tracking_url = args[:tracking_url] if args.key?(:tracking_url) @videos = args[:videos] if args.key?(:videos) end |