Class: Google::Shopping::Merchant::Reports::V1::ProductView
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Reports::V1::ProductView
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/reports/v1/reports.rb
Overview
Fields available for query in product_view table.
Products in the current inventory. Products in this table are the
same as a Product resource in Products
sub-API
but not all product attributes from Products sub-API are available for query
in this table. In contrast to Products sub-API, this table allows to filter
the returned list of products by product attributes. To retrieve a single
product by id or list all products, Products sub-API should be used.
Values are only set for fields requested explicitly in the request's search query.
Defined Under Namespace
Modules: AggregatedReportingContextStatus, ClickPotential Classes: ItemIssue, StatusPerReportingContext
Instance Attribute Summary collapse
-
#aggregated_reporting_context_status ⇒ ::Google::Shopping::Merchant::Reports::V1::ProductView::AggregatedReportingContextStatus
Aggregated status across all reporting contexts.
-
#availability ⇒ ::String
Availability of the product.
-
#brand ⇒ ::String
Brand of the product.
-
#category_l1 ⇒ ::String
Product category (1st level) in Google's product taxonomy.
-
#category_l2 ⇒ ::String
Product category (2nd level) in Google's product taxonomy.
-
#category_l3 ⇒ ::String
Product category (3rd level) in Google's product taxonomy.
-
#category_l4 ⇒ ::String
Product category (4th level) in Google's product taxonomy.
-
#category_l5 ⇒ ::String
Product category (5th level) in Google's product taxonomy.
-
#channel ⇒ ::Google::Shopping::Type::Channel::ChannelEnum
Channel of the product.
-
#click_potential ⇒ ::Google::Shopping::Merchant::Reports::V1::ProductView::ClickPotential
Estimated performance potential compared to highest performing products of the merchant.
-
#click_potential_rank ⇒ ::Integer
Normalized click potential of the product.
-
#condition ⇒ ::String
Condition of the product.
-
#creation_time ⇒ ::Google::Protobuf::Timestamp
The time the merchant created the product in timestamp seconds.
-
#expiration_date ⇒ ::Google::Type::Date
Expiration date for the product, specified on insertion.
-
#feed_label ⇒ ::String
Feed label of the product.
-
#gtin ⇒ ::Array<::String>
List of Global Trade Item Numbers (GTINs) of the product.
-
#id ⇒ ::String
REST ID of the product, in the form of
channel~languageCode~feedLabel~offerId. -
#item_group_id ⇒ ::String
Item group id provided by the merchant for grouping variants together.
-
#item_issues ⇒ ::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue>
List of item issues for the product.
-
#language_code ⇒ ::String
Language code of the product in BCP 47 format.
-
#offer_id ⇒ ::String
Merchant-provided id of the product.
-
#price ⇒ ::Google::Shopping::Type::Price
Product price.
-
#product_type_l1 ⇒ ::String
Product type (1st level) in merchant's own product taxonomy.
-
#product_type_l2 ⇒ ::String
Product type (2nd level) in merchant's own product taxonomy.
-
#product_type_l3 ⇒ ::String
Product type (3rd level) in merchant's own product taxonomy.
-
#product_type_l4 ⇒ ::String
Product type (4th level) in merchant's own product taxonomy.
-
#product_type_l5 ⇒ ::String
Product type (5th level) in merchant's own product taxonomy.
-
#reporting_context ⇒ ::Google::Shopping::Type::ReportingContext::ReportingContextEnum
Reporting context to restrict the query to.
-
#shipping_label ⇒ ::String
Normalized shipping label specified in the data source.
-
#status_per_reporting_context ⇒ ::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::StatusPerReportingContext>
Detailed product status per reporting context.
-
#thumbnail_link ⇒ ::String
Link to the processed image of the product, hosted on the Google infrastructure.
-
#title ⇒ ::String
Title of the product.
Instance Attribute Details
#aggregated_reporting_context_status ⇒ ::Google::Shopping::Merchant::Reports::V1::ProductView::AggregatedReportingContextStatus
Returns Aggregated status across all reporting contexts.
Reporting contexts included in the computation of the aggregated status can
be restricted using a filter on the reporting_context field.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#availability ⇒ ::String
Returns Availability of the product.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#brand ⇒ ::String
Returns Brand of the product.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#category_l1 ⇒ ::String
Returns Product category (1st level) in Google's product taxonomy.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#category_l2 ⇒ ::String
Returns Product category (2nd level) in Google's product taxonomy.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#category_l3 ⇒ ::String
Returns Product category (3rd level) in Google's product taxonomy.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#category_l4 ⇒ ::String
Returns Product category (4th level) in Google's product taxonomy.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#category_l5 ⇒ ::String
Returns Product category (5th level) in Google's product taxonomy.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#channel ⇒ ::Google::Shopping::Type::Channel::ChannelEnum
Returns Channel of the product. Can be ONLINE or LOCAL.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#click_potential ⇒ ::Google::Shopping::Merchant::Reports::V1::ProductView::ClickPotential
Returns Estimated performance potential compared to highest performing products of the merchant.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#click_potential_rank ⇒ ::Integer
Returns Normalized click potential of the product. Values range from 1 to 1000, where 1 is the highest click potential and 1000 is the theoretical lowest.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#condition ⇒ ::String
Returns Condition of the product.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#creation_time ⇒ ::Google::Protobuf::Timestamp
Returns The time the merchant created the product in timestamp seconds.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#expiration_date ⇒ ::Google::Type::Date
Returns Expiration date for the product, specified on insertion.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#feed_label ⇒ ::String
Returns Feed label of the product.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#gtin ⇒ ::Array<::String>
Returns List of Global Trade Item Numbers (GTINs) of the product.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#id ⇒ ::String
Returns REST ID of the product, in the form of
channel~languageCode~feedLabel~offerId. Merchant API methods that operate
on products take this as their name parameter.
Required in the SELECT clause.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#item_group_id ⇒ ::String
Returns Item group id provided by the merchant for grouping variants together.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#item_issues ⇒ ::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue>
Returns List of item issues for the product.
This field cannot be used for sorting the results.
Only selected attributes of this field (for example,
item_issues.severity.aggregated_severity) can be used for filtering the
results..
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#language_code ⇒ ::String
Returns Language code of the product in BCP 47 format.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#offer_id ⇒ ::String
Returns Merchant-provided id of the product.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#price ⇒ ::Google::Shopping::Type::Price
Returns Product price. Absent if the information about the price of the product is not available.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#product_type_l1 ⇒ ::String
Returns Product type (1st level) in merchant's own product taxonomy.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#product_type_l2 ⇒ ::String
Returns Product type (2nd level) in merchant's own product taxonomy.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#product_type_l3 ⇒ ::String
Returns Product type (3rd level) in merchant's own product taxonomy.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#product_type_l4 ⇒ ::String
Returns Product type (4th level) in merchant's own product taxonomy.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#product_type_l5 ⇒ ::String
Returns Product type (5th level) in merchant's own product taxonomy.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#reporting_context ⇒ ::Google::Shopping::Type::ReportingContext::ReportingContextEnum
Returns Reporting context to restrict the query to.
Restricts the reporting contexts returned in status_per_reporting_context
and item_issues, and used to compute
aggregated_reporting_context_status.
This field can only be used in the WHERE clause and cannot be selected
in the SELECT clause..
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#shipping_label ⇒ ::String
Returns Normalized shipping label specified in the data source.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#status_per_reporting_context ⇒ ::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::StatusPerReportingContext>
Returns Detailed product status per reporting context.
Reporting contexts included in this list can be restricted using a filter
on the reporting_context field.
Equivalent to
[ProductStatus.destination_statuses][google.shopping.merchant.products.v1.ProductStatus]
in Products API.
This field cannot be used for sorting or filtering the results..
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#thumbnail_link ⇒ ::String
Returns Link to the processed image of the product, hosted on the Google infrastructure.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |
#title ⇒ ::String
Returns Title of the product.
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 |
# File 'proto_docs/google/shopping/merchant/reports/v1/reports.rb', line 412 class ProductView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Item issue associated with the product. # @!attribute [rw] type # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueType] # Item issue type. # @!attribute [rw] severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity] # Item issue severity. # @!attribute [rw] resolution # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueResolution] # Item issue resolution. class ItemIssue include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue type. # @!attribute [rw] code # @return [::String] # Error code of the issue, equivalent to the `code` of [Product # issues](https://developers.google.com/shopping-content/guides/product-issues). # @!attribute [rw] canonical_attribute # @return [::String] # Canonical attribute name for attribute-specific issues. class ItemIssueType include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # How the issue affects the serving of the product. # @!attribute [rw] severity_per_reporting_context # @return [::Array<::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::IssueSeverityPerReportingContext>] # Issue severity per reporting context. # # Reporting contexts included in this list can be restricted using a # filter on the `reporting_context` field. # @!attribute [rw] aggregated_severity # @return [::Google::Shopping::Merchant::Reports::V1::ProductView::ItemIssue::ItemIssueSeverity::AggregatedIssueSeverity] # Aggregated severity of the issue for all reporting contexts it affects. # # Reporting contexts included in the computation of the aggregated # severity can be restricted using a filter on the `reporting_context` # field. # # **This field can be used for filtering the results.** class ItemIssueSeverity include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Issue severity per reporting context. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the issue applies to. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented # in ISO 3166 format. # @!attribute [rw] demoted_countries # @return [::Array<::String>] # List of demoted countries in the reporting context, represented in # ISO 3166 format. class IssueSeverityPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Issue severity aggregated for all reporting contexts. module AggregatedIssueSeverity # Not specified. AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED = 0 # Issue disapproves the product in at least one reporting context. DISAPPROVED = 1 # Issue demotes the product in all reporting contexts it affects. DEMOTED = 2 # Issue resolution is `PENDING_PROCESSING`. PENDING = 3 end end # How to resolve the issue. module ItemIssueResolution # Not specified. ITEM_ISSUE_RESOLUTION_UNSPECIFIED = 0 # The merchant has to fix the issue. MERCHANT_ACTION = 1 # The issue will be resolved automatically (for example, image crawl) or # through a Google review. No merchant action is required now. Resolution # might lead to another issue (for example, if crawl fails). PENDING_PROCESSING = 2 end end # Status of the product for a specific reporting context. # # Equivalent to # [`DestinationStatus`][google.shopping.merchant.products.v1.ProductStatus.DestinationStatus] # in Products API. # @!attribute [rw] reporting_context # @return [::Google::Shopping::Type::ReportingContext::ReportingContextEnum] # Reporting context the status applies to. # @!attribute [rw] approved_countries # @return [::Array<::String>] # List of approved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] disapproved_countries # @return [::Array<::String>] # List of disapproved countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. # @!attribute [rw] pending_countries # @return [::Array<::String>] # List of pending countries in the reporting context, represented in # [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for # example, `US`. class StatusPerReportingContext include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Status of the product aggregated for all reporting contexts. # # Reporting contexts included in the computation of the aggregated status can # be restricted using a filter on the `reporting_context` field. # # Here's an example of how the aggregated status is computed: # # Free listings | Shopping ads | Status # --------------|--------------|------------------------------ # Approved | Approved | ELIGIBLE # Approved | Pending | ELIGIBLE # Approved | Disapproved | ELIGIBLE_LIMITED # Pending | Pending | PENDING # Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED module AggregatedReportingContextStatus # Not specified. AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED = 0 # Product is not eligible or is disapproved for all reporting contexts and # countries. NOT_ELIGIBLE_OR_DISAPPROVED = 1 # Product's status is pending in all reporting contexts and countries. PENDING = 2 # Product is eligible for some (but not all) reporting contexts and # countries. ELIGIBLE_LIMITED = 3 # Product is eligible for all reporting contexts and countries. ELIGIBLE = 4 end # A product's [click # potential](https://support.google.com/merchants/answer/188488) estimates # its performance potential compared to highest performing products of the # merchant. Click potential of a product helps merchants to prioritize which # products to fix and helps them understand how products are performing # against their potential. module ClickPotential # Unknown predicted clicks impact. CLICK_POTENTIAL_UNSPECIFIED = 0 # Potential to receive a low number of clicks compared to the highest # performing products of the merchant. LOW = 1 # Potential to receive a moderate number of clicks compared to the highest # performing products of the merchant. MEDIUM = 2 # Potential to receive a similar number of clicks as the highest performing # products of the merchant. HIGH = 3 end end |