Class: Google::Apis::DisplayvideoV3::VideoPerformanceAd

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb

Overview

Details for a video performance ad.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VideoPerformanceAd

Returns a new instance of VideoPerformanceAd.



11998
11999
12000
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11998

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#action_button_labelsArray<String>

The list of text assets shown on the call-to-action button. Corresponds to the JSON property actionButtonLabels

Returns:

  • (Array<String>)


11941
11942
11943
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11941

def action_button_labels
  @action_button_labels
end

#companion_bannersArray<Google::Apis::DisplayvideoV3::ImageAsset>

The list of companion banners used by this ad. Corresponds to the JSON property companionBanners



11946
11947
11948
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11946

def companion_banners
  @companion_banners
end

#custom_parametersHash<String,String>

The custom parameters to pass custom values to tracking URL template. Corresponds to the JSON property customParameters

Returns:

  • (Hash<String,String>)


11951
11952
11953
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11951

def custom_parameters
  @custom_parameters
end

#descriptionsArray<String>

The list of descriptions shown on the call-to-action banner. Corresponds to the JSON property descriptions

Returns:

  • (Array<String>)


11956
11957
11958
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11956

def descriptions
  @descriptions
end

#display_url_breadcrumb1String

The first piece after the domain in the display URL. Corresponds to the JSON property displayUrlBreadcrumb1

Returns:

  • (String)


11961
11962
11963
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11961

def display_url_breadcrumb1
  @display_url_breadcrumb1
end

#display_url_breadcrumb2String

The second piece after the domain in the display URL. Corresponds to the JSON property displayUrlBreadcrumb2

Returns:

  • (String)


11966
11967
11968
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11966

def display_url_breadcrumb2
  @display_url_breadcrumb2
end

#domainString

The domain of the display URL. Corresponds to the JSON property domain

Returns:

  • (String)


11971
11972
11973
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11971

def domain
  @domain
end

#final_urlString

The URL address of the webpage that people reach after they click the ad. Corresponds to the JSON property finalUrl

Returns:

  • (String)


11976
11977
11978
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11976

def final_url
  @final_url
end

#headlinesArray<String>

The list of headlines shown on the call-to-action banner. Corresponds to the JSON property headlines

Returns:

  • (Array<String>)


11981
11982
11983
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11981

def headlines
  @headlines
end

#long_headlinesArray<String>

The list of lone headlines shown on the call-to-action banner. Corresponds to the JSON property longHeadlines

Returns:

  • (Array<String>)


11986
11987
11988
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11986

def long_headlines
  @long_headlines
end

#tracking_urlString

The URL address loaded in the background for tracking purposes. Corresponds to the JSON property trackingUrl

Returns:

  • (String)


11991
11992
11993
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11991

def tracking_url
  @tracking_url
end

#videosArray<Google::Apis::DisplayvideoV3::YoutubeVideoDetails>

The list of YouTube video assets used by this ad. Corresponds to the JSON property videos



11996
11997
11998
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11996

def videos
  @videos
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12003

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