Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesLocationView

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

A location view summarizes the performance of campaigns by a Location criterion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesLocationView

Returns a new instance of GoogleAdsSearchads360V0ResourcesLocationView.



7437
7438
7439
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7437

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)


7435
7436
7437
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7435

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7442
7443
7444
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7442

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