Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesPerStoreView
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesPerStoreView
- 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 per store view. This view provides per store impression reach and local action conversion stats for advertisers.
Instance Attribute Summary collapse
-
#address1 ⇒ String
Output only.
-
#address2 ⇒ String
Output only.
-
#business_name ⇒ String
Output only.
-
#city ⇒ String
Output only.
-
#country_code ⇒ String
Output only.
-
#phone_number ⇒ String
Output only.
-
#place_id ⇒ String
Output only.
-
#postal_code ⇒ String
Output only.
-
#province ⇒ String
Output only.
-
#resource_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesPerStoreView
constructor
A new instance of GoogleAdsSearchads360V23ResourcesPerStoreView.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesPerStoreView
Returns a new instance of GoogleAdsSearchads360V23ResourcesPerStoreView.
32335 32336 32337 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32335 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address1 ⇒ String
Output only. First line of the store's address.
Corresponds to the JSON property address1
32287 32288 32289 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32287 def address1 @address1 end |
#address2 ⇒ String
Output only. Second line of the store's address.
Corresponds to the JSON property address2
32292 32293 32294 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32292 def address2 @address2 end |
#business_name ⇒ String
Output only. The name of the business.
Corresponds to the JSON property businessName
32297 32298 32299 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32297 def business_name @business_name end |
#city ⇒ String
Output only. The city where the store is located.
Corresponds to the JSON property city
32302 32303 32304 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32302 def city @city end |
#country_code ⇒ String
Output only. The two-letter country code for the store's location (e.g., "US").
Corresponds to the JSON property countryCode
32307 32308 32309 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32307 def country_code @country_code end |
#phone_number ⇒ String
Output only. The phone number of the store.
Corresponds to the JSON property phoneNumber
32312 32313 32314 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32312 def phone_number @phone_number end |
#place_id ⇒ String
Output only. The place ID of the per store view.
Corresponds to the JSON property placeId
32317 32318 32319 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32317 def place_id @place_id end |
#postal_code ⇒ String
Output only. The postal code of the store's address.
Corresponds to the JSON property postalCode
32322 32323 32324 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32322 def postal_code @postal_code end |
#province ⇒ String
Output only. The province or state of the store's address.
Corresponds to the JSON property province
32327 32328 32329 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32327 def province @province end |
#resource_name ⇒ String
Output only. The resource name of the per store view. Per Store view resource
names have the form: customers/customer_id/perStoreViews/place_id`
Corresponds to the JSON propertyresourceName`
32333 32334 32335 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32333 def resource_name @resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
32340 32341 32342 32343 32344 32345 32346 32347 32348 32349 32350 32351 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32340 def update!(**args) @address1 = args[:address1] if args.key?(:address1) @address2 = args[:address2] if args.key?(:address2) @business_name = args[:business_name] if args.key?(:business_name) @city = args[:city] if args.key?(:city) @country_code = args[:country_code] if args.key?(:country_code) @phone_number = args[:phone_number] if args.key?(:phone_number) @place_id = args[:place_id] if args.key?(:place_id) @postal_code = args[:postal_code] if args.key?(:postal_code) @province = args[:province] if args.key?(:province) @resource_name = args[:resource_name] if args.key?(:resource_name) end |