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.
11897 11898 11899 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11897 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
11885 11886 11887 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11885 def description1 @description1 end |
#description2 ⇒ String
The second line of the ad's description.
Corresponds to the JSON property description2
11890 11891 11892 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11890 def description2 @description2 end |
#headline ⇒ String
The headline of the ad.
Corresponds to the JSON property headline
11895 11896 11897 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11895 def headline @headline end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11902 11903 11904 11905 11906 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 11902 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 |