Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonTextAdInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonTextAdInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
A text ad.
Instance Attribute Summary collapse
-
#description1 ⇒ String
The first line of the ad's description.
-
#description2 ⇒ String
The second line of the ad's description.
-
#headline ⇒ String
The headline of the ad.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonTextAdInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonTextAdInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonTextAdInfo
Returns a new instance of GoogleAdsSearchads360V23CommonTextAdInfo.
11771 11772 11773 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11771 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description1 ⇒ String
The first line of the ad's description.
Corresponds to the JSON property description1
11759 11760 11761 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11759 def description1 @description1 end |
#description2 ⇒ String
The second line of the ad's description.
Corresponds to the JSON property description2
11764 11765 11766 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11764 def description2 @description2 end |
#headline ⇒ String
The headline of the ad.
Corresponds to the JSON property headline
11769 11770 11771 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11769 def headline @headline end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11776 11777 11778 11779 11780 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11776 def update!(**args) @description1 = args[:description1] if args.key?(:description1) @description2 = args[:description2] if args.key?(:description2) @headline = args[:headline] if args.key?(:headline) end |