Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesGranularLicenseStatus

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

License status at geo + vertical level.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesGranularLicenseStatus

Returns a new instance of GoogleAdsSearchads360V23ResourcesGranularLicenseStatus.



29656
29657
29658
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29656

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)


29641
29642
29643
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29641

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)


29649
29650
29651
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29649

def geo_criterion_id
  @geo_criterion_id
end

#verification_statusString

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

Returns:

  • (String)


29654
29655
29656
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29654

def verification_status
  @verification_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29661
29662
29663
29664
29665
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29661

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