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.



29487
29488
29489
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29487

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)


29472
29473
29474
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29472

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)


29480
29481
29482
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29480

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)


29485
29486
29487
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29485

def verification_status
  @verification_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29492
29493
29494
29495
29496
# File 'lib/google/apis/searchads360_v23/classes.rb', line 29492

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