Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAgeRangeView

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb

Overview

An age range view.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesAgeRangeView

Returns a new instance of GoogleAdsSearchads360V0ResourcesAgeRangeView.



4806
4807
4808
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4806

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

Instance Attribute Details

#resource_nameString

Output only. The resource name of the age range view. Age range view resource names have the form: customers/customer_id/ageRangeViews/ad_group_id~ criterion_id` Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


4804
4805
4806
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4804

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4811
4812
4813
# File 'lib/google/apis/searchads360_v0/classes.rb', line 4811

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