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.



29584
29585
29586
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29584

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)


29569
29570
29571
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29569

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)


29577
29578
29579
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29577

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)


29582
29583
29584
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29582

def verification_status
  @verification_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29589
29590
29591
29592
29593
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29589

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