Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb
Overview
A Product Bidding Category.
Instance Attribute Summary collapse
-
#country_code ⇒ String
Output only.
-
#id ⇒ Fixnum
Output only.
-
#language_code ⇒ String
Output only.
-
#level ⇒ String
Output only.
-
#localized_name ⇒ String
Output only.
-
#product_bidding_category_constant_parent ⇒ String
Output only.
-
#resource_name ⇒ String
Output only.
-
#status ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant
constructor
A new instance of GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant
Returns a new instance of GoogleAdsSearchads360V0ResourcesProductBiddingCategoryConstant.
7497 7498 7499 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7497 def initialize(**args) update!(**args) end |
Instance Attribute Details
#country_code ⇒ String
Output only. Two-letter upper-case country code of the product bidding
category.
Corresponds to the JSON property countryCode
7455 7456 7457 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7455 def country_code @country_code end |
#id ⇒ Fixnum
Output only. ID of the product bidding category. This ID is equivalent to the
google_product_category ID as described in this article: https://support.
google.com/merchants/answer/6324436.
Corresponds to the JSON property id
7462 7463 7464 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7462 def id @id end |
#language_code ⇒ String
Output only. Language code of the product bidding category.
Corresponds to the JSON property languageCode
7467 7468 7469 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7467 def language_code @language_code end |
#level ⇒ String
Output only. Level of the product bidding category.
Corresponds to the JSON property level
7472 7473 7474 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7472 def level @level end |
#localized_name ⇒ String
Output only. Display value of the product bidding category localized according
to language_code.
Corresponds to the JSON property localizedName
7478 7479 7480 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7478 def localized_name @localized_name end |
#product_bidding_category_constant_parent ⇒ String
Output only. Resource name of the parent product bidding category.
Corresponds to the JSON property productBiddingCategoryConstantParent
7483 7484 7485 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7483 def product_bidding_category_constant_parent @product_bidding_category_constant_parent end |
#resource_name ⇒ String
Output only. The resource name of the product bidding category. Product
bidding category resource names have the form:
productBiddingCategoryConstants/
country_code~
level~
id`
Corresponds to the JSON property
resourceName`
7490 7491 7492 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7490 def resource_name @resource_name end |
#status ⇒ String
Output only. Status of the product bidding category.
Corresponds to the JSON property status
7495 7496 7497 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7495 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 7502 def update!(**args) @country_code = args[:country_code] if args.key?(:country_code) @id = args[:id] if args.key?(:id) @language_code = args[:language_code] if args.key?(:language_code) @level = args[:level] if args.key?(:level) @localized_name = args[:localized_name] if args.key?(:localized_name) @product_bidding_category_constant_parent = args[:product_bidding_category_constant_parent] if args.key?(:product_bidding_category_constant_parent) @resource_name = args[:resource_name] if args.key?(:resource_name) @status = args[:status] if args.key?(:status) end |