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.
11837 11838 11839 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11837 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
11825 11826 11827 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11825 def description1 @description1 end |
#description2 ⇒ String
The second line of the ad's description.
Corresponds to the JSON property description2
11830 11831 11832 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11830 def description2 @description2 end |
#headline ⇒ String
The headline of the ad.
Corresponds to the JSON property headline
11835 11836 11837 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11835 def headline @headline end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11842 11843 11844 11845 11846 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11842 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 |