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.



35594
35595
35596
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35594

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


35580
35581
35582
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35580

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)


35586
35587
35588
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35586

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


35592
35593
35594
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35592

def headline
  @headline
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35599
35600
35601
35602
35603
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35599

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