Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonExpandedTextAdInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonExpandedTextAdInfo
- 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
An expanded text ad.
Instance Attribute Summary collapse
-
#description ⇒ String
The description of the ad.
-
#description2 ⇒ String
The second description of the ad.
-
#headline_part1 ⇒ String
The first part of the ad's headline.
-
#headline_part2 ⇒ String
The second part of the ad's headline.
-
#headline_part3 ⇒ String
The third part of the ad's headline.
-
#path1 ⇒ String
The text that can appear alongside the ad's displayed URL.
-
#path2 ⇒ String
Additional text that can appear alongside the ad's displayed URL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonExpandedTextAdInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonExpandedTextAdInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonExpandedTextAdInfo
Returns a new instance of GoogleAdsSearchads360V23CommonExpandedTextAdInfo.
4991 4992 4993 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 4991 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
The description of the ad.
Corresponds to the JSON property description
4959 4960 4961 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 4959 def description @description end |
#description2 ⇒ String
The second description of the ad.
Corresponds to the JSON property description2
4964 4965 4966 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 4964 def description2 @description2 end |
#headline_part1 ⇒ String
The first part of the ad's headline.
Corresponds to the JSON property headlinePart1
4969 4970 4971 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 4969 def headline_part1 @headline_part1 end |
#headline_part2 ⇒ String
The second part of the ad's headline.
Corresponds to the JSON property headlinePart2
4974 4975 4976 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 4974 def headline_part2 @headline_part2 end |
#headline_part3 ⇒ String
The third part of the ad's headline.
Corresponds to the JSON property headlinePart3
4979 4980 4981 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 4979 def headline_part3 @headline_part3 end |
#path1 ⇒ String
The text that can appear alongside the ad's displayed URL.
Corresponds to the JSON property path1
4984 4985 4986 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 4984 def path1 @path1 end |
#path2 ⇒ String
Additional text that can appear alongside the ad's displayed URL.
Corresponds to the JSON property path2
4989 4990 4991 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 4989 def path2 @path2 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4996 4997 4998 4999 5000 5001 5002 5003 5004 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 4996 def update!(**args) @description = args[:description] if args.key?(:description) @description2 = args[:description2] if args.key?(:description2) @headline_part1 = args[:headline_part1] if args.key?(:headline_part1) @headline_part2 = args[:headline_part2] if args.key?(:headline_part2) @headline_part3 = args[:headline_part3] if args.key?(:headline_part3) @path1 = args[:path1] if args.key?(:path1) @path2 = args[:path2] if args.key?(:path2) end |