Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- manufacturersService :: ServiceConfig
- manufacturercenterScope :: Proxy '["https://www.googleapis.com/auth/manufacturercenter"]
- data Attributes
- attributes :: Attributes
- aProductName :: Lens' Attributes (Maybe Text)
- aProductLine :: Lens' Attributes (Maybe Text)
- aProductType :: Lens' Attributes [Text]
- aBrand :: Lens' Attributes (Maybe Text)
- aGtin :: Lens' Attributes [Text]
- aTitle :: Lens' Attributes (Maybe Text)
- aMpn :: Lens' Attributes (Maybe Text)
- aProductPageURL :: Lens' Attributes (Maybe Text)
- data Xgafv
- data IssueSeverity
- data Product
- product :: Product
- pParent :: Lens' Product (Maybe Text)
- pManuallyDeletedAttributes :: Lens' Product [Text]
- pTargetCountry :: Lens' Product (Maybe Text)
- pManuallyProvidedAttributes :: Lens' Product (Maybe Attributes)
- pName :: Lens' Product (Maybe Text)
- pIssues :: Lens' Product [Issue]
- pUploadedAttributes :: Lens' Product (Maybe Attributes)
- pContentLanguage :: Lens' Product (Maybe Text)
- pFinalAttributes :: Lens' Product (Maybe Attributes)
- pProductId :: Lens' Product (Maybe Text)
- data Issue
- issue :: Issue
- iAttribute :: Lens' Issue (Maybe Text)
- iSeverity :: Lens' Issue (Maybe IssueSeverity)
- iType :: Lens' Issue (Maybe Text)
- iDescription :: Lens' Issue (Maybe Text)
- data ListProductsResponse
- listProductsResponse :: ListProductsResponse
- lprNextPageToken :: Lens' ListProductsResponse (Maybe Text)
- lprProducts :: Lens' ListProductsResponse [Product]
Service Configuration
manufacturersService :: ServiceConfig Source #
Default request referring to version v1
of the Manufacturer Center API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
manufacturercenterScope :: Proxy '["https://www.googleapis.com/auth/manufacturercenter"] Source #
Manage your product listings for Google Manufacturer Center
Attributes
data Attributes Source #
Attributes of the product. For more information, see https://support.google.com/manufacturers/answer/6124116.
See: attributes
smart constructor.
attributes :: Attributes Source #
Creates a value of Attributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aProductName :: Lens' Attributes (Maybe Text) Source #
The canonical name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productname.
aProductLine :: Lens' Attributes (Maybe Text) Source #
The name of the group of products related to the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productline.
aProductType :: Lens' Attributes [Text] Source #
The manufacturer's category of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#producttype.
aBrand :: Lens' Attributes (Maybe Text) Source #
The brand name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#brand.
aGtin :: Lens' Attributes [Text] Source #
The Global Trade Item Number (GTIN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gtin.
aTitle :: Lens' Attributes (Maybe Text) Source #
The title of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#title.
aMpn :: Lens' Attributes (Maybe Text) Source #
The Manufacturer Part Number (MPN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#mpn.
aProductPageURL :: Lens' Attributes (Maybe Text) Source #
The URL of the manufacturer's detail page of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productpage.
Xgafv
V1 error format.
IssueSeverity
data IssueSeverity Source #
The severity of the issue.
SeverityUnspecified |
|
Error' |
|
Warning |
|
Info |
|
Product
Product data.
See: product
smart constructor.
Creates a value of Product
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pParent :: Lens' Product (Maybe Text) Source #
Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account. 'OutputOnly
pManuallyDeletedAttributes :: Lens' Product [Text] Source #
Names of the attributes of the product deleted manually via the Manufacturer Center UI. 'OutputOnly
pTargetCountry :: Lens' Product (Maybe Text) Source #
The target country of the product as a CLDR territory code (for example, US). 'OutputOnly
pManuallyProvidedAttributes :: Lens' Product (Maybe Attributes) Source #
Attributes of the product provided manually via the Manufacturer Center UI. 'OutputOnly
pName :: Lens' Product (Maybe Text) Source #
Name in the format `{target_country}:{content_language}:{product_id}`. `target_country` - The target country of the product as a CLDR territory code (for example, US). `content_language` - The content language of the product as a two-letter ISO 639-1 language code (for example, en). `product_id` - The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id. 'OutputOnly
pIssues :: Lens' Product [Issue] Source #
A server-generated list of issues associated with the product. 'OutputOnly
pUploadedAttributes :: Lens' Product (Maybe Attributes) Source #
Attributes of the product uploaded via the Manufacturer Center API or via feeds.
pContentLanguage :: Lens' Product (Maybe Text) Source #
The content language of the product as a two-letter ISO 639-1 language code (for example, en). 'OutputOnly
pFinalAttributes :: Lens' Product (Maybe Attributes) Source #
Final attributes of the product. The final attributes are obtained by overriding the uploaded attributes with the manually provided and deleted attributes. Google systems only process, evaluate, review, and/or use final attributes. 'OutputOnly
pProductId :: Lens' Product (Maybe Text) Source #
The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id. 'OutputOnly
Issue
Product issue.
See: issue
smart constructor.
Creates a value of Issue
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iAttribute :: Lens' Issue (Maybe Text) Source #
If present, the attribute that triggered the issue. For more information about attributes, see https://support.google.com/manufacturers/answer/6124116.
iType :: Lens' Issue (Maybe Text) Source #
The server-generated type of the issue, for example, “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
ListProductsResponse
data ListProductsResponse Source #
listProductsResponse :: ListProductsResponse Source #
Creates a value of ListProductsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lprNextPageToken :: Lens' ListProductsResponse (Maybe Text) Source #
The token for the retrieval of the next page of product statuses.
lprProducts :: Lens' ListProductsResponse [Product] Source #
List of the products.