Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesContentCriterionView

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 content criterion view.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesContentCriterionView

Returns a new instance of GoogleAdsSearchads360V23ResourcesContentCriterionView.



26260
26261
26262
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26260

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

Instance Attribute Details

#resource_nameString

Output only. The resource name of the content criterion view. Content criterion view resource names have the form: customers/customer_id/ contentCriterionViews/ad_group_id~criterion_id` Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


26258
26259
26260
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26258

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26265
26266
26267
# File 'lib/google/apis/searchads360_v23/classes.rb', line 26265

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