Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo
- 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
An expanded dynamic search 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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo
constructor
A new instance of GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo
Returns a new instance of GoogleAdsSearchads360V0CommonSearchAds360ExpandedDynamicSearchAdInfo.
1601 1602 1603 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1601 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
1589 1590 1591 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1589 def ad_tracking_id @ad_tracking_id end |
#description1 ⇒ String
The first line of the ad's description.
Corresponds to the JSON property description1
1594 1595 1596 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1594 def description1 @description1 end |
#description2 ⇒ String
The second line of the ad's description.
Corresponds to the JSON property description2
1599 1600 1601 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1599 def description2 @description2 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1606 1607 1608 1609 1610 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1606 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) end |