Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo

Inherits:
Object
  • Object
show all
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

An expanded dynamic search ad.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo

Returns a new instance of GoogleAdsSearchads360V23CommonSearchAds360ExpandedDynamicSearchAdInfo.



10162
10163
10164
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10162

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ad_tracking_idFixnum

The tracking id of the ad. Corresponds to the JSON property adTrackingId

Returns:

  • (Fixnum)


10150
10151
10152
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10150

def ad_tracking_id
  @ad_tracking_id
end

#description1String

The first line of the ad's description. Corresponds to the JSON property description1

Returns:

  • (String)


10155
10156
10157
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10155

def description1
  @description1
end

#description2String

The second line of the ad's description. Corresponds to the JSON property description2

Returns:

  • (String)


10160
10161
10162
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10160

def description2
  @description2
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10167
10168
10169
10170
10171
# File 'lib/google/apis/searchads360_v23/classes.rb', line 10167

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