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.



35522
35523
35524
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35522

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>)


35508
35509
35510
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35508

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)


35514
35515
35516
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35514

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>)


35520
35521
35522
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35520

def headline
  @headline
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35527
35528
35529
35530
35531
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35527

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