Class: Google::Apis::ContentV2_1::AccountShippingImprovements

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccountShippingImprovements

Returns a new instance of AccountShippingImprovements.



943
944
945
# File 'lib/google/apis/content_v2_1/classes.rb', line 943

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#allow_shipping_improvementsBoolean Also known as: allow_shipping_improvements?

Enables automatic shipping improvements. Corresponds to the JSON property allowShippingImprovements

Returns:

  • (Boolean)


940
941
942
# File 'lib/google/apis/content_v2_1/classes.rb', line 940

def allow_shipping_improvements
  @allow_shipping_improvements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



948
949
950
# File 'lib/google/apis/content_v2_1/classes.rb', line 948

def update!(**args)
  @allow_shipping_improvements = args[:allow_shipping_improvements] if args.key?(:allow_shipping_improvements)
end