Class: Google::Apis::ContentV2_1::AccountAutomaticImprovements
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::AccountAutomaticImprovements
- 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
The automatic improvements of the account can be used to automatically update items, improve images and shipping.
Instance Attribute Summary collapse
-
#image_improvements ⇒ Google::Apis::ContentV2_1::AccountImageImprovements
This improvement will attempt to automatically correct submitted images if they don't meet the image requirements, for example, removing overlays.
-
#item_updates ⇒ Google::Apis::ContentV2_1::AccountItemUpdates
Turning on item updates allows Google to automatically update items for you.
-
#shipping_improvements ⇒ Google::Apis::ContentV2_1::AccountShippingImprovements
Not available for MCAs accounts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountAutomaticImprovements
constructor
A new instance of AccountAutomaticImprovements.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountAutomaticImprovements
Returns a new instance of AccountAutomaticImprovements.
281 282 283 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 281 def initialize(**args) update!(**args) end |
Instance Attribute Details
#image_improvements ⇒ Google::Apis::ContentV2_1::AccountImageImprovements
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
Corresponds to the JSON property imageImprovements
258 259 260 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 258 def image_improvements @image_improvements end |
#item_updates ⇒ Google::Apis::ContentV2_1::AccountItemUpdates
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.
Corresponds to the JSON property itemUpdates
267 268 269 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 267 def item_updates @item_updates end |
#shipping_improvements ⇒ Google::Apis::ContentV2_1::AccountShippingImprovements
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
Corresponds to the JSON property shippingImprovements
279 280 281 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 279 def shipping_improvements @shipping_improvements end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
286 287 288 289 290 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 286 def update!(**args) @image_improvements = args[:image_improvements] if args.key?(:image_improvements) @item_updates = args[:item_updates] if args.key?(:item_updates) @shipping_improvements = args[:shipping_improvements] if args.key?(:shipping_improvements) end |