Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo
- 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 responsive search ad.
Instance Attribute Summary collapse
-
#ad_tracking_id ⇒ Fixnum
The tracking id of the ad.
-
#descriptions ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAdTextAsset>
List of text assets for descriptions.
-
#headlines ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAdTextAsset>
List of text assets for headlines.
-
#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) ⇒ GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo
constructor
A new instance of GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo
Returns a new instance of GoogleAdsSearchads360V23CommonSearchAds360ResponsiveSearchAdInfo.
10211 10212 10213 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10211 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
10187 10188 10189 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10187 def ad_tracking_id @ad_tracking_id end |
#descriptions ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAdTextAsset>
List of text assets for descriptions. When the ad serves the descriptions will
be selected from this list.
Corresponds to the JSON property descriptions
10193 10194 10195 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10193 def descriptions @descriptions end |
#headlines ⇒ Array<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonAdTextAsset>
List of text assets for headlines. When the ad serves the headlines will be
selected from this list.
Corresponds to the JSON property headlines
10199 10200 10201 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10199 def headlines @headlines end |
#path1 ⇒ String
Text appended to the auto-generated visible URL with a delimiter.
Corresponds to the JSON property path1
10204 10205 10206 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10204 def path1 @path1 end |
#path2 ⇒ String
Text appended to path1 with a delimiter.
Corresponds to the JSON property path2
10209 10210 10211 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10209 def path2 @path2 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10216 10217 10218 10219 10220 10221 10222 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10216 def update!(**args) @ad_tracking_id = args[:ad_tracking_id] if args.key?(:ad_tracking_id) @descriptions = args[:descriptions] if args.key?(:descriptions) @headlines = args[:headlines] if args.key?(:headlines) @path1 = args[:path1] if args.key?(:path1) @path2 = args[:path2] if args.key?(:path2) end |