Class: Google::Apis::ContentV2_1::ShoppingContentService
- Inherits:
-
Google::Apis::Core::BaseService
- Object
- Google::Apis::Core::BaseService
- Google::Apis::ContentV2_1::ShoppingContentService
- Defined in:
- lib/google/apis/content_v2_1/service.rb
Overview
Content API for Shopping
Manage your product listings and accounts for Google Shopping
Constant Summary collapse
- DEFAULT_ENDPOINT_TEMPLATE =
"https://shoppingcontent.$UNIVERSE_DOMAIN$/"
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#authinfo_account(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountsAuthInfoResponse
Returns information about the authenticated user.
-
#claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountsClaimWebsiteResponse
Claims the website of a Merchant Center sub-account.
-
#create_account_credential(account_id, account_credentials_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountCredentials
Uploads credentials for the Merchant Center account.
-
#create_account_label(account_id, account_label_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountLabel
Creates a new label, not assigned to any account.
-
#create_account_returncarrier(account_id, account_return_carrier_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountReturnCarrier
Links return carrier to a merchant account.
-
#create_collection(merchant_id, collection_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Collection
Uploads a collection to your Merchant Center account.
-
#create_conversionsource(merchant_id, conversion_source_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ConversionSource
Creates a new conversion source.
-
#create_ordertrackingsignal(merchant_id, order_tracking_signal_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::OrderTrackingSignal
Creates new order tracking signal.
-
#create_productdeliverytime(merchant_id, product_delivery_time_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ProductDeliveryTime
Creates or updates the delivery time of a product.
-
#create_promotion(merchant_id, promotion_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Promotion
Inserts a promotion for your Merchant Center account.
-
#create_region(merchant_id, region_object = nil, region_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Region
Creates a region definition in your Merchant Center account.
-
#create_returnpolicyonline(merchant_id, return_policy_online_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnPolicyOnline
Creates a new return policy.
-
#custombatch_account(accounts_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountsCustomBatchResponse
Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-) accounts in a single request.
-
#custombatch_accountstatus(accountstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponse
Retrieves multiple Merchant Center account statuses in a single request.
-
#custombatch_accounttax(accounttax_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccounttaxCustomBatchResponse
Retrieves and updates tax settings of multiple accounts in a single request.
-
#custombatch_datafeed(datafeeds_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::DatafeedsCustomBatchResponse
Deletes, fetches, gets, inserts and updates multiple datafeeds in a single request.
-
#custombatch_datafeedstatus(datafeedstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponse
Gets multiple Merchant Center datafeed statuses in a single request.
-
#custombatch_liasetting(liasettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiasettingsCustomBatchResponse
Retrieves and/or updates the LIA settings of multiple accounts in a single request.
-
#custombatch_localinventory(localinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponse
Updates local inventory for multiple products or stores in a single request.
-
#custombatch_po(pos_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::PosCustomBatchResponse
Batches multiple POS-related calls in a single request.
-
#custombatch_product(products_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ProductsCustomBatchResponse
Retrieves, inserts, and deletes multiple products in a single request.
-
#custombatch_productstatus(productstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponse
Gets the statuses of multiple products in a single request.
-
#custombatch_regionalinventory(regionalinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse
Updates regional inventory for multiple products or regions in a single request.
-
#custombatch_returnaddress(returnaddress_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse
Batches multiple return address related calls in a single request.
-
#custombatch_returnpolicy(returnpolicy_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse
Batches multiple return policy related calls in a single request.
-
#custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponse
Retrieves and updates the shipping settings of multiple accounts in a single request.
-
#delete_account(merchant_id, account_id, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a Merchant Center sub-account.
-
#delete_account_label(account_id, label_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a label and removes it from all accounts to which it was assigned.
-
#delete_account_returncarrier(account_id, carrier_account_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Delete a return carrier in the merchant account.
-
#delete_collection(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a collection from your Merchant Center account.
-
#delete_conversionsource(merchant_id, conversion_source_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Archives an existing conversion source.
-
#delete_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a datafeed configuration from your Merchant Center account.
-
#delete_freelistingsprogram_checkoutsetting(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes
Checkout
settings and unenrolls merchant fromCheckout
program. -
#delete_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a store for the given merchant.
-
#delete_product(merchant_id, product_id, feed_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a product from your Merchant Center account.
-
#delete_productdeliverytime(merchant_id, product_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes the delivery time of a product.
-
#delete_region(merchant_id, region_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a region definition from your Merchant Center account.
-
#delete_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a return address for the given Merchant Center account.
-
#delete_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes a return policy for the given Merchant Center account.
-
#delete_returnpolicyonline(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Deletes an existing return policy.
-
#fetchnow_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::DatafeedsFetchNowResponse
Invokes a fetch for the datafeed in your Merchant Center account.
-
#generate_recommendation(merchant_id, allowed_tag: nil, language_code: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::GenerateRecommendationsResponse
Generates recommendations for a merchant.
-
#get_account(merchant_id, account_id, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Account
Retrieves a Merchant Center account.
-
#get_accountstatus(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountStatus
Retrieves the status of a Merchant Center account.
-
#get_accounttax(merchant_id, account_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountTax
Retrieves the tax settings of the account.
-
#get_collection(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Collection
Retrieves a collection from your Merchant Center account.
-
#get_collectionstatus(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::CollectionStatus
Gets the status of a collection from your Merchant Center account.
-
#get_conversionsource(merchant_id, conversion_source_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ConversionSource
Fetches a conversion source.
-
#get_css(css_group_id, css_domain_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Css
Retrieves a single CSS domain by ID.
-
#get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Datafeed
Retrieves a datafeed configuration from your Merchant Center account.
-
#get_datafeedstatus(merchant_id, datafeed_id, country: nil, feed_label: nil, language: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::DatafeedStatus
Retrieves the status of a datafeed from your Merchant Center account.
-
#get_freelistingsprogram(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::FreeListingsProgramStatus
Retrieves the status and review eligibility for the free listing program.
-
#get_freelistingsprogram_checkoutsetting(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::CheckoutSettings
Gets Checkout settings for the given merchant.
-
#get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiaSettings
Retrieves the LIA settings of the account.
-
#get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::PosStore
Retrieves information about the given store.
-
#get_product(merchant_id, product_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Product
Retrieves a product from your Merchant Center account.
-
#get_productdeliverytime(merchant_id, product_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ProductDeliveryTime
Gets
productDeliveryTime
byproductId
. -
#get_productstatus(merchant_id, product_id, destinations: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ProductStatus
Gets the status of a product from your Merchant Center account.
-
#get_promotion(merchant_id, id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Promotion
Retrieves a promotion from your Merchant Center account.
-
#get_pubsubnotificationsetting(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::PubsubNotificationSettings
Retrieves a Merchant Center account's pubsub notification settings.
-
#get_region(merchant_id, region_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Region
Retrieves a region defined in your Merchant Center account.
-
#get_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnAddress
Gets a return address of the Merchant Center account.
-
#get_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnPolicy
Gets a return policy of the Merchant Center account.
-
#get_returnpolicyonline(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnPolicyOnline
Gets an existing return policy.
-
#get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ShippingSettings
Retrieves the shipping settings of the account.
-
#get_shoppingadsprogram(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ShoppingAdsProgramStatus
Retrieves the status and review eligibility for the Shopping Ads program.
-
#getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse
Retrieves the list of accessible Business Profiles.
-
#getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse
Retrieves supported carriers and carrier services for an account.
-
#getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse
Retrieves supported holidays for an account.
-
#getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse
Retrieves supported pickup services for an account.
-
#initialize ⇒ ShoppingContentService
constructor
A new instance of ShoppingContentService.
-
#insert_account(merchant_id, account_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Account
Creates a Merchant Center sub-account.
-
#insert_checkoutsetting_checkout_settings(merchant_id, insert_checkout_settings_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::CheckoutSettings
Enrolls merchant in
Checkout
program. -
#insert_datafeed(merchant_id, datafeed_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Datafeed
Registers a datafeed configuration with your Merchant Center account.
-
#insert_localinventory(merchant_id, product_id, local_inventory_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LocalInventory
Updates the local inventory of a product in your Merchant Center account.
-
#insert_po(merchant_id, target_merchant_id, pos_store_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::PosStore
Creates a store for the given merchant.
-
#insert_product(merchant_id, product_object = nil, feed_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Product
Uploads a product to your Merchant Center account.
-
#insert_regionalinventory(merchant_id, product_id, regional_inventory_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::RegionalInventory
Updates the regional inventory of a product in your Merchant Center account.
-
#insert_returnaddress(merchant_id, return_address_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnAddress
Inserts a return address for the Merchant Center account.
-
#insert_returnpolicy(merchant_id, return_policy_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnPolicy
Inserts a return policy for the Merchant Center account.
-
#inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::PosInventoryResponse
Submit inventory for the given merchant.
-
#link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountsLinkResponse
Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId.
-
#list_account_labels(account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListAccountLabelsResponse
Lists the labels assigned to an account.
-
#list_account_returncarriers(account_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListAccountReturnCarrierResponse
Lists available return carriers in the merchant account.
-
#list_accounts(merchant_id, label: nil, max_results: nil, name: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountsListResponse
Lists the sub-accounts in your Merchant Center account.
-
#list_accountstatuses(merchant_id, destinations: nil, max_results: nil, name: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountstatusesListResponse
Lists the statuses of the sub-accounts in your Merchant Center account.
-
#list_accounttaxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccounttaxListResponse
Lists the tax settings of the sub-accounts in your Merchant Center account.
-
#list_collections(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListCollectionsResponse
Lists the collections in your Merchant Center account.
-
#list_collectionstatuses(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListCollectionStatusesResponse
Lists the statuses of the collections in your Merchant Center account.
-
#list_conversionsources(merchant_id, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListConversionSourcesResponse
Retrieves the list of conversion sources the caller has access to.
-
#list_csses(css_group_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListCssesResponse
Lists CSS domains affiliated with a CSS group.
-
#list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::DatafeedsListResponse
Lists the configurations for datafeeds in your Merchant Center account.
-
#list_datafeedstatuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::DatafeedstatusesListResponse
Lists the statuses of the datafeeds in your Merchant Center account.
-
#list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiasettingsListResponse
Lists the LIA settings of the sub-accounts in your Merchant Center account.
-
#list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::PosListResponse
Lists the stores of the target merchant.
-
#list_products(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ProductsListResponse
Lists the products in your Merchant Center account.
-
#list_productstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ProductstatusesListResponse
Lists the statuses of the products in your Merchant Center account.
-
#list_promotions(merchant_id, country_code: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListPromotionResponse
List all promotions from your Merchant Center account.
-
#list_quotas(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListMethodQuotasResponse
Lists the daily call quota and usage per method for your Merchant Center account.
-
#list_regions(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListRegionsResponse
Lists the regions in your Merchant Center account.
-
#list_returnaddresses(merchant_id, country: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnaddressListResponse
Lists the return addresses of the Merchant Center account.
-
#list_returnpolicies(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnpolicyListResponse
Lists the return policies of the Merchant Center account.
-
#list_returnpolicyonlines(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListReturnPolicyOnlineResponse
Lists all existing return policies.
-
#list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ShippingsettingsListResponse
Lists the shipping settings of the sub-accounts in your Merchant Center account.
-
#listlinks_account(merchant_id, account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountsListLinksResponse
Returns the list of accounts linked to your Merchant Center account.
-
#listposdataproviders_liasetting(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse
Retrieves the list of POS data providers that have active settings for the all eiligible countries.
-
#patch_account_label(account_id, label_id, account_label_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountLabel
Updates a label.
-
#patch_account_returncarrier(account_id, carrier_account_id, account_return_carrier_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountReturnCarrier
Updates a return carrier in the merchant account.
-
#patch_conversionsource(merchant_id, conversion_source_id, conversion_source_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ConversionSource
Updates information of an existing conversion source.
-
#patch_region(merchant_id, region_id, region_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Region
Updates a region definition in your Merchant Center account.
-
#patch_returnpolicyonline(merchant_id, return_policy_id, return_policy_online_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnPolicyOnline
Updates an existing return policy.
-
#renderaccountissues_merchantsupport(merchant_id, render_account_issues_request_payload_object = nil, language_code: nil, time_zone: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::RenderAccountIssuesResponse
Provide a list of merchant's issues with a support content and available actions.
-
#renderproductissues_merchantsupport(merchant_id, product_id, render_product_issues_request_payload_object = nil, language_code: nil, time_zone: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::RenderProductIssuesResponse
Provide a list of issues for merchant's product with a support content and available actions.
-
#report_recommendation_interaction(merchant_id, report_interaction_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Reports an interaction on a recommendation for a merchant.
-
#requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse
Requests access to a specified Business Profile.
-
#requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse
Requests inventory validation for the specified country.
-
#requestphoneverification_account(merchant_id, account_id, request_phone_verification_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::RequestPhoneVerificationResponse
Request verification code to start phone verification.
-
#requestreview_freelistingsprogram(merchant_id, request_review_free_listings_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Requests a review of free listings in a specific region.
-
#requestreview_shoppingadsprogram(merchant_id, request_review_shopping_ads_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Requests a review of Shopping ads in a specific region.
-
#sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::PosSaleResponse
Submit a sale event for the given merchant.
-
#search_report(merchant_id, search_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::SearchResponse
Retrieves merchant performance metrics matching the search query and optionally segmented by selected dimensions.
-
#setinventoryverificationcontact_liasetting(merchant_id, account_id, country, language, contact_name, contact_email, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse
Sets the inventory verification contract for the specified country.
-
#setomnichannelexperience_liasetting(merchant_id, account_id, country: nil, lsf_type: nil, pickup_types: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiaOmnichannelExperience
Sets the omnichannel experience for the specified country.
-
#setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse
Sets the POS data provider for the specified country.
-
#triggeraction_merchantsupport(merchant_id, trigger_action_payload_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::TriggerActionResponse
Start an action.
-
#undelete_conversionsource_conversion_source(merchant_id, conversion_source_id, undelete_conversion_source_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
Re-enables an archived conversion source.
-
#update_account(merchant_id, account_id, account_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Account
Updates a Merchant Center account.
-
#update_accounttax(merchant_id, account_id, account_tax_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountTax
Updates the tax settings of the account.
-
#update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Datafeed
Updates a datafeed configuration of your Merchant Center account.
-
#update_liasetting(merchant_id, account_id, lia_settings_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiaSettings
Updates the LIA settings of the account.
-
#update_product(merchant_id, product_id, product_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Product
Updates an existing product in your Merchant Center account.
-
#update_pubsubnotificationsetting(merchant_id, pubsub_notification_settings_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::PubsubNotificationSettings
Register a Merchant Center account for pubsub notifications.
-
#update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ShippingSettings
Updates the shipping settings of the account.
-
#updatelabels_account(merchant_id, account_id, accounts_update_labels_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountsUpdateLabelsResponse
Updates labels that are assigned to the Merchant Center account by CSS user.
-
#updatelabels_css(css_group_id, css_domain_id, label_ids_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Css
Updates labels that are assigned to a CSS domain by its CSS group.
-
#verifyphonenumber_account(merchant_id, account_id, verify_phone_number_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::VerifyPhoneNumberResponse
Validates verification code to verify phone number for the account.
Constructor Details
#initialize ⇒ ShoppingContentService
Returns a new instance of ShoppingContentService.
47 48 49 50 51 52 |
# File 'lib/google/apis/content_v2_1/service.rb', line 47 def initialize super(DEFAULT_ENDPOINT_TEMPLATE, 'content/v2.1/', client_name: 'google-apis-content_v2_1', client_version: Google::Apis::ContentV2_1::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
40 41 42 |
# File 'lib/google/apis/content_v2_1/service.rb', line 40 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
45 46 47 |
# File 'lib/google/apis/content_v2_1/service.rb', line 45 def quota_user @quota_user end |
Instance Method Details
#authinfo_account(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountsAuthInfoResponse
Returns information about the authenticated user.
72 73 74 75 76 77 78 79 |
# File 'lib/google/apis/content_v2_1/service.rb', line 72 def authinfo_account(fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'accounts/authinfo', ) command.response_representation = Google::Apis::ContentV2_1::AccountsAuthInfoResponse::Representation command.response_class = Google::Apis::ContentV2_1::AccountsAuthInfoResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountsClaimWebsiteResponse
Claims the website of a Merchant Center sub-account. Merchant accounts with approved third-party CSSs aren't required to claim a website.
111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/google/apis/content_v2_1/service.rb', line 111 def claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/claimwebsite', ) command.response_representation = Google::Apis::ContentV2_1::AccountsClaimWebsiteResponse::Representation command.response_class = Google::Apis::ContentV2_1::AccountsClaimWebsiteResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['overwrite'] = overwrite unless overwrite.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_account_credential(account_id, account_credentials_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountCredentials
Uploads credentials for the Merchant Center account. If credentials already exist for this Merchant Center account and purpose, this method updates them.
567 568 569 570 571 572 573 574 575 576 577 |
# File 'lib/google/apis/content_v2_1/service.rb', line 567 def create_account_credential(account_id, account_credentials_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'accounts/{accountId}/credentials', ) command.request_representation = Google::Apis::ContentV2_1::AccountCredentials::Representation command.request_object = account_credentials_object command.response_representation = Google::Apis::ContentV2_1::AccountCredentials::Representation command.response_class = Google::Apis::ContentV2_1::AccountCredentials command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_account_label(account_id, account_label_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountLabel
Creates a new label, not assigned to any account.
600 601 602 603 604 605 606 607 608 609 610 |
# File 'lib/google/apis/content_v2_1/service.rb', line 600 def create_account_label(account_id, account_label_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'accounts/{accountId}/labels', ) command.request_representation = Google::Apis::ContentV2_1::AccountLabel::Representation command.request_object = account_label_object command.response_representation = Google::Apis::ContentV2_1::AccountLabel::Representation command.response_class = Google::Apis::ContentV2_1::AccountLabel command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_account_returncarrier(account_id, account_return_carrier_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountReturnCarrier
Links return carrier to a merchant account.
742 743 744 745 746 747 748 749 750 751 752 |
# File 'lib/google/apis/content_v2_1/service.rb', line 742 def create_account_returncarrier(account_id, account_return_carrier_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'accounts/{accountId}/returncarrier', ) command.request_representation = Google::Apis::ContentV2_1::AccountReturnCarrier::Representation command.request_object = account_return_carrier_object command.response_representation = Google::Apis::ContentV2_1::AccountReturnCarrier::Representation command.response_class = Google::Apis::ContentV2_1::AccountReturnCarrier command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_collection(merchant_id, collection_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Collection
Uploads a collection to your Merchant Center account. If a collection with the same collectionId already exists, this method updates that entry. In each update, the collection is completely replaced by the fields in the body of the update request.
1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1134 def create_collection(merchant_id, collection_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/collections', ) command.request_representation = Google::Apis::ContentV2_1::Collection::Representation command.request_object = collection_object command.response_representation = Google::Apis::ContentV2_1::Collection::Representation command.response_class = Google::Apis::ContentV2_1::Collection command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_conversionsource(merchant_id, conversion_source_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ConversionSource
Creates a new conversion source.
1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1349 def create_conversionsource(merchant_id, conversion_source_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/conversionsources', ) command.request_representation = Google::Apis::ContentV2_1::ConversionSource::Representation command.request_object = conversion_source_object command.response_representation = Google::Apis::ContentV2_1::ConversionSource::Representation command.response_class = Google::Apis::ContentV2_1::ConversionSource command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_ordertrackingsignal(merchant_id, order_tracking_signal_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::OrderTrackingSignal
Creates new order tracking signal.
2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2827 def create_ordertrackingsignal(merchant_id, order_tracking_signal_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/ordertrackingsignals', ) command.request_representation = Google::Apis::ContentV2_1::OrderTrackingSignal::Representation command.request_object = order_tracking_signal_object command.response_representation = Google::Apis::ContentV2_1::OrderTrackingSignal::Representation command.response_class = Google::Apis::ContentV2_1::OrderTrackingSignal command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_productdeliverytime(merchant_id, product_delivery_time_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ProductDeliveryTime
Creates or updates the delivery time of a product.
3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3102 def create_productdeliverytime(merchant_id, product_delivery_time_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/productdeliverytime', ) command.request_representation = Google::Apis::ContentV2_1::ProductDeliveryTime::Representation command.request_object = product_delivery_time_object command.response_representation = Google::Apis::ContentV2_1::ProductDeliveryTime::Representation command.response_class = Google::Apis::ContentV2_1::ProductDeliveryTime command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_promotion(merchant_id, promotion_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Promotion
Inserts a promotion for your Merchant Center account. If the promotion already exists, then it updates the promotion instead. To end or delete a promotion update the time period of the promotion to a time that has already passed.
3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3543 def create_promotion(merchant_id, promotion_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/promotions', ) command.request_representation = Google::Apis::ContentV2_1::Promotion::Representation command.request_object = promotion_object command.response_representation = Google::Apis::ContentV2_1::Promotion::Representation command.response_class = Google::Apis::ContentV2_1::Promotion command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_region(merchant_id, region_object = nil, region_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Region
Creates a region definition in your Merchant Center account.
3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3906 def create_region(merchant_id, region_object = nil, region_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/regions', ) command.request_representation = Google::Apis::ContentV2_1::Region::Representation command.request_object = region_object command.response_representation = Google::Apis::ContentV2_1::Region::Representation command.response_class = Google::Apis::ContentV2_1::Region command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['regionId'] = region_id unless region_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_returnpolicyonline(merchant_id, return_policy_online_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnPolicyOnline
Creates a new return policy.
4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4444 def create_returnpolicyonline(merchant_id, return_policy_online_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/returnpolicyonline', ) command.request_representation = Google::Apis::ContentV2_1::ReturnPolicyOnline::Representation command.request_object = return_policy_online_object command.response_representation = Google::Apis::ContentV2_1::ReturnPolicyOnline::Representation command.response_class = Google::Apis::ContentV2_1::ReturnPolicyOnline command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#custombatch_account(accounts_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountsCustomBatchResponse
Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-) accounts in a single request.
143 144 145 146 147 148 149 150 151 152 |
# File 'lib/google/apis/content_v2_1/service.rb', line 143 def custombatch_account(accounts_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'accounts/batch', ) command.request_representation = Google::Apis::ContentV2_1::AccountsCustomBatchRequest::Representation command.request_object = accounts_custom_batch_request_object command.response_representation = Google::Apis::ContentV2_1::AccountsCustomBatchResponse::Representation command.response_class = Google::Apis::ContentV2_1::AccountsCustomBatchResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#custombatch_accountstatus(accountstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponse
Retrieves multiple Merchant Center account statuses in a single request.
873 874 875 876 877 878 879 880 881 882 |
# File 'lib/google/apis/content_v2_1/service.rb', line 873 def custombatch_accountstatus(accountstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'accountstatuses/batch', ) command.request_representation = Google::Apis::ContentV2_1::AccountstatusesCustomBatchRequest::Representation command.request_object = accountstatuses_custom_batch_request_object command.response_representation = Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponse::Representation command.response_class = Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#custombatch_accounttax(accounttax_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccounttaxCustomBatchResponse
Retrieves and updates tax settings of multiple accounts in a single request.
988 989 990 991 992 993 994 995 996 997 |
# File 'lib/google/apis/content_v2_1/service.rb', line 988 def custombatch_accounttax(accounttax_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'accounttax/batch', ) command.request_representation = Google::Apis::ContentV2_1::AccounttaxCustomBatchRequest::Representation command.request_object = accounttax_custom_batch_request_object command.response_representation = Google::Apis::ContentV2_1::AccounttaxCustomBatchResponse::Representation command.response_class = Google::Apis::ContentV2_1::AccounttaxCustomBatchResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#custombatch_datafeed(datafeeds_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::DatafeedsCustomBatchResponse
Deletes, fetches, gets, inserts and updates multiple datafeeds in a single request.
1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1673 def custombatch_datafeed(datafeeds_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'datafeeds/batch', ) command.request_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchRequest::Representation command.request_object = datafeeds_custom_batch_request_object command.response_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchResponse::Representation command.response_class = Google::Apis::ContentV2_1::DatafeedsCustomBatchResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#custombatch_datafeedstatus(datafeedstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponse
Gets multiple Merchant Center datafeed statuses in a single request.
1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1915 def custombatch_datafeedstatus(datafeedstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'datafeedstatuses/batch', ) command.request_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchRequest::Representation command.request_object = datafeedstatuses_custom_batch_request_object command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponse::Representation command.response_class = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#custombatch_liasetting(liasettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiasettingsCustomBatchResponse
Retrieves and/or updates the LIA settings of multiple accounts in a single request.
2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2193 def custombatch_liasetting(liasettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'liasettings/batch', ) command.request_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchRequest::Representation command.request_object = liasettings_custom_batch_request_object command.response_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchResponse::Representation command.response_class = Google::Apis::ContentV2_1::LiasettingsCustomBatchResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#custombatch_localinventory(localinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponse
Updates local inventory for multiple products or stores in a single request.
2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2618 def custombatch_localinventory(localinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'localinventory/batch', ) command.request_representation = Google::Apis::ContentV2_1::LocalinventoryCustomBatchRequest::Representation command.request_object = localinventory_custom_batch_request_object command.response_representation = Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponse::Representation command.response_class = Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#custombatch_po(pos_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::PosCustomBatchResponse
Batches multiple POS-related calls in a single request.
2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2858 def custombatch_po(pos_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'pos/batch', ) command.request_representation = Google::Apis::ContentV2_1::PosCustomBatchRequest::Representation command.request_object = pos_custom_batch_request_object command.response_representation = Google::Apis::ContentV2_1::PosCustomBatchResponse::Representation command.response_class = Google::Apis::ContentV2_1::PosCustomBatchResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#custombatch_product(products_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ProductsCustomBatchResponse
Retrieves, inserts, and deletes multiple products in a single request.
3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3201 def custombatch_product(products_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'products/batch', ) command.request_representation = Google::Apis::ContentV2_1::ProductsCustomBatchRequest::Representation command.request_object = products_custom_batch_request_object command.response_representation = Google::Apis::ContentV2_1::ProductsCustomBatchResponse::Representation command.response_class = Google::Apis::ContentV2_1::ProductsCustomBatchResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#custombatch_productstatus(productstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponse
Gets the statuses of multiple products in a single request.
3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3427 def custombatch_productstatus(productstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'productstatuses/batch', ) command.request_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchRequest::Representation command.request_object = productstatuses_custom_batch_request_object command.response_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponse::Representation command.response_class = Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#custombatch_regionalinventory(regionalinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse
Updates regional inventory for multiple products or regions in a single request.
3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3833 def custombatch_regionalinventory(regionalinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'regionalinventory/batch', ) command.request_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchRequest::Representation command.request_object = regionalinventory_custom_batch_request_object command.response_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse::Representation command.response_class = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#custombatch_returnaddress(returnaddress_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse
Batches multiple return address related calls in a single request.
4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4117 def custombatch_returnaddress(returnaddress_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'returnaddress/batch', ) command.request_representation = Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequest::Representation command.request_object = returnaddress_custom_batch_request_object command.response_representation = Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse::Representation command.response_class = Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#custombatch_returnpolicy(returnpolicy_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse
Batches multiple return policy related calls in a single request.
4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4284 def custombatch_returnpolicy(returnpolicy_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'returnpolicy/batch', ) command.request_representation = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequest::Representation command.request_object = returnpolicy_custom_batch_request_object command.response_representation = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse::Representation command.response_class = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponse
Retrieves and updates the shipping settings of multiple accounts in a single request.
4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4610 def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'shippingsettings/batch', ) command.request_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchRequest::Representation command.request_object = shippingsettings_custom_batch_request_object command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponse::Representation command.response_class = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_account(merchant_id, account_id, force: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a Merchant Center sub-account.
179 180 181 182 183 184 185 186 187 |
# File 'lib/google/apis/content_v2_1/service.rb', line 179 def delete_account(merchant_id, account_id, force: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, '{merchantId}/accounts/{accountId}', ) command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['force'] = force unless force.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_account_label(account_id, label_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a label and removes it from all accounts to which it was assigned.
634 635 636 637 638 639 640 641 |
# File 'lib/google/apis/content_v2_1/service.rb', line 634 def delete_account_label(account_id, label_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'accounts/{accountId}/labels/{labelId}', ) command.params['accountId'] = account_id unless account_id.nil? command.params['labelId'] = label_id unless label_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_account_returncarrier(account_id, carrier_account_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Delete a return carrier in the merchant account.
777 778 779 780 781 782 783 784 |
# File 'lib/google/apis/content_v2_1/service.rb', line 777 def delete_account_returncarrier(account_id, carrier_account_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'accounts/{accountId}/returncarrier/{carrierAccountId}', ) command.params['accountId'] = account_id unless account_id.nil? command.params['carrierAccountId'] = carrier_account_id unless carrier_account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_collection(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a collection from your Merchant Center account.
1170 1171 1172 1173 1174 1175 1176 1177 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1170 def delete_collection(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, '{merchantId}/collections/{collectionId}', ) command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['collectionId'] = collection_id unless collection_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_conversionsource(merchant_id, conversion_source_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Archives an existing conversion source. It will be recoverable for 30 days. This archiving behavior is not typical in the Content API and unique to this service.
1385 1386 1387 1388 1389 1390 1391 1392 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1385 def delete_conversionsource(merchant_id, conversion_source_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, '{merchantId}/conversionsources/{conversionSourceId}', ) command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['conversionSourceId'] = conversion_source_id unless conversion_source_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a datafeed configuration from your Merchant Center account.
1707 1708 1709 1710 1711 1712 1713 1714 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1707 def delete_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', ) command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['datafeedId'] = datafeed_id unless datafeed_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_freelistingsprogram_checkoutsetting(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes Checkout
settings and unenrolls merchant from Checkout
program.
2101 2102 2103 2104 2105 2106 2107 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2101 def delete_freelistingsprogram_checkoutsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, '{merchantId}/freelistingsprogram/checkoutsettings', ) command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a store for the given merchant.
2893 2894 2895 2896 2897 2898 2899 2900 2901 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2893 def delete_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', ) command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil? command.params['storeCode'] = store_code unless store_code.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_product(merchant_id, product_id, feed_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a product from your Merchant Center account.
3238 3239 3240 3241 3242 3243 3244 3245 3246 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3238 def delete_product(merchant_id, product_id, feed_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, '{merchantId}/products/{productId}', ) command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['productId'] = product_id unless product_id.nil? command.query['feedId'] = feed_id unless feed_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_productdeliverytime(merchant_id, product_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes the delivery time of a product.
3138 3139 3140 3141 3142 3143 3144 3145 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3138 def delete_productdeliverytime(merchant_id, product_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, '{merchantId}/productdeliverytime/{productId}', ) command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['productId'] = product_id unless product_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_region(merchant_id, region_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a region definition from your Merchant Center account.
3941 3942 3943 3944 3945 3946 3947 3948 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3941 def delete_region(merchant_id, region_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, '{merchantId}/regions/{regionId}', ) command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['regionId'] = region_id unless region_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a return address for the given Merchant Center account.
4150 4151 4152 4153 4154 4155 4156 4157 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4150 def delete_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, '{merchantId}/returnaddress/{returnAddressId}', ) command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['returnAddressId'] = return_address_id unless return_address_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes a return policy for the given Merchant Center account.
4317 4318 4319 4320 4321 4322 4323 4324 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4317 def delete_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, '{merchantId}/returnpolicy/{returnPolicyId}', ) command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_returnpolicyonline(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Deletes an existing return policy.
4479 4480 4481 4482 4483 4484 4485 4486 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4479 def delete_returnpolicyonline(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, '{merchantId}/returnpolicyonline/{returnPolicyId}', ) command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#fetchnow_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::DatafeedsFetchNowResponse
Invokes a fetch for the datafeed in your Merchant Center account. If you need to call this method more than once per day, we recommend you use the Products service to update your product data.
1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1742 def fetchnow_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', ) command.response_representation = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse::Representation command.response_class = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['datafeedId'] = datafeed_id unless datafeed_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#generate_recommendation(merchant_id, allowed_tag: nil, language_code: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::GenerateRecommendationsResponse
Generates recommendations for a merchant.
3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3770 def generate_recommendation(merchant_id, allowed_tag: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/recommendations/generate', ) command.response_representation = Google::Apis::ContentV2_1::GenerateRecommendationsResponse::Representation command.response_class = Google::Apis::ContentV2_1::GenerateRecommendationsResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['allowedTag'] = allowed_tag unless allowed_tag.nil? command.query['languageCode'] = language_code unless language_code.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_account(merchant_id, account_id, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Account
Retrieves a Merchant Center account.
216 217 218 219 220 221 222 223 224 225 226 |
# File 'lib/google/apis/content_v2_1/service.rb', line 216 def get_account(merchant_id, account_id, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/accounts/{accountId}', ) command.response_representation = Google::Apis::ContentV2_1::Account::Representation command.response_class = Google::Apis::ContentV2_1::Account command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_accountstatus(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountStatus
Retrieves the status of a Merchant Center account. No itemLevelIssues are returned for multi-client accounts.
912 913 914 915 916 917 918 919 920 921 922 |
# File 'lib/google/apis/content_v2_1/service.rb', line 912 def get_accountstatus(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', ) command.response_representation = Google::Apis::ContentV2_1::AccountStatus::Representation command.response_class = Google::Apis::ContentV2_1::AccountStatus command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['destinations'] = destinations unless destinations.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_accounttax(merchant_id, account_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountTax
Retrieves the tax settings of the account.
1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1023 def get_accounttax(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', ) command.response_representation = Google::Apis::ContentV2_1::AccountTax::Representation command.response_class = Google::Apis::ContentV2_1::AccountTax command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_collection(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Collection
Retrieves a collection from your Merchant Center account.
1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1202 def get_collection(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/collections/{collectionId}', ) command.response_representation = Google::Apis::ContentV2_1::Collection::Representation command.response_class = Google::Apis::ContentV2_1::Collection command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['collectionId'] = collection_id unless collection_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_collectionstatus(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::CollectionStatus
Gets the status of a collection from your Merchant Center account.
1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1278 def get_collectionstatus(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/collectionstatuses/{collectionId}', ) command.response_representation = Google::Apis::ContentV2_1::CollectionStatus::Representation command.response_class = Google::Apis::ContentV2_1::CollectionStatus command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['collectionId'] = collection_id unless collection_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_conversionsource(merchant_id, conversion_source_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ConversionSource
Fetches a conversion source.
1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1416 def get_conversionsource(merchant_id, conversion_source_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/conversionsources/{conversionSourceId}', ) command.response_representation = Google::Apis::ContentV2_1::ConversionSource::Representation command.response_class = Google::Apis::ContentV2_1::ConversionSource command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['conversionSourceId'] = conversion_source_id unless conversion_source_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_css(css_group_id, css_domain_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Css
Retrieves a single CSS domain by ID.
1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1566 def get_css(css_group_id, css_domain_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{cssGroupId}/csses/{cssDomainId}', ) command.response_representation = Google::Apis::ContentV2_1::Css::Representation command.response_class = Google::Apis::ContentV2_1::Css command.params['cssGroupId'] = css_group_id unless css_group_id.nil? command.params['cssDomainId'] = css_domain_id unless css_domain_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Datafeed
Retrieves a datafeed configuration from your Merchant Center account.
1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1776 def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', ) command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation command.response_class = Google::Apis::ContentV2_1::Datafeed command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['datafeedId'] = datafeed_id unless datafeed_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_datafeedstatus(merchant_id, datafeed_id, country: nil, feed_label: nil, language: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::DatafeedStatus
Retrieves the status of a datafeed from your Merchant Center account.
1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1964 def get_datafeedstatus(merchant_id, datafeed_id, country: nil, feed_label: nil, language: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', ) command.response_representation = Google::Apis::ContentV2_1::DatafeedStatus::Representation command.response_class = Google::Apis::ContentV2_1::DatafeedStatus command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['datafeedId'] = datafeed_id unless datafeed_id.nil? command.query['country'] = country unless country.nil? command.query['feedLabel'] = feed_label unless feed_label.nil? command.query['language'] = language unless language.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_freelistingsprogram(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::FreeListingsProgramStatus
Retrieves the status and review eligibility for the free listing program.
Returns errors and warnings if they require action to resolve, will become
disapprovals, or impact impressions. Use accountstatuses
to view all issues
for an account.
2038 2039 2040 2041 2042 2043 2044 2045 2046 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2038 def get_freelistingsprogram(merchant_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/freelistingsprogram', ) command.response_representation = Google::Apis::ContentV2_1::FreeListingsProgramStatus::Representation command.response_class = Google::Apis::ContentV2_1::FreeListingsProgramStatus command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_freelistingsprogram_checkoutsetting(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::CheckoutSettings
Gets Checkout settings for the given merchant. This includes information about review state, enrollment state and URL settings.
2130 2131 2132 2133 2134 2135 2136 2137 2138 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2130 def get_freelistingsprogram_checkoutsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/freelistingsprogram/checkoutsettings', ) command.response_representation = Google::Apis::ContentV2_1::CheckoutSettings::Representation command.response_class = Google::Apis::ContentV2_1::CheckoutSettings command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiaSettings
Retrieves the LIA settings of the account.
2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2228 def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', ) command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation command.response_class = Google::Apis::ContentV2_1::LiaSettings command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::PosStore
Retrieves information about the given store.
2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2927 def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', ) command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation command.response_class = Google::Apis::ContentV2_1::PosStore command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil? command.params['storeCode'] = store_code unless store_code.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_product(merchant_id, product_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Product
Retrieves a product from your Merchant Center account.
3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3271 def get_product(merchant_id, product_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/products/{productId}', ) command.response_representation = Google::Apis::ContentV2_1::Product::Representation command.response_class = Google::Apis::ContentV2_1::Product command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['productId'] = product_id unless product_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_productdeliverytime(merchant_id, product_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ProductDeliveryTime
Gets productDeliveryTime
by productId
.
3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3171 def get_productdeliverytime(merchant_id, product_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/productdeliverytime/{productId}', ) command.response_representation = Google::Apis::ContentV2_1::ProductDeliveryTime::Representation command.response_class = Google::Apis::ContentV2_1::ProductDeliveryTime command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['productId'] = product_id unless product_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_productstatus(merchant_id, product_id, destinations: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ProductStatus
Gets the status of a product from your Merchant Center account.
3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3464 def get_productstatus(merchant_id, product_id, destinations: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', ) command.response_representation = Google::Apis::ContentV2_1::ProductStatus::Representation command.response_class = Google::Apis::ContentV2_1::ProductStatus command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['productId'] = product_id unless product_id.nil? command.query['destinations'] = destinations unless destinations.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_promotion(merchant_id, id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Promotion
Retrieves a promotion from your Merchant Center account.
3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3577 def get_promotion(merchant_id, id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/promotions/{id}', ) command.response_representation = Google::Apis::ContentV2_1::Promotion::Representation command.response_class = Google::Apis::ContentV2_1::Promotion command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['id'] = id unless id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_pubsubnotificationsetting(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::PubsubNotificationSettings
Retrieves a Merchant Center account's pubsub notification settings.
3656 3657 3658 3659 3660 3661 3662 3663 3664 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3656 def get_pubsubnotificationsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/pubsubnotificationsettings', ) command.response_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation command.response_class = Google::Apis::ContentV2_1::PubsubNotificationSettings command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_region(merchant_id, region_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Region
Retrieves a region defined in your Merchant Center account.
3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3972 def get_region(merchant_id, region_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/regions/{regionId}', ) command.response_representation = Google::Apis::ContentV2_1::Region::Representation command.response_class = Google::Apis::ContentV2_1::Region command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['regionId'] = region_id unless region_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnAddress
Gets a return address of the Merchant Center account.
4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4181 def get_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/returnaddress/{returnAddressId}', ) command.response_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation command.response_class = Google::Apis::ContentV2_1::ReturnAddress command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['returnAddressId'] = return_address_id unless return_address_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnPolicy
Gets a return policy of the Merchant Center account.
4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4348 def get_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/returnpolicy/{returnPolicyId}', ) command.response_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation command.response_class = Google::Apis::ContentV2_1::ReturnPolicy command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_returnpolicyonline(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnPolicyOnline
Gets an existing return policy.
4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4511 def get_returnpolicyonline(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/returnpolicyonline/{returnPolicyId}', ) command.response_representation = Google::Apis::ContentV2_1::ReturnPolicyOnline::Representation command.response_class = Google::Apis::ContentV2_1::ReturnPolicyOnline command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ShippingSettings
Retrieves the shipping settings of the account.
4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4645 def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', ) command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation command.response_class = Google::Apis::ContentV2_1::ShippingSettings command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_shoppingadsprogram(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ShoppingAdsProgramStatus
Retrieves the status and review eligibility for the Shopping Ads program.
Returns errors and warnings if they require action to resolve, will become
disapprovals, or impact impressions. Use accountstatuses
to view all issues
for an account.
4846 4847 4848 4849 4850 4851 4852 4853 4854 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4846 def get_shoppingadsprogram(merchant_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/shoppingadsprogram', ) command.response_representation = Google::Apis::ContentV2_1::ShoppingAdsProgramStatus::Representation command.response_class = Google::Apis::ContentV2_1::ShoppingAdsProgramStatus command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse
Retrieves the list of accessible Business Profiles.
2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2263 def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', ) command.response_representation = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse::Representation command.response_class = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse
Retrieves supported carriers and carrier services for an account.
4676 4677 4678 4679 4680 4681 4682 4683 4684 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4676 def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/supportedCarriers', ) command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse::Representation command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse
Retrieves supported holidays for an account.
4706 4707 4708 4709 4710 4711 4712 4713 4714 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4706 def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/supportedHolidays', ) command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse::Representation command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse
Retrieves supported pickup services for an account.
4736 4737 4738 4739 4740 4741 4742 4743 4744 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4736 def getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/supportedPickupServices', ) command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse::Representation command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_account(merchant_id, account_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Account
Creates a Merchant Center sub-account.
249 250 251 252 253 254 255 256 257 258 259 |
# File 'lib/google/apis/content_v2_1/service.rb', line 249 def insert_account(merchant_id, account_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/accounts', ) command.request_representation = Google::Apis::ContentV2_1::Account::Representation command.request_object = account_object command.response_representation = Google::Apis::ContentV2_1::Account::Representation command.response_class = Google::Apis::ContentV2_1::Account command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_checkoutsetting_checkout_settings(merchant_id, insert_checkout_settings_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::CheckoutSettings
Enrolls merchant in Checkout
program.
2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2161 def insert_checkoutsetting_checkout_settings(merchant_id, insert_checkout_settings_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/freelistingsprogram/checkoutsettings', ) command.request_representation = Google::Apis::ContentV2_1::InsertCheckoutSettingsRequest::Representation command.request_object = insert_checkout_settings_request_object command.response_representation = Google::Apis::ContentV2_1::CheckoutSettings::Representation command.response_class = Google::Apis::ContentV2_1::CheckoutSettings command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_datafeed(merchant_id, datafeed_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Datafeed
Registers a datafeed configuration with your Merchant Center account.
1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1809 def insert_datafeed(merchant_id, datafeed_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/datafeeds', ) command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation command.request_object = datafeed_object command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation command.response_class = Google::Apis::ContentV2_1::Datafeed command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_localinventory(merchant_id, product_id, local_inventory_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LocalInventory
Updates the local inventory of a product in your Merchant Center account.
2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2653 def insert_localinventory(merchant_id, product_id, local_inventory_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/products/{productId}/localinventory', ) command.request_representation = Google::Apis::ContentV2_1::LocalInventory::Representation command.request_object = local_inventory_object command.response_representation = Google::Apis::ContentV2_1::LocalInventory::Representation command.response_class = Google::Apis::ContentV2_1::LocalInventory command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['productId'] = product_id unless product_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_po(merchant_id, target_merchant_id, pos_store_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::PosStore
Creates a store for the given merchant.
2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2962 def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', ) command.request_representation = Google::Apis::ContentV2_1::PosStore::Representation command.request_object = pos_store_object command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation command.response_class = Google::Apis::ContentV2_1::PosStore command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_product(merchant_id, product_object = nil, feed_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Product
Uploads a product to your Merchant Center account. If an item with the same channel, contentLanguage, offerId, and targetCountry already exists, this method updates that entry.
3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3309 def insert_product(merchant_id, product_object = nil, feed_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/products', ) command.request_representation = Google::Apis::ContentV2_1::Product::Representation command.request_object = product_object command.response_representation = Google::Apis::ContentV2_1::Product::Representation command.response_class = Google::Apis::ContentV2_1::Product command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['feedId'] = feed_id unless feed_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_regionalinventory(merchant_id, product_id, regional_inventory_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::RegionalInventory
Updates the regional inventory of a product in your Merchant Center account. If a regional inventory with the same region ID already exists, this method updates that entry.
3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3870 def insert_regionalinventory(merchant_id, product_id, regional_inventory_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/products/{productId}/regionalinventory', ) command.request_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation command.request_object = regional_inventory_object command.response_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation command.response_class = Google::Apis::ContentV2_1::RegionalInventory command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['productId'] = product_id unless product_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_returnaddress(merchant_id, return_address_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnAddress
Inserts a return address for the Merchant Center account.
4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4213 def insert_returnaddress(merchant_id, return_address_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/returnaddress', ) command.request_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation command.request_object = return_address_object command.response_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation command.response_class = Google::Apis::ContentV2_1::ReturnAddress command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#insert_returnpolicy(merchant_id, return_policy_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnPolicy
Inserts a return policy for the Merchant Center account.
4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4380 def insert_returnpolicy(merchant_id, return_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/returnpolicy', ) command.request_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation command.request_object = return_policy_object command.response_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation command.response_class = Google::Apis::ContentV2_1::ReturnPolicy command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::PosInventoryResponse
Submit inventory for the given merchant.
2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2998 def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', ) command.request_representation = Google::Apis::ContentV2_1::PosInventoryRequest::Representation command.request_object = pos_inventory_request_object command.response_representation = Google::Apis::ContentV2_1::PosInventoryResponse::Representation command.response_class = Google::Apis::ContentV2_1::PosInventoryResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountsLinkResponse
Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId.
287 288 289 290 291 292 293 294 295 296 297 298 |
# File 'lib/google/apis/content_v2_1/service.rb', line 287 def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', ) command.request_representation = Google::Apis::ContentV2_1::AccountsLinkRequest::Representation command.request_object = accounts_link_request_object command.response_representation = Google::Apis::ContentV2_1::AccountsLinkResponse::Representation command.response_class = Google::Apis::ContentV2_1::AccountsLinkResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_account_labels(account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListAccountLabelsResponse
Lists the labels assigned to an account.
672 673 674 675 676 677 678 679 680 681 682 |
# File 'lib/google/apis/content_v2_1/service.rb', line 672 def list_account_labels(account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'accounts/{accountId}/labels', ) command.response_representation = Google::Apis::ContentV2_1::ListAccountLabelsResponse::Representation command.response_class = Google::Apis::ContentV2_1::ListAccountLabelsResponse command.params['accountId'] = account_id unless account_id.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_account_returncarriers(account_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListAccountReturnCarrierResponse
Lists available return carriers in the merchant account.
807 808 809 810 811 812 813 814 815 |
# File 'lib/google/apis/content_v2_1/service.rb', line 807 def list_account_returncarriers(account_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'accounts/{accountId}/returncarrier', ) command.response_representation = Google::Apis::ContentV2_1::ListAccountReturnCarrierResponse::Representation command.response_class = Google::Apis::ContentV2_1::ListAccountReturnCarrierResponse command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_accounts(merchant_id, label: nil, max_results: nil, name: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountsListResponse
Lists the sub-accounts in your Merchant Center account.
333 334 335 336 337 338 339 340 341 342 343 344 345 346 |
# File 'lib/google/apis/content_v2_1/service.rb', line 333 def list_accounts(merchant_id, label: nil, max_results: nil, name: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/accounts', ) command.response_representation = Google::Apis::ContentV2_1::AccountsListResponse::Representation command.response_class = Google::Apis::ContentV2_1::AccountsListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['label'] = label unless label.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['name'] = name unless name.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_accountstatuses(merchant_id, destinations: nil, max_results: nil, name: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountstatusesListResponse
Lists the statuses of the sub-accounts in your Merchant Center account.
955 956 957 958 959 960 961 962 963 964 965 966 967 |
# File 'lib/google/apis/content_v2_1/service.rb', line 955 def list_accountstatuses(merchant_id, destinations: nil, max_results: nil, name: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/accountstatuses', ) command.response_representation = Google::Apis::ContentV2_1::AccountstatusesListResponse::Representation command.response_class = Google::Apis::ContentV2_1::AccountstatusesListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['destinations'] = destinations unless destinations.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['name'] = name unless name.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_accounttaxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccounttaxListResponse
Lists the tax settings of the sub-accounts in your Merchant Center account.
1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1058 def list_accounttaxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/accounttax', ) command.response_representation = Google::Apis::ContentV2_1::AccounttaxListResponse::Representation command.response_class = Google::Apis::ContentV2_1::AccounttaxListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_collections(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListCollectionsResponse
Lists the collections in your Merchant Center account. The response might contain fewer items than specified by page_size. Rely on next_page_token to determine if there are more items to be requested.
1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1242 def list_collections(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/collections', ) command.response_representation = Google::Apis::ContentV2_1::ListCollectionsResponse::Representation command.response_class = Google::Apis::ContentV2_1::ListCollectionsResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_collectionstatuses(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListCollectionStatusesResponse
Lists the statuses of the collections in your Merchant Center account.
1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1316 def list_collectionstatuses(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/collectionstatuses', ) command.response_representation = Google::Apis::ContentV2_1::ListCollectionStatusesResponse::Representation command.response_class = Google::Apis::ContentV2_1::ListCollectionStatusesResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_conversionsources(merchant_id, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListConversionSourcesResponse
Retrieves the list of conversion sources the caller has access to.
1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1456 def list_conversionsources(merchant_id, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/conversionsources', ) command.response_representation = Google::Apis::ContentV2_1::ListConversionSourcesResponse::Representation command.response_class = Google::Apis::ContentV2_1::ListConversionSourcesResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['showDeleted'] = show_deleted unless show_deleted.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_csses(css_group_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListCssesResponse
Lists CSS domains affiliated with a CSS group.
1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1605 def list_csses(css_group_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{cssGroupId}/csses', ) command.response_representation = Google::Apis::ContentV2_1::ListCssesResponse::Representation command.response_class = Google::Apis::ContentV2_1::ListCssesResponse command.params['cssGroupId'] = css_group_id unless css_group_id.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::DatafeedsListResponse
Lists the configurations for datafeeds in your Merchant Center account.
1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1846 def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/datafeeds', ) command.response_representation = Google::Apis::ContentV2_1::DatafeedsListResponse::Representation command.response_class = Google::Apis::ContentV2_1::DatafeedsListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_datafeedstatuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::DatafeedstatusesListResponse
Lists the statuses of the datafeeds in your Merchant Center account.
2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2003 def list_datafeedstatuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/datafeedstatuses', ) command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesListResponse::Representation command.response_class = Google::Apis::ContentV2_1::DatafeedstatusesListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiasettingsListResponse
Lists the LIA settings of the sub-accounts in your Merchant Center account.
2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2298 def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/liasettings', ) command.response_representation = Google::Apis::ContentV2_1::LiasettingsListResponse::Representation command.response_class = Google::Apis::ContentV2_1::LiasettingsListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::PosListResponse
Lists the stores of the target merchant.
3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3033 def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', ) command.response_representation = Google::Apis::ContentV2_1::PosListResponse::Representation command.response_class = Google::Apis::ContentV2_1::PosListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_products(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ProductsListResponse
Lists the products in your Merchant Center account. The response might contain fewer items than specified by maxResults. Rely on nextPageToken to determine if there are more items to be requested.
3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3350 def list_products(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/products', ) command.response_representation = Google::Apis::ContentV2_1::ProductsListResponse::Representation command.response_class = Google::Apis::ContentV2_1::ProductsListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_productstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ProductstatusesListResponse
Lists the statuses of the products in your Merchant Center account.
3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3505 def list_productstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/productstatuses', ) command.response_representation = Google::Apis::ContentV2_1::ProductstatusesListResponse::Representation command.response_class = Google::Apis::ContentV2_1::ProductstatusesListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['destinations'] = destinations unless destinations.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_promotions(merchant_id, country_code: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListPromotionResponse
List all promotions from your Merchant Center account.
3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3622 def list_promotions(merchant_id, country_code: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/promotions', ) command.response_representation = Google::Apis::ContentV2_1::ListPromotionResponse::Representation command.response_class = Google::Apis::ContentV2_1::ListPromotionResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['countryCode'] = country_code unless country_code.nil? command.query['languageCode'] = language_code unless language_code.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_quotas(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListMethodQuotasResponse
Lists the daily call quota and usage per method for your Merchant Center account.
3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3727 def list_quotas(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/quotas', ) command.response_representation = Google::Apis::ContentV2_1::ListMethodQuotasResponse::Representation command.response_class = Google::Apis::ContentV2_1::ListMethodQuotasResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_regions(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListRegionsResponse
Lists the regions in your Merchant Center account.
4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4011 def list_regions(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/regions', ) command.response_representation = Google::Apis::ContentV2_1::ListRegionsResponse::Representation command.response_class = Google::Apis::ContentV2_1::ListRegionsResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_returnaddresses(merchant_id, country: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnaddressListResponse
Lists the return addresses of the Merchant Center account.
4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4252 def list_returnaddresses(merchant_id, country: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/returnaddress', ) command.response_representation = Google::Apis::ContentV2_1::ReturnaddressListResponse::Representation command.response_class = Google::Apis::ContentV2_1::ReturnaddressListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['country'] = country unless country.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_returnpolicies(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnpolicyListResponse
Lists the return policies of the Merchant Center account.
4412 4413 4414 4415 4416 4417 4418 4419 4420 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4412 def list_returnpolicies(merchant_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/returnpolicy', ) command.response_representation = Google::Apis::ContentV2_1::ReturnpolicyListResponse::Representation command.response_class = Google::Apis::ContentV2_1::ReturnpolicyListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_returnpolicyonlines(merchant_id, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ListReturnPolicyOnlineResponse
Lists all existing return policies.
4543 4544 4545 4546 4547 4548 4549 4550 4551 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4543 def list_returnpolicyonlines(merchant_id, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/returnpolicyonline', ) command.response_representation = Google::Apis::ContentV2_1::ListReturnPolicyOnlineResponse::Representation command.response_class = Google::Apis::ContentV2_1::ListReturnPolicyOnlineResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ShippingsettingsListResponse
Lists the shipping settings of the sub-accounts in your Merchant Center account.
4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4772 def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/shippingsettings', ) command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsListResponse::Representation command.response_class = Google::Apis::ContentV2_1::ShippingsettingsListResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#listlinks_account(merchant_id, account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountsListLinksResponse
Returns the list of accounts linked to your Merchant Center account.
378 379 380 381 382 383 384 385 386 387 388 389 |
# File 'lib/google/apis/content_v2_1/service.rb', line 378 def listlinks_account(merchant_id, account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, '{merchantId}/accounts/{accountId}/listlinks', ) command.response_representation = Google::Apis::ContentV2_1::AccountsListLinksResponse::Representation command.response_class = Google::Apis::ContentV2_1::AccountsListLinksResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#listposdataproviders_liasetting(fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse
Retrieves the list of POS data providers that have active settings for the all eiligible countries.
2329 2330 2331 2332 2333 2334 2335 2336 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2329 def listposdataproviders_liasetting(fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'liasettings/posdataproviders', ) command.response_representation = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse::Representation command.response_class = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_account_label(account_id, label_id, account_label_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountLabel
Updates a label.
707 708 709 710 711 712 713 714 715 716 717 718 |
# File 'lib/google/apis/content_v2_1/service.rb', line 707 def patch_account_label(account_id, label_id, account_label_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'accounts/{accountId}/labels/{labelId}', ) command.request_representation = Google::Apis::ContentV2_1::AccountLabel::Representation command.request_object = account_label_object command.response_representation = Google::Apis::ContentV2_1::AccountLabel::Representation command.response_class = Google::Apis::ContentV2_1::AccountLabel command.params['accountId'] = account_id unless account_id.nil? command.params['labelId'] = label_id unless label_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_account_returncarrier(account_id, carrier_account_id, account_return_carrier_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountReturnCarrier
Updates a return carrier in the merchant account.
841 842 843 844 845 846 847 848 849 850 851 852 |
# File 'lib/google/apis/content_v2_1/service.rb', line 841 def patch_account_returncarrier(account_id, carrier_account_id, account_return_carrier_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'accounts/{accountId}/returncarrier/{carrierAccountId}', ) command.request_representation = Google::Apis::ContentV2_1::AccountReturnCarrier::Representation command.request_object = account_return_carrier_object command.response_representation = Google::Apis::ContentV2_1::AccountReturnCarrier::Representation command.response_class = Google::Apis::ContentV2_1::AccountReturnCarrier command.params['accountId'] = account_id unless account_id.nil? command.params['carrierAccountId'] = carrier_account_id unless carrier_account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_conversionsource(merchant_id, conversion_source_id, conversion_source_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ConversionSource
Updates information of an existing conversion source.
1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1494 def patch_conversionsource(merchant_id, conversion_source_id, conversion_source_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, '{merchantId}/conversionsources/{conversionSourceId}', ) command.request_representation = Google::Apis::ContentV2_1::ConversionSource::Representation command.request_object = conversion_source_object command.response_representation = Google::Apis::ContentV2_1::ConversionSource::Representation command.response_class = Google::Apis::ContentV2_1::ConversionSource command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['conversionSourceId'] = conversion_source_id unless conversion_source_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_region(merchant_id, region_id, region_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Region
Updates a region definition in your Merchant Center account.
4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4049 def patch_region(merchant_id, region_id, region_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, '{merchantId}/regions/{regionId}', ) command.request_representation = Google::Apis::ContentV2_1::Region::Representation command.request_object = region_object command.response_representation = Google::Apis::ContentV2_1::Region::Representation command.response_class = Google::Apis::ContentV2_1::Region command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['regionId'] = region_id unless region_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_returnpolicyonline(merchant_id, return_policy_id, return_policy_online_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ReturnPolicyOnline
Updates an existing return policy.
4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4577 def patch_returnpolicyonline(merchant_id, return_policy_id, return_policy_online_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, '{merchantId}/returnpolicyonline/{returnPolicyId}', ) command.request_representation = Google::Apis::ContentV2_1::ReturnPolicyOnline::Representation command.request_object = return_policy_online_object command.response_representation = Google::Apis::ContentV2_1::ReturnPolicyOnline::Representation command.response_class = Google::Apis::ContentV2_1::ReturnPolicyOnline command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#renderaccountissues_merchantsupport(merchant_id, render_account_issues_request_payload_object = nil, language_code: nil, time_zone: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::RenderAccountIssuesResponse
Provide a list of merchant's issues with a support content and available actions. This content and actions are meant to be rendered and shown in third- party applications.
2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2697 def renderaccountissues_merchantsupport(merchant_id, render_account_issues_request_payload_object = nil, language_code: nil, time_zone: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/merchantsupport/renderaccountissues', ) command.request_representation = Google::Apis::ContentV2_1::RenderAccountIssuesRequestPayload::Representation command.request_object = render_account_issues_request_payload_object command.response_representation = Google::Apis::ContentV2_1::RenderAccountIssuesResponse::Representation command.response_class = Google::Apis::ContentV2_1::RenderAccountIssuesResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['languageCode'] = language_code unless language_code.nil? command.query['timeZone'] = time_zone unless time_zone.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#renderproductissues_merchantsupport(merchant_id, product_id, render_product_issues_request_payload_object = nil, language_code: nil, time_zone: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::RenderProductIssuesResponse
Provide a list of issues for merchant's product with a support content and available actions. This content and actions are meant to be rendered and shown in third-party applications.
2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2746 def renderproductissues_merchantsupport(merchant_id, product_id, render_product_issues_request_payload_object = nil, language_code: nil, time_zone: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/merchantsupport/renderproductissues/{productId}', ) command.request_representation = Google::Apis::ContentV2_1::RenderProductIssuesRequestPayload::Representation command.request_object = render_product_issues_request_payload_object command.response_representation = Google::Apis::ContentV2_1::RenderProductIssuesResponse::Representation command.response_class = Google::Apis::ContentV2_1::RenderProductIssuesResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['productId'] = product_id unless product_id.nil? command.query['languageCode'] = language_code unless language_code.nil? command.query['timeZone'] = time_zone unless time_zone.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#report_recommendation_interaction(merchant_id, report_interaction_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Reports an interaction on a recommendation for a merchant.
3803 3804 3805 3806 3807 3808 3809 3810 3811 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3803 def report_recommendation_interaction(merchant_id, report_interaction_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/recommendations/reportInteraction', ) command.request_representation = Google::Apis::ContentV2_1::ReportInteractionRequest::Representation command.request_object = report_interaction_request_object command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse
Requests access to a specified Business Profile.
2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2364 def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', ) command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse::Representation command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['gmbEmail'] = gmb_email unless gmb_email.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse
Requests inventory validation for the specified country.
2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2403 def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', ) command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse::Representation command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.params['country'] = country unless country.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#requestphoneverification_account(merchant_id, account_id, request_phone_verification_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::RequestPhoneVerificationResponse
Request verification code to start phone verification.
416 417 418 419 420 421 422 423 424 425 426 427 |
# File 'lib/google/apis/content_v2_1/service.rb', line 416 def requestphoneverification_account(merchant_id, account_id, request_phone_verification_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/requestphoneverification', ) command.request_representation = Google::Apis::ContentV2_1::RequestPhoneVerificationRequest::Representation command.request_object = request_phone_verification_request_object command.response_representation = Google::Apis::ContentV2_1::RequestPhoneVerificationResponse::Representation command.response_class = Google::Apis::ContentV2_1::RequestPhoneVerificationResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#requestreview_freelistingsprogram(merchant_id, request_review_free_listings_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Requests a review of free listings in a specific region. This method
deprecated. Use the MerchantSupportService
to view product and account
issues and request a review.
2071 2072 2073 2074 2075 2076 2077 2078 2079 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2071 def requestreview_freelistingsprogram(merchant_id, request_review_free_listings_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/freelistingsprogram/requestreview', ) command.request_representation = Google::Apis::ContentV2_1::RequestReviewFreeListingsRequest::Representation command.request_object = request_review_free_listings_request_object command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#requestreview_shoppingadsprogram(merchant_id, request_review_shopping_ads_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Requests a review of Shopping ads in a specific region. This method deprecated.
Use the MerchantSupportService
to view product and account issues and
request a review.
4879 4880 4881 4882 4883 4884 4885 4886 4887 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4879 def requestreview_shoppingadsprogram(merchant_id, request_review_shopping_ads_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/shoppingadsprogram/requestreview', ) command.request_representation = Google::Apis::ContentV2_1::RequestReviewShoppingAdsRequest::Representation command.request_object = request_review_shopping_ads_request_object command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::PosSaleResponse
Submit a sale event for the given merchant.
3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3067 def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', ) command.request_representation = Google::Apis::ContentV2_1::PosSaleRequest::Representation command.request_object = pos_sale_request_object command.response_representation = Google::Apis::ContentV2_1::PosSaleResponse::Representation command.response_class = Google::Apis::ContentV2_1::PosSaleResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#search_report(merchant_id, search_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::SearchResponse
Retrieves merchant performance metrics matching the search query and optionally segmented by selected dimensions.
4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4086 def search_report(merchant_id, search_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/reports/search', ) command.request_representation = Google::Apis::ContentV2_1::SearchRequest::Representation command.request_object = search_request_object command.response_representation = Google::Apis::ContentV2_1::SearchResponse::Representation command.response_class = Google::Apis::ContentV2_1::SearchResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#setinventoryverificationcontact_liasetting(merchant_id, account_id, country, language, contact_name, contact_email, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse
Sets the inventory verification contract for the specified country.
2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2448 def setinventoryverificationcontact_liasetting(merchant_id, account_id, country, language, contact_name, contact_email, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', ) command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse::Representation command.response_class = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['contactEmail'] = contact_email unless contact_email.nil? command.query['contactName'] = contact_name unless contact_name.nil? command.query['country'] = country unless country.nil? command.query['language'] = language unless language.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#setomnichannelexperience_liasetting(merchant_id, account_id, country: nil, lsf_type: nil, pickup_types: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiaOmnichannelExperience
Sets the omnichannel experience for the specified country. Only supported for merchants whose POS data provider is trusted to enable the corresponding experience. For more context, see these help articles about LFP and how to get started with it.
2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2502 def setomnichannelexperience_liasetting(merchant_id, account_id, country: nil, lsf_type: nil, pickup_types: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setomnichannelexperience', ) command.response_representation = Google::Apis::ContentV2_1::LiaOmnichannelExperience::Representation command.response_class = Google::Apis::ContentV2_1::LiaOmnichannelExperience command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['country'] = country unless country.nil? command.query['lsfType'] = lsf_type unless lsf_type.nil? command.query['pickupTypes'] = pickup_types unless pickup_types.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse
Sets the POS data provider for the specified country.
2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2546 def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', ) command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse::Representation command.response_class = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['country'] = country unless country.nil? command.query['posDataProviderId'] = pos_data_provider_id unless pos_data_provider_id.nil? command.query['posExternalAccountId'] = pos_external_account_id unless pos_external_account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#triggeraction_merchantsupport(merchant_id, trigger_action_payload_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::TriggerActionResponse
Start an action. The action can be requested by merchants in third-party
application. Before merchants can request the action, the third-party
application needs to show them action specific content and display a user
input form. The action can be successfully started only once all required
inputs are provided. If any required
input is missing, or invalid value was
provided, the service will return 400 error. Validation errors will contain
Ids for all problematic field together with translated, human readable error
messages that can be shown to the user.
2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2793 def triggeraction_merchantsupport(merchant_id, trigger_action_payload_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/merchantsupport/triggeraction', ) command.request_representation = Google::Apis::ContentV2_1::TriggerActionPayload::Representation command.request_object = trigger_action_payload_object command.response_representation = Google::Apis::ContentV2_1::TriggerActionResponse::Representation command.response_class = Google::Apis::ContentV2_1::TriggerActionResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['languageCode'] = language_code unless language_code.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#undelete_conversionsource_conversion_source(merchant_id, conversion_source_id, undelete_conversion_source_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... }
This method returns an undefined value.
Re-enables an archived conversion source.
1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1531 def undelete_conversionsource_conversion_source(merchant_id, conversion_source_id, undelete_conversion_source_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/conversionsources/{conversionSourceId}:undelete', ) command.request_representation = Google::Apis::ContentV2_1::UndeleteConversionSourceRequest::Representation command.request_object = undelete_conversion_source_request_object command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['conversionSourceId'] = conversion_source_id unless conversion_source_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_account(merchant_id, account_id, account_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Account
Updates a Merchant Center account. Any fields that are not provided are deleted from the resource.
455 456 457 458 459 460 461 462 463 464 465 466 |
# File 'lib/google/apis/content_v2_1/service.rb', line 455 def update_account(merchant_id, account_id, account_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, '{merchantId}/accounts/{accountId}', ) command.request_representation = Google::Apis::ContentV2_1::Account::Representation command.request_object = account_object command.response_representation = Google::Apis::ContentV2_1::Account::Representation command.response_class = Google::Apis::ContentV2_1::Account command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_accounttax(merchant_id, account_id, account_tax_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountTax
Updates the tax settings of the account. Any fields that are not provided are deleted from the resource.
1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1096 def update_accounttax(merchant_id, account_id, account_tax_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', ) command.request_representation = Google::Apis::ContentV2_1::AccountTax::Representation command.request_object = account_tax_object command.response_representation = Google::Apis::ContentV2_1::AccountTax::Representation command.response_class = Google::Apis::ContentV2_1::AccountTax command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Datafeed
Updates a datafeed configuration of your Merchant Center account. Any fields that are not provided are deleted from the resource.
1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1883 def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', ) command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation command.request_object = datafeed_object command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation command.response_class = Google::Apis::ContentV2_1::Datafeed command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['datafeedId'] = datafeed_id unless datafeed_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_liasetting(merchant_id, account_id, lia_settings_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::LiaSettings
Updates the LIA settings of the account. Any fields that are not provided are deleted from the resource.
2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 |
# File 'lib/google/apis/content_v2_1/service.rb', line 2586 def update_liasetting(merchant_id, account_id, lia_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', ) command.request_representation = Google::Apis::ContentV2_1::LiaSettings::Representation command.request_object = lia_settings_object command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation command.response_class = Google::Apis::ContentV2_1::LiaSettings command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_product(merchant_id, product_id, product_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Product
Updates an existing product in your Merchant Center account. Only updates attributes provided in the request.
3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3394 def update_product(merchant_id, product_id, product_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, '{merchantId}/products/{productId}', ) command.request_representation = Google::Apis::ContentV2_1::Product::Representation command.request_object = product_object command.response_representation = Google::Apis::ContentV2_1::Product::Representation command.response_class = Google::Apis::ContentV2_1::Product command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['productId'] = product_id unless product_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_pubsubnotificationsetting(merchant_id, pubsub_notification_settings_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::PubsubNotificationSettings
Register a Merchant Center account for pubsub notifications. Note that cloud topic name shouldn't be provided as part of the request.
3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 |
# File 'lib/google/apis/content_v2_1/service.rb', line 3688 def update_pubsubnotificationsetting(merchant_id, pubsub_notification_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, '{merchantId}/pubsubnotificationsettings', ) command.request_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation command.request_object = pubsub_notification_settings_object command.response_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation command.response_class = Google::Apis::ContentV2_1::PubsubNotificationSettings command.params['merchantId'] = merchant_id unless merchant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::ShippingSettings
Updates the shipping settings of the account. Any fields that are not provided are deleted from the resource.
4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 |
# File 'lib/google/apis/content_v2_1/service.rb', line 4810 def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', ) command.request_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation command.request_object = shipping_settings_object command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation command.response_class = Google::Apis::ContentV2_1::ShippingSettings command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#updatelabels_account(merchant_id, account_id, accounts_update_labels_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::AccountsUpdateLabelsResponse
Updates labels that are assigned to the Merchant Center account by CSS user.
491 492 493 494 495 496 497 498 499 500 501 502 |
# File 'lib/google/apis/content_v2_1/service.rb', line 491 def updatelabels_account(merchant_id, account_id, accounts_update_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/updatelabels', ) command.request_representation = Google::Apis::ContentV2_1::AccountsUpdateLabelsRequest::Representation command.request_object = accounts_update_labels_request_object command.response_representation = Google::Apis::ContentV2_1::AccountsUpdateLabelsResponse::Representation command.response_class = Google::Apis::ContentV2_1::AccountsUpdateLabelsResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#updatelabels_css(css_group_id, css_domain_id, label_ids_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::Css
Updates labels that are assigned to a CSS domain by its CSS group.
1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 |
# File 'lib/google/apis/content_v2_1/service.rb', line 1640 def updatelabels_css(css_group_id, css_domain_id, label_ids_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{cssGroupId}/csses/{cssDomainId}/updatelabels', ) command.request_representation = Google::Apis::ContentV2_1::LabelIds::Representation command.request_object = label_ids_object command.response_representation = Google::Apis::ContentV2_1::Css::Representation command.response_class = Google::Apis::ContentV2_1::Css command.params['cssGroupId'] = css_group_id unless css_group_id.nil? command.params['cssDomainId'] = css_domain_id unless css_domain_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#verifyphonenumber_account(merchant_id, account_id, verify_phone_number_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::ContentV2_1::VerifyPhoneNumberResponse
Validates verification code to verify phone number for the account. If
successful this will overwrite the value of accounts.businessinformation.
phoneNumber
. Only verified phone number will replace an existing verified
phone number.
532 533 534 535 536 537 538 539 540 541 542 543 |
# File 'lib/google/apis/content_v2_1/service.rb', line 532 def verifyphonenumber_account(merchant_id, account_id, verify_phone_number_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/verifyphonenumber', ) command.request_representation = Google::Apis::ContentV2_1::VerifyPhoneNumberRequest::Representation command.request_object = verify_phone_number_request_object command.response_representation = Google::Apis::ContentV2_1::VerifyPhoneNumberResponse::Representation command.response_class = Google::Apis::ContentV2_1::VerifyPhoneNumberResponse command.params['merchantId'] = merchant_id unless merchant_id.nil? command.params['accountId'] = account_id unless account_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |