Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo
- 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 text ad.
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.
-
#display_mobile_url ⇒ String
The displayed mobile URL of the ad.
-
#display_url ⇒ String
The displayed URL of the ad.
-
#headline ⇒ String
The headline of the ad.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo
Returns a new instance of GoogleAdsSearchads360V23CommonSearchAds360TextAdInfo.
10259 10260 10261 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10259 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
10232 10233 10234 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10232 def ad_tracking_id @ad_tracking_id end |
#description1 ⇒ String
The first line of the ad's description.
Corresponds to the JSON property description1
10237 10238 10239 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10237 def description1 @description1 end |
#description2 ⇒ String
The second line of the ad's description.
Corresponds to the JSON property description2
10242 10243 10244 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10242 def description2 @description2 end |
#display_mobile_url ⇒ String
The displayed mobile URL of the ad.
Corresponds to the JSON property displayMobileUrl
10247 10248 10249 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10247 def display_mobile_url @display_mobile_url end |
#display_url ⇒ String
The displayed URL of the ad.
Corresponds to the JSON property displayUrl
10252 10253 10254 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10252 def display_url @display_url end |
#headline ⇒ String
The headline of the ad.
Corresponds to the JSON property headline
10257 10258 10259 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10257 def headline @headline end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10264 10265 10266 10267 10268 10269 10270 10271 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10264 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) @display_mobile_url = args[:display_mobile_url] if args.key?(:display_mobile_url) @display_url = args[:display_url] if args.key?(:display_url) @headline = args[:headline] if args.key?(:headline) end |