Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
- 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 text ad.
Instance Attribute Summary collapse
-
#ad_track_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.
-
#display_mobile_url ⇒ String
The displayed mobile URL of the ad.
-
#display_url ⇒ String
The displayed URL of the ad.
-
#headline ⇒ String
The headline of the ad.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
constructor
A new instance of GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo
Returns a new instance of GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo.
1001 1002 1003 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1001 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_track_id ⇒ Fixnum
The tracking id of the ad.
Corresponds to the JSON property adTrackId
974 975 976 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 974 def ad_track_id @ad_track_id end |
#description1 ⇒ String
The first line of the ad's description.
Corresponds to the JSON property description1
979 980 981 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 979 def description1 @description1 end |
#description2 ⇒ String
The second line of the ad's description.
Corresponds to the JSON property description2
984 985 986 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 984 def description2 @description2 end |
#display_mobile_url ⇒ String
The displayed mobile URL of the ad.
Corresponds to the JSON property displayMobileUrl
989 990 991 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 989 def display_mobile_url @display_mobile_url end |
#display_url ⇒ String
The displayed URL of the ad.
Corresponds to the JSON property displayUrl
994 995 996 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 994 def display_url @display_url end |
#headline ⇒ String
The headline of the ad.
Corresponds to the JSON property headline
999 1000 1001 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 999 def headline @headline end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1006 1007 1008 1009 1010 1011 1012 1013 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1006 def update!(**args) @ad_track_id = args[:ad_track_id] if args.key?(:ad_track_id) @description1 = args[:description1] if args.key?(:description1) @description2 = args[:description2] if args.key?(:description2) @display_mobile_url = args[:display_mobile_url] if args.key?(:display_mobile_url) @display_url = args[:display_url] if args.key?(:display_url) @headline = args[:headline] if args.key?(:headline) end |