Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo
- 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 Search Ads 360 expanded text ad. Expanded text ads are deprecated. Use SearchAds360ResponsiveSearchAd instead.
Instance Attribute Summary collapse
-
#ad_tracking_id ⇒ Fixnum
The tracking id of the ad.
-
#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.
-
#headline2 ⇒ String
The second headline of the ad.
-
#headline3 ⇒ String
The third headline of the ad.
-
#path1 ⇒ String
Text appended to the auto-generated visible URL with a delimiter.
-
#path2 ⇒ String
Text appended to path1 with a delimiter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo
Returns a new instance of GoogleAdsSearchads360V23CommonSearchAds360ExpandedTextAdInfo.
10219 10220 10221 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10219 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_tracking_id ⇒ Fixnum
The tracking id of the ad.
Corresponds to the JSON property adTrackingId
10182 10183 10184 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10182 def ad_tracking_id @ad_tracking_id end |
#description1 ⇒ String
The first line of the ad's description.
Corresponds to the JSON property description1
10187 10188 10189 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10187 def description1 @description1 end |
#description2 ⇒ String
The second line of the ad's description.
Corresponds to the JSON property description2
10192 10193 10194 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10192 def description2 @description2 end |
#headline ⇒ String
The headline of the ad.
Corresponds to the JSON property headline
10197 10198 10199 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10197 def headline @headline end |
#headline2 ⇒ String
The second headline of the ad.
Corresponds to the JSON property headline2
10202 10203 10204 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10202 def headline2 @headline2 end |
#headline3 ⇒ String
The third headline of the ad.
Corresponds to the JSON property headline3
10207 10208 10209 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10207 def headline3 @headline3 end |
#path1 ⇒ String
Text appended to the auto-generated visible URL with a delimiter.
Corresponds to the JSON property path1
10212 10213 10214 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10212 def path1 @path1 end |
#path2 ⇒ String
Text appended to path1 with a delimiter.
Corresponds to the JSON property path2
10217 10218 10219 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10217 def path2 @path2 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10224 def update!(**args) @ad_tracking_id = args[:ad_tracking_id] if args.key?(:ad_tracking_id) @description1 = args[:description1] if args.key?(:description1) @description2 = args[:description2] if args.key?(:description2) @headline = args[:headline] if args.key?(:headline) @headline2 = args[:headline2] if args.key?(:headline2) @headline3 = args[:headline3] if args.key?(:headline3) @path1 = args[:path1] if args.key?(:path1) @path2 = args[:path2] if args.key?(:path2) end |