Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb
Overview
A Search Ads 360 responsive search ad.
Instance Attribute Summary collapse
-
#ad_tracking_id ⇒ Fixnum
The tracking id 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) ⇒ GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo
constructor
A new instance of GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo
Returns a new instance of GoogleAdsSearchads360V0CommonSearchAds360ResponsiveSearchAdInfo.
1116 1117 1118 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1116 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
1104 1105 1106 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1104 def ad_tracking_id @ad_tracking_id end |
#path1 ⇒ String
Text appended to the auto-generated visible URL with a delimiter.
Corresponds to the JSON property path1
1109 1110 1111 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1109 def path1 @path1 end |
#path2 ⇒ String
Text appended to path1 with a delimiter.
Corresponds to the JSON property path2
1114 1115 1116 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1114 def path2 @path2 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1121 1122 1123 1124 1125 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1121 def update!(**args) @ad_tracking_id = args[:ad_tracking_id] if args.key?(:ad_tracking_id) @path1 = args[:path1] if args.key?(:path1) @path2 = args[:path2] if args.key?(:path2) end |