Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo
- 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 expanded text 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.
-
#headline ⇒ String
The headline of the ad.
-
#headline2 ⇒ String
The second headline of the ad.
-
#headline3 ⇒ String
The third headline of the ad.
-
#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) ⇒ GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo
constructor
A new instance of GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo
Returns a new instance of GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo.
1877 1878 1879 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1877 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
1840 1841 1842 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1840 def ad_tracking_id @ad_tracking_id end |
#description1 ⇒ String
The first line of the ad's description.
Corresponds to the JSON property description1
1845 1846 1847 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1845 def description1 @description1 end |
#description2 ⇒ String
The second line of the ad's description.
Corresponds to the JSON property description2
1850 1851 1852 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1850 def description2 @description2 end |
#headline ⇒ String
The headline of the ad.
Corresponds to the JSON property headline
1855 1856 1857 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1855 def headline @headline end |
#headline2 ⇒ String
The second headline of the ad.
Corresponds to the JSON property headline2
1860 1861 1862 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1860 def headline2 @headline2 end |
#headline3 ⇒ String
The third headline of the ad.
Corresponds to the JSON property headline3
1865 1866 1867 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1865 def headline3 @headline3 end |
#path1 ⇒ String
Text appended to the auto-generated visible URL with a delimiter.
Corresponds to the JSON property path1
1870 1871 1872 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1870 def path1 @path1 end |
#path2 ⇒ String
Text appended to path1 with a delimiter.
Corresponds to the JSON property path2
1875 1876 1877 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1875 def path2 @path2 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1882 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) @headline = args[:headline] if args.key?(:headline) @headline2 = args[:headline2] if args.key?(:headline2) @headline3 = args[:headline3] if args.key?(:headline3) @path1 = args[:path1] if args.key?(:path1) @path2 = args[:path2] if args.key?(:path2) end |