Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus

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

Insurance status at geo + vertical level.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus

Returns a new instance of GoogleAdsSearchads360V23ResourcesGranularInsuranceStatus.



29451
29452
29453
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29451

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

Instance Attribute Details

#category_idString

Output only. Service category associated with the status. For example, xcat: service_area_business_plumber. For more details see: https://developers.google. com/google-ads/api/data/codes-formats#local_services_ids Corresponds to the JSON property categoryId

Returns:

  • (String)


29436
29437
29438
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29436

def category_id
  @category_id
end

#geo_criterion_idFixnum

Output only. Geotarget criterion ID associated with the status. Can be on country or state/province geo level, depending on requirements and location. See https://developers.google.com/google-ads/api/data/geotargets for more information. Corresponds to the JSON property geoCriterionId

Returns:

  • (Fixnum)


29444
29445
29446
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29444

def geo_criterion_id
  @geo_criterion_id
end

#verification_statusString

Output only. Granular insurance status, per geo + vertical. Corresponds to the JSON property verificationStatus

Returns:

  • (String)


29449
29450
29451
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29449

def verification_status
  @verification_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29456
29457
29458
29459
29460
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29456

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