REST Resource: accounts.aggregateProductStatuses

Resource: AggregateProductStatus

Aggregate product statuses for a given reporting context and country.

JSON representation
{
  "name": string,
  "reportingContext": enum (ReportingContextEnum),
  "country": string,
  "stats": {
    object (Stats)
  },
  "itemLevelIssues": [
    {
      object (ItemLevelIssue)
    }
  ]
}
Fields
name

string

Identifier. The name of the AggregateProductStatuses resource. Format: accounts/{account}/aggregateProductStatuses/{aggregateProductStatuses}

reportingContext

enum (ReportingContextEnum)

The reporting context of the aggregate product statuses.

country

string

The country of the aggregate product statuses. Represented as a CLDR territory code.

stats

object (Stats)

Products statistics for the given reporting context and country.

itemLevelIssues[]

object (ItemLevelIssue)

The product issues that affect the given reporting context and country.

Stats

Products statistics.

JSON representation
{
  "activeCount": string,
  "pendingCount": string,
  "disapprovedCount": string,
  "expiringCount": string
}
Fields
activeCount

string (int64 format)

The number of products that are active.

pendingCount

string (int64 format)

The number of products that are pending.

disapprovedCount

string (int64 format)

The number of products that are disapproved.

expiringCount

string (int64 format)

The number of products that are expiring.

ItemLevelIssue

The ItemLevelIssue of the product status.

JSON representation
{
  "code": string,
  "severity": enum (Severity),
  "resolution": enum (Resolution),
  "attribute": string,
  "description": string,
  "detail": string,
  "documentationUri": string,
  "productCount": string
}
Fields
code

string

The error code of the issue.

severity

enum (Severity)

How this issue affects serving of the offer.

resolution

enum (Resolution)

Whether the issue can be resolved by the merchant.

attribute

string

The attribute's name, if the issue is caused by a single attribute.

description

string

A short issue description in English.

detail

string

A detailed issue description in English.

documentationUri

string

The URL of a web page to help with resolving this issue.

productCount

string (int64 format)

The number of products affected by this issue.

Severity

How the issue affects the serving of the product.

Enums
SEVERITY_UNSPECIFIED Not specified.
NOT_IMPACTED This issue represents a warning and does not have a direct affect on the product.
DEMOTED The product is demoted and most likely have limited performance in search results
DISAPPROVED Issue disapproves the product.

Resolution

How the issue can be resolved.

Enums
RESOLUTION_UNSPECIFIED Not specified.
MERCHANT_ACTION The issue can be resolved by the merchant.
PENDING_PROCESSING The issue will be resolved auomatically.

Methods

list

Lists the AggregateProductStatuses resources for your merchant account.