Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation
- 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
The text ad recommendation.
Instance Attribute Summary collapse
-
#ad ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd
An ad.
-
#auto_apply_date ⇒ String
Output only.
-
#creation_date ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation
constructor
A new instance of GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation
Returns a new instance of GoogleAdsSearchads360V23ResourcesRecommendationTextAdRecommendation.
19007 19008 19009 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 19007 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd
An ad.
Corresponds to the JSON property ad
18993 18994 18995 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18993 def ad @ad end |
#auto_apply_date ⇒ String
Output only. Date, if present, is the earliest when the recommendation will be
auto applied. YYYY-MM-DD format, for example, 2018-04-17.
Corresponds to the JSON property autoApplyDate
18999 19000 19001 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18999 def auto_apply_date @auto_apply_date end |
#creation_date ⇒ String
Output only. Creation date of the recommended ad. YYYY-MM-DD format, for
example, 2018-04-17.
Corresponds to the JSON property creationDate
19005 19006 19007 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 19005 def creation_date @creation_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19012 19013 19014 19015 19016 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 19012 def update!(**args) @ad = args[:ad] if args.key?(:ad) @auto_apply_date = args[:auto_apply_date] if args.key?(:auto_apply_date) @creation_date = args[:creation_date] if args.key?(:creation_date) end |