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.



29548
29549
29550
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29548

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)


29533
29534
29535
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29533

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)


29541
29542
29543
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29541

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)


29546
29547
29548
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29546

def verification_status
  @verification_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29553
29554
29555
29556
29557
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29553

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