Types for Google Shopping Merchant Accounts v1beta API¶
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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_v1beta.types.Accepted(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageDescribes the accepted terms of service.
- terms_of_service¶
The accepted termsOfService.
- Type
- accepted_by¶
The account where the acceptance was recorded. This can be the account itself or, in the case of subaccounts, the MCA account.
- Type
- valid_until¶
When set, it states that the accepted TermsOfService is only valid until the end of this date (in UTC). A new one must be accepted before then. The information of the required TermsOfService is found in the Required message.
This field is a member of oneof
_valid_until.- Type
google.type.date_pb2.Date
- class google.shopping.merchant_accounts_v1beta.types.AccessRight(value)[source]¶
Bases:
proto.enums.EnumThe access right.
- Values:
- ACCESS_RIGHT_UNSPECIFIED (0):
Default value. This value is unused.
- STANDARD (1):
Standard access rights.
- ADMIN (2):
Admin access rights.
- PERFORMANCE_REPORTING (3):
Users with this right have access to performance and insights.
- class google.shopping.merchant_accounts_v1beta.types.Account(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageAn account.
- account_name¶
Required. A human-readable name of the account. See store name and business name for more information.
- 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.- 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_v1beta.types.AccountAggregation(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageAccountAggregationpayload.
- class google.shopping.merchant_accounts_v1beta.types.AccountIssue(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageAn
`AccountIssue<https://support.google.com/merchants/answer/12153802?sjid=17798438912526418908-EU#account>`__.- name¶
Identifier. The resource name of the account issue. Format:
accounts/{account}/issues/{id}- Type
- severity¶
The overall severity of the issue.
- impacted_destinations¶
The impact this issue has on various destinations.
- Type
MutableSequence[google.shopping.merchant_accounts_v1beta.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_v1beta.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_v1beta.types.AccountTax(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe tax settings of a merchant account. All methods require the admin role.
- name¶
Identifier. The name of the tax setting. Format: “{account_tax.name=accounts/{account}}”.
- Type
- tax_rules¶
Tax rules. “Define the tax rules in each region. No tax will be presented if a region has no rule.”.
- Type
MutableSequence[google.shopping.merchant_accounts_v1beta.types.TaxRule]
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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_v1beta.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_v1beta.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 MCAs 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_v1beta.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_v1beta.types.AutomaticShippingImprovements(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageNot available for MCAs 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_v1beta.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_v1beta.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_v1beta.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¶
Optional. 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 merchants with a 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 merchants 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 merchants 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 merchants with a 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 merchants 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_v1beta.types.BusinessInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageCollection of information related to a business.
- name¶
Identifier. The resource name of the business info. Format:
accounts/{account}/businessInfo- Type
- address¶
Optional. The address of the business.
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_v1beta.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.- 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_v1beta.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 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_v1beta.types.ClaimHomepageRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
ClaimHomepagemethod.
- class google.shopping.merchant_accounts_v1beta.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.
- users¶
Optional. Users to be added to the account.
- Type
MutableSequence[google.shopping.merchant_accounts_v1beta.types.CreateUserRequest]
- accept_terms_of_service¶
Optional. The Terms of Service (ToS) to be accepted immediately upon account creation.
This field is a member of oneof
_accept_terms_of_service.
- 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_aggregation, which means you can only create sub accounts, not standalone account through this method. Additionalaccount_managementorproduct_managementservices may be provided.
- class AcceptTermsOfService(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageReference to a Terms of Service resource.
- name¶
Required. The resource name of the terms of service version in the format
termsOfService/{version}. To retrieve the latest version, use the termsOfService.retrieveLatest method.- Type
- class AddAccountService(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageAdditional instructions to add account services during creation of the account.
- 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.
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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_v1beta.types.CreateOnlineReturnPolicyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
CreateOnlineReturnPolicymethod.- parent¶
Required. The merchant 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_v1beta.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_v1beta.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¶
Required. The user to create.
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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_v1beta.types.DeleteAccountRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
DeleteAccountmethod.
- class google.shopping.merchant_accounts_v1beta.types.DeleteCheckoutSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
DeleteCheckoutSettingsmethod.
- class google.shopping.merchant_accounts_v1beta.types.DeleteOnlineReturnPolicyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
DeleteOnlineReturnPolicymethod.
- class google.shopping.merchant_accounts_v1beta.types.DeleteRegionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
DeleteRegionmethod.
- class google.shopping.merchant_accounts_v1beta.types.DeleteUserRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
DeleteUsermethod.
- class google.shopping.merchant_accounts_v1beta.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.content.bundles.ShippingSetting.DeliveryTime] should be set.
- Type
MutableSequence[google.shopping.merchant_accounts_v1beta.types.WarehouseBasedDeliveryTime]
- class google.shopping.merchant_accounts_v1beta.types.DisableProgramRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the DisableProgram method.
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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_v1beta.types.EnableProgramRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the EnableProgram method.
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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_v1beta.types.LfpProvider]
- class google.shopping.merchant_accounts_v1beta.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_v1beta.types.GetAccountRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetAccountmethod.
- class google.shopping.merchant_accounts_v1beta.types.GetAccountTaxRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest to get tax settings
- class google.shopping.merchant_accounts_v1beta.types.GetAutofeedSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetAutofeedSettingsmethod.
- class google.shopping.merchant_accounts_v1beta.types.GetAutomaticImprovementsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetAutomaticImprovementsmethod.
- class google.shopping.merchant_accounts_v1beta.types.GetBusinessIdentityRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetBusinessIdentitymethod.
- class google.shopping.merchant_accounts_v1beta.types.GetBusinessInfoRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetBusinessInfomethod.
- class google.shopping.merchant_accounts_v1beta.types.GetCheckoutSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for
GetCheckoutSettingsmethod.
- class google.shopping.merchant_accounts_v1beta.types.GetEmailPreferencesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for GetEmailPreferences method.
- class google.shopping.merchant_accounts_v1beta.types.GetHomepageRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetHomepagemethod.
- class google.shopping.merchant_accounts_v1beta.types.GetOmnichannelSettingRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the GetOmnichannelSettings method.
- class google.shopping.merchant_accounts_v1beta.types.GetOnlineReturnPolicyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetOnlineReturnPolicymethod.
- class google.shopping.merchant_accounts_v1beta.types.GetProgramRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the GetProgram method.
- class google.shopping.merchant_accounts_v1beta.types.GetRegionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetRegionmethod.
- class google.shopping.merchant_accounts_v1beta.types.GetShippingSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetShippingSettingmethod.
- class google.shopping.merchant_accounts_v1beta.types.GetTermsOfServiceAgreementStateRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetTermsOfServiceAgreementStatemethod.
- class google.shopping.merchant_accounts_v1beta.types.GetTermsOfServiceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetTermsOfServicemethod.
- class google.shopping.merchant_accounts_v1beta.types.GetUserRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
GetUsermethod.
- class google.shopping.merchant_accounts_v1beta.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_v1beta.types.LocationIdSet]
- class google.shopping.merchant_accounts_v1beta.types.Homepage(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageA store’s homepage.
- 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_v1beta.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_v1beta.types.InsertShippingSettingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
InsertShippingSettingmethod.- parent¶
Required. The account where this product will be inserted. Format: accounts/{account}
- Type
- shipping_setting¶
Required. The new version of the account.
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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_v1beta.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_v1beta.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_v1beta.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_v1beta.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_v1beta.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_v1beta.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 users 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_v1beta.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_v1beta.types.AccountIssue]
- class google.shopping.merchant_accounts_v1beta.types.ListAccountTaxRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest to list all sub-account tax settings only for the requesting merchant This method can only be called on a multi-client account, otherwise it’ll return an error.
- parent¶
Required. The parent, which owns this collection of account tax. Format: accounts/{account}
- Type
- class google.shopping.merchant_accounts_v1beta.types.ListAccountTaxResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse to account tax list request This method can only be called on a multi-client account, otherwise it’ll return an error.
- account_taxes¶
Page of accounttax settings
- Type
MutableSequence[google.shopping.merchant_accounts_v1beta.types.AccountTax]
- class google.shopping.merchant_accounts_v1beta.types.ListAccountsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
ListAccountsmethod.- 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
ListAccountscall. Provide this to retrieve the subsequent page.When paginating, all other parameters provided to
ListAccountsmust 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_v1beta.types.ListAccountsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the
ListAccountsmethod.- accounts¶
The accounts matching the
ListAccountsRequest.- Type
MutableSequence[google.shopping.merchant_accounts_v1beta.types.Account]
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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_v1beta.types.GbpAccount]
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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_v1beta.types.OmnichannelSetting]
- class google.shopping.merchant_accounts_v1beta.types.ListOnlineReturnPoliciesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
ListOnlineReturnPoliciesmethod.- parent¶
Required. The merchant 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 merchant 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.v1beta.ListOnlineReturnPoliciesResponse.next_page_token] in the response to the previous request.- Type
- class google.shopping.merchant_accounts_v1beta.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_v1beta.types.OnlineReturnPolicy]
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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_v1beta.types.Program]
- class google.shopping.merchant_accounts_v1beta.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_v1beta.types.ListRegionsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageResponse message for the
ListRegionsmethod.- regions¶
The regions from the specified merchant.
- Type
MutableSequence[google.shopping.merchant_accounts_v1beta.types.Region]
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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_v1beta.types.Account]
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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_v1beta.types.User]
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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.
- 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_v1beta.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_v1beta.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_v1beta.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¶
Required. Immutable. This field represents the unique user-defined label of the return policy. It is important to note that the same label cannot be used in different return policies for the same country. Unless a product specifies a specific label attribute, policies will be automatically labeled as ‘default’. 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_v1beta.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_v1beta.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_v1beta.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 merchant 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 merchants to process refunds.
This field is a member of oneof
_process_refund_days.- Type
- accept_exchange¶
Optional. This field specifies if merchant 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_v1beta.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_v1beta.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_v1beta.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 merchant accounts. A typical example of this is the Free product listings program, which enables products from a merchant’s store to be shown across Google for free.
- 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_v1beta.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_v1beta.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_v1beta.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_v1beta.types.CarrierRate]
- class google.shopping.merchant_accounts_v1beta.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.
- 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_v1beta.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 google.shopping.merchant_accounts_v1beta.types.RequestInventoryVerificationRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the RequestInventoryVerification method.
- class google.shopping.merchant_accounts_v1beta.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_v1beta.types.Required(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageDescribes the terms of service which are required to be accepted.
- terms_of_service¶
The termsOfService that need to be accepted.
- Type
- tos_file_uri¶
Full URL to the terms of service file. This field is the same as TermsOfService.file_uri, it is added here for convenience only.
- Type
- class google.shopping.merchant_accounts_v1beta.types.RetrieveForApplicationTermsOfServiceAgreementStateRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
RetrieveForApplicationTermsOfServiceAgreementStatemethod.
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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_v1beta.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_v1beta.types.Value]
- class google.shopping.merchant_accounts_v1beta.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¶
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_v1beta.types.RateGroup]
- shipment_type¶
Type of locations this service ships orders to.
This field is a member of oneof
_shipment_type.
- minimum_order_value¶
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¶
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_v1beta.types.Service.LoyaltyProgram]
- class LoyaltyProgram(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageLoyalty program provided by a merchant.
- 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.
- class LoyaltyProgramTiers(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageSubset of a merchants 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 merchant 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¶
Merchants 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 merchant 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 merchant provide local delivery.
- SELECTED_STORES (2):
Indicates that only the stores listed in
store_codesare eligible for local delivery.
- class google.shopping.merchant_accounts_v1beta.types.ShippingSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageThe merchant account’s shipping setting.
- name¶
Identifier. The resource name of the shipping setting. Format:
accounts/{account}/shippingSetting- Type
- services¶
Optional. The target account’s list of services.
- Type
MutableSequence[google.shopping.merchant_accounts_v1beta.types.Service]
- warehouses¶
Optional. A list of warehouses which can be referred to in
services.- Type
MutableSequence[google.shopping.merchant_accounts_v1beta.types.Warehouse]
- etag¶
Required. This field is used for avoid async issue. Make sure shipping setting data didn’t change between get call and insert call. The user should do following steps:
- Set etag field as empty string for initial
shipping setting creation.
- After initial creation, call get method to
obtain an etag and current shipping setting data before call insert.
- Modify to wanted shipping setting
information.
- Call insert method with the wanted shipping
setting information with the etag obtained from step 2.
- If shipping setting data changed between step
2 and step 4. Insert request will fail because the etag changes every time the shipping setting data changes. User should repeate step 2-4 with the new etag.
- Type
- class google.shopping.merchant_accounts_v1beta.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_v1beta.types.Row]
- class google.shopping.merchant_accounts_v1beta.types.TaxRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessagePrimary type convension
- percent micro100% = 1 000 000 and 1% = 10 000
cannot be negative.
Information about tax nexus and related parameters applicable to orders delivered to the area covered by a single tax admin. Nexus is created when a merchant is doing business in an area administered by tax admin (only US states are supported for nexus configuration). If merchant has nexus in a US state, merchant needs to pay tax to all tax authorities associated with the shipping destination. Next Id : 8
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.
- location_id¶
The admin_id or criteria_id of the region in which this rule is applicable.
This field is a member of oneof
location.- Type
- post_code_range¶
The range of postal codes in which this rule is applicable.
This field is a member of oneof
location.
- use_google_rate¶
Rate that depends on delivery location: if merchant has a nexus in corresponding US state, rates from authorities with jurisdiction over delivery area are added up.
This field is a member of oneof
rate_calculation.- Type
- self_specified_rate_micros¶
A fixed rate specified in micros, where 100% = 1_000_000. Suitable for origin-based states.
This field is a member of oneof
rate_calculation.- Type
- shipping_taxed¶
If set, shipping charge is taxed (at the same rate as product) when delivering to this admin’s area. Can only be set on US states without category.
- Type
- effective_time_period¶
Required. Time period when this rule is effective. If the duration is missing from effective_time listed, then it is open ended to the future. The start of this time period is inclusive, and the end is exclusive.
- Type
google.type.interval_pb2.Interval
- class TaxPostalCodeRange(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageA range of postal codes that defines the area.
- start¶
Required. The start of the postal code range, which is also the smallest in the range.
- Type
- class google.shopping.merchant_accounts_v1beta.types.TermsOfService(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageA
TermsOfService.- 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_v1beta.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 merchant has accepted a terms of service: accepted will be populated, otherwise it will be empty
If the merchant must sign a terms of service: required will be populated, otherwise it will be empty.
Note that both required and accepted can be present. In this case the
acceptedterms of services will have an expiration date set in the 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 3Ps 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. The actual acceptance of the terms of service is done by calling accept on the TermsOfService resource.- name¶
Identifier. The resource name of the terms of service version. Format:
accounts/{account}/termsOfServiceAgreementState/{identifier}The identifier format is:{TermsOfServiceKind}-{country}For example, an identifier could be:MERCHANT_CENTER-US- Type
- region_code¶
Region code as defined by https://cldr.unicode.org/. This is the country the current state applies to.
- Type
- terms_of_service_kind¶
Terms of Service kind associated with the particular version.
- accepted¶
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_v1beta.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_v1beta.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.v1beta.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_v1beta.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.
- 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_v1beta.types.UnclaimHomepageRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
UnclaimHomepagemethod.
- class google.shopping.merchant_accounts_v1beta.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¶
Required. List of fields being updated.
- class google.shopping.merchant_accounts_v1beta.types.UpdateAccountTaxRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest to update the tax settings
- account_tax¶
Required. The tax setting that will be updated
- update_mask¶
The list of fields to be updated
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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_v1beta.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¶
Required. List of fields being updated.
- class google.shopping.merchant_accounts_v1beta.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¶
Required. List of fields being updated.
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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.
- class google.shopping.merchant_accounts_v1beta.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¶
Required. List of fields being updated.
- class google.shopping.merchant_accounts_v1beta.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_v1beta.types.UpdateOnlineReturnPolicyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageRequest message for the
UpdateOnlineReturnPolicymethod. The method supports field masks and when the mask is provided, only the fields specified in the mask are updated.- online_return_policy¶
Required. The online return policy to update. The online return policy’s
namefield is used to identify the online return policy to be updated.
- update_mask¶
Optional. List of fields being updated.
The following fields are supported (in both
snake_caseandlowerCamelCase):accept_defective_onlyaccept_exchangeitem_conditionspolicyprocess_refund_daysrestocking_feereturn_methodsreturn_policy_urireturn_shipping_fee
- class google.shopping.merchant_accounts_v1beta.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_v1beta.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¶
Required. List of fields being updated.
- class google.shopping.merchant_accounts_v1beta.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_v1beta.types.User(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageA user.
- 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¶
Optional. The access rights the user has.
- Type
MutableSequence[google.shopping.merchant_accounts_v1beta.types.AccessRight]
- class State(value)[source]¶
Bases:
proto.enums.EnumThe possible states of a user.
- 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_v1beta.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_v1beta.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_v1beta.types.Warehouse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.MessageA fulfillment warehouse, which stores and handles inventory. Next tag: 7
- 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_v1beta.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".This field is a member of oneof
_carrier.- Type
- class google.shopping.merchant_accounts_v1beta.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.