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.
18881 18882 18883 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18881 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd
An ad.
Corresponds to the JSON property ad
18867 18868 18869 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18867 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
18873 18874 18875 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18873 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
18879 18880 18881 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18879 def creation_date @creation_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18886 18887 18888 18889 18890 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18886 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 |