Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo

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

Current AssetGroup information of the campaign.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo

Returns a new instance of GoogleAdsSearchads360V23ServicesGenerateRecommendationsRequestAssetGroupInfo.



35387
35388
35389
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35387

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

Instance Attribute Details

#descriptionArray<String>

Optional. Current descriptions of the asset group. This field is optional for the following recommendation_types if asset_group_info is set: CAMPAIGN_BUDGET Corresponds to the JSON property description

Returns:

  • (Array<String>)


35373
35374
35375
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35373

def description
  @description
end

#final_urlString

Required. Current url of the asset group. This field is necessary for the following recommendation_types if asset_group_info is set: CAMPAIGN_BUDGET Corresponds to the JSON property finalUrl

Returns:

  • (String)


35379
35380
35381
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35379

def final_url
  @final_url
end

#headlineArray<String>

Optional. Current headlines of the asset group. This field is optional for the following recommendation_types if asset_group_info is set: CAMPAIGN_BUDGET Corresponds to the JSON property headline

Returns:

  • (Array<String>)


35385
35386
35387
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35385

def headline
  @headline
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35392
35393
35394
35395
35396
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35392

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @final_url = args[:final_url] if args.key?(:final_url)
  @headline = args[:headline] if args.key?(:headline)
end