Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesLocationView

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 location view summarizes the performance of campaigns by a Location criterion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesLocationView

Returns a new instance of GoogleAdsSearchads360V23ResourcesLocationView.



31363
31364
31365
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31363

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

Instance Attribute Details

#resource_nameString

Output only. The resource name of the location view. Location view resource names have the form: customers/customer_id/locationViews/campaign_id~ criterion_id` Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


31361
31362
31363
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31361

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31368
31369
31370
# File 'lib/google/apis/searchads360_v23/classes.rb', line 31368

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