Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesSearchAds360Campaign

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

A Search Ads 360 campaign.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesSearchAds360Campaign

Returns a new instance of GoogleAdsSearchads360V23ResourcesSearchAds360Campaign.



33223
33224
33225
# File 'lib/google/apis/searchads360_v23/classes.rb', line 33223

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

Instance Attribute Details

#product_attribution_filter_typeString

The type of product attribution filtering to apply to this campaign. Corresponds to the JSON property productAttributionFilterType

Returns:

  • (String)


33214
33215
33216
# File 'lib/google/apis/searchads360_v23/classes.rb', line 33214

def product_attribution_filter_type
  @product_attribution_filter_type
end

#resource_nameString

Immutable. The resource name of the Search Ads 360 campaign. Search Ads 360 campaign resource names have the form: customers/customer_id/ searchAds360Campaigns/campaign_id` Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


33221
33222
33223
# File 'lib/google/apis/searchads360_v23/classes.rb', line 33221

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33228
33229
33230
33231
# File 'lib/google/apis/searchads360_v23/classes.rb', line 33228

def update!(**args)
  @product_attribution_filter_type = args[:product_attribution_filter_type] if args.key?(:product_attribution_filter_type)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
end