Close httplib2 connections.
delete(parent, name, x__xgafv=None)
Deletes the product from a Manufacturer Center account.
get(parent, name, include=None, x__xgafv=None)
Gets the product from a Manufacturer Center account, including product issues. A recently updated product takes around 15 minutes to process. Changes are only visible after it has been processed. While some issues may be available once the product has been processed, other issues may take days to appear.
list(parent, include=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists all the products in a Manufacturer Center account.
Retrieves the next page of results.
update(parent, name, body=None, x__xgafv=None)
Inserts or updates the attributes of the product in a Manufacturer Center account. Creates a product with the provided attributes. If the product already exists, then all attributes are replaced with the new ones. The checks at upload time are minimal. All required attributes need to be present for a product to be valid. Issues may show up later after the API has accepted a new upload for a product and it is possible to overwrite an existing valid product with an invalid product. To detect this, you should retrieve the product and check it for issues once the new version is available. Uploaded attributes first need to be processed before they can be retrieved. Until then, new products will be unavailable, and retrieval of previously uploaded products will return the original state of the product.
close()
Close httplib2 connections.
delete(parent, name, x__xgafv=None)
Deletes the product from a Manufacturer Center account. Args: parent: string, Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account. (required) name: string, 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. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } }
get(parent, name, include=None, x__xgafv=None)
Gets the product from a Manufacturer Center account, including product issues. A recently updated product takes around 15 minutes to process. Changes are only visible after it has been processed. While some issues may be available once the product has been processed, other issues may take days to appear. Args: parent: string, Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account. (required) name: string, 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. (required) include: string, The information to be included in the response. Only sections listed here will be returned. (repeated) Allowed values UNKNOWN - Unknown, never used. ATTRIBUTES - Include the attributes of the product. ISSUES - Include the issues of the product. DESTINATION_STATUSES - Include the destination statuses of the product. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Product data. "attributes": { # Attributes of the product. For more information, see https://support.google.com/manufacturers/answer/6124116. # Attributes of the product uploaded to the Manufacturer Center. Manually edited attributes are taken into account. "additionalImageLink": [ # The additional images of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#addlimage. { # An image. "imageUrl": "A String", # The URL of the image. For crawled images, this is the provided URL. For uploaded images, this is a serving URL from Google if the image has been processed successfully. "status": "A String", # The status of the image. @OutputOnly "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly }, ], "ageGroup": "A String", # The target age group of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#agegroup. "brand": "A String", # The brand name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#brand. "capacity": { # The capacity of a product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity. # The capacity of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity. "unit": "A String", # The unit of the capacity, i.e., MB, GB, or TB. "value": "A String", # The numeric value of the capacity. }, "certification": [ # Optional. List of certifications claimed by this product. { # Description of a certification. "authority": "A String", # Required. Name of the certification body. "code": "A String", # Required. A unique code to identify the certification. "name": "A String", # Required. Name of the certification. }, ], "color": "A String", # The color of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#color. "count": { # The number of products in a single package. For more information, see https://support.google.com/manufacturers/answer/6124116#count. # The count of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#count. "unit": "A String", # The unit in which these products are counted. "value": "A String", # The numeric value of the number of products in a package. }, "description": "A String", # The description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#description. "disclosureDate": "A String", # The disclosure date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#disclosure. "excludedDestination": [ # A list of excluded destinations such as "ClientExport", "ClientShoppingCatalog" or "PartnerShoppingCatalog". For more information, see https://support.google.com/manufacturers/answer/7443550 "A String", ], "featureDescription": [ # The rich format description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc. { # A feature description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc. "headline": "A String", # A short description of the feature. "image": { # An image. # An optional image describing the feature. "imageUrl": "A String", # The URL of the image. For crawled images, this is the provided URL. For uploaded images, this is a serving URL from Google if the image has been processed successfully. "status": "A String", # The status of the image. @OutputOnly "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly }, "text": "A String", # A detailed description of the feature. }, ], "flavor": "A String", # The flavor of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#flavor. "format": "A String", # The format of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#format. "gender": "A String", # The target gender of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gender. "grocery": { # Grocery Attributes. See more at https://support.google.com/manufacturers/answer/12098458#grocery. "activeIngredients": "A String", # Active ingredients. "alcoholByVolume": 3.14, # Alcohol by volume. "allergens": "A String", # Allergens. "derivedNutritionClaim": [ # Derived nutrition claim. "A String", ], "directions": "A String", # Directions. "indications": "A String", # Indications. "ingredients": "A String", # Ingredients. "nutritionClaim": [ # Nutrition claim. "A String", ], "storageInstructions": "A String", # Storage instructions. }, "gtin": [ # The Global Trade Item Number (GTIN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gtin. "A String", ], "imageLink": { # An image. # The image of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#image. "imageUrl": "A String", # The URL of the image. For crawled images, this is the provided URL. For uploaded images, this is a serving URL from Google if the image has been processed successfully. "status": "A String", # The status of the image. @OutputOnly "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly }, "includedDestination": [ # A list of included destinations such as "ClientExport", "ClientShoppingCatalog" or "PartnerShoppingCatalog". For more information, see https://support.google.com/manufacturers/answer/7443550 "A String", ], "intendedCountry": [ # Optional. List of countries to show this product in. Countries provided in this attribute will override any of the countries configured at feed level. The values should be: the [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of the countries in which this item will be shown. "A String", ], "itemGroupId": "A String", # The item group id of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#itemgroupid. "material": "A String", # The material of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#material. "mpn": "A String", # The Manufacturer Part Number (MPN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#mpn. "nutrition": { # Nutrition Attributes. See more at https://support.google.com/manufacturers/answer/12098458#food-servings. "addedSugars": { # Combination of float amount and unit. # Added sugars. "amount": 3.14, # amount. "unit": "A String", # unit. }, "addedSugarsDailyPercentage": 3.14, # Added sugars daily percentage. "calcium": { # Combination of float amount and unit. # Calcium. "amount": 3.14, # amount. "unit": "A String", # unit. }, "calciumDailyPercentage": 3.14, # Calcium daily percentage. "cholesterol": { # Combination of float amount and unit. # Cholesterol. "amount": 3.14, # amount. "unit": "A String", # unit. }, "cholesterolDailyPercentage": 3.14, # Cholesterol daily percentage. "dietaryFiber": { # Combination of float amount and unit. # Dietary fiber. "amount": 3.14, # amount. "unit": "A String", # unit. }, "dietaryFiberDailyPercentage": 3.14, # Dietary fiber daily percentage. "energy": { # Combination of float amount and unit. # Mandatory Nutrition Facts. Energy. "amount": 3.14, # amount. "unit": "A String", # unit. }, "energyFromFat": { # Combination of float amount and unit. # Energy from fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "folateDailyPercentage": 3.14, # Folate daily percentage. "folateFolicAcid": { # Combination of float amount and unit. # Folate folic acid. "amount": 3.14, # amount. "unit": "A String", # unit. }, "folateMcgDfe": 3.14, # Folate mcg DFE. "iron": { # Combination of float amount and unit. # Iron. "amount": 3.14, # amount. "unit": "A String", # unit. }, "ironDailyPercentage": 3.14, # Iron daily percentage. "monounsaturatedFat": { # Combination of float amount and unit. # Monounsaturated fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "nutritionFactMeasure": "A String", # Nutrition fact measure. "polyols": { # Combination of float amount and unit. # Polyols. "amount": 3.14, # amount. "unit": "A String", # unit. }, "polyunsaturatedFat": { # Combination of float amount and unit. # Polyunsaturated fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "potassium": { # Combination of float amount and unit. # Potassium. "amount": 3.14, # amount. "unit": "A String", # unit. }, "potassiumDailyPercentage": 3.14, # Potassium daily percentage. "preparedSizeDescription": "A String", # Prepared size description. "protein": { # Combination of float amount and unit. # Protein. "amount": 3.14, # amount. "unit": "A String", # unit. }, "proteinDailyPercentage": 3.14, # Protein daily percentage. "saturatedFat": { # Combination of float amount and unit. # Saturated fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "saturatedFatDailyPercentage": 3.14, # Saturated fat daily percentage. "servingSizeDescription": "A String", # Food Serving Size. Serving size description. "servingSizeMeasure": { # Combination of float amount and unit. # Serving size measure. "amount": 3.14, # amount. "unit": "A String", # unit. }, "servingsPerContainer": "A String", # Servings per container. "sodium": { # Combination of float amount and unit. # Sodium. "amount": 3.14, # amount. "unit": "A String", # unit. }, "sodiumDailyPercentage": 3.14, # Sodium daily percentage. "starch": { # Combination of float amount and unit. # Starch. "amount": 3.14, # amount. "unit": "A String", # unit. }, "totalCarbohydrate": { # Combination of float amount and unit. # Total carbohydrate. "amount": 3.14, # amount. "unit": "A String", # unit. }, "totalCarbohydrateDailyPercentage": 3.14, # Total carbohydrate daily percentage. "totalFat": { # Combination of float amount and unit. # Total fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "totalFatDailyPercentage": 3.14, # Total fat daily percentage. "totalSugars": { # Combination of float amount and unit. # Total sugars. "amount": 3.14, # amount. "unit": "A String", # unit. }, "totalSugarsDailyPercentage": 3.14, # Total sugars daily percentage. "transFat": { # Combination of float amount and unit. # Trans fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "transFatDailyPercentage": 3.14, # Trans fat daily percentage. "vitaminD": { # Combination of float amount and unit. # Vitamin D. "amount": 3.14, # amount. "unit": "A String", # unit. }, "vitaminDDailyPercentage": 3.14, # Vitamin D daily percentage. "voluntaryNutritionFact": [ # Voluntary nutrition fact. { # Voluntary Nutrition Facts. "dailyPercentage": 3.14, # Daily percentage. "name": "A String", # Name. "value": { # Combination of float amount and unit. # Value. "amount": 3.14, # amount. "unit": "A String", # unit. }, }, ], }, "pattern": "A String", # The pattern of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#pattern. "productDetail": [ # The details of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail. { # A product detail of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail. "attributeName": "A String", # The name of the attribute. "attributeValue": "A String", # The value of the attribute. "sectionName": "A String", # A short section name that can be reused between multiple product details. }, ], "productHighlight": [ # The product highlights. For more information, see https://support.google.com/manufacturers/answer/10066942 "A String", ], "productLine": "A String", # The name of the group of products related to the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productline. "productName": "A String", # The canonical name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productname. "productPageUrl": "A String", # The URL of the detail page of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productpage. "productType": [ # The type or category of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#producttype. "A String", ], "releaseDate": "A String", # The release date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#release. "richProductContent": [ # Rich product content. For more information, see https://support.google.com/manufacturers/answer/9389865 "A String", ], "scent": "A String", # The scent of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#scent. "size": "A String", # The size of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#size. "sizeSystem": "A String", # The size system of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizesystem. "sizeType": [ # The size type of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizetype. "A String", ], "suggestedRetailPrice": { # A price. # The suggested retail price (MSRP) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#price. "amount": "A String", # The numeric value of the price. "currency": "A String", # The currency in which the price is denoted. }, "targetClientId": "A String", # The target client id. Should only be used in the accounts of the data partners. For more information, see https://support.google.com/manufacturers/answer/10857344 "theme": "A String", # The theme of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#theme. "title": "A String", # The title of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#title. "videoLink": [ # The videos of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#video. "A String", ], "virtualModelLink": "A String", # Virtual Model (3d) asset link. }, "contentLanguage": "A String", # The content language of the product as a two-letter ISO 639-1 language code (for example, en). "destinationStatuses": [ # The status of the destinations. { # The destination status. "approvedCountries": [ # Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is approved. "A String", ], "destination": "A String", # The name of the destination. "disapprovedCountries": [ # Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is disapproved. "A String", ], "pendingCountries": [ # Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval. "A String", ], "status": "A String", # The status of the destination. }, ], "feedLabel": "A String", # Optional. The feed label for the product. "issues": [ # A server-generated list of issues associated with the product. { # Product issue. "applicableCountries": [ # Output only. List of country codes (ISO 3166-1 alpha-2) where issue applies to the manufacturer product. "A String", ], "attribute": "A String", # If present, the attribute that triggered the issue. For more information about attributes, see https://support.google.com/manufacturers/answer/6124116. "description": "A String", # Longer description of the issue focused on how to resolve it. "destination": "A String", # The destination this issue applies to. "resolution": "A String", # What needs to happen to resolve the issue. "severity": "A String", # The severity of the issue. "timestamp": "A String", # The timestamp when this issue appeared. "title": "A String", # Short title describing the nature of the issue. "type": "A String", # The server-generated type of the issue, for example, “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc. }, ], "name": "A String", # 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. "parent": "A String", # Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account. "productId": "A String", # The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id. "targetCountry": "A String", # The target country of the product as a CLDR territory code (for example, US). }
list(parent, include=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists all the products in a Manufacturer Center account. Args: parent: string, Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account. (required) include: string, The information to be included in the response. Only sections listed here will be returned. (repeated) Allowed values UNKNOWN - Unknown, never used. ATTRIBUTES - Include the attributes of the product. ISSUES - Include the issues of the product. DESTINATION_STATUSES - Include the destination statuses of the product. pageSize: integer, Maximum number of product statuses to return in the response, used for paging. pageToken: string, The token returned by the previous request. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { "nextPageToken": "A String", # The token for the retrieval of the next page of product statuses. "products": [ # List of the products. { # Product data. "attributes": { # Attributes of the product. For more information, see https://support.google.com/manufacturers/answer/6124116. # Attributes of the product uploaded to the Manufacturer Center. Manually edited attributes are taken into account. "additionalImageLink": [ # The additional images of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#addlimage. { # An image. "imageUrl": "A String", # The URL of the image. For crawled images, this is the provided URL. For uploaded images, this is a serving URL from Google if the image has been processed successfully. "status": "A String", # The status of the image. @OutputOnly "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly }, ], "ageGroup": "A String", # The target age group of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#agegroup. "brand": "A String", # The brand name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#brand. "capacity": { # The capacity of a product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity. # The capacity of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity. "unit": "A String", # The unit of the capacity, i.e., MB, GB, or TB. "value": "A String", # The numeric value of the capacity. }, "certification": [ # Optional. List of certifications claimed by this product. { # Description of a certification. "authority": "A String", # Required. Name of the certification body. "code": "A String", # Required. A unique code to identify the certification. "name": "A String", # Required. Name of the certification. }, ], "color": "A String", # The color of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#color. "count": { # The number of products in a single package. For more information, see https://support.google.com/manufacturers/answer/6124116#count. # The count of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#count. "unit": "A String", # The unit in which these products are counted. "value": "A String", # The numeric value of the number of products in a package. }, "description": "A String", # The description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#description. "disclosureDate": "A String", # The disclosure date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#disclosure. "excludedDestination": [ # A list of excluded destinations such as "ClientExport", "ClientShoppingCatalog" or "PartnerShoppingCatalog". For more information, see https://support.google.com/manufacturers/answer/7443550 "A String", ], "featureDescription": [ # The rich format description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc. { # A feature description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc. "headline": "A String", # A short description of the feature. "image": { # An image. # An optional image describing the feature. "imageUrl": "A String", # The URL of the image. For crawled images, this is the provided URL. For uploaded images, this is a serving URL from Google if the image has been processed successfully. "status": "A String", # The status of the image. @OutputOnly "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly }, "text": "A String", # A detailed description of the feature. }, ], "flavor": "A String", # The flavor of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#flavor. "format": "A String", # The format of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#format. "gender": "A String", # The target gender of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gender. "grocery": { # Grocery Attributes. See more at https://support.google.com/manufacturers/answer/12098458#grocery. "activeIngredients": "A String", # Active ingredients. "alcoholByVolume": 3.14, # Alcohol by volume. "allergens": "A String", # Allergens. "derivedNutritionClaim": [ # Derived nutrition claim. "A String", ], "directions": "A String", # Directions. "indications": "A String", # Indications. "ingredients": "A String", # Ingredients. "nutritionClaim": [ # Nutrition claim. "A String", ], "storageInstructions": "A String", # Storage instructions. }, "gtin": [ # The Global Trade Item Number (GTIN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gtin. "A String", ], "imageLink": { # An image. # The image of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#image. "imageUrl": "A String", # The URL of the image. For crawled images, this is the provided URL. For uploaded images, this is a serving URL from Google if the image has been processed successfully. "status": "A String", # The status of the image. @OutputOnly "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly }, "includedDestination": [ # A list of included destinations such as "ClientExport", "ClientShoppingCatalog" or "PartnerShoppingCatalog". For more information, see https://support.google.com/manufacturers/answer/7443550 "A String", ], "intendedCountry": [ # Optional. List of countries to show this product in. Countries provided in this attribute will override any of the countries configured at feed level. The values should be: the [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of the countries in which this item will be shown. "A String", ], "itemGroupId": "A String", # The item group id of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#itemgroupid. "material": "A String", # The material of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#material. "mpn": "A String", # The Manufacturer Part Number (MPN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#mpn. "nutrition": { # Nutrition Attributes. See more at https://support.google.com/manufacturers/answer/12098458#food-servings. "addedSugars": { # Combination of float amount and unit. # Added sugars. "amount": 3.14, # amount. "unit": "A String", # unit. }, "addedSugarsDailyPercentage": 3.14, # Added sugars daily percentage. "calcium": { # Combination of float amount and unit. # Calcium. "amount": 3.14, # amount. "unit": "A String", # unit. }, "calciumDailyPercentage": 3.14, # Calcium daily percentage. "cholesterol": { # Combination of float amount and unit. # Cholesterol. "amount": 3.14, # amount. "unit": "A String", # unit. }, "cholesterolDailyPercentage": 3.14, # Cholesterol daily percentage. "dietaryFiber": { # Combination of float amount and unit. # Dietary fiber. "amount": 3.14, # amount. "unit": "A String", # unit. }, "dietaryFiberDailyPercentage": 3.14, # Dietary fiber daily percentage. "energy": { # Combination of float amount and unit. # Mandatory Nutrition Facts. Energy. "amount": 3.14, # amount. "unit": "A String", # unit. }, "energyFromFat": { # Combination of float amount and unit. # Energy from fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "folateDailyPercentage": 3.14, # Folate daily percentage. "folateFolicAcid": { # Combination of float amount and unit. # Folate folic acid. "amount": 3.14, # amount. "unit": "A String", # unit. }, "folateMcgDfe": 3.14, # Folate mcg DFE. "iron": { # Combination of float amount and unit. # Iron. "amount": 3.14, # amount. "unit": "A String", # unit. }, "ironDailyPercentage": 3.14, # Iron daily percentage. "monounsaturatedFat": { # Combination of float amount and unit. # Monounsaturated fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "nutritionFactMeasure": "A String", # Nutrition fact measure. "polyols": { # Combination of float amount and unit. # Polyols. "amount": 3.14, # amount. "unit": "A String", # unit. }, "polyunsaturatedFat": { # Combination of float amount and unit. # Polyunsaturated fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "potassium": { # Combination of float amount and unit. # Potassium. "amount": 3.14, # amount. "unit": "A String", # unit. }, "potassiumDailyPercentage": 3.14, # Potassium daily percentage. "preparedSizeDescription": "A String", # Prepared size description. "protein": { # Combination of float amount and unit. # Protein. "amount": 3.14, # amount. "unit": "A String", # unit. }, "proteinDailyPercentage": 3.14, # Protein daily percentage. "saturatedFat": { # Combination of float amount and unit. # Saturated fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "saturatedFatDailyPercentage": 3.14, # Saturated fat daily percentage. "servingSizeDescription": "A String", # Food Serving Size. Serving size description. "servingSizeMeasure": { # Combination of float amount and unit. # Serving size measure. "amount": 3.14, # amount. "unit": "A String", # unit. }, "servingsPerContainer": "A String", # Servings per container. "sodium": { # Combination of float amount and unit. # Sodium. "amount": 3.14, # amount. "unit": "A String", # unit. }, "sodiumDailyPercentage": 3.14, # Sodium daily percentage. "starch": { # Combination of float amount and unit. # Starch. "amount": 3.14, # amount. "unit": "A String", # unit. }, "totalCarbohydrate": { # Combination of float amount and unit. # Total carbohydrate. "amount": 3.14, # amount. "unit": "A String", # unit. }, "totalCarbohydrateDailyPercentage": 3.14, # Total carbohydrate daily percentage. "totalFat": { # Combination of float amount and unit. # Total fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "totalFatDailyPercentage": 3.14, # Total fat daily percentage. "totalSugars": { # Combination of float amount and unit. # Total sugars. "amount": 3.14, # amount. "unit": "A String", # unit. }, "totalSugarsDailyPercentage": 3.14, # Total sugars daily percentage. "transFat": { # Combination of float amount and unit. # Trans fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "transFatDailyPercentage": 3.14, # Trans fat daily percentage. "vitaminD": { # Combination of float amount and unit. # Vitamin D. "amount": 3.14, # amount. "unit": "A String", # unit. }, "vitaminDDailyPercentage": 3.14, # Vitamin D daily percentage. "voluntaryNutritionFact": [ # Voluntary nutrition fact. { # Voluntary Nutrition Facts. "dailyPercentage": 3.14, # Daily percentage. "name": "A String", # Name. "value": { # Combination of float amount and unit. # Value. "amount": 3.14, # amount. "unit": "A String", # unit. }, }, ], }, "pattern": "A String", # The pattern of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#pattern. "productDetail": [ # The details of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail. { # A product detail of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail. "attributeName": "A String", # The name of the attribute. "attributeValue": "A String", # The value of the attribute. "sectionName": "A String", # A short section name that can be reused between multiple product details. }, ], "productHighlight": [ # The product highlights. For more information, see https://support.google.com/manufacturers/answer/10066942 "A String", ], "productLine": "A String", # The name of the group of products related to the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productline. "productName": "A String", # The canonical name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productname. "productPageUrl": "A String", # The URL of the detail page of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productpage. "productType": [ # The type or category of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#producttype. "A String", ], "releaseDate": "A String", # The release date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#release. "richProductContent": [ # Rich product content. For more information, see https://support.google.com/manufacturers/answer/9389865 "A String", ], "scent": "A String", # The scent of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#scent. "size": "A String", # The size of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#size. "sizeSystem": "A String", # The size system of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizesystem. "sizeType": [ # The size type of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizetype. "A String", ], "suggestedRetailPrice": { # A price. # The suggested retail price (MSRP) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#price. "amount": "A String", # The numeric value of the price. "currency": "A String", # The currency in which the price is denoted. }, "targetClientId": "A String", # The target client id. Should only be used in the accounts of the data partners. For more information, see https://support.google.com/manufacturers/answer/10857344 "theme": "A String", # The theme of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#theme. "title": "A String", # The title of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#title. "videoLink": [ # The videos of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#video. "A String", ], "virtualModelLink": "A String", # Virtual Model (3d) asset link. }, "contentLanguage": "A String", # The content language of the product as a two-letter ISO 639-1 language code (for example, en). "destinationStatuses": [ # The status of the destinations. { # The destination status. "approvedCountries": [ # Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is approved. "A String", ], "destination": "A String", # The name of the destination. "disapprovedCountries": [ # Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is disapproved. "A String", ], "pendingCountries": [ # Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval. "A String", ], "status": "A String", # The status of the destination. }, ], "feedLabel": "A String", # Optional. The feed label for the product. "issues": [ # A server-generated list of issues associated with the product. { # Product issue. "applicableCountries": [ # Output only. List of country codes (ISO 3166-1 alpha-2) where issue applies to the manufacturer product. "A String", ], "attribute": "A String", # If present, the attribute that triggered the issue. For more information about attributes, see https://support.google.com/manufacturers/answer/6124116. "description": "A String", # Longer description of the issue focused on how to resolve it. "destination": "A String", # The destination this issue applies to. "resolution": "A String", # What needs to happen to resolve the issue. "severity": "A String", # The severity of the issue. "timestamp": "A String", # The timestamp when this issue appeared. "title": "A String", # Short title describing the nature of the issue. "type": "A String", # The server-generated type of the issue, for example, “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc. }, ], "name": "A String", # 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. "parent": "A String", # Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account. "productId": "A String", # The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id. "targetCountry": "A String", # The target country of the product as a CLDR territory code (for example, US). }, ], }
list_next()
Retrieves the next page of results. Args: previous_request: The request for the previous page. (required) previous_response: The response from the request for the previous page. (required) Returns: A request object that you can call 'execute()' on to request the next page. Returns None if there are no more items in the collection.
update(parent, name, body=None, x__xgafv=None)
Inserts or updates the attributes of the product in a Manufacturer Center account. Creates a product with the provided attributes. If the product already exists, then all attributes are replaced with the new ones. The checks at upload time are minimal. All required attributes need to be present for a product to be valid. Issues may show up later after the API has accepted a new upload for a product and it is possible to overwrite an existing valid product with an invalid product. To detect this, you should retrieve the product and check it for issues once the new version is available. Uploaded attributes first need to be processed before they can be retrieved. Until then, new products will be unavailable, and retrieval of previously uploaded products will return the original state of the product. Args: parent: string, Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account. (required) name: string, 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. (required) body: object, The request body. The object takes the form of: { # Attributes of the product. For more information, see https://support.google.com/manufacturers/answer/6124116. "additionalImageLink": [ # The additional images of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#addlimage. { # An image. "imageUrl": "A String", # The URL of the image. For crawled images, this is the provided URL. For uploaded images, this is a serving URL from Google if the image has been processed successfully. "status": "A String", # The status of the image. @OutputOnly "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly }, ], "ageGroup": "A String", # The target age group of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#agegroup. "brand": "A String", # The brand name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#brand. "capacity": { # The capacity of a product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity. # The capacity of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity. "unit": "A String", # The unit of the capacity, i.e., MB, GB, or TB. "value": "A String", # The numeric value of the capacity. }, "certification": [ # Optional. List of certifications claimed by this product. { # Description of a certification. "authority": "A String", # Required. Name of the certification body. "code": "A String", # Required. A unique code to identify the certification. "name": "A String", # Required. Name of the certification. }, ], "color": "A String", # The color of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#color. "count": { # The number of products in a single package. For more information, see https://support.google.com/manufacturers/answer/6124116#count. # The count of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#count. "unit": "A String", # The unit in which these products are counted. "value": "A String", # The numeric value of the number of products in a package. }, "description": "A String", # The description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#description. "disclosureDate": "A String", # The disclosure date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#disclosure. "excludedDestination": [ # A list of excluded destinations such as "ClientExport", "ClientShoppingCatalog" or "PartnerShoppingCatalog". For more information, see https://support.google.com/manufacturers/answer/7443550 "A String", ], "featureDescription": [ # The rich format description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc. { # A feature description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc. "headline": "A String", # A short description of the feature. "image": { # An image. # An optional image describing the feature. "imageUrl": "A String", # The URL of the image. For crawled images, this is the provided URL. For uploaded images, this is a serving URL from Google if the image has been processed successfully. "status": "A String", # The status of the image. @OutputOnly "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly }, "text": "A String", # A detailed description of the feature. }, ], "flavor": "A String", # The flavor of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#flavor. "format": "A String", # The format of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#format. "gender": "A String", # The target gender of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gender. "grocery": { # Grocery Attributes. See more at https://support.google.com/manufacturers/answer/12098458#grocery. "activeIngredients": "A String", # Active ingredients. "alcoholByVolume": 3.14, # Alcohol by volume. "allergens": "A String", # Allergens. "derivedNutritionClaim": [ # Derived nutrition claim. "A String", ], "directions": "A String", # Directions. "indications": "A String", # Indications. "ingredients": "A String", # Ingredients. "nutritionClaim": [ # Nutrition claim. "A String", ], "storageInstructions": "A String", # Storage instructions. }, "gtin": [ # The Global Trade Item Number (GTIN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gtin. "A String", ], "imageLink": { # An image. # The image of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#image. "imageUrl": "A String", # The URL of the image. For crawled images, this is the provided URL. For uploaded images, this is a serving URL from Google if the image has been processed successfully. "status": "A String", # The status of the image. @OutputOnly "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly }, "includedDestination": [ # A list of included destinations such as "ClientExport", "ClientShoppingCatalog" or "PartnerShoppingCatalog". For more information, see https://support.google.com/manufacturers/answer/7443550 "A String", ], "intendedCountry": [ # Optional. List of countries to show this product in. Countries provided in this attribute will override any of the countries configured at feed level. The values should be: the [CLDR territory code](http://www.unicode.org/repos/cldr/tags/latest/common/main/en.xml) of the countries in which this item will be shown. "A String", ], "itemGroupId": "A String", # The item group id of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#itemgroupid. "material": "A String", # The material of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#material. "mpn": "A String", # The Manufacturer Part Number (MPN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#mpn. "nutrition": { # Nutrition Attributes. See more at https://support.google.com/manufacturers/answer/12098458#food-servings. "addedSugars": { # Combination of float amount and unit. # Added sugars. "amount": 3.14, # amount. "unit": "A String", # unit. }, "addedSugarsDailyPercentage": 3.14, # Added sugars daily percentage. "calcium": { # Combination of float amount and unit. # Calcium. "amount": 3.14, # amount. "unit": "A String", # unit. }, "calciumDailyPercentage": 3.14, # Calcium daily percentage. "cholesterol": { # Combination of float amount and unit. # Cholesterol. "amount": 3.14, # amount. "unit": "A String", # unit. }, "cholesterolDailyPercentage": 3.14, # Cholesterol daily percentage. "dietaryFiber": { # Combination of float amount and unit. # Dietary fiber. "amount": 3.14, # amount. "unit": "A String", # unit. }, "dietaryFiberDailyPercentage": 3.14, # Dietary fiber daily percentage. "energy": { # Combination of float amount and unit. # Mandatory Nutrition Facts. Energy. "amount": 3.14, # amount. "unit": "A String", # unit. }, "energyFromFat": { # Combination of float amount and unit. # Energy from fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "folateDailyPercentage": 3.14, # Folate daily percentage. "folateFolicAcid": { # Combination of float amount and unit. # Folate folic acid. "amount": 3.14, # amount. "unit": "A String", # unit. }, "folateMcgDfe": 3.14, # Folate mcg DFE. "iron": { # Combination of float amount and unit. # Iron. "amount": 3.14, # amount. "unit": "A String", # unit. }, "ironDailyPercentage": 3.14, # Iron daily percentage. "monounsaturatedFat": { # Combination of float amount and unit. # Monounsaturated fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "nutritionFactMeasure": "A String", # Nutrition fact measure. "polyols": { # Combination of float amount and unit. # Polyols. "amount": 3.14, # amount. "unit": "A String", # unit. }, "polyunsaturatedFat": { # Combination of float amount and unit. # Polyunsaturated fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "potassium": { # Combination of float amount and unit. # Potassium. "amount": 3.14, # amount. "unit": "A String", # unit. }, "potassiumDailyPercentage": 3.14, # Potassium daily percentage. "preparedSizeDescription": "A String", # Prepared size description. "protein": { # Combination of float amount and unit. # Protein. "amount": 3.14, # amount. "unit": "A String", # unit. }, "proteinDailyPercentage": 3.14, # Protein daily percentage. "saturatedFat": { # Combination of float amount and unit. # Saturated fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "saturatedFatDailyPercentage": 3.14, # Saturated fat daily percentage. "servingSizeDescription": "A String", # Food Serving Size. Serving size description. "servingSizeMeasure": { # Combination of float amount and unit. # Serving size measure. "amount": 3.14, # amount. "unit": "A String", # unit. }, "servingsPerContainer": "A String", # Servings per container. "sodium": { # Combination of float amount and unit. # Sodium. "amount": 3.14, # amount. "unit": "A String", # unit. }, "sodiumDailyPercentage": 3.14, # Sodium daily percentage. "starch": { # Combination of float amount and unit. # Starch. "amount": 3.14, # amount. "unit": "A String", # unit. }, "totalCarbohydrate": { # Combination of float amount and unit. # Total carbohydrate. "amount": 3.14, # amount. "unit": "A String", # unit. }, "totalCarbohydrateDailyPercentage": 3.14, # Total carbohydrate daily percentage. "totalFat": { # Combination of float amount and unit. # Total fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "totalFatDailyPercentage": 3.14, # Total fat daily percentage. "totalSugars": { # Combination of float amount and unit. # Total sugars. "amount": 3.14, # amount. "unit": "A String", # unit. }, "totalSugarsDailyPercentage": 3.14, # Total sugars daily percentage. "transFat": { # Combination of float amount and unit. # Trans fat. "amount": 3.14, # amount. "unit": "A String", # unit. }, "transFatDailyPercentage": 3.14, # Trans fat daily percentage. "vitaminD": { # Combination of float amount and unit. # Vitamin D. "amount": 3.14, # amount. "unit": "A String", # unit. }, "vitaminDDailyPercentage": 3.14, # Vitamin D daily percentage. "voluntaryNutritionFact": [ # Voluntary nutrition fact. { # Voluntary Nutrition Facts. "dailyPercentage": 3.14, # Daily percentage. "name": "A String", # Name. "value": { # Combination of float amount and unit. # Value. "amount": 3.14, # amount. "unit": "A String", # unit. }, }, ], }, "pattern": "A String", # The pattern of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#pattern. "productDetail": [ # The details of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail. { # A product detail of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail. "attributeName": "A String", # The name of the attribute. "attributeValue": "A String", # The value of the attribute. "sectionName": "A String", # A short section name that can be reused between multiple product details. }, ], "productHighlight": [ # The product highlights. For more information, see https://support.google.com/manufacturers/answer/10066942 "A String", ], "productLine": "A String", # The name of the group of products related to the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productline. "productName": "A String", # The canonical name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productname. "productPageUrl": "A String", # The URL of the detail page of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productpage. "productType": [ # The type or category of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#producttype. "A String", ], "releaseDate": "A String", # The release date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#release. "richProductContent": [ # Rich product content. For more information, see https://support.google.com/manufacturers/answer/9389865 "A String", ], "scent": "A String", # The scent of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#scent. "size": "A String", # The size of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#size. "sizeSystem": "A String", # The size system of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizesystem. "sizeType": [ # The size type of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizetype. "A String", ], "suggestedRetailPrice": { # A price. # The suggested retail price (MSRP) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#price. "amount": "A String", # The numeric value of the price. "currency": "A String", # The currency in which the price is denoted. }, "targetClientId": "A String", # The target client id. Should only be used in the accounts of the data partners. For more information, see https://support.google.com/manufacturers/answer/10857344 "theme": "A String", # The theme of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#theme. "title": "A String", # The title of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#title. "videoLink": [ # The videos of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#video. "A String", ], "virtualModelLink": "A String", # Virtual Model (3d) asset link. } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } }