Types for Google Shopping Merchant Accounts v1 API¶
- class google.shopping.merchant_accounts_v1.types.About(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageCollection of information related to the about page (impressum).
- state¶
Output only. The state of the URI.
- class google.shopping.merchant_accounts_v1.types.AcceptTermsOfServiceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
AcceptTermsOfServicemethod.- name¶
Required. The resource name of the terms of service version. Format:
termsOfService/{version}- Type
- class google.shopping.merchant_accounts_v1.types.AcceptTermsOfServiceResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the
AcceptTermsOfServicemethod.- terms_of_service_agreement_state¶
The agreement state after accepting the ToS.
- class google.shopping.merchant_accounts_v1.types.Accepted(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageDescribes the accepted terms of service.
- terms_of_service¶
Required. The accepted [termsOfService][google.shopping.merchant.accounts.v1.TermsOfService].
- Type
- accepted_by¶
Required. The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the advanced account.
- Type
- valid_until¶
Optional. When set, it states that the accepted
TermsOfServiceis only valid until the end of this date (in UTC). A new one must be accepted before then. The information of the requiredTermsOfServiceis found in theRequiredmessage.This field is a member of oneof
_valid_until.- Type
google.type.date_pb2.Date
- class google.shopping.merchant_accounts_v1.types.AccessRight(value)[source]¶
Bases:
proto.enums.EnumThe access right defines the level of permission a user has within a Merchant Center account.
- Values:
- ACCESS_RIGHT_UNSPECIFIED (0):
Default value. This value is unused.
- STANDARD (1):
Standard access rights.
- READ_ONLY (4):
Has access to the same read-only methods as STANDARD, but no access to any mutating methods.
- ADMIN (2):
Admin access rights.
- PERFORMANCE_REPORTING (3):
Users with this right have access to performance and insights.
- API_DEVELOPER (5):
Users with this right have access to Merchant API and its notifications. This role is only accessible to accounts that have a developer registration.
- class google.shopping.merchant_accounts_v1.types.Account(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe
Accountmessage represents a business’s account within Shopping Ads. It’s the primary entity for managing product data, settings, and interactions with Google’s services and external providers.Accounts can operate as standalone entities or be part of a advanced account structure. In an advanced account setup the parent account manages multiple sub-accounts.
Establishing an account involves configuring attributes like the account name, time zone, and language preferences.
The
Accountmessage is the parent entity for many other resources, for example,AccountRelationship,Homepage,BusinessInfoand so on.- account_name¶
Required. A human-readable name of the account. See store name and business name for more information.
- Type
- adult_content¶
Optional. Whether this account contains adult content.
This field is a member of oneof
_adult_content.- Type
- time_zone¶
Required. The time zone of the account.
On writes,
time_zonesets both thereporting_time_zoneand thedisplay_time_zone.For reads,
time_zonealways returns thedisplay_time_zone. Ifdisplay_time_zonedoesn’t exist for your account,time_zoneis empty.The
versionfield is not supported, won’t be set in responses and will be silently ignored if specified in requests.- Type
google.type.datetime_pb2.TimeZone
- language_code¶
Required. The account’s BCP-47 language code, such as
en-USorsr-Latn.- Type
- class google.shopping.merchant_accounts_v1.types.AccountAggregation(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageAccountAggregationpayload.
- class google.shopping.merchant_accounts_v1.types.AccountIssue(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageIssues with your Merchant Center account that can impact all your products. For more information, see Account-level issues in Merchant Center.
- name¶
Identifier. The resource name of the account issue. Format:
accounts/{account}/issues/{id}. For example,accounts/123456/issues/misrepresentation-of-self-or-products-unacceptable-business-practice-policy.- Type
- severity¶
The overall severity of the issue.
- impacted_destinations¶
The impact this issue has on various destinations.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.AccountIssue.ImpactedDestination]
- documentation_uri¶
Link to Merchant Center Help Center providing further information about the issue and how to fix it.
- Type
- class ImpactedDestination(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe impact of the issue on a destination.
- reporting_context¶
The impacted reporting context.
This field is a member of oneof
_reporting_context.- Type
google.shopping.type.types.ReportingContext.ReportingContextEnum
- impacts¶
The (negative) impact for various regions on the given destination.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.AccountIssue.ImpactedDestination.Impact]
- class Impact(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe impact of the issue on a region.
- region_code¶
The CLDR region code where this issue applies.
- Type
- severity¶
The severity of the issue on the destination and region.
- class Severity(value)[source]¶
Bases:
proto.enums.EnumAll possible issue severities.
- Values:
- SEVERITY_UNSPECIFIED (0):
The severity is unknown.
- CRITICAL (1):
The issue causes offers to not serve.
- ERROR (2):
The issue might affect offers (in the future) or might be an indicator of issues with offers.
- SUGGESTION (3):
The issue is a suggestion for improvement.
- class google.shopping.merchant_accounts_v1.types.AccountManagement(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageAccountManagementpayload.
- class google.shopping.merchant_accounts_v1.types.AccountRelationship(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe
AccountRelationshipmessage defines a formal connection between a merchant’s account and a service provider’s account. This relationship enables the provider to offer specific services to the business, such as product management or campaign management. It specifies the access rights and permissions to the business’s data relevant to those services.Establishing an account relationship involves linking the merchant’s account with a provider’s account. The provider could be another Google account (like Google Ads or Google My Business) or a third-party platform (such as Shopify or WooCommerce).
- name¶
Identifier. The resource name of the account relationship. Format:
accounts/{account}/relationships/{relationship}. For example,accounts/123456/relationships/567890.- Type
- provider¶
Immutable. The provider of the service. Either the reference to an account such as
providers/123or a well-known service provider (one ofproviders/GOOGLE_ADSorproviders/GOOGLE_BUSINESS_PROFILE).This field is a member of oneof
_provider.- Type
- provider_display_name¶
Output only. The human-readable display name of the provider account.
- Type
- account_id_alias¶
Optional. An optional alias you can assign to this account relationship. This alias acts as a convenient identifier for your own reference and management. It must be unique among all your account relationships with the same provider.
For example, you might use
account_id_aliasto assign a friendly name to this relationship for easier identification in your systems.- Type
- class google.shopping.merchant_accounts_v1.types.AccountService(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe
AccountServicemessage represents a specific service that a provider account offers to a Merchant Center account.AccountServicedefines the permissions and capabilities granted to the provider, allowing for operations such as product management or campaign management.The lifecycle of an
AccountServiceinvolves a proposal phase, where one party suggests the service, and an approval phase, where the other party accepts or rejects it. This handshake mechanism ensures mutual consent before any access is granted. This mechanism safeguards both parties by ensuring that access rights are granted appropriately and that both the business and provider are aware of the services enabled. In scenarios where a user is an admin of both accounts, the approval can happen automatically.The mutability of a service is also managed through
AccountService. Some services might be immutable, for example, if they were established through other systems or APIs, and you cannot alter them through this API.This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.
- products_management¶
Service type for managing products. This allows the provider to handle product data on behalf of the business, including reading and writing product listings. It’s commonly used when the provider offers inventory management or catalog synchronization services to keep the business’s product information up-to-date across platforms.
This field is a member of oneof
service_type.
- campaigns_management¶
Service type for managing advertising campaigns. Grants the provider access to create and manage the business’s ad campaigns, including setting up campaigns, adjusting bids, and optimizing performance.
This field is a member of oneof
service_type.
- account_management¶
Service type for account management. Enables the provider to perform administrative actions on the business’s account, such as configuring account settings, managing users, or updating business information.
This field is a member of oneof
service_type.
- account_aggregation¶
Service type for account aggregation. This enables the provider, which is an advanced account, to manage multiple sub-accounts (client accounts). Through this service, the advanced account provider can perform administrative and operational tasks across all linked sub-accounts.
This is useful for agencies, aggregators, or large retailers that need centralized control over many Merchant Center accounts.
This field is a member of oneof
service_type.
- local_listing_management¶
Service type for local listings management. The business group associated with the external account id will be used to provide local inventory to this Merchant Center account.
This field is a member of oneof
service_type.
- comparison_shopping¶
Service type for comparison shopping. The provider is a CSS (Comparison Shopping Service) managing the account. See https://support.google.com/merchants/answer/12653197
This field is a member of oneof
service_type.
- name¶
Identifier. The resource name of the account service. Format:
accounts/{account}/services/{service}- Type
- provider¶
Output only. The provider of the service. Either the reference to an account such as
providers/123or a well-known service provider (one ofproviders/GOOGLE_ADSorproviders/GOOGLE_BUSINESS_PROFILE).This field is a member of oneof
_provider.- Type
- provider_display_name¶
Output only. The human-readable display name of the provider account.
- Type
- handshake¶
Output only. Information about the state of the service in terms of establishing it (e.g. is it pending approval or approved).
- mutability¶
Output only. Whether the service is mutable (e.g. through Approve / Reject RPCs). A service that was created through another system or API might be immutable.
- external_account_id¶
Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating with the provider. This should be the unique account ID within the provider’s system (for example, your shop ID in Shopify).
If you have multiple accounts with the same provider - for instance, different accounts for various regions — the
external_account_iddifferentiates between them, ensuring accurate linking and integration between Google and the provider.- Type
- class Mutability(value)[source]¶
Bases:
proto.enums.EnumThe list of mutability option settings a service can have.
- Values:
- MUTABILITY_UNSPECIFIED (0):
Unused default value
- MUTABLE (1):
The service can be mutated without restrictions.
- IMMUTABLE (2):
The service is read-only and must not be mutated.
- class google.shopping.merchant_accounts_v1.types.Address(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageShipping address of the warehouse.
- street_address¶
Street-level part of the address. For example:
111w 31st Street.This field is a member of oneof
_street_address.- Type
- city¶
Required. City, town or commune. May also include dependent localities or sublocalities (For example neighborhoods or suburbs).
This field is a member of oneof
_city.- Type
- administrative_area¶
Required. Top-level administrative subdivision of the country. For example, a state like California (“CA”) or a province like Quebec (“QC”).
This field is a member of oneof
_administrative_area.- Type
- postal_code¶
Required. Postal code or ZIP (For example “94043”).
This field is a member of oneof
_postal_code.- Type
- region_code¶
Required. CLDR country code (For example “US”).
This field is a member of oneof
_region_code.- Type
- class google.shopping.merchant_accounts_v1.types.ApproveAccountServiceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest to approve an account service.
- class google.shopping.merchant_accounts_v1.types.AutofeedSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageCollection of information related to the autofeed settings.
- name¶
Identifier. The resource name of the autofeed settings. Format:
accounts/{account}/autofeedSettings.- Type
- enable_products¶
Required. Enables or disables product crawling through the autofeed for the given account. Autofeed accounts must meet certain conditions, which can be checked through the
eligiblefield. The account must not be a marketplace. When the autofeed is enabled for the first time, the products usually appear instantly. When re-enabling, it might take up to 24 hours for products to appear.- Type
- class google.shopping.merchant_accounts_v1.types.AutomaticImageImprovements(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThis improvement will attempt to automatically correct submitted images if they don’t meet the image requirements, for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: Automatic image improvements
- account_image_improvements_settings¶
Optional. Determines how the images should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
This field is a member of oneof
_account_image_improvements_settings.
- effective_allow_automatic_image_improvements¶
Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
- Type
- class ImageImprovementsAccountLevelSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageSettings for the Automatic Image Improvements.
- class google.shopping.merchant_accounts_v1.types.AutomaticImprovements(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageCollection of information related to the automatic improvements of an account.
- name¶
Identifier. The resource name of the automatic improvements. Format:
accounts/{account}/automaticImprovements.- Type
- item_updates¶
Turning on item updates allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren’t shown. This field is only updated (cleared) if provided in the update mask.
This field is a member of oneof
_item_updates.
- image_improvements¶
This improvement will attempt to automatically correct submitted images if they don’t meet the image requirements, for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: Automatic image improvements This field is only updated (cleared) if provided in the update mask.
This field is a member of oneof
_image_improvements.
- shipping_improvements¶
Not available for advanced accounts. By turning on automatic shipping improvements, you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors:
Delivery address of an order
Current handling time and shipping time settings
Estimated weekdays or business days
Parcel tracking data This field is only updated (cleared) if provided in the update mask.
This field is a member of oneof
_shipping_improvements.
- class google.shopping.merchant_accounts_v1.types.AutomaticItemUpdates(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageTurning on item updates allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren’t shown.
- account_item_updates_settings¶
Optional. Determines which attributes of the items should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
- effective_allow_price_updates¶
Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
- Type
- effective_allow_availability_updates¶
Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
- Type
- effective_allow_strict_availability_updates¶
Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
- Type
- effective_allow_condition_updates¶
Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
- Type
- class ItemUpdatesAccountLevelSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageSettings for the Automatic Item Updates.
- allow_price_updates¶
If price updates are enabled, Google always updates the active price with the crawled information.
This field is a member of oneof
_allow_price_updates.- Type
- allow_availability_updates¶
If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer’s page. If additionally
allow_strict_availability_updatesfield is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page.This field is a member of oneof
_allow_availability_updates.- Type
- allow_strict_availability_updates¶
If
allow_availability_updatesis enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are ‘out of stock’ on your website but ‘in stock’ on Shopping. Set this to true to also update items that are ‘in stock’ on your website, but ‘out of stock’ on Google Shopping. In order for this field to have an effect, you must also setallow_availability_updates.This field is a member of oneof
_allow_strict_availability_updates.- Type
- class google.shopping.merchant_accounts_v1.types.AutomaticShippingImprovements(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageNot available for advanced accounts. By turning on automatic shipping improvements, you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors:
Delivery address of an order
Current handling time and shipping time settings
Estimated weekdays or business days
Parcel tracking data
- class google.shopping.merchant_accounts_v1.types.BatchCreateRegionsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
BatchCreateRegionsmethod.- parent¶
Required. The account to create one or more regions for. Format:
accounts/{account}- Type
- requests¶
Required. The region(s) to create. The maximum number of regions that can be created in a batch is 100.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.CreateRegionRequest]
- class google.shopping.merchant_accounts_v1.types.BatchCreateRegionsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the
BatchCreateRegionsmethod.- regions¶
The created region(s).
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.Region]
- class google.shopping.merchant_accounts_v1.types.BatchDeleteRegionsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
BatchDeleteRegionsmethod.- parent¶
Required. The account to delete one or more regions from. Format:
accounts/{account}- Type
- requests¶
Required. The names of the regions to delete. A maximum of 100 regions can be deleted in a batch.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.DeleteRegionRequest]
- class google.shopping.merchant_accounts_v1.types.BatchUpdateRegionsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
BatchUpdateRegionsmethod.- parent¶
Required. The account to update one or more regions for. Format:
accounts/{account}- Type
- requests¶
Required. The region(s) to update. The maximum number of regions that can be updated in a batch is 100.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.UpdateRegionRequest]
- class google.shopping.merchant_accounts_v1.types.BatchUpdateRegionsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the
BatchUpdateRegionsmethod.- regions¶
The updated region(s).
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.Region]
- class google.shopping.merchant_accounts_v1.types.BusinessDayConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageBusiness days of the warehouse.
- business_days¶
Required. Regular business days. May not be empty.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.BusinessDayConfig.Weekday]
- class Weekday(value)[source]¶
Bases:
proto.enums.Enum- Values:
- WEEKDAY_UNSPECIFIED (0):
No description available.
- MONDAY (1):
No description available.
- TUESDAY (2):
No description available.
- WEDNESDAY (3):
No description available.
- THURSDAY (4):
No description available.
- FRIDAY (5):
No description available.
- SATURDAY (6):
No description available.
- SUNDAY (7):
No description available.
- class google.shopping.merchant_accounts_v1.types.BusinessIdentity(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageCollection of information related to the identity of a business.
- name¶
Identifier. The resource name of the business identity. Format:
accounts/{account}/businessIdentity- Type
- promotions_consent¶
Required. Whether the identity attributes may be used for promotions.
- black_owned¶
Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for businesses with the business country set to
US. It is also not applicable for marketplaces or marketplace sellers.
- women_owned¶
Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for businesses with a business country set to
US. It is also not applicable for marketplaces or marketplace sellers.
- veteran_owned¶
Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for businesses with a business country set to
US. It is also not applicable for marketplaces or marketplace sellers.
- latino_owned¶
Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for businesses with the business country set to
US. It is also not applicable for marketplaces or marketplace sellers.
- small_business¶
Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for businesses with a business country set to
US. It is also not applicable for marketplaces.
- class IdentityAttribute(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageAll information related to an identity attribute.
- identity_declaration¶
Required. The declaration of identity for this attribute.
- class IdentityDeclaration(value)[source]¶
Bases:
proto.enums.EnumAll possible settings regarding the declaration of an identity.
- Values:
- IDENTITY_DECLARATION_UNSPECIFIED (0):
Default value indicating that no selection was made.
- SELF_IDENTIFIES_AS (1):
Indicates that the account identifies with the attribute.
- DOES_NOT_SELF_IDENTIFY_AS (2):
Indicates that the account does not identify with the attribute.
- class PromotionsConsent(value)[source]¶
Bases:
proto.enums.EnumAll possible settings regarding promotions related to the business identity.
- Values:
- PROMOTIONS_CONSENT_UNSPECIFIED (0):
Default value indicating that no selection was made.
- PROMOTIONS_CONSENT_GIVEN (1):
Indicates that the account consented to having their business identity used for promotions.
- PROMOTIONS_CONSENT_DENIED (2):
Indicates that the account did not consent to having their business identity used for promotions.
- class google.shopping.merchant_accounts_v1.types.BusinessInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe
BusinessInfomessage contains essential information about a business.This message captures key business details such as physical address, customer service contacts, and region-specific identifiers.
- name¶
Identifier. The resource name of the business info. Format:
accounts/{account}/businessInfo- Type
- address¶
Optional. The address of the business. Only
region_code,address_lines,postal_code,administrative_areaandlocalityfields are supported. All other fields are ignored.This field is a member of oneof
_address.- Type
google.type.postal_address_pb2.PostalAddress
- phone¶
Output only. The phone number of the business.
This field is a member of oneof
_phone.- Type
google.type.phone_number_pb2.PhoneNumber
- phone_verification_state¶
Output only. The phone verification state of the business.
This field is a member of oneof
_phone_verification_state.
- customer_service¶
Optional. The customer service of the business.
This field is a member of oneof
_customer_service.
- korean_business_registration_number¶
Optional. The 10-digit Korean business registration number separated with dashes in the format: XXX-XX-XXXXX.
This field is a member of oneof
_korean_business_registration_number.- Type
- class google.shopping.merchant_accounts_v1.types.CampaignsManagement(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageCampaignManagementpayload.
- class google.shopping.merchant_accounts_v1.types.CarrierRate(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageA list of carrier rates that can be referred to by
main_tableorsingle_value. Supported carrier services are defined in https://support.google.com/merchants/answer/12577710?ref_topic=12570808&sjid=10662598224319463032-NC#zippy=%2Cdelivery-cost-rate-type%2Ccarrier-rate-au-de-uk-and-us-only.- name¶
Required. Name of the carrier rate. Must be unique per rate group.
This field is a member of oneof
_name.- Type
- carrier¶
Required. Carrier service, such as
"UPS"or"Fedex".This field is a member of oneof
_carrier.- Type
- carrier_service¶
Required. Carrier service, such as
"ground"or"2 days".This field is a member of oneof
_carrier_service.- Type
- origin_postal_code¶
Required. Shipping origin for this carrier rate.
This field is a member of oneof
_origin_postal_code.- Type
- percentage_adjustment¶
Optional. Multiplicative shipping rate modifier as a number in decimal notation. Can be negative. For example
"5.4"increases the rate by 5.4%,"-3"decreases the rate by 3%.This field is a member of oneof
_percentage_adjustment.- Type
- flat_adjustment¶
Optional. Additive shipping rate modifier. Can be negative. For example
{ "amount_micros": 1, "currency_code" : "USD" }adds $1 to the rate,{ "amount_micros": -3, "currency_code" : "USD" }removes $3 from the rate.This field is a member of oneof
_flat_adjustment.- Type
google.shopping.type.types.Price
- class google.shopping.merchant_accounts_v1.types.CheckoutSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageCheckoutSettings for a specific merchant.
- name¶
Identifier. The resource name of the program configuration settings. Format:
accounts/{account}/programs/{program}/checkoutSettings- Type
- eligible_destinations¶
Optional. The destinations (also known as Marketing methods) to which the checkout program applies, valid destination values are
SHOPPING_ADS,FREE_LISTINGS- Type
MutableSequence[google.shopping.type.types.Destination.DestinationEnum]
- enrollment_state¶
Output only. Reflects the merchant enrollment state in
Checkoutprogram.This field is a member of oneof
_enrollment_state.
- review_state¶
Output only. Reflects the merchant review state in
Checkoutprogram. This is set based on the data quality reviews of the URL provided by the merchant. A merchant with enrollment state asENROLLEDcan be in the following review states:IN_REVIEW,APPROVEDorDISAPPROVED. A merchant must be in anenrollment_stateofENROLLEDbefore a review can begin for the merchant.For more details, check the help center doc.This field is a member of oneof
_review_state.
- effective_uri_settings¶
Output only. The effective value of
uri_settingsfor a given merchant. If account level settings are present then this value will be a copy of url settings. Otherwise, it will have the value of the parent account (for only marketplace sellers).
- effective_enrollment_state¶
Output only. The effective value of enrollment_state for a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account (for only marketplace sellers).
This field is a member of oneof
_effective_enrollment_state.
- effective_review_state¶
Output only. The effective value of
review_statefor a given merchant ID. If account level settings are present then this value will be a copy of the account level settings. Otherwise, it will have the value of the parent account (for only marketplace sellers).This field is a member of oneof
_effective_review_state.
- class CheckoutEnrollmentState(value)[source]¶
Bases:
proto.enums.EnumEnum indicating the enrollment state of merchant in
Checkoutprogram.- Values:
- CHECKOUT_ENROLLMENT_STATE_UNSPECIFIED (0):
Default enrollment state when enrollment state is not specified.
- INACTIVE (1):
Merchant has not enrolled into the program.
- ENROLLED (2):
Merchant has enrolled into the program by providing either an account level URL or checkout URLs as part of their feed.
- OPTED_OUT (3):
Merchant has previously enrolled but opted out of the program.
- class CheckoutReviewState(value)[source]¶
Bases:
proto.enums.EnumEnum indicating the review state of merchant in
Checkoutprogram.- Values:
- CHECKOUT_REVIEW_STATE_UNSPECIFIED (0):
Default review state when review state is not specified.
- IN_REVIEW (1):
Merchant provided URLs are being reviewed for data quality issues.
- APPROVED (2):
Merchant account has been approved. Indicates the data quality checks have passed.
- DISAPPROVED (3):
Merchant account has been disapproved due to data quality issues.
- class google.shopping.merchant_accounts_v1.types.ClaimHomepageRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
ClaimHomepagemethod.
- class google.shopping.merchant_accounts_v1.types.ComparisonShopping(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageComparisonShoppingpayload.
- class google.shopping.merchant_accounts_v1.types.CreateAndConfigureAccountRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
CreateAndConfigureAccountmethod.- account¶
Required. The account to be created.
- user¶
Optional. Users to be added to the account.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.CreateAndConfigureAccountRequest.AddUser]
- service¶
Required. An account service between the account to be created and the provider account is initialized as part of the creation. At least one such service needs to be provided. Currently exactly one of these needs to be
account_aggregationandaccounts.createAndConfiguremethod can be used to create a sub-account under an existing advanced account through this method. Additionalaccount_managementorproduct_managementservices may be provided.
- set_alias¶
Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
- class AddAccountService(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageAdditional instructions to add account services during creation of the account.
This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.
- account_aggregation¶
The provider is an aggregator for the account. Payload for service type Account Aggregation.
This field is a member of oneof
service_type.
- account_management¶
The provider manages this account. Payload for service type Account Management.
This field is a member of oneof
service_type.
- comparison_shopping¶
The provider is a CSS (Comparison Shopping Service) of this account. Payload for service type Comparison Shopping.
This field is a member of oneof
service_type.
- products_management¶
The provider manages products for this account. Payload for service type products management.
This field is a member of oneof
service_type.
- campaigns_management¶
The provider manages campaigns for this account. Payload for service type campaigns management.
This field is a member of oneof
service_type.
- provider¶
Required. The provider of the service. Either the reference to an account such as
providers/123or a well-known service provider (one ofproviders/GOOGLE_ADSorproviders/GOOGLE_BUSINESS_PROFILE).This field is a member of oneof
_provider.- Type
- external_account_id¶
Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating with the provider. This should be the unique account ID within the provider’s system (for example, your shop ID in Shopify).
If you have multiple accounts with the same provider - for instance, different accounts for various regions — the
external_account_iddifferentiates between them, ensuring accurate linking and integration between Google and the provider.The external account ID must be specified for the campaigns management service type.
The external account ID must not be specified for the account aggregation service type.
The external account ID is optional / may be specified for all other service types.
- Type
- class AddUser(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageInstruction for adding a user to the account during creation.
- user¶
Optional. Details about the user to be added. At the moment, only access rights may be specified.
- verification_mail_settings¶
Optional. Settings related to configuring the verification email that is sent after adding a user.
- class SetAliasForRelationship(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageSet an alias for a relationship between a provider and the account to be created.
- provider¶
Required. The provider of the service. This is a reference to an account such as
providers/123oraccounts/123. The same provider must be specified in at least one of theservicefields.- Type
- class google.shopping.merchant_accounts_v1.types.CreateCheckoutSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
CreateCheckoutSettingsmethod.- checkout_settings¶
Required. The
CheckoutSettingsobject to create.
- class google.shopping.merchant_accounts_v1.types.CreateOmnichannelSettingRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the CreateOmnichannelSetting method.
- parent¶
Required. The parent resource where this omnichannel setting will be created. Format:
accounts/{account}- Type
- omnichannel_setting¶
Required. The omnichannel setting to create.
- class google.shopping.merchant_accounts_v1.types.CreateOnlineReturnPolicyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
CreateOnlineReturnPolicymethod.- parent¶
Required. The Merchant Center account for which the return policy will be created. Format:
accounts/{account}- Type
- online_return_policy¶
Required. The return policy object to create.
- class google.shopping.merchant_accounts_v1.types.CreateRegionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
CreateRegionmethod.- region_id¶
Required. The identifier for the region, unique over all regions of the same account.
- Type
- region¶
Required. The region to create.
- class google.shopping.merchant_accounts_v1.types.CreateUserRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
CreateUsermethod.- parent¶
Required. The resource name of the account for which a user will be created. Format:
accounts/{account}- Type
- user¶
Optional. The user to create.
- class google.shopping.merchant_accounts_v1.types.CustomerService(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageCustomer service information.
- uri¶
Optional. The URI where customer service may be found.
This field is a member of oneof
_uri.- Type
- class google.shopping.merchant_accounts_v1.types.CutoffTime(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageBusiness days cutoff time definition.
- hour¶
Required. Hour of the cutoff time until which an order has to be placed to be processed in the same day.
This field is a member of oneof
_hour.- Type
- minute¶
Required. Minute of the cutoff time until which an order has to be placed to be processed in the same day.
This field is a member of oneof
_minute.- Type
- time_zone¶
Required. Timezone identifier For example “Europe/Zurich”.
This field is a member of oneof
_time_zone.- Type
- class google.shopping.merchant_accounts_v1.types.DeleteAccountRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
DeleteAccountmethod.
- class google.shopping.merchant_accounts_v1.types.DeleteCheckoutSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
DeleteCheckoutSettingsmethod.
- class google.shopping.merchant_accounts_v1.types.DeleteOnlineReturnPolicyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
DeleteOnlineReturnPolicymethod.
- class google.shopping.merchant_accounts_v1.types.DeleteRegionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
DeleteRegionmethod.
- class google.shopping.merchant_accounts_v1.types.DeleteUserRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
DeleteUsermethod.
- class google.shopping.merchant_accounts_v1.types.DeliveryTime(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageTime spent in various aspects from order to the delivery of the product.
- min_transit_days¶
Minimum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Either
min_transit_days,max_transit_daysortransit_time_tablemust be set, but not both.This field is a member of oneof
_min_transit_days.- Type
- max_transit_days¶
Maximum number of business days that is spent in transit. 0 means same day delivery, 1 means next day delivery. Must be greater than or equal to
min_transit_days.This field is a member of oneof
_max_transit_days.- Type
- cutoff_time¶
Business days cutoff time definition. If not configured the cutoff time will be defaulted to 8AM PST.
This field is a member of oneof
_cutoff_time.
- min_handling_days¶
Minimum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. ‘min_handling_days’ and ‘max_handling_days’ should be either set or not set at the same time.
This field is a member of oneof
_min_handling_days.- Type
- max_handling_days¶
Maximum number of business days spent before an order is shipped. 0 means same day shipped, 1 means next day shipped. Must be greater than or equal to
min_handling_days. ‘min_handling_days’ and ‘max_handling_days’ should be either set or not set at the same time.This field is a member of oneof
_max_handling_days.- Type
- transit_time_table¶
Transit time table, number of business days spent in transit based on row and column dimensions. Either
min_transit_days,max_transit_daysortransit_time_tablecan be set, but not both.This field is a member of oneof
_transit_time_table.
- handling_business_day_config¶
The business days during which orders can be handled. If not provided, Monday to Friday business days will be assumed.
This field is a member of oneof
_handling_business_day_config.
- transit_business_day_config¶
The business days during which orders can be in-transit. If not provided, Monday to Friday business days will be assumed.
This field is a member of oneof
_transit_business_day_config.
- warehouse_based_delivery_times¶
Optional. Indicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in [delivery time][google.shopping.merchant.accounts.v1.DeliveryTime] should be set.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.WarehouseBasedDeliveryTime]
- class google.shopping.merchant_accounts_v1.types.DeveloperRegistration(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRepresents a developer registration owned by a Merchant account.
- name¶
Identifier. The
name(ID) of the developer registration. Generated by the Content API upon creation of a newDeveloperRegistration. Theaccountrepresents the merchant ID of the merchant that owns the registration.- Type
- class google.shopping.merchant_accounts_v1.types.DisableProgramRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the DisableProgram method.
- class google.shopping.merchant_accounts_v1.types.Distance(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageMaximum delivery radius. This is only required for the local delivery shipment type.
- unit¶
Unit can differ based on country, it is parameterized to include miles and kilometers.
This field is a member of oneof
_unit.
- class Unit(value)[source]¶
Bases:
proto.enums.EnumUnit can differ based on country, it is parameterized to include miles and kilometers.
- Values:
- UNIT_UNSPECIFIED (0):
Unit unspecified
- MILES (1):
Unit in miles
- KILOMETERS (2):
Unit in kilometers
- class google.shopping.merchant_accounts_v1.types.EmailPreferences(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe categories of notifications the user opted into / opted out of. The email preferences do not include mandatory announcements as users can’t opt out of them.
- name¶
Identifier. The name of the EmailPreferences. The endpoint is only supported for the authenticated user.
- Type
- news_and_tips¶
Optional. Updates on new features, tips and best practices.
- class OptInState(value)[source]¶
Bases:
proto.enums.EnumOpt in state of the email preference.
- Values:
- OPT_IN_STATE_UNSPECIFIED (0):
Opt-in status is not specified.
- OPTED_OUT (1):
User has opted out of receiving this type of email.
- OPTED_IN (2):
User has opted in to receiving this type of email.
- UNCONFIRMED (3):
User has opted in to receiving this type of email and the confirmation email has been sent, but user has not yet confirmed the opt in (applies only to certain countries).
- class google.shopping.merchant_accounts_v1.types.EnableProgramRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the EnableProgram method.
- class google.shopping.merchant_accounts_v1.types.FindLfpProvidersRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the FindLfpProviders method.
- parent¶
Required. The name of the parent resource under which the LFP providers are found. Format:
accounts/{account}/omnichannelSettings/{omnichannel_setting}.- Type
- page_size¶
Optional. The maximum number of
LfpProviderresources to return. The service returns fewer than this value if the number of lfp providers is less that than thepageSize. The default value is 50. The maximum value is 1000; If a value higher than the maximum is specified, then thepageSizewill default to the maximum.- Type
- class google.shopping.merchant_accounts_v1.types.FindLfpProvidersResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the FindLfpProviders method.
- lfp_providers¶
The LFP providers from the specified merchant in the specified country.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.LfpProvider]
- class google.shopping.merchant_accounts_v1.types.GbpAccount(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageCollection of information related to a Google Business Profile (GBP) account.
- name¶
Identifier. The resource name of the GBP account. Format:
accounts/{account}/gbpAccount/{gbp_account}- Type
- type_¶
The type of the Business Profile.
- gbp_account_name¶
The name of the Business Profile. For personal accounts: Email id of the owner. For Business accounts: Name of the Business Account.
- Type
- class Type(value)[source]¶
Bases:
proto.enums.EnumThe type of the GBP account.
- Values:
- TYPE_UNSPECIFIED (0):
Default value. This value is unused.
- USER (1):
The GBP account is a user account.
- BUSINESS_ACCOUNT (2):
The GBP account is a business account.
- class google.shopping.merchant_accounts_v1.types.GetAccountForGcpRegistrationResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the GetAccountForGcpRegistration method.
- class google.shopping.merchant_accounts_v1.types.GetAccountRelationshipRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest to get an account relationship.
- class google.shopping.merchant_accounts_v1.types.GetAccountRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetAccountmethod.
- class google.shopping.merchant_accounts_v1.types.GetAccountServiceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest to get an account service.
- class google.shopping.merchant_accounts_v1.types.GetAutofeedSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetAutofeedSettingsmethod.
- class google.shopping.merchant_accounts_v1.types.GetAutomaticImprovementsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetAutomaticImprovementsmethod.
- class google.shopping.merchant_accounts_v1.types.GetBusinessIdentityRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetBusinessIdentitymethod.
- class google.shopping.merchant_accounts_v1.types.GetBusinessInfoRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetBusinessInfomethod.
- class google.shopping.merchant_accounts_v1.types.GetCheckoutSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for
GetCheckoutSettingsmethod.
- class google.shopping.merchant_accounts_v1.types.GetDeveloperRegistrationRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the GetDeveloperRegistration method.
- class google.shopping.merchant_accounts_v1.types.GetEmailPreferencesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for GetEmailPreferences method.
- class google.shopping.merchant_accounts_v1.types.GetHomepageRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetHomepagemethod.
- class google.shopping.merchant_accounts_v1.types.GetOmnichannelSettingRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the GetOmnichannelSettings method.
- class google.shopping.merchant_accounts_v1.types.GetOnlineReturnPolicyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetOnlineReturnPolicymethod.
- class google.shopping.merchant_accounts_v1.types.GetProgramRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the GetProgram method.
- class google.shopping.merchant_accounts_v1.types.GetRegionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetRegionmethod.
- class google.shopping.merchant_accounts_v1.types.GetShippingSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetShippingSettingmethod.
- class google.shopping.merchant_accounts_v1.types.GetTermsOfServiceAgreementStateRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetTermsOfServiceAgreementStatemethod.
- class google.shopping.merchant_accounts_v1.types.GetTermsOfServiceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetTermsOfServicemethod.
- class google.shopping.merchant_accounts_v1.types.GetUserRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetUsermethod.
- class google.shopping.merchant_accounts_v1.types.Handshake(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe current status of establishing of the service. (for example, pending approval or approved).
- approval_state¶
Output only. The approval state of this handshake.
- actor¶
Output only. The most recent account to modify the account service’s
approval_status.
- class Actor(value)[source]¶
Bases:
proto.enums.EnumThe various actors that can be involved in a handshake.
- Values:
- ACTOR_UNSPECIFIED (0):
Unspecified actor.
- ACCOUNT (1):
The last change was done by the account who has this service.
- OTHER_PARTY (2):
The last change was done by the other party who this service points to.
- class ApprovalState(value)[source]¶
Bases:
proto.enums.EnumThe approal state of a handshake.
- Values:
- APPROVAL_STATE_UNSPECIFIED (0):
Unspecified approval status.
- PENDING (1):
The service was proposed and is waiting to be confirmed.
- ESTABLISHED (2):
Both parties have confirmed the service.
- REJECTED (3):
The service proposal was rejected.
- class google.shopping.merchant_accounts_v1.types.Headers(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageA non-empty list of row or column headers for a table. Exactly one of
prices,weights,num_items,postal_code_group_names, orlocationmust be set.- prices¶
Required. A list of inclusive order price upper bounds. The last price’s value can be infinity by setting price amount_micros = -1. For example
[{"amount_micros": 10000000, "currency_code": "USD"}, {"amount_micros": 500000000, "currency_code": "USD"}, {"amount_micros": -1, "currency_code": "USD"}]represents the headers “<= $10”, “<= $500”, and “> $500”. All prices within a service must have the same currency. Must be non-empty. Must be positive except -1. Can only be set if all other fields are not set.- Type
MutableSequence[google.shopping.type.types.Price]
- weights¶
Required. A list of inclusive order weight upper bounds. The last weight’s value can be infinity by setting price amount_micros = -1. For example
[{"amount_micros": 10000000, "unit": "kg"}, {"amount_micros": 50000000, "unit": "kg"}, {"amount_micros": -1, "unit": "kg"}]represents the headers “<= 10kg”, “<= 50kg”, and “> 50kg”. All weights within a service must have the same unit. Must be non-empty. Must be positive except -1. Can only be set if all other fields are not set.- Type
MutableSequence[google.shopping.type.types.Weight]
- number_of_items¶
Required. A list of inclusive number of items upper bounds. The last value can be
"infinity". For example["10", "50", "infinity"]represents the headers “<= 10 items”, “<= 50 items”, and “> 50 items”. Must be non-empty. Can only be set if all other fields are not set.- Type
MutableSequence[str]
- postal_code_group_names¶
Required. A list of postal group names. The last value can be
"all other locations". Example:["zone 1", "zone 2", "all other locations"]. The referred postal code groups must match the delivery country of the service. Must be non-empty. Can only be set if all other fields are not set.- Type
MutableSequence[str]
- locations¶
Required. A list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.LocationIdSet]
- class google.shopping.merchant_accounts_v1.types.Homepage(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe
Homepagemessage represents a business’s store homepage within the system.A business’s homepage is the primary domain where customers interact with their store.
The homepage can be claimed and verified as a proof of ownership and allows the business to unlock features that require a verified website. For more information, see Understanding online store URL verification.
- name¶
Identifier. The resource name of the store’s homepage. Format:
accounts/{account}/homepage- Type
- uri¶
Required. The URI (typically a URL) of the store’s homepage.
This field is a member of oneof
_uri.- Type
- claimed¶
Output only. Whether the homepage is claimed. See https://support.google.com/merchants/answer/176793.
- Type
- class google.shopping.merchant_accounts_v1.types.InStock(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageCollection of information related to InStock.
- uri¶
Optional. Product landing page URI. It is only used for the review of MHLSF in-stock serving. This URI domain should match with the business’s homepage. Required to be empty if the lsf_type is GHLSF, and required when the lsf_type is MHLSF_FULL or MHLSF_BASIC.
- Type
- state¶
Output only. The state of the in-stock serving.
- class google.shopping.merchant_accounts_v1.types.InsertShippingSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
InsertShippingSettingmethod.- parent¶
Required. The account for which this shipping setting will be inserted. If you are using an advanced account, you must specify the unique identifier of the sub-account for which you want to insert the shipping setting. Format:
accounts/{ACCOUNT_ID}- Type
- shipping_setting¶
Required. The new version of the account.
- class google.shopping.merchant_accounts_v1.types.InventoryVerification(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageCollection of information related to inventory verification.
- state¶
Output only. The state of the inventory verification process.
- contact_email¶
Required. The email address of the contact for the inventory verification process.
- Type
- contact_state¶
Output only. The state of the contact verification.
- class State(value)[source]¶
Bases:
proto.enums.EnumThe state of the inventory verification process.
- Values:
- STATE_UNSPECIFIED (0):
Default value. This value is unused.
- ACTION_REQUIRED (1):
When the merchant needs to initiate the inventory verification process. The next state is INACTIVE.
- INACTIVE (5):
When the merchant is ready to request inventory verification.
- RUNNING (2):
The inventory verification process is running. If the merchant is rejected, the next state is INACTIVE.
- SUCCEEDED (3):
The inventory verification process succeeded.
- SUSPENDED (4):
When merchant fails the inventory verification process and all attempts are exhausted.
- class google.shopping.merchant_accounts_v1.types.LfpLink(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageCollection of information related to the LFP link.
- lfp_provider¶
Required. The resource name of the LFP provider. Format:
lfpProviders/{lfp_provider}- Type
- external_account_id¶
Required. The account ID by which this merchant is known to the LFP provider.
- Type
- state¶
Output only. The state of the LFP link.
- class google.shopping.merchant_accounts_v1.types.LfpProvider(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageCollection of information related to a Local Feed Partnership (LFP) provider.
- name¶
Identifier. The resource name of the LFP provider. Format:
accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}- Type
- class google.shopping.merchant_accounts_v1.types.LinkGbpAccountRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the LinkGbpAccount method.
- parent¶
Required. The name of the parent resource to which the GBP account is linked. Format:
accounts/{account}.- Type
- class google.shopping.merchant_accounts_v1.types.LinkGbpAccountResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the LinkGbpAccount method.
- response¶
Empty response.
- class google.shopping.merchant_accounts_v1.types.LinkLfpProviderRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the LinkLfpProvider method.
- name¶
Required. The name of the LFP provider resource to link. Format:
accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}. Thelfp_provideris the LFP provider ID.- Type
- class google.shopping.merchant_accounts_v1.types.LinkLfpProviderResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the LinkLfpProvider method.
- response¶
Empty response.
- class google.shopping.merchant_accounts_v1.types.ListAccountIssuesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
ListAccountIssuesmethod.- parent¶
Required. The parent, which owns this collection of issues. Format:
accounts/{account}- Type
- page_size¶
Optional. The maximum number of issues to return. The service may return fewer than this value. If unspecified, at most 50 issues will be returned. The maximum value is 100; values above 100 will be coerced to 100
- Type
- page_token¶
Optional. A page token, received from a previous
ListAccountIssuescall. Provide this to retrieve the subsequent page.When paginating, all other parameters provided to
ListAccountIssuesmust match the call that provided the page token.- Type
- class google.shopping.merchant_accounts_v1.types.ListAccountIssuesResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the
ListAccountIssuesmethod.- account_issues¶
The issues from the specified account.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.AccountIssue]
- class google.shopping.merchant_accounts_v1.types.ListAccountRelationshipsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest to list account relationships.
- parent¶
Required. The parent account of the account relationship to filter by. Format:
accounts/{account}- Type
- class google.shopping.merchant_accounts_v1.types.ListAccountRelationshipsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse after trying to list account relationships.
- account_relationships¶
The account relationships that match your filter.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.AccountRelationship]
- class google.shopping.merchant_accounts_v1.types.ListAccountServicesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest to list account services.
- parent¶
Required. The parent account of the account service to filter by. Format:
accounts/{account}- Type
- class google.shopping.merchant_accounts_v1.types.ListAccountServicesResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse after trying to list account services.
- account_services¶
The account services that match your filter.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.AccountService]
- class google.shopping.merchant_accounts_v1.types.ListAccountsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
accounts.listmethod.- page_size¶
Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500.
- Type
- page_token¶
Optional. A page token, received from a previous
accounts.listcall. Provide this to retrieve the subsequent page.When paginating, all other parameters provided in the
accounts.listrequest must match the call that provided the page token.- Type
- filter¶
Optional. Returns only accounts that match the filter. For more details, see the filter syntax reference.
- Type
- class google.shopping.merchant_accounts_v1.types.ListAccountsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the
accounts.listmethod.- accounts¶
The accounts matching the
ListAccountsRequest.- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.Account]
- class google.shopping.merchant_accounts_v1.types.ListGbpAccountsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the ListGbpAccounts method.
- parent¶
Required. The name of the parent resource under which the GBP accounts are listed. Format:
accounts/{account}.- Type
- page_size¶
Optional. The maximum number of
GbpAccountresources to return. The service returns fewer than this value if the number of gbp accounts is less that than thepageSize. The default value is 50. The maximum value is 1000; If a value higher than the maximum is specified, then thepageSizewill default to the maximum.- Type
- class google.shopping.merchant_accounts_v1.types.ListGbpAccountsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the ListGbpAccounts method.
- gbp_accounts¶
The GBP accounts from the specified merchant in the specified country.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.GbpAccount]
- class google.shopping.merchant_accounts_v1.types.ListOmnichannelSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the ListOmnichannelSettings method.
- parent¶
Required. The parent, which owns this collection of omnichannel settings. Format:
accounts/{account}- Type
- page_size¶
Optional. The maximum number of omnichannel settings to return. The service may return fewer than this value. If unspecified, at most 50 omnichannel settings will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
- Type
- class google.shopping.merchant_accounts_v1.types.ListOmnichannelSettingsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the ListOmnichannelSettings method.
- omnichannel_settings¶
The omnichannel settings from the specified merchant.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.OmnichannelSetting]
- class google.shopping.merchant_accounts_v1.types.ListOnlineReturnPoliciesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
ListOnlineReturnPoliciesmethod.- parent¶
Required. The Merchant Center account for which to list return policies. Format:
accounts/{account}- Type
- page_size¶
Optional. The maximum number of
OnlineReturnPolicyresources to return. The service returns fewer than this value if the number of return policies for the given business is less that than thepageSize. The default value is 10. The maximum value is 100; If a value higher than the maximum is specified, then thepageSizewill default to the maximum- Type
- page_token¶
Optional. A page token, received from a previous
ListOnlineReturnPoliciescall. Provide the page token to retrieve the subsequent page.When paginating, all other parameters provided to
ListOnlineReturnPoliciesmust match the call that provided the page token. The token returned as [nextPageToken][google.shopping.merchant.accounts.v1.ListOnlineReturnPoliciesResponse.next_page_token] in the response to the previous request.- Type
- class google.shopping.merchant_accounts_v1.types.ListOnlineReturnPoliciesResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the
ListOnlineReturnPoliciesmethod.- online_return_policies¶
The retrieved return policies.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.OnlineReturnPolicy]
- class google.shopping.merchant_accounts_v1.types.ListProgramsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the ListPrograms method.
- parent¶
Required. The name of the account for which to retrieve all programs. Format:
accounts/{account}- Type
- page_size¶
Optional. The maximum number of programs to return in a single response. If unspecified (or 0), a default size of 1000 is used. The maximum value is 1000; values above 1000 will be coerced to 1000.
- Type
- class google.shopping.merchant_accounts_v1.types.ListProgramsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the ListPrograms method.
- programs¶
The programs for the given account.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.Program]
- class google.shopping.merchant_accounts_v1.types.ListRegionsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
ListRegionsmethod.- page_size¶
Optional. The maximum number of regions to return. The service may return fewer than this value. If unspecified, at most 50 regions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
- Type
- class google.shopping.merchant_accounts_v1.types.ListRegionsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the
ListRegionsmethod.- regions¶
The regions from the specified business.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.Region]
- class google.shopping.merchant_accounts_v1.types.ListSubAccountsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
ListSubAccountsmethod.- page_size¶
Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500.
- Type
- class google.shopping.merchant_accounts_v1.types.ListSubAccountsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the
ListSubAccountsmethod.- accounts¶
The accounts for which the given parent account is an aggregator.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.Account]
- class google.shopping.merchant_accounts_v1.types.ListUsersRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
ListUsersmethod.- parent¶
Required. The parent, which owns this collection of users. Format:
accounts/{account}- Type
- page_size¶
Optional. The maximum number of users to return. The service may return fewer than this value. If unspecified, at most 50 users will be returned. The maximum value is 100; values above 100 will be coerced to 100
- Type
- class google.shopping.merchant_accounts_v1.types.ListUsersResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the
ListUsersmethod.- users¶
The users from the specified account.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.User]
- class google.shopping.merchant_accounts_v1.types.LocalListingManagement(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageLocalListingManagementpayload.
- class google.shopping.merchant_accounts_v1.types.LocationIdSet(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageA list of location ID sets. Must be non-empty. Can only be set if all other fields are not set.
- location_ids¶
Required. A non-empty list of location IDs. They must all be of the same location type (For example, state).
- Type
MutableSequence[str]
- class google.shopping.merchant_accounts_v1.types.MinimumOrderValueTable(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageTable of per store minimum order values for the pickup fulfillment type.
- store_code_set_with_movs¶
Required. A list of store code sets sharing the same minimum order value (MOV). At least two sets are required and the last one must be empty, which signifies ‘MOV for all other stores’. Each store code can only appear once across all the sets. All prices within a service must have the same currency.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.MinimumOrderValueTable.StoreCodeSetWithMov]
- class StoreCodeSetWithMov(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageA list of store code sets sharing the same minimum order value. At least two sets are required and the last one must be empty, which signifies ‘MOV for all other stores’. Each store code can only appear once across all the sets. All prices within a service must have the same currency.
- class google.shopping.merchant_accounts_v1.types.OmnichannelSetting(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageCollection of information related to the omnichannel settings of a merchant.
- name¶
Identifier. The resource name of the omnichannel setting. Format:
accounts/{account}/omnichannelSettings/{omnichannel_setting}- Type
- region_code¶
Required. Immutable. Region code defined by CLDR. Must be provided in the Create method, and is immutable.
- Type
- lsf_type¶
Required. The Local Store Front type for this country.
- in_stock¶
Optional. The InStock URI and state for this country.
- pickup¶
Optional. The Pickup URI and state for this country.
- lfp_link¶
Output only. The established link to a LFP provider.
- odo¶
Optional. The On Display to Order (ODO) policy URI and state for this country.
- about¶
Optional. The about page URI and state for this country.
- inventory_verification¶
Optional. The inventory verification contact and state for this country.
- class LsfType(value)[source]¶
Bases:
proto.enums.EnumThe product page experience type, which is also called the Local Store Front (LSF) type. Check the HC article for more details.
- Values:
- LSF_TYPE_UNSPECIFIED (0):
Default value. This value is unused.
- GHLSF (1):
Google-Hosted Local Store Front. Check the HC article for more details.
- MHLSF_BASIC (2):
Merchant-Hosted Local Store Front Basic. Check the HC article for more details.
- MHLSF_FULL (3):
Merchant-Hosted Local Store Front Full. Check the HC article for more details.
- class google.shopping.merchant_accounts_v1.types.OnDisplayToOrder(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageCollection of information related to the on display to order (ODO).
- state¶
Output only. The state of the URI.
- class google.shopping.merchant_accounts_v1.types.OnlineReturnPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageOnline return policy object. This is currently used to represent return policies for ads and free listings programs.
- name¶
Identifier. The name of the
OnlineReturnPolicyresource. Format:accounts/{account}/onlineReturnPolicies/{return_policy}- Type
- label¶
Optional. Immutable. This field represents the unique user-defined label of the return policy for the given country. It is important to note that the same label cannot be used in different return policies for the same country. If not given, policies will be automatically treated as the ‘default’ for the country. When using label, you are creating an exception policy in that country to assign a custom return policy to certain product groups, follow the instructions provided in the [Return policy label] (https://support.google.com/merchants/answer/9445425). The label can contain up to 50 characters.
- Type
- countries¶
Required. Immutable. The countries of sale where the return policy applies. The values must be a valid 2 letter ISO 3166 code.
- Type
MutableSequence[str]
- policy¶
Optional. The return policy.
- seasonal_overrides¶
Optional. Overrides to the general policy for orders placed during a specific set of time intervals.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.OnlineReturnPolicy.SeasonalOverride]
- restocking_fee¶
Optional. The restocking fee that applies to all return reason categories. This would be treated as a free restocking fee if the value is not set.
- return_methods¶
Optional. The return methods of how customers can return an item. This value is required to not be empty unless the type of return policy is noReturns.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.OnlineReturnPolicy.ReturnMethod]
- item_conditions¶
Optional. The item conditions accepted for returns must not be empty unless the type of return policy is ‘noReturns’.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.OnlineReturnPolicy.ItemCondition]
- return_shipping_fee¶
Optional. The return shipping fee. Should be set only when customer need to download and print the return label.
- return_policy_uri¶
Required. The return policy uri. This can used by Google to do a sanity check for the policy. It must be a valid URL.
- Type
- accept_defective_only¶
Optional. This field specifies if business only accepts defective products for returns.
This field is a member of oneof
_accept_defective_only.- Type
- process_refund_days¶
Optional. The field specifies the number of days it takes for business to process refunds.
This field is a member of oneof
_process_refund_days.- Type
- accept_exchange¶
Optional. This field specifies if business allows customers to exchange products.
This field is a member of oneof
_accept_exchange.- Type
- return_label_source¶
Optional. The field specifies the return label source.
This field is a member of oneof
_return_label_source.
- class ItemCondition(value)[source]¶
Bases:
proto.enums.EnumThe available item conditions.
- Values:
- ITEM_CONDITION_UNSPECIFIED (0):
Default value. This value is unused.
- NEW (1):
New.
- USED (2):
Used.
- class Policy(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe available policies.
- type_¶
Policy type.
- days¶
The number of days items can be returned after delivery, where one day is defined as 24 hours after the delivery timestamp. Required for
NUMBER_OF_DAYS_AFTER_DELIVERYreturns.- Type
- class Type(value)[source]¶
Bases:
proto.enums.EnumReturn policy types.
- Values:
- TYPE_UNSPECIFIED (0):
Default value. This value is unused.
- NUMBER_OF_DAYS_AFTER_DELIVERY (1):
The number of days within which a return is valid after delivery.
- NO_RETURNS (2):
No returns.
- LIFETIME_RETURNS (3):
Life time returns.
- class RestockingFee(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe restocking fee. This can be a flat fee or a micro percent.
This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.
- class ReturnLabelSource(value)[source]¶
Bases:
proto.enums.EnumThe available return label sources.
- Values:
- RETURN_LABEL_SOURCE_UNSPECIFIED (0):
Default value. This value is unused.
- DOWNLOAD_AND_PRINT (1):
Download and print.
- IN_THE_PACKAGE (2):
Label include in the package.
- CUSTOMER_RESPONSIBILITY (3):
Customer to provide.
- class ReturnMethod(value)[source]¶
Bases:
proto.enums.EnumThe available return methods.
- Values:
- RETURN_METHOD_UNSPECIFIED (0):
Default value. This value is unused.
- BY_MAIL (1):
Return by mail.
- IN_STORE (2):
Return in store.
- AT_A_KIOSK (3):
Return at a kiosk.
- class ReturnShippingFee(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe return shipping fee. This can either be a fixed fee or a boolean to indicate that the customer pays the actual shipping cost.
- type_¶
Required. Type of return shipping fee.
- fixed_fee¶
Fixed return shipping fee amount. This value is only applicable when type is
FIXED. We will treat the return shipping fee as free if type isFIXEDand this value is not set.- Type
google.shopping.type.types.Price
- class Type(value)[source]¶
Bases:
proto.enums.EnumReturn shipping fee types.
- Values:
- TYPE_UNSPECIFIED (0):
Default value. This value is unused.
- FIXED (1):
The return shipping fee is a fixed value.
- CUSTOMER_PAYING_ACTUAL_FEE (2):
Customers will pay the actual return shipping fee.
- class SeasonalOverride(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThis message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.
- return_days¶
Number of days (from the delivery date) that the product can be returned.
This field is a member of oneof
return_window.- Type
- return_until_date¶
Fixed end date until which the product can be returned.
This field is a member of oneof
return_window.- Type
google.type.date_pb2.Date
- start_date¶
Required. Defines the date range when this seasonal override applies. Both start_date and end_date are inclusive. The dates of the seasonal overrides should not overlap.
- Type
google.type.date_pb2.Date
- end_date¶
Required. seasonal override end date (inclusive).
- Type
google.type.date_pb2.Date
- class google.shopping.merchant_accounts_v1.types.PhoneVerificationState(value)[source]¶
Bases:
proto.enums.EnumThe phone verification state.
- Values:
- PHONE_VERIFICATION_STATE_UNSPECIFIED (0):
Default value. This value is unused.
- PHONE_VERIFICATION_STATE_VERIFIED (1):
The phone is verified.
- PHONE_VERIFICATION_STATE_UNVERIFIED (2):
The phone is unverified.
- class google.shopping.merchant_accounts_v1.types.Pickup(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageCollection of information related to Pickup.
- uri¶
Required. Pickup product page URI. It is only used for the review of pickup serving. This URI domain should match with the business’s homepage.
- Type
- state¶
Output only. The state of the pickup serving.
- class google.shopping.merchant_accounts_v1.types.ProductsManagement(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageProductsManagementpayload.
- class google.shopping.merchant_accounts_v1.types.Program(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageDefines participation in a given program for the specified account.
Programs provide a mechanism for adding functionality to a Merchant Center accounts. A typical example of this is the Free product listings program, which enables products from a business’s store to be shown across Google for free.
The following list is the available set of program resource IDs accessible through the API:
checkoutfree-listingsshopping-adsyoutube-shopping-checkout
- name¶
Identifier. The resource name of the program. Format:
accounts/{account}/programs/{program}- Type
- documentation_uri¶
Output only. The URL of a Merchant Center help page describing the program.
- Type
- state¶
Output only. The participation state of the account in the program.
- active_region_codes¶
Output only. The regions in which the account is actively participating in the program. Active regions are defined as those where all program requirements affecting the regions have been met.
Region codes are defined by CLDR. This is either a country where the program applies specifically to that country or
001when the program applies globally.- Type
MutableSequence[str]
- unmet_requirements¶
Output only. The requirements that the account has not yet satisfied that are affecting participation in the program.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.Program.Requirement]
- class Requirement(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageDefines a requirement specified for participation in the program.
- class State(value)[source]¶
Bases:
proto.enums.EnumPossible program participation states for the account.
- Values:
- STATE_UNSPECIFIED (0):
Default value. This value is unused.
- NOT_ELIGIBLE (1):
The account is not eligible to participate in the program.
- ELIGIBLE (2):
The account is eligible to participate in the program.
- ENABLED (3):
The program is enabled for the account.
- class google.shopping.merchant_accounts_v1.types.ProposeAccountServiceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest to propose an account service.
- parent¶
Required. The resource name of the parent account for the service. Format:
accounts/{account}- Type
- provider¶
Required. The provider of the service. Either the reference to an account such as
providers/123or a well-known service provider (one ofproviders/GOOGLE_ADSorproviders/GOOGLE_BUSINESS_PROFILE).- Type
- account_service¶
Required. The account service to propose.
- class google.shopping.merchant_accounts_v1.types.RateGroup(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageShipping rate group definitions. Only the last one is allowed to have an empty
applicable_shipping_labels, which means “everything else”. The otherapplicable_shipping_labelsmust not overlap.- applicable_shipping_labels¶
Required. A list of shipping labels defining the products to which this rate group applies to. This is a disjunction: only one of the labels has to match for the rate group to apply. May only be empty for the last rate group of a service.
- Type
MutableSequence[str]
- single_value¶
The value of the rate group (For example flat rate $10). Can only be set if
main_tableandsubtablesare not set.This field is a member of oneof
_single_value.
- main_table¶
A table defining the rate group, when
single_valueis not expressive enough. Can only be set ifsingle_valueis not set.This field is a member of oneof
_main_table.
- subtables¶
Optional. A list of subtables referred to by
main_table. Can only be set ifmain_tableis set.- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.Table]
- carrier_rates¶
Optional. A list of carrier rates that can be referred to by
main_tableorsingle_value.- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.CarrierRate]
- class google.shopping.merchant_accounts_v1.types.Region(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRepresents a geographic region that you can use as a target with both the
RegionalInventoryandShippingSettingsservices. You can define regions as collections of either postal codes or, in some countries, using predefined geotargets. For more information, see Set up regions for more information.- name¶
Identifier. The resource name of the region. Format:
accounts/{account}/regions/{region}- Type
- display_name¶
Optional. The display name of the region.
This field is a member of oneof
_display_name.- Type
- postal_code_area¶
Optional. A list of postal codes that defines the region area.
- geotarget_area¶
Optional. A list of geotargets that defines the region area.
- regional_inventory_eligible¶
Output only. Indicates if the region is eligible for use in the Regional Inventory configuration.
- shipping_eligible¶
Output only. Indicates if the region is eligible for use in the Shipping Services configuration.
- radius_area¶
Optional. A radius area that defines the region area.
- class GeoTargetArea(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageA list of geotargets that defines the region area.
- geotarget_criteria_ids¶
Required. A non-empty list of location IDs. They must all be of the same location type (for example, state).
- Type
MutableSequence[int]
- class PostalCodeArea(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageA list of postal codes that defines the region area. Note: All regions defined using postal codes are accessible through the account’s
ShippingSettings.postalCodeGroupsresource.- region_code¶
Required. CLDR territory code or the country the postal code group applies to.
- Type
- postal_codes¶
Required. A range of postal codes.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.Region.PostalCodeArea.PostalCodeRange]
- class PostalCodeRange(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageA range of postal codes that defines the region area.
- begin¶
Required. A postal code or a pattern of the form prefix* denoting the inclusive lower bound of the range defining the area. Examples values:
94108,9410*,9*.- Type
- end¶
Optional. A postal code or a pattern of the form
prefix*denoting the inclusive upper bound of the range defining the area. It must have the same length as postalCodeRangeBegin: if postalCodeRangeBegin is a postal code then postalCodeRangeEnd must be a postal code too; if postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a pattern with the same prefix length. Optional: if not set, then the area is defined as being all the postal codes matching postalCodeRangeBegin.- Type
- class RadiusArea(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageA radius area that defines the region area.
- region_code¶
Required. CLDR territory code or the country the radius area applies to.
- Type
- lat_lng¶
Required. The center of the radius area. It represents a latitude/longitude pair in decimal degrees format.
- Type
google.type.latlng_pb2.LatLng
- radius_units¶
Optional. The unit of the radius.
- class RadiusUnits(value)[source]¶
Bases:
proto.enums.EnumThe unit of measurement of the radius. Default is KILOMETERS.
- Values:
- RADIUS_UNITS_UNSPECIFIED (0):
Unused default value
- MILES (1):
The distance is measured in miles.
- KILOMETERS (2):
The distance is measured in kilometers.
- class google.shopping.merchant_accounts_v1.types.RegisterGcpRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the RegisterGCP method.
- name¶
Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format:
accounts/{account}/developerRegistration- Type
- developer_email¶
Immutable. If the developer email provided is associated with a user in the merchant account provided, the user will be updated to have “API developer” access type and the email preference corresponding to that user will be updated to have the new “API notifications” preference. If the developer email provided is not associated with any user we will just add it as a contact. The email preference corresponding to that contact will have the new “API notifications” preference. Make sure the email used is associated with a Google Account (Google Workspace account or Gmail account) and is not a service account as service accounts can’t receive emails.
- Type
- class google.shopping.merchant_accounts_v1.types.RejectAccountServiceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest to reject an account service.
- class google.shopping.merchant_accounts_v1.types.RequestInventoryVerificationRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the RequestInventoryVerification method.
- class google.shopping.merchant_accounts_v1.types.RequestInventoryVerificationResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the RequestInventoryVerification method.
- omnichannel_setting¶
The omnichannel setting that was updated.
- class google.shopping.merchant_accounts_v1.types.Required(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageDescribes the terms of service which are required to be accepted.
- class google.shopping.merchant_accounts_v1.types.RetrieveForApplicationTermsOfServiceAgreementStateRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
RetrieveForApplicationTermsOfServiceAgreementStatemethod.
- class google.shopping.merchant_accounts_v1.types.RetrieveLatestTermsOfServiceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
RetrieveLatestTermsOfServicemethod.- region_code¶
Required. Region code as defined by CLDR. This is either a country when the ToS applies specifically to that country or 001 when it applies globally.
- Type
- kind¶
Required. The Kind this terms of service version applies to.
- class google.shopping.merchant_accounts_v1.types.ReviewState(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe state of a omnichannel setting related review process.
- class State(value)[source]¶
Bases:
proto.enums.EnumThe state of the review process.
- Values:
- STATE_UNSPECIFIED (0):
Default value. This value is unused.
- ACTIVE (1):
The review process has concluded successfully. The reviewed item is active.
- FAILED (2):
The review process failed.
- RUNNING (3):
The review process is running.
- ACTION_REQUIRED (4):
The review process is waiting for the merchant to take action.
- class google.shopping.merchant_accounts_v1.types.Row(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageInclude a list of cells.
- cells¶
Required. The list of cells that constitute the row. Must have the same length as
columnHeadersfor two-dimensional tables, a length of 1 for one-dimensional tables.- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.Value]
- class google.shopping.merchant_accounts_v1.types.Service(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageShipping service.
- service_name¶
Required. Free-form name of the service. Must be unique within target account.
This field is a member of oneof
_service_name.- Type
- active¶
Required. A boolean exposing the active status of the shipping service.
This field is a member of oneof
_active.- Type
- delivery_countries¶
Required. The CLDR territory code of the countries to which the service applies.
- Type
MutableSequence[str]
- currency_code¶
Required. The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups.
This field is a member of oneof
_currency_code.- Type
- delivery_time¶
Required. Time spent in various aspects from order to the delivery of the product.
This field is a member of oneof
_delivery_time.
- rate_groups¶
Optional. Shipping rate group definitions. Only the last one is allowed to have an empty
applicable_shipping_labels, which means “everything else”. The otherapplicable_shipping_labelsmust not overlap.- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.RateGroup]
- shipment_type¶
Optional. Type of locations this service ships orders to.
This field is a member of oneof
_shipment_type.
- minimum_order_value¶
Optional. Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency. Cannot be set together with
minimum_order_value_table.This field is a member of oneof
_minimum_order_value.- Type
google.shopping.type.types.Price
- minimum_order_value_table¶
Optional. Table of per store minimum order values for the pickup fulfillment type. Cannot be set together with
minimum_order_value.This field is a member of oneof
_minimum_order_value_table.
- store_config¶
A list of stores your products are delivered from. This is only valid for the local delivery shipment type.
This field is a member of oneof
_store_config.
- loyalty_programs¶
Optional. Loyalty programs that this shipping service is limited to.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.Service.LoyaltyProgram]
- class LoyaltyProgram(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageLoyalty program provided by a business.
- program_label¶
This is the loyalty program label set in your loyalty program settings in Merchant Center. This sub-attribute allows Google to map your loyalty program to eligible offers.
This field is a member of oneof
_program_label.- Type
- loyalty_program_tiers¶
Optional. Loyalty program tier of this shipping service.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.Service.LoyaltyProgram.LoyaltyProgramTiers]
- class LoyaltyProgramTiers(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageSubset of a business’s loyalty program.
- tier_label¶
The tier label [tier_label] sub-attribute differentiates offer level benefits between each tier. This value is also set in your program settings in Merchant Center, and is required for data source changes even if your loyalty program only has 1 tier.
This field is a member of oneof
_tier_label.- Type
- class ShipmentType(value)[source]¶
Bases:
proto.enums.EnumShipment type of shipping service.
- Values:
- SHIPMENT_TYPE_UNSPECIFIED (0):
This service did not specify shipment type.
- DELIVERY (1):
This service ships orders to an address chosen by the customer.
- LOCAL_DELIVERY (2):
This service ships orders to an address chosen by the customer. The order is shipped from a local store near by.
- COLLECTION_POINT (3):
This service ships orders to an address chosen by the customer. The order is shipped from a collection point.
- class StoreConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageA list of stores your products are delivered from. This is only valid for the local delivery shipment type.
- store_service_type¶
Indicates whether all stores, or selected stores, listed by this business provide local delivery.
This field is a member of oneof
_store_service_type.
- store_codes¶
Optional. A list of store codes that provide local delivery. If empty, then
all_storesmust be true.- Type
MutableSequence[str]
- cutoff_config¶
Configs related to local delivery ends for the day.
This field is a member of oneof
_cutoff_config.
- service_radius¶
Maximum delivery radius. This is only required for the local delivery shipment type.
This field is a member of oneof
_service_radius.
- class CutoffConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageConfigs related to local delivery ends for the day.
- local_cutoff_time¶
Time that local delivery ends for the day.
This field is a member of oneof
_local_cutoff_time.
- store_close_offset_hours¶
Only valid with local delivery fulfillment. Represents cutoff time as the number of hours before store closing. Mutually exclusive with
local_cutoff_time.This field is a member of oneof
_store_close_offset_hours.- Type
- no_delivery_post_cutoff¶
Businesses can opt-out of showing n+1 day local delivery when they have a shipping service configured to n day local delivery. For example, if the shipping service defines same-day delivery, and it’s past the cut-off, setting this field to
trueresults in the calculated shipping service rate returningNO_DELIVERY_POST_CUTOFF. In the same example, setting this field tofalseresults in the calculated shipping time being one day. This is only for local delivery.This field is a member of oneof
_no_delivery_post_cutoff.- Type
- class LocalCutoffTime(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageTime that local delivery ends for the day.
- class StoreServiceType(value)[source]¶
Bases:
proto.enums.EnumIndicates whether all stores, or selected stores, listed by the business provide local delivery.
- Values:
- STORE_SERVICE_TYPE_UNSPECIFIED (0):
Did not specify store service type.
- ALL_STORES (1):
Indicates whether all stores, current and future, listed by this business provide local delivery.
- SELECTED_STORES (2):
Indicates that only the stores listed in
store_codesare eligible for local delivery.
- class google.shopping.merchant_accounts_v1.types.ShippingSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe Merchant Center account’s shipping settings. The
ShippingSettingsresource lets you retrieve and update the shipping settings of your advanced account and all its associated sub-accounts.- name¶
Identifier. The resource name of the shipping settings. Format:
accounts/{account}/shippingSettings. For example,accounts/123456/shippingSettings.- Type
- services¶
Optional. The target account’s list of services.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.Service]
- warehouses¶
Optional. A list of warehouses which can be referred to in
services.- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.Warehouse]
- etag¶
Required. This field helps avoid async issues. It ensures that the shipping setting data doesn’t change between the
getcall and theinsertcall. The user should follow these steps:Set the etag field as an empty string for the initial shipping setting creation.
After the initial creation, call the
getmethod to obtain an etag and the current shipping setting data before callinginsert.Modify the shipping setting information.
Call the
insertmethod with the shipping setting information and the etag obtained in step 2.If the shipping setting data changes between step 2 and step 4, the insert request will fail because the etag changes every time the shipping setting data changes. In this case, the user should repeat steps 2-4 with the new etag.
- Type
- class google.shopping.merchant_accounts_v1.types.Table(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageA table defining the rate group, when
single_valueis not expressive enough.- name¶
Name of the table. Required for subtables, ignored for the main table.
This field is a member of oneof
_name.- Type
- column_headers¶
Headers of the table’s columns. Optional: if not set then the table has only one dimension.
This field is a member of oneof
_column_headers.
- rows¶
Required. The list of rows that constitute the table. Must have the same length as
row_headers.- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.Row]
- class google.shopping.merchant_accounts_v1.types.TermsOfService(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe
TermsOfServicemessage represents a specific version of the terms of service that merchants must accept to access certain features or services. For more information, see Terms of Service.This message is important for the onboarding process, ensuring that merchants agree to the necessary legal agreements for using the service. Merchants can retrieve the latest terms of service for a given
kindandregionthroughRetrieveLatestTermsOfService, and accept them as required throughAcceptTermsOfService.- name¶
Identifier. The resource name of the terms of service version. Format:
termsOfService/{version}- Type
- region_code¶
Region code as defined by CLDR. This is either a country where the ToS applies specifically to that country or
001when the sameTermsOfServicecan be signed in any country. However note that when signing a ToS that applies globally we still expect that a specific country is provided (this should be merchant business country or program country of participation).- Type
- kind¶
The Kind this terms of service version applies to.
- class google.shopping.merchant_accounts_v1.types.TermsOfServiceAgreementState(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThis resource represents the agreement state for a given account and terms of service kind. The state is as follows:
If the business has accepted a terms of service, [
accepted][google.shopping.merchant.accounts.v1.Accepted] will be populated, otherwise it will be emptyIf the business must sign a terms of service, [
required][google.shopping.merchant.accounts.v1.Required] will be populated, otherwise it will be empty.
Note that both
requiredandacceptedcan be present. In this case theacceptedterms of services will have an expiration date set in the [valid_until][google.shopping.merchant.accounts.v1.Accepted.valid_until] field. Therequiredterms of services need to be accepted beforevalid_untilin order for the account to continue having a valid agreement. When accepting new terms of services we expect third-party providers to display the text associated with the given terms of service agreement (the url to the file containing the text is added in the Required message below as [tos_file_uri][google.shopping.merchant.accounts.v1.Required.tos_file_uri]). The actual acceptance of the terms of service is done by calling accept on the [TermsOfService][google.shopping.merchant.accounts.v1.Accepted.terms_of_service] resource.valid_untilfield.- name¶
Identifier. The resource name of the terms of service version. Format:
accounts/{account}/termsOfServiceAgreementState/{identifier}The identifier format is:{[TermsOfServiceKind][google.shopping.merchant.accounts.v1.TermsOfServiceKind]}-{country}For example, an identifier could be:MERCHANT_CENTER-EUorMERCHANT_CENTER-US.- Type
- region_code¶
Required. Region code as defined by https://cldr.unicode.org/. This is the country the current state applies to.
- Type
- terms_of_service_kind¶
Required. Terms of Service kind associated with the particular version.
- accepted¶
Optional. The accepted terms of service of this kind and for the associated region_code
This field is a member of oneof
_accepted.
- class google.shopping.merchant_accounts_v1.types.TermsOfServiceKind(value)[source]¶
Bases:
proto.enums.EnumThe TermsOfService Kind.
- Values:
- TERMS_OF_SERVICE_KIND_UNSPECIFIED (0):
Default value. This value is unused.
- MERCHANT_CENTER (1):
Merchant Center application.
- class google.shopping.merchant_accounts_v1.types.TransitTable(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageTransit time table, number of business days spent in transit based on row and column dimensions. Either
min_transit_days,max_transit_daysortransit_time_tablecan be set, but not both.- postal_code_group_names¶
Required. A list of region names [Region.name][google.shopping.merchant.accounts.v1.Region.name] . The last value can be
"all other locations". Example:["zone 1", "zone 2", "all other locations"]. The referred postal code groups must match the delivery country of the service.- Type
MutableSequence[str]
- transit_time_labels¶
Required. A list of transit time labels. The last value can be
"all other labels". Example:["food", "electronics", "all other labels"].- Type
MutableSequence[str]
- rows¶
Required. If there’s only one dimension set of
postal_code_group_namesortransit_time_labels, there are multiple rows each with one value for that dimension. If there are two dimensions, each row corresponds to apostal_code_group_names, and columns (values) to atransit_time_labels.- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.TransitTable.TransitTimeRow]
- class TransitTimeRow(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageIf there’s only one dimension set of
postal_code_group_namesortransit_time_labels, there are multiple rows each with one value for that dimension. If there are two dimensions, each row corresponds to apostal_code_group_names, and columns (values) to atransit_time_labels.- values¶
Required. Transit time range (min-max) in business days.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.TransitTable.TransitTimeRow.TransitTimeValue]
- class TransitTimeValue(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageTransit time range (min-max) in business days.
- class google.shopping.merchant_accounts_v1.types.UnclaimHomepageRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
UnclaimHomepagemethod.
- class google.shopping.merchant_accounts_v1.types.UnregisterGcpRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the UnregisterGCP method.
- class google.shopping.merchant_accounts_v1.types.UpdateAccountRelationshipRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
UpdateAccountRelationshipmethod.- account_relationship¶
Required. The new version of the account relationship.
- update_mask¶
Optional. List of fields being updated.
The following fields are supported (in both
snake_caseandlowerCamelCase):account_id_alias
- class google.shopping.merchant_accounts_v1.types.UpdateAccountRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
UpdateAccountmethod.- account¶
Required. The new version of the account.
- update_mask¶
Optional. List of fields being updated.
The following fields are supported (in both
snake_caseandlowerCamelCase):account_nameadult_contentlanguage_codetime_zone
- class google.shopping.merchant_accounts_v1.types.UpdateAutofeedSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
UpdateAutofeedSettingsmethod.- autofeed_settings¶
Required. The new version of the autofeed setting.
- update_mask¶
Required. List of fields being updated.
- class google.shopping.merchant_accounts_v1.types.UpdateAutomaticImprovementsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
UpdateAutomaticImprovementsmethod.- automatic_improvements¶
Required. The new version of the automatic imrovements.
- update_mask¶
Required. List of fields being updated. The following fields are supported (in both
snake_caseandlowerCamelCase):item_updatesitem_updates.account_level_settingsimage_improvementsimage_improvements.account_level_settingsshipping_improvementsshipping_improvements.allow_shipping_improvements
- class google.shopping.merchant_accounts_v1.types.UpdateBusinessIdentityRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
UpdateBusinessIdentitymethod.- business_identity¶
Required. The new version of the business identity.
- update_mask¶
Optional. List of fields being updated.
The following fields are supported (in both
snake_caseandlowerCamelCase):black_ownedlatino_ownedpromotions_consentsmall_businessveteran_ownedwomen_owned
- class google.shopping.merchant_accounts_v1.types.UpdateBusinessInfoRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
UpdateBusinessInfomethod.- business_info¶
Required. The new version of the business info.
- update_mask¶
Optional. List of fields being updated.
The following fields are supported (in both
snake_caseandlowerCamelCase):addresscustomer_servicekorean_business_registration_number
- class google.shopping.merchant_accounts_v1.types.UpdateCheckoutSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
UpdateCheckoutSettingsmethod.- checkout_settings¶
Required. The updated version of the
CheckoutSettings. Thenamefield is used to identify theCheckoutSettings. Format:accounts/{account}/programs/{program}/checkoutSettings
- update_mask¶
Required. List of fields being updated. The following fields are supported (in both
snake_caseandlowerCamelCase):eligible_destinationsuri_settings
- class google.shopping.merchant_accounts_v1.types.UpdateEmailPreferencesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for UpdateEmailPreferences method.
- email_preferences¶
Required. Email Preferences to be updated.
- update_mask¶
Required. List of fields being updated.
The following fields are supported (in both
snake_caseandlowerCamelCase):news_and_tips
- class google.shopping.merchant_accounts_v1.types.UpdateHomepageRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
UpdateHomepagemethod.- homepage¶
Required. The new version of the homepage.
- update_mask¶
Optional. List of fields being updated.
The following fields are supported (in both
snake_caseandlowerCamelCase):uri
- class google.shopping.merchant_accounts_v1.types.UpdateOmnichannelSettingRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the UpdateOmnichannelSetting method.
- omnichannel_setting¶
Required. The omnichannel setting to update.
The omnichannel setting’s
namefield is used to identify the omnichannel setting to be updated.
- update_mask¶
Required. The list of fields to be updated.
The following fields are supported in snake_case only:
lsf_typein_stockpickupodoaboutinventory_verification
Full replacement with wildcard
*is supported, while empty/implied update mask is not.
- class google.shopping.merchant_accounts_v1.types.UpdateRegionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
UpdateRegionmethod.- region¶
Required. The updated region.
- update_mask¶
Optional. The comma-separated field mask indicating the fields to update. Example:
"displayName,postalCodeArea.regionCode".
- class google.shopping.merchant_accounts_v1.types.UpdateUserRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
UpdateUsermethod.- user¶
Required. The new version of the user.
Use
meto refer to your own email address, for exampleaccounts/{account}/users/me.
- update_mask¶
Optional. List of fields being updated.
The following fields are supported (in both
snake_caseandlowerCamelCase):access_rights
- class google.shopping.merchant_accounts_v1.types.UriSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageURL settings for cart or checkout URL.
This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.
- checkout_uri_template¶
Checkout URL template. When the placeholders are expanded will redirect the buyer to the merchant checkout page with the item in the cart. For more details, check the help center doc
This field is a member of oneof
uri_template.- Type
- cart_uri_template¶
Cart URL template. When the placeholders are expanded will redirect the buyer to the cart page on the merchant website with the selected item in cart. For more details, check the help center doc
This field is a member of oneof
uri_template.- Type
- class google.shopping.merchant_accounts_v1.types.User(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe
Userresource represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see Frequently asked questions about people and access levels.- name¶
Identifier. The resource name of the user. Format:
accounts/{account}/user/{email}Use
meto refer to your own email address, for exampleaccounts/{account}/users/me.- Type
- state¶
Output only. The state of the user.
- access_rights¶
Required. The access rights the user has.
- Type
MutableSequence[google.shopping.merchant_accounts_v1.types.AccessRight]
- class State(value)[source]¶
Bases:
proto.enums.EnumThe state represents the possible statuses of a user. It is an output-only field that is set to
PENDINGwhen a user is invited to an account and changes toVERIFIEDonce the user accepts the invitation.- Values:
- STATE_UNSPECIFIED (0):
Default value. This value is unused.
- PENDING (1):
The user is pending confirmation. In this state, the user first needs to accept the invitation before performing other actions.
- VERIFIED (2):
The user is verified.
- class google.shopping.merchant_accounts_v1.types.Value(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe single value of a rate group or the value of a rate group table’s cell. Exactly one of
no_shipping,flat_rate,price_percentage,carrier_rateName,subtable_namemust be set.- no_shipping¶
If true, then the product can’t be shipped. Must be true when set, can only be set if all other fields are not set.
This field is a member of oneof
_no_shipping.- Type
- flat_rate¶
A flat rate. Can only be set if all other fields are not set.
This field is a member of oneof
_flat_rate.- Type
google.shopping.type.types.Price
- price_percentage¶
A percentage of the price represented as a number in decimal notation (For example,
"5.4"). Can only be set if all other fields are not set.This field is a member of oneof
_price_percentage.- Type
- class google.shopping.merchant_accounts_v1.types.VerificationMailSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageSettings related to the verification email that is sent after adding a user.
- verification_mail_mode¶
Optional. Mode of the verification mail. If not set, the default is
SEND_VERIFICATION_MAIL.
- class VerificationMailMode(value)[source]¶
Bases:
proto.enums.EnumThe different configuration options for sending a verification email when adding a user.
- Values:
- VERIFICATION_MAIL_MODE_UNSPECIFIED (0):
Default first member of every enum. Do not use.
- SEND_VERIFICATION_MAIL (1):
An invitation email is sent to the user added shortly after.
- SUPPRESS_VERIFICATION_MAIL (2):
No invitation email is sent. This can be useful if the user is expected to accept the invitation through the API without needing another notification.
- class google.shopping.merchant_accounts_v1.types.VerifySelfRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
VerifySelfmethod.
- class google.shopping.merchant_accounts_v1.types.Warehouse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageA fulfillment warehouse, which stores and handles inventory.
- name¶
Required. The name of the warehouse. Must be unique within account.
This field is a member of oneof
_name.- Type
- shipping_address¶
Required. Shipping address of the warehouse.
This field is a member of oneof
_shipping_address.
- cutoff_time¶
Required. The latest time of day that an order can be accepted and begin processing. Later orders will be processed in the next day. The time is based on the warehouse postal code.
This field is a member of oneof
_cutoff_time.
- handling_days¶
Required. The number of days it takes for this warehouse to pack up and ship an item. This is on the warehouse level, but can be overridden on the offer level based on the attributes of an item.
This field is a member of oneof
_handling_days.- Type
- class google.shopping.merchant_accounts_v1.types.WarehouseBasedDeliveryTime(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageIndicates that the delivery time should be calculated per warehouse (shipping origin location) based on the settings of the selected carrier. When set, no other transit time related field in
delivery_timeshould be set.- carrier¶
Required. Carrier, such as
"UPS"or"Fedex". supported carriersThis field is a member of oneof
_carrier.- Type
- class google.shopping.merchant_accounts_v1.types.WarehouseCutoffTime(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe latest time of day that an order can be accepted and begin processing. Later orders will be processed in the next day. The time is based on the warehouse postal code.