Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo

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

Overview

A Search Ads 360 responsive search ad.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo

Returns a new instance of GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo.



1743
1744
1745
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1743

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

Instance Attribute Details

#ad_tracking_idFixnum

The tracking id of the ad. Corresponds to the JSON property adTrackingId

Returns:

  • (Fixnum)


1719
1720
1721
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1719

def ad_tracking_id
  @ad_tracking_id
end

#descriptionsArray<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAdTextAsset>

List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. Corresponds to the JSON property descriptions



1725
1726
1727
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1725

def descriptions
  @descriptions
end

#headlinesArray<Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonAdTextAsset>

List of text assets for headlines. When the ad serves the headlines will be selected from this list. Corresponds to the JSON property headlines



1731
1732
1733
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1731

def headlines
  @headlines
end

#path1String

Text appended to the auto-generated visible URL with a delimiter. Corresponds to the JSON property path1

Returns:

  • (String)


1736
1737
1738
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1736

def path1
  @path1
end

#path2String

Text appended to path1 with a delimiter. Corresponds to the JSON property path2

Returns:

  • (String)


1741
1742
1743
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1741

def path2
  @path2
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1748
1749
1750
1751
1752
1753
1754
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1748

def update!(**args)
  @ad_tracking_id = args[:ad_tracking_id] if args.key?(:ad_tracking_id)
  @descriptions = args[:descriptions] if args.key?(:descriptions)
  @headlines = args[:headlines] if args.key?(:headlines)
  @path1 = args[:path1] if args.key?(:path1)
  @path2 = args[:path2] if args.key?(:path2)
end