google-apis-content_v2_1 0.16.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/content_v2_1/classes.rb +865 -176
- data/lib/google/apis/content_v2_1/gem_version.rb +2 -2
- data/lib/google/apis/content_v2_1/representations.rb +262 -0
- data/lib/google/apis/content_v2_1/service.rb +290 -4
- metadata +3 -3
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContentV2_1
|
18
18
|
# Version of the google-apis-content_v2_1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210827"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -298,6 +298,18 @@ module Google
|
|
298
298
|
include Google::Apis::Core::JsonObjectSupport
|
299
299
|
end
|
300
300
|
|
301
|
+
class CaptureOrderRequest
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class CaptureOrderResponse
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
301
313
|
class CarrierRate
|
302
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
315
|
|
@@ -502,6 +514,18 @@ module Google
|
|
502
514
|
include Google::Apis::Core::JsonObjectSupport
|
503
515
|
end
|
504
516
|
|
517
|
+
class FreeListingsProgramStatus
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
523
|
+
class FreeListingsProgramStatusRegionStatus
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
|
+
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
527
|
+
end
|
528
|
+
|
505
529
|
class GmbAccounts
|
506
530
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
531
|
|
@@ -1528,6 +1552,12 @@ module Google
|
|
1528
1552
|
include Google::Apis::Core::JsonObjectSupport
|
1529
1553
|
end
|
1530
1554
|
|
1555
|
+
class ProductDimension
|
1556
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1557
|
+
|
1558
|
+
include Google::Apis::Core::JsonObjectSupport
|
1559
|
+
end
|
1560
|
+
|
1531
1561
|
class ProductProductDetail
|
1532
1562
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1533
1563
|
|
@@ -1594,6 +1624,12 @@ module Google
|
|
1594
1624
|
include Google::Apis::Core::JsonObjectSupport
|
1595
1625
|
end
|
1596
1626
|
|
1627
|
+
class ProductWeight
|
1628
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1629
|
+
|
1630
|
+
include Google::Apis::Core::JsonObjectSupport
|
1631
|
+
end
|
1632
|
+
|
1597
1633
|
class ProductsCustomBatchRequest
|
1598
1634
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1599
1635
|
|
@@ -1654,6 +1690,12 @@ module Google
|
|
1654
1690
|
include Google::Apis::Core::JsonObjectSupport
|
1655
1691
|
end
|
1656
1692
|
|
1693
|
+
class Promotion
|
1694
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1695
|
+
|
1696
|
+
include Google::Apis::Core::JsonObjectSupport
|
1697
|
+
end
|
1698
|
+
|
1657
1699
|
class PubsubNotificationSettings
|
1658
1700
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1659
1701
|
|
@@ -1810,12 +1852,36 @@ module Google
|
|
1810
1852
|
include Google::Apis::Core::JsonObjectSupport
|
1811
1853
|
end
|
1812
1854
|
|
1855
|
+
class RequestPhoneVerificationRequest
|
1856
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1857
|
+
|
1858
|
+
include Google::Apis::Core::JsonObjectSupport
|
1859
|
+
end
|
1860
|
+
|
1861
|
+
class RequestPhoneVerificationResponse
|
1862
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1863
|
+
|
1864
|
+
include Google::Apis::Core::JsonObjectSupport
|
1865
|
+
end
|
1866
|
+
|
1813
1867
|
class RequestReviewBuyOnGoogleProgramRequest
|
1814
1868
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1815
1869
|
|
1816
1870
|
include Google::Apis::Core::JsonObjectSupport
|
1817
1871
|
end
|
1818
1872
|
|
1873
|
+
class RequestReviewFreeListingsRequest
|
1874
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1875
|
+
|
1876
|
+
include Google::Apis::Core::JsonObjectSupport
|
1877
|
+
end
|
1878
|
+
|
1879
|
+
class RequestReviewShoppingAdsRequest
|
1880
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1881
|
+
|
1882
|
+
include Google::Apis::Core::JsonObjectSupport
|
1883
|
+
end
|
1884
|
+
|
1819
1885
|
class ReturnAddress
|
1820
1886
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1821
1887
|
|
@@ -2104,6 +2170,18 @@ module Google
|
|
2104
2170
|
include Google::Apis::Core::JsonObjectSupport
|
2105
2171
|
end
|
2106
2172
|
|
2173
|
+
class ShoppingAdsProgramStatus
|
2174
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2175
|
+
|
2176
|
+
include Google::Apis::Core::JsonObjectSupport
|
2177
|
+
end
|
2178
|
+
|
2179
|
+
class ShoppingAdsProgramStatusRegionStatus
|
2180
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2181
|
+
|
2182
|
+
include Google::Apis::Core::JsonObjectSupport
|
2183
|
+
end
|
2184
|
+
|
2107
2185
|
class Table
|
2108
2186
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2109
2187
|
|
@@ -2200,6 +2278,18 @@ module Google
|
|
2200
2278
|
include Google::Apis::Core::JsonObjectSupport
|
2201
2279
|
end
|
2202
2280
|
|
2281
|
+
class VerifyPhoneNumberRequest
|
2282
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2283
|
+
|
2284
|
+
include Google::Apis::Core::JsonObjectSupport
|
2285
|
+
end
|
2286
|
+
|
2287
|
+
class VerifyPhoneNumberResponse
|
2288
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2289
|
+
|
2290
|
+
include Google::Apis::Core::JsonObjectSupport
|
2291
|
+
end
|
2292
|
+
|
2203
2293
|
class WarehouseBasedDeliveryTime
|
2204
2294
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2205
2295
|
|
@@ -2215,6 +2305,7 @@ module Google
|
|
2215
2305
|
class Account
|
2216
2306
|
# @private
|
2217
2307
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2308
|
+
property :account_management, as: 'accountManagement'
|
2218
2309
|
collection :ads_links, as: 'adsLinks', class: Google::Apis::ContentV2_1::AccountAdsLink, decorator: Google::Apis::ContentV2_1::AccountAdsLink::Representation
|
2219
2310
|
|
2220
2311
|
property :adult_content, as: 'adultContent'
|
@@ -2329,6 +2420,7 @@ module Google
|
|
2329
2420
|
property :account_id, as: 'accountId'
|
2330
2421
|
collection :account_level_issues, as: 'accountLevelIssues', class: Google::Apis::ContentV2_1::AccountStatusAccountLevelIssue, decorator: Google::Apis::ContentV2_1::AccountStatusAccountLevelIssue::Representation
|
2331
2422
|
|
2423
|
+
property :account_management, as: 'accountManagement'
|
2332
2424
|
property :kind, as: 'kind'
|
2333
2425
|
collection :products, as: 'products', class: Google::Apis::ContentV2_1::AccountStatusProducts, decorator: Google::Apis::ContentV2_1::AccountStatusProducts::Representation
|
2334
2426
|
|
@@ -2684,6 +2776,19 @@ module Google
|
|
2684
2776
|
end
|
2685
2777
|
end
|
2686
2778
|
|
2779
|
+
class CaptureOrderRequest
|
2780
|
+
# @private
|
2781
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2782
|
+
end
|
2783
|
+
end
|
2784
|
+
|
2785
|
+
class CaptureOrderResponse
|
2786
|
+
# @private
|
2787
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2788
|
+
property :execution_status, as: 'executionStatus'
|
2789
|
+
end
|
2790
|
+
end
|
2791
|
+
|
2687
2792
|
class CarrierRate
|
2688
2793
|
# @private
|
2689
2794
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3073,6 +3178,28 @@ module Google
|
|
3073
3178
|
end
|
3074
3179
|
end
|
3075
3180
|
|
3181
|
+
class FreeListingsProgramStatus
|
3182
|
+
# @private
|
3183
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3184
|
+
collection :region_statuses, as: 'regionStatuses', class: Google::Apis::ContentV2_1::FreeListingsProgramStatusRegionStatus, decorator: Google::Apis::ContentV2_1::FreeListingsProgramStatusRegionStatus::Representation
|
3185
|
+
|
3186
|
+
property :state, as: 'state'
|
3187
|
+
end
|
3188
|
+
end
|
3189
|
+
|
3190
|
+
class FreeListingsProgramStatusRegionStatus
|
3191
|
+
# @private
|
3192
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3193
|
+
property :disapproval_date, as: 'disapprovalDate'
|
3194
|
+
property :eligibility_status, as: 'eligibilityStatus'
|
3195
|
+
property :enhanced_eligibility_status, as: 'enhancedEligibilityStatus'
|
3196
|
+
property :ineligibility_reason, as: 'ineligibilityReason'
|
3197
|
+
collection :region_codes, as: 'regionCodes'
|
3198
|
+
property :review_eligibility_status, as: 'reviewEligibilityStatus'
|
3199
|
+
collection :review_issues, as: 'reviewIssues'
|
3200
|
+
end
|
3201
|
+
end
|
3202
|
+
|
3076
3203
|
class GmbAccounts
|
3077
3204
|
# @private
|
3078
3205
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4962,8 +5089,16 @@ module Google
|
|
4962
5089
|
|
4963
5090
|
collection :product_details, as: 'productDetails', class: Google::Apis::ContentV2_1::ProductProductDetail, decorator: Google::Apis::ContentV2_1::ProductProductDetail::Representation
|
4964
5091
|
|
5092
|
+
property :product_height, as: 'productHeight', class: Google::Apis::ContentV2_1::ProductDimension, decorator: Google::Apis::ContentV2_1::ProductDimension::Representation
|
5093
|
+
|
4965
5094
|
collection :product_highlights, as: 'productHighlights'
|
5095
|
+
property :product_length, as: 'productLength', class: Google::Apis::ContentV2_1::ProductDimension, decorator: Google::Apis::ContentV2_1::ProductDimension::Representation
|
5096
|
+
|
4966
5097
|
collection :product_types, as: 'productTypes'
|
5098
|
+
property :product_weight, as: 'productWeight', class: Google::Apis::ContentV2_1::ProductWeight, decorator: Google::Apis::ContentV2_1::ProductWeight::Representation
|
5099
|
+
|
5100
|
+
property :product_width, as: 'productWidth', class: Google::Apis::ContentV2_1::ProductDimension, decorator: Google::Apis::ContentV2_1::ProductDimension::Representation
|
5101
|
+
|
4967
5102
|
collection :promotion_ids, as: 'promotionIds'
|
4968
5103
|
property :sale_price, as: 'salePrice', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
|
4969
5104
|
|
@@ -5012,6 +5147,14 @@ module Google
|
|
5012
5147
|
end
|
5013
5148
|
end
|
5014
5149
|
|
5150
|
+
class ProductDimension
|
5151
|
+
# @private
|
5152
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5153
|
+
property :unit, as: 'unit'
|
5154
|
+
property :value, as: 'value'
|
5155
|
+
end
|
5156
|
+
end
|
5157
|
+
|
5015
5158
|
class ProductProductDetail
|
5016
5159
|
# @private
|
5017
5160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5136,6 +5279,14 @@ module Google
|
|
5136
5279
|
end
|
5137
5280
|
end
|
5138
5281
|
|
5282
|
+
class ProductWeight
|
5283
|
+
# @private
|
5284
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5285
|
+
property :unit, as: 'unit'
|
5286
|
+
property :value, as: 'value'
|
5287
|
+
end
|
5288
|
+
end
|
5289
|
+
|
5139
5290
|
class ProductsCustomBatchRequest
|
5140
5291
|
# @private
|
5141
5292
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5240,6 +5391,49 @@ module Google
|
|
5240
5391
|
end
|
5241
5392
|
end
|
5242
5393
|
|
5394
|
+
class Promotion
|
5395
|
+
# @private
|
5396
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5397
|
+
collection :brand, as: 'brand'
|
5398
|
+
collection :brand_exclusion, as: 'brandExclusion'
|
5399
|
+
property :content_language, as: 'contentLanguage'
|
5400
|
+
property :coupon_value_type, as: 'couponValueType'
|
5401
|
+
property :free_gift_description, as: 'freeGiftDescription'
|
5402
|
+
property :free_gift_item_id, as: 'freeGiftItemId'
|
5403
|
+
property :free_gift_value, as: 'freeGiftValue', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
|
5404
|
+
|
5405
|
+
property :generic_redemption_code, as: 'genericRedemptionCode'
|
5406
|
+
property :get_this_quantity_discounted, as: 'getThisQuantityDiscounted'
|
5407
|
+
property :id, as: 'id'
|
5408
|
+
collection :item_group_id, as: 'itemGroupId'
|
5409
|
+
collection :item_group_id_exclusion, as: 'itemGroupIdExclusion'
|
5410
|
+
collection :item_id, as: 'itemId'
|
5411
|
+
collection :item_id_exclusion, as: 'itemIdExclusion'
|
5412
|
+
property :limit_quantity, as: 'limitQuantity'
|
5413
|
+
property :limit_value, as: 'limitValue', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
|
5414
|
+
|
5415
|
+
property :long_title, as: 'longTitle'
|
5416
|
+
property :minimum_purchase_amount, as: 'minimumPurchaseAmount', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
|
5417
|
+
|
5418
|
+
property :minimum_purchase_quantity, as: 'minimumPurchaseQuantity'
|
5419
|
+
property :money_budget, as: 'moneyBudget', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
|
5420
|
+
|
5421
|
+
property :money_off_amount, as: 'moneyOffAmount', class: Google::Apis::ContentV2_1::PriceAmount, decorator: Google::Apis::ContentV2_1::PriceAmount::Representation
|
5422
|
+
|
5423
|
+
property :offer_type, as: 'offerType'
|
5424
|
+
property :order_limit, as: 'orderLimit'
|
5425
|
+
property :percent_off, as: 'percentOff'
|
5426
|
+
property :product_applicability, as: 'productApplicability'
|
5427
|
+
collection :promotion_destination_ids, as: 'promotionDestinationIds'
|
5428
|
+
property :promotion_display_dates, as: 'promotionDisplayDates'
|
5429
|
+
property :promotion_effective_dates, as: 'promotionEffectiveDates'
|
5430
|
+
property :promotion_id, as: 'promotionId'
|
5431
|
+
collection :redemption_channel, as: 'redemptionChannel'
|
5432
|
+
collection :shipping_service_names, as: 'shippingServiceNames'
|
5433
|
+
property :target_country, as: 'targetCountry'
|
5434
|
+
end
|
5435
|
+
end
|
5436
|
+
|
5243
5437
|
class PubsubNotificationSettings
|
5244
5438
|
# @private
|
5245
5439
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5527,12 +5721,43 @@ module Google
|
|
5527
5721
|
end
|
5528
5722
|
end
|
5529
5723
|
|
5724
|
+
class RequestPhoneVerificationRequest
|
5725
|
+
# @private
|
5726
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5727
|
+
property :language_code, as: 'languageCode'
|
5728
|
+
property :phone_number, as: 'phoneNumber'
|
5729
|
+
property :phone_region_code, as: 'phoneRegionCode'
|
5730
|
+
property :phone_verification_method, as: 'phoneVerificationMethod'
|
5731
|
+
end
|
5732
|
+
end
|
5733
|
+
|
5734
|
+
class RequestPhoneVerificationResponse
|
5735
|
+
# @private
|
5736
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5737
|
+
property :verification_id, as: 'verificationId'
|
5738
|
+
end
|
5739
|
+
end
|
5740
|
+
|
5530
5741
|
class RequestReviewBuyOnGoogleProgramRequest
|
5531
5742
|
# @private
|
5532
5743
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5533
5744
|
end
|
5534
5745
|
end
|
5535
5746
|
|
5747
|
+
class RequestReviewFreeListingsRequest
|
5748
|
+
# @private
|
5749
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5750
|
+
property :region_code, as: 'regionCode'
|
5751
|
+
end
|
5752
|
+
end
|
5753
|
+
|
5754
|
+
class RequestReviewShoppingAdsRequest
|
5755
|
+
# @private
|
5756
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5757
|
+
property :region_code, as: 'regionCode'
|
5758
|
+
end
|
5759
|
+
end
|
5760
|
+
|
5536
5761
|
class ReturnAddress
|
5537
5762
|
# @private
|
5538
5763
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6076,6 +6301,27 @@ module Google
|
|
6076
6301
|
end
|
6077
6302
|
end
|
6078
6303
|
|
6304
|
+
class ShoppingAdsProgramStatus
|
6305
|
+
# @private
|
6306
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6307
|
+
collection :region_statuses, as: 'regionStatuses', class: Google::Apis::ContentV2_1::ShoppingAdsProgramStatusRegionStatus, decorator: Google::Apis::ContentV2_1::ShoppingAdsProgramStatusRegionStatus::Representation
|
6308
|
+
|
6309
|
+
property :state, as: 'state'
|
6310
|
+
end
|
6311
|
+
end
|
6312
|
+
|
6313
|
+
class ShoppingAdsProgramStatusRegionStatus
|
6314
|
+
# @private
|
6315
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6316
|
+
property :disapproval_date, as: 'disapprovalDate'
|
6317
|
+
property :eligibility_status, as: 'eligibilityStatus'
|
6318
|
+
property :ineligibility_reason, as: 'ineligibilityReason'
|
6319
|
+
collection :region_codes, as: 'regionCodes'
|
6320
|
+
property :review_eligibility_status, as: 'reviewEligibilityStatus'
|
6321
|
+
collection :review_issues, as: 'reviewIssues'
|
6322
|
+
end
|
6323
|
+
end
|
6324
|
+
|
6079
6325
|
class Table
|
6080
6326
|
# @private
|
6081
6327
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6269,6 +6515,22 @@ module Google
|
|
6269
6515
|
end
|
6270
6516
|
end
|
6271
6517
|
|
6518
|
+
class VerifyPhoneNumberRequest
|
6519
|
+
# @private
|
6520
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6521
|
+
property :phone_verification_method, as: 'phoneVerificationMethod'
|
6522
|
+
property :verification_code, as: 'verificationCode'
|
6523
|
+
property :verification_id, as: 'verificationId'
|
6524
|
+
end
|
6525
|
+
end
|
6526
|
+
|
6527
|
+
class VerifyPhoneNumberResponse
|
6528
|
+
# @private
|
6529
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6530
|
+
property :verified_phone_number, as: 'verifiedPhoneNumber'
|
6531
|
+
end
|
6532
|
+
end
|
6533
|
+
|
6272
6534
|
class WarehouseBasedDeliveryTime
|
6273
6535
|
# @private
|
6274
6536
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -301,6 +301,9 @@ module Google
|
|
301
301
|
# given ID.
|
302
302
|
# @param [Fixnum] max_results
|
303
303
|
# The maximum number of accounts to return in the response, used for paging.
|
304
|
+
# @param [String] name
|
305
|
+
# If set, only the accounts with the given name (case sensitive) will be
|
306
|
+
# returned.
|
304
307
|
# @param [String] page_token
|
305
308
|
# The token returned by the previous request.
|
306
309
|
# @param [String] view
|
@@ -323,13 +326,14 @@ module Google
|
|
323
326
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
324
327
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
325
328
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
326
|
-
def list_accounts(merchant_id, label: nil, max_results: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
329
|
+
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)
|
327
330
|
command = make_simple_command(:get, '{merchantId}/accounts', options)
|
328
331
|
command.response_representation = Google::Apis::ContentV2_1::AccountsListResponse::Representation
|
329
332
|
command.response_class = Google::Apis::ContentV2_1::AccountsListResponse
|
330
333
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
331
334
|
command.query['label'] = label unless label.nil?
|
332
335
|
command.query['maxResults'] = max_results unless max_results.nil?
|
336
|
+
command.query['name'] = name unless name.nil?
|
333
337
|
command.query['pageToken'] = page_token unless page_token.nil?
|
334
338
|
command.query['view'] = view unless view.nil?
|
335
339
|
command.query['fields'] = fields unless fields.nil?
|
@@ -380,6 +384,44 @@ module Google
|
|
380
384
|
execute_or_queue_command(command, &block)
|
381
385
|
end
|
382
386
|
|
387
|
+
# Request verification code to start phone verification.
|
388
|
+
# @param [Fixnum] merchant_id
|
389
|
+
# Required. The ID of the managing account. If this parameter is not the same as
|
390
|
+
# accountId, then this account must be a multi-client account and accountId must
|
391
|
+
# be the ID of a sub-account of this account.
|
392
|
+
# @param [Fixnum] account_id
|
393
|
+
# Required. The ID of the account.
|
394
|
+
# @param [Google::Apis::ContentV2_1::RequestPhoneVerificationRequest] request_phone_verification_request_object
|
395
|
+
# @param [String] fields
|
396
|
+
# Selector specifying which fields to include in a partial response.
|
397
|
+
# @param [String] quota_user
|
398
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
399
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
400
|
+
# @param [Google::Apis::RequestOptions] options
|
401
|
+
# Request-specific options
|
402
|
+
#
|
403
|
+
# @yield [result, err] Result & error if block supplied
|
404
|
+
# @yieldparam result [Google::Apis::ContentV2_1::RequestPhoneVerificationResponse] parsed result object
|
405
|
+
# @yieldparam err [StandardError] error object if request failed
|
406
|
+
#
|
407
|
+
# @return [Google::Apis::ContentV2_1::RequestPhoneVerificationResponse]
|
408
|
+
#
|
409
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
410
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
411
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
412
|
+
def requestphoneverification_account(merchant_id, account_id, request_phone_verification_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
413
|
+
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/requestphoneverification', options)
|
414
|
+
command.request_representation = Google::Apis::ContentV2_1::RequestPhoneVerificationRequest::Representation
|
415
|
+
command.request_object = request_phone_verification_request_object
|
416
|
+
command.response_representation = Google::Apis::ContentV2_1::RequestPhoneVerificationResponse::Representation
|
417
|
+
command.response_class = Google::Apis::ContentV2_1::RequestPhoneVerificationResponse
|
418
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
419
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
420
|
+
command.query['fields'] = fields unless fields.nil?
|
421
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
422
|
+
execute_or_queue_command(command, &block)
|
423
|
+
end
|
424
|
+
|
383
425
|
# Updates a Merchant Center account. Any fields that are not provided are
|
384
426
|
# deleted from the resource.
|
385
427
|
# @param [Fixnum] merchant_id
|
@@ -455,6 +497,44 @@ module Google
|
|
455
497
|
execute_or_queue_command(command, &block)
|
456
498
|
end
|
457
499
|
|
500
|
+
# Validates verification code to verify phone number for the account.
|
501
|
+
# @param [Fixnum] merchant_id
|
502
|
+
# Required. The ID of the managing account. If this parameter is not the same as
|
503
|
+
# accountId, then this account must be a multi-client account and accountId must
|
504
|
+
# be the ID of a sub-account of this account.
|
505
|
+
# @param [Fixnum] account_id
|
506
|
+
# Required. The ID of the account.
|
507
|
+
# @param [Google::Apis::ContentV2_1::VerifyPhoneNumberRequest] verify_phone_number_request_object
|
508
|
+
# @param [String] fields
|
509
|
+
# Selector specifying which fields to include in a partial response.
|
510
|
+
# @param [String] quota_user
|
511
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
512
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
513
|
+
# @param [Google::Apis::RequestOptions] options
|
514
|
+
# Request-specific options
|
515
|
+
#
|
516
|
+
# @yield [result, err] Result & error if block supplied
|
517
|
+
# @yieldparam result [Google::Apis::ContentV2_1::VerifyPhoneNumberResponse] parsed result object
|
518
|
+
# @yieldparam err [StandardError] error object if request failed
|
519
|
+
#
|
520
|
+
# @return [Google::Apis::ContentV2_1::VerifyPhoneNumberResponse]
|
521
|
+
#
|
522
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
523
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
524
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
525
|
+
def verifyphonenumber_account(merchant_id, account_id, verify_phone_number_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
526
|
+
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/verifyphonenumber', options)
|
527
|
+
command.request_representation = Google::Apis::ContentV2_1::VerifyPhoneNumberRequest::Representation
|
528
|
+
command.request_object = verify_phone_number_request_object
|
529
|
+
command.response_representation = Google::Apis::ContentV2_1::VerifyPhoneNumberResponse::Representation
|
530
|
+
command.response_class = Google::Apis::ContentV2_1::VerifyPhoneNumberResponse
|
531
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
532
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
533
|
+
command.query['fields'] = fields unless fields.nil?
|
534
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
535
|
+
execute_or_queue_command(command, &block)
|
536
|
+
end
|
537
|
+
|
458
538
|
# Uploads credentials for the Merchant Center account. If credentials already
|
459
539
|
# exist for this Merchant Center account and purpose, this method updates them.
|
460
540
|
# @param [Fixnum] account_id
|
@@ -843,6 +923,9 @@ module Google
|
|
843
923
|
# @param [Fixnum] max_results
|
844
924
|
# The maximum number of account statuses to return in the response, used for
|
845
925
|
# paging.
|
926
|
+
# @param [String] name
|
927
|
+
# If set, only the accounts with the given name (case sensitive) will be
|
928
|
+
# returned.
|
846
929
|
# @param [String] page_token
|
847
930
|
# The token returned by the previous request.
|
848
931
|
# @param [String] fields
|
@@ -862,13 +945,14 @@ module Google
|
|
862
945
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
863
946
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
864
947
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
865
|
-
def list_accountstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
948
|
+
def list_accountstatuses(merchant_id, destinations: nil, max_results: nil, name: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
866
949
|
command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
|
867
950
|
command.response_representation = Google::Apis::ContentV2_1::AccountstatusesListResponse::Representation
|
868
951
|
command.response_class = Google::Apis::ContentV2_1::AccountstatusesListResponse
|
869
952
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
870
953
|
command.query['destinations'] = destinations unless destinations.nil?
|
871
954
|
command.query['maxResults'] = max_results unless max_results.nil?
|
955
|
+
command.query['name'] = name unless name.nil?
|
872
956
|
command.query['pageToken'] = page_token unless page_token.nil?
|
873
957
|
command.query['fields'] = fields unless fields.nil?
|
874
958
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1884,6 +1968,68 @@ module Google
|
|
1884
1968
|
execute_or_queue_command(command, &block)
|
1885
1969
|
end
|
1886
1970
|
|
1971
|
+
# Retrieves the status and review eligibility for the free listing program.
|
1972
|
+
# @param [Fixnum] merchant_id
|
1973
|
+
# Required. The ID of the account.
|
1974
|
+
# @param [String] fields
|
1975
|
+
# Selector specifying which fields to include in a partial response.
|
1976
|
+
# @param [String] quota_user
|
1977
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1978
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1979
|
+
# @param [Google::Apis::RequestOptions] options
|
1980
|
+
# Request-specific options
|
1981
|
+
#
|
1982
|
+
# @yield [result, err] Result & error if block supplied
|
1983
|
+
# @yieldparam result [Google::Apis::ContentV2_1::FreeListingsProgramStatus] parsed result object
|
1984
|
+
# @yieldparam err [StandardError] error object if request failed
|
1985
|
+
#
|
1986
|
+
# @return [Google::Apis::ContentV2_1::FreeListingsProgramStatus]
|
1987
|
+
#
|
1988
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1989
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1990
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1991
|
+
def get_freelistingsprogram(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
1992
|
+
command = make_simple_command(:get, '{merchantId}/freelistingsprogram', options)
|
1993
|
+
command.response_representation = Google::Apis::ContentV2_1::FreeListingsProgramStatus::Representation
|
1994
|
+
command.response_class = Google::Apis::ContentV2_1::FreeListingsProgramStatus
|
1995
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
1996
|
+
command.query['fields'] = fields unless fields.nil?
|
1997
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1998
|
+
execute_or_queue_command(command, &block)
|
1999
|
+
end
|
2000
|
+
|
2001
|
+
# Requests a review for Free Listings program in the provided region. Important:
|
2002
|
+
# This method is only whitelisted for selected merchants.
|
2003
|
+
# @param [Fixnum] merchant_id
|
2004
|
+
# Required. The ID of the account.
|
2005
|
+
# @param [Google::Apis::ContentV2_1::RequestReviewFreeListingsRequest] request_review_free_listings_request_object
|
2006
|
+
# @param [String] fields
|
2007
|
+
# Selector specifying which fields to include in a partial response.
|
2008
|
+
# @param [String] quota_user
|
2009
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2010
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2011
|
+
# @param [Google::Apis::RequestOptions] options
|
2012
|
+
# Request-specific options
|
2013
|
+
#
|
2014
|
+
# @yield [result, err] Result & error if block supplied
|
2015
|
+
# @yieldparam result [NilClass] No result returned for this method
|
2016
|
+
# @yieldparam err [StandardError] error object if request failed
|
2017
|
+
#
|
2018
|
+
# @return [void]
|
2019
|
+
#
|
2020
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2021
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2022
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2023
|
+
def requestreview_freelistingsprogram(merchant_id, request_review_free_listings_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2024
|
+
command = make_simple_command(:post, '{merchantId}/freelistingsprogram/requestreview', options)
|
2025
|
+
command.request_representation = Google::Apis::ContentV2_1::RequestReviewFreeListingsRequest::Representation
|
2026
|
+
command.request_object = request_review_free_listings_request_object
|
2027
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
2028
|
+
command.query['fields'] = fields unless fields.nil?
|
2029
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2030
|
+
execute_or_queue_command(command, &block)
|
2031
|
+
end
|
2032
|
+
|
1887
2033
|
# Retrieves and/or updates the LIA settings of multiple accounts in a single
|
1888
2034
|
# request.
|
1889
2035
|
# @param [Google::Apis::ContentV2_1::LiasettingsCustomBatchRequest] liasettings_custom_batch_request_object
|
@@ -2950,6 +3096,49 @@ module Google
|
|
2950
3096
|
execute_or_queue_command(command, &block)
|
2951
3097
|
end
|
2952
3098
|
|
3099
|
+
# Capture funds from the customer for the current order total. This method
|
3100
|
+
# should be called after the merchant verifies that they are able and ready to
|
3101
|
+
# start shipping the order. This method blocks until a response is received from
|
3102
|
+
# the payment processsor. If this method succeeds, the merchant is guaranteed to
|
3103
|
+
# receive funds for the order after shipment. If the request fails, it can be
|
3104
|
+
# retried or the order may be cancelled. This method cannot be called after the
|
3105
|
+
# entire order is already shipped.
|
3106
|
+
# @param [Fixnum] merchant_id
|
3107
|
+
# Required. The ID of the account that manages the order. This cannot be a multi-
|
3108
|
+
# client account.
|
3109
|
+
# @param [String] order_id
|
3110
|
+
# Required. The ID of the Order.
|
3111
|
+
# @param [Google::Apis::ContentV2_1::CaptureOrderRequest] capture_order_request_object
|
3112
|
+
# @param [String] fields
|
3113
|
+
# Selector specifying which fields to include in a partial response.
|
3114
|
+
# @param [String] quota_user
|
3115
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3116
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3117
|
+
# @param [Google::Apis::RequestOptions] options
|
3118
|
+
# Request-specific options
|
3119
|
+
#
|
3120
|
+
# @yield [result, err] Result & error if block supplied
|
3121
|
+
# @yieldparam result [Google::Apis::ContentV2_1::CaptureOrderResponse] parsed result object
|
3122
|
+
# @yieldparam err [StandardError] error object if request failed
|
3123
|
+
#
|
3124
|
+
# @return [Google::Apis::ContentV2_1::CaptureOrderResponse]
|
3125
|
+
#
|
3126
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3127
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3128
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3129
|
+
def capture_order(merchant_id, order_id, capture_order_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3130
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/captureOrder', options)
|
3131
|
+
command.request_representation = Google::Apis::ContentV2_1::CaptureOrderRequest::Representation
|
3132
|
+
command.request_object = capture_order_request_object
|
3133
|
+
command.response_representation = Google::Apis::ContentV2_1::CaptureOrderResponse::Representation
|
3134
|
+
command.response_class = Google::Apis::ContentV2_1::CaptureOrderResponse
|
3135
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
3136
|
+
command.params['orderId'] = order_id unless order_id.nil?
|
3137
|
+
command.query['fields'] = fields unless fields.nil?
|
3138
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3139
|
+
execute_or_queue_command(command, &block)
|
3140
|
+
end
|
3141
|
+
|
2953
3142
|
# Sandbox only. Creates a test order.
|
2954
3143
|
# @param [Fixnum] merchant_id
|
2955
3144
|
# The ID of the account that should manage the order. This cannot be a multi-
|
@@ -3886,7 +4075,8 @@ module Google
|
|
3886
4075
|
# @param [String] product_id
|
3887
4076
|
# The REST ID of the product.
|
3888
4077
|
# @param [Fixnum] feed_id
|
3889
|
-
# The Content API Supplemental Feed ID.
|
4078
|
+
# The Content API Supplemental Feed ID. If present then product deletion applies
|
4079
|
+
# to the data in a supplemental feed. If absent, entire product will be deleted.
|
3890
4080
|
# @param [String] fields
|
3891
4081
|
# Selector specifying which fields to include in a partial response.
|
3892
4082
|
# @param [String] quota_user
|
@@ -3956,7 +4146,8 @@ module Google
|
|
3956
4146
|
# multi-client account.
|
3957
4147
|
# @param [Google::Apis::ContentV2_1::Product] product_object
|
3958
4148
|
# @param [Fixnum] feed_id
|
3959
|
-
# The Content API Supplemental Feed ID.
|
4149
|
+
# The Content API Supplemental Feed ID. If present then product insertion
|
4150
|
+
# applies to the data in a supplemental feed.
|
3960
4151
|
# @param [String] fields
|
3961
4152
|
# Selector specifying which fields to include in a partial response.
|
3962
4153
|
# @param [String] quota_user
|
@@ -4242,6 +4433,40 @@ module Google
|
|
4242
4433
|
execute_or_queue_command(command, &block)
|
4243
4434
|
end
|
4244
4435
|
|
4436
|
+
# Inserts a promotion for your Merchant Center account. If the promotion already
|
4437
|
+
# exists, then it will update the promotion instead.
|
4438
|
+
# @param [Fixnum] merchant_id
|
4439
|
+
# Required. The ID of the account that contains the collection.
|
4440
|
+
# @param [Google::Apis::ContentV2_1::Promotion] promotion_object
|
4441
|
+
# @param [String] fields
|
4442
|
+
# Selector specifying which fields to include in a partial response.
|
4443
|
+
# @param [String] quota_user
|
4444
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4445
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4446
|
+
# @param [Google::Apis::RequestOptions] options
|
4447
|
+
# Request-specific options
|
4448
|
+
#
|
4449
|
+
# @yield [result, err] Result & error if block supplied
|
4450
|
+
# @yieldparam result [Google::Apis::ContentV2_1::Promotion] parsed result object
|
4451
|
+
# @yieldparam err [StandardError] error object if request failed
|
4452
|
+
#
|
4453
|
+
# @return [Google::Apis::ContentV2_1::Promotion]
|
4454
|
+
#
|
4455
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4456
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4457
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4458
|
+
def create_promotion(merchant_id, promotion_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4459
|
+
command = make_simple_command(:post, '{merchantId}/promotions', options)
|
4460
|
+
command.request_representation = Google::Apis::ContentV2_1::Promotion::Representation
|
4461
|
+
command.request_object = promotion_object
|
4462
|
+
command.response_representation = Google::Apis::ContentV2_1::Promotion::Representation
|
4463
|
+
command.response_class = Google::Apis::ContentV2_1::Promotion
|
4464
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
4465
|
+
command.query['fields'] = fields unless fields.nil?
|
4466
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4467
|
+
execute_or_queue_command(command, &block)
|
4468
|
+
end
|
4469
|
+
|
4245
4470
|
# Retrieves a Merchant Center account's pubsub notification settings.
|
4246
4471
|
# @param [Fixnum] merchant_id
|
4247
4472
|
# The ID of the account for which to get pubsub notification settings.
|
@@ -5681,6 +5906,67 @@ module Google
|
|
5681
5906
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5682
5907
|
execute_or_queue_command(command, &block)
|
5683
5908
|
end
|
5909
|
+
|
5910
|
+
# Retrieves the status and review eligibility for the Shopping Ads program.
|
5911
|
+
# @param [Fixnum] merchant_id
|
5912
|
+
# Required. The ID of the account.
|
5913
|
+
# @param [String] fields
|
5914
|
+
# Selector specifying which fields to include in a partial response.
|
5915
|
+
# @param [String] quota_user
|
5916
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5917
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5918
|
+
# @param [Google::Apis::RequestOptions] options
|
5919
|
+
# Request-specific options
|
5920
|
+
#
|
5921
|
+
# @yield [result, err] Result & error if block supplied
|
5922
|
+
# @yieldparam result [Google::Apis::ContentV2_1::ShoppingAdsProgramStatus] parsed result object
|
5923
|
+
# @yieldparam err [StandardError] error object if request failed
|
5924
|
+
#
|
5925
|
+
# @return [Google::Apis::ContentV2_1::ShoppingAdsProgramStatus]
|
5926
|
+
#
|
5927
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5928
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5929
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5930
|
+
def get_shoppingadsprogram(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
5931
|
+
command = make_simple_command(:get, '{merchantId}/shoppingadsprogram', options)
|
5932
|
+
command.response_representation = Google::Apis::ContentV2_1::ShoppingAdsProgramStatus::Representation
|
5933
|
+
command.response_class = Google::Apis::ContentV2_1::ShoppingAdsProgramStatus
|
5934
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
5935
|
+
command.query['fields'] = fields unless fields.nil?
|
5936
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5937
|
+
execute_or_queue_command(command, &block)
|
5938
|
+
end
|
5939
|
+
|
5940
|
+
# Requests a review for Shopping Ads program in the provided country.
|
5941
|
+
# @param [Fixnum] merchant_id
|
5942
|
+
# Required. The ID of the account.
|
5943
|
+
# @param [Google::Apis::ContentV2_1::RequestReviewShoppingAdsRequest] request_review_shopping_ads_request_object
|
5944
|
+
# @param [String] fields
|
5945
|
+
# Selector specifying which fields to include in a partial response.
|
5946
|
+
# @param [String] quota_user
|
5947
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5948
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5949
|
+
# @param [Google::Apis::RequestOptions] options
|
5950
|
+
# Request-specific options
|
5951
|
+
#
|
5952
|
+
# @yield [result, err] Result & error if block supplied
|
5953
|
+
# @yieldparam result [NilClass] No result returned for this method
|
5954
|
+
# @yieldparam err [StandardError] error object if request failed
|
5955
|
+
#
|
5956
|
+
# @return [void]
|
5957
|
+
#
|
5958
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5959
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5960
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5961
|
+
def requestreview_shoppingadsprogram(merchant_id, request_review_shopping_ads_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
5962
|
+
command = make_simple_command(:post, '{merchantId}/shoppingadsprogram/requestreview', options)
|
5963
|
+
command.request_representation = Google::Apis::ContentV2_1::RequestReviewShoppingAdsRequest::Representation
|
5964
|
+
command.request_object = request_review_shopping_ads_request_object
|
5965
|
+
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
5966
|
+
command.query['fields'] = fields unless fields.nil?
|
5967
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5968
|
+
execute_or_queue_command(command, &block)
|
5969
|
+
end
|
5684
5970
|
|
5685
5971
|
protected
|
5686
5972
|
|