@googleapis/merchantapi 3.0.0 → 5.0.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.
- package/CHANGELOG.md +34 -0
- package/accounts_v1beta.ts +1518 -170
- package/build/accounts_v1beta.d.ts +593 -58
- package/build/accounts_v1beta.js +344 -1
- package/build/accounts_v1beta.js.map +1 -1
- package/build/conversions_v1beta.d.ts +25 -18
- package/build/conversions_v1beta.js.map +1 -1
- package/build/datasources_v1beta.d.ts +31 -10
- package/build/datasources_v1beta.js.map +1 -1
- package/build/inventories_v1beta.d.ts +11 -7
- package/build/inventories_v1beta.js.map +1 -1
- package/build/lfp_v1beta.d.ts +131 -6
- package/build/lfp_v1beta.js +39 -0
- package/build/lfp_v1beta.js.map +1 -1
- package/build/notifications_v1beta.d.ts +10 -6
- package/build/notifications_v1beta.js.map +1 -1
- package/build/products_v1beta.d.ts +76 -19
- package/build/products_v1beta.js +32 -0
- package/build/products_v1beta.js.map +1 -1
- package/build/promotions_v1beta.d.ts +10 -6
- package/build/promotions_v1beta.js.map +1 -1
- package/build/quota_v1beta.d.ts +10 -6
- package/build/quota_v1beta.js.map +1 -1
- package/build/reports_v1beta.d.ts +11 -7
- package/build/reports_v1beta.js.map +1 -1
- package/build/reviews_v1beta.d.ts +12 -8
- package/build/reviews_v1beta.js.map +1 -1
- package/conversions_v1beta.ts +25 -18
- package/datasources_v1beta.ts +31 -10
- package/inventories_v1beta.ts +11 -7
- package/lfp_v1beta.ts +213 -6
- package/notifications_v1beta.ts +10 -6
- package/package.json +1 -1
- package/products_v1beta.ts +152 -19
- package/promotions_v1beta.ts +10 -6
- package/quota_v1beta.ts +10 -6
- package/reports_v1beta.ts +11 -7
- package/reviews_v1beta.ts +12 -8
|
@@ -598,19 +598,19 @@ export declare namespace merchantapi_reports_v1beta {
|
|
|
598
598
|
*/
|
|
599
599
|
export interface Schema$ProductChange {
|
|
600
600
|
/**
|
|
601
|
-
* The new value of the changed resource or attribute.
|
|
601
|
+
* The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
|
|
602
602
|
*/
|
|
603
603
|
newValue?: string | null;
|
|
604
604
|
/**
|
|
605
|
-
* The old value of the changed resource or attribute.
|
|
605
|
+
* The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
|
|
606
606
|
*/
|
|
607
607
|
oldValue?: string | null;
|
|
608
608
|
/**
|
|
609
|
-
* Countries that have the change (if applicable)
|
|
609
|
+
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
|
|
610
610
|
*/
|
|
611
611
|
regionCode?: string | null;
|
|
612
612
|
/**
|
|
613
|
-
* Reporting contexts that have the change (if applicable)
|
|
613
|
+
* Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
|
|
614
614
|
*/
|
|
615
615
|
reportingContext?: string | null;
|
|
616
616
|
}
|
|
@@ -748,7 +748,11 @@ export declare namespace merchantapi_reports_v1beta {
|
|
|
748
748
|
*/
|
|
749
749
|
changes?: Schema$ProductChange[];
|
|
750
750
|
/**
|
|
751
|
-
* The
|
|
751
|
+
* The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
|
|
752
|
+
*/
|
|
753
|
+
eventTime?: string | null;
|
|
754
|
+
/**
|
|
755
|
+
* Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
|
|
752
756
|
*/
|
|
753
757
|
expirationTime?: string | null;
|
|
754
758
|
/**
|
|
@@ -756,7 +760,7 @@ export declare namespace merchantapi_reports_v1beta {
|
|
|
756
760
|
*/
|
|
757
761
|
managingAccount?: string | null;
|
|
758
762
|
/**
|
|
759
|
-
* The product name. Format: `
|
|
763
|
+
* The product name. Format: `accounts/{account\}/products/{product\}`
|
|
760
764
|
*/
|
|
761
765
|
resource?: string | null;
|
|
762
766
|
/**
|
|
@@ -951,7 +955,7 @@ export declare namespace merchantapi_reports_v1beta {
|
|
|
951
955
|
*/
|
|
952
956
|
pageToken?: string | null;
|
|
953
957
|
/**
|
|
954
|
-
* Required. Query that defines a report to be retrieved. For details on how to construct your query, see the Query Language guide. For the full list of available tables and fields, see the Available fields.
|
|
958
|
+
* Required. Query that defines a report to be retrieved. For details on how to construct your query, see the [Query Language guide](/merchant/api/guides/reports/query-language). For the full list of available tables and fields, see the [Available fields](/merchant/api/reference/rest/reports_v1beta/accounts.reports).
|
|
955
959
|
*/
|
|
956
960
|
query?: string | null;
|
|
957
961
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reports_v1beta.js","sourceRoot":"","sources":["../reports_v1beta.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,0BAA0B,
|
|
1
|
+
{"version":3,"file":"reports_v1beta.js","sourceRoot":"","sources":["../reports_v1beta.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,0BA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EAAE,CAAC,OAAO,GAAG,0CAA0C,CAAC,CAAC,OAAO,CACjE,cAAc,EACd,IAAI,CACL;oBACD,MAAM,EAAE,MAAM;oBACd,UAAU,EAAE,EAAE;iBACf,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,CAAC,QAAQ,CAAC;gBAC1B,UAAU,EAAE,CAAC,QAAQ,CAAC;gBACtB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EAAwB,UAAU,CAAC,CAAC;aAC5D;QACH,CAAC;KACF;IA7FY,oDAAyB,4BA6FrC,CAAA;AAcH,CAAC,EAnlCgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAmlC1C"}
|
|
@@ -128,7 +128,7 @@ export declare namespace merchantapi_reviews_v1beta {
|
|
|
128
128
|
*/
|
|
129
129
|
attributes?: Schema$MerchantReviewAttributes;
|
|
130
130
|
/**
|
|
131
|
-
*
|
|
131
|
+
* Optional. A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the data specification in its generic form (for example, `{ "name": "size type", "value": "regular" \}`). This is useful for submitting attributes not explicitly exposed by the API, such as experimental attributes. Maximum allowed number of characters for each custom attribute is 10240 (represents sum of characters for name and value). Maximum 2500 custom attributes can be set per product, with total size of 102.4kB. Underscores in custom attribute names are replaced by spaces upon insertion.
|
|
132
132
|
*/
|
|
133
133
|
customAttributes?: Schema$CustomAttribute[];
|
|
134
134
|
/**
|
|
@@ -205,7 +205,7 @@ export declare namespace merchantapi_reviews_v1beta {
|
|
|
205
205
|
*/
|
|
206
206
|
reviewerUsername?: string | null;
|
|
207
207
|
/**
|
|
208
|
-
*
|
|
208
|
+
* Optional. The language of the review defined by BCP-47 language code.
|
|
209
209
|
*/
|
|
210
210
|
reviewLanguage?: string | null;
|
|
211
211
|
/**
|
|
@@ -289,19 +289,19 @@ export declare namespace merchantapi_reviews_v1beta {
|
|
|
289
289
|
*/
|
|
290
290
|
export interface Schema$ProductChange {
|
|
291
291
|
/**
|
|
292
|
-
* The new value of the changed resource or attribute.
|
|
292
|
+
* The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
|
|
293
293
|
*/
|
|
294
294
|
newValue?: string | null;
|
|
295
295
|
/**
|
|
296
|
-
* The old value of the changed resource or attribute.
|
|
296
|
+
* The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
|
|
297
297
|
*/
|
|
298
298
|
oldValue?: string | null;
|
|
299
299
|
/**
|
|
300
|
-
* Countries that have the change (if applicable)
|
|
300
|
+
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
|
|
301
301
|
*/
|
|
302
302
|
regionCode?: string | null;
|
|
303
303
|
/**
|
|
304
|
-
* Reporting contexts that have the change (if applicable)
|
|
304
|
+
* Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
|
|
305
305
|
*/
|
|
306
306
|
reportingContext?: string | null;
|
|
307
307
|
}
|
|
@@ -539,7 +539,11 @@ export declare namespace merchantapi_reviews_v1beta {
|
|
|
539
539
|
*/
|
|
540
540
|
changes?: Schema$ProductChange[];
|
|
541
541
|
/**
|
|
542
|
-
* The
|
|
542
|
+
* The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
|
|
543
|
+
*/
|
|
544
|
+
eventTime?: string | null;
|
|
545
|
+
/**
|
|
546
|
+
* Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
|
|
543
547
|
*/
|
|
544
548
|
expirationTime?: string | null;
|
|
545
549
|
/**
|
|
@@ -547,7 +551,7 @@ export declare namespace merchantapi_reviews_v1beta {
|
|
|
547
551
|
*/
|
|
548
552
|
managingAccount?: string | null;
|
|
549
553
|
/**
|
|
550
|
-
* The product name. Format: `
|
|
554
|
+
* The product name. Format: `accounts/{account\}/products/{product\}`
|
|
551
555
|
*/
|
|
552
556
|
resource?: string | null;
|
|
553
557
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reviews_v1beta.js","sourceRoot":"","sources":["../reviews_v1beta.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,0BAA0B,
|
|
1
|
+
{"version":3,"file":"reviews_v1beta.js","sourceRoot":"","sources":["../reviews_v1beta.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,0BAA0B,CAm5C1C;AAn5CD,WAAiB,0BAA0B;IAgEzC;;;;;;;;;;OAUG;IACH,MAAa,WAAW;QAItB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,QA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AE,KAAK;oBACb,UAAU,EAAE,EAAE;iBACf,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,CAAC,QAAQ,CAAC;gBAC1B,UAAU,EAAE,CAAC,QAAQ,CAAC;gBACtB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EAAoC,UAAU,CAAC,CAAC;aACxE;QACH,CAAC;KACF;IA3WY,2DAAgC,mCA2W5C,CAAA;AA+CH,CAAC,EAn5CgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAm5C1C"}
|
package/conversions_v1beta.ts
CHANGED
|
@@ -129,9 +129,12 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
129
129
|
*/
|
|
130
130
|
export interface Schema$AttributionSettings {
|
|
131
131
|
/**
|
|
132
|
-
* Required. Lookback
|
|
132
|
+
* Required. Lookback window (in days) used for attribution in this source. Supported values are `7`, `30` & `40`.
|
|
133
133
|
*/
|
|
134
134
|
attributionLookbackWindowDays?: number | null;
|
|
135
|
+
/**
|
|
136
|
+
* Required. Attribution model.
|
|
137
|
+
*/
|
|
135
138
|
attributionModel?: string | null;
|
|
136
139
|
/**
|
|
137
140
|
* Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard "purchase" type will be automatically created if this list is empty at creation time.
|
|
@@ -159,7 +162,7 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
159
162
|
*/
|
|
160
163
|
merchantCenterDestination?: Schema$MerchantCenterDestination;
|
|
161
164
|
/**
|
|
162
|
-
* Output only. Identifier. Generated by the Content API upon creation of a new `ConversionSource`. Format: [a-z]{4\}
|
|
165
|
+
* Output only. Identifier. Generated by the Content API upon creation of a new `ConversionSource`. Format: `[a-z]{4\}:.+` The four characters before the colon represent the type of conversion source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported: * `galk`: For GoogleAnalyticsLink sources. * `mcdn`: For MerchantCenterDestination sources.
|
|
163
166
|
*/
|
|
164
167
|
name?: string | null;
|
|
165
168
|
/**
|
|
@@ -168,7 +171,7 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
168
171
|
state?: string | null;
|
|
169
172
|
}
|
|
170
173
|
/**
|
|
171
|
-
* Message representing
|
|
174
|
+
* Message representing the type of a conversion event.
|
|
172
175
|
*/
|
|
173
176
|
export interface Schema$ConversionType {
|
|
174
177
|
/**
|
|
@@ -219,7 +222,7 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
219
222
|
*/
|
|
220
223
|
export interface Schema$MerchantCenterDestination {
|
|
221
224
|
/**
|
|
222
|
-
* Required. Attribution settings
|
|
225
|
+
* Required. Attribution settings used for the Merchant Center Destination.
|
|
223
226
|
*/
|
|
224
227
|
attributionSettings?: Schema$AttributionSettings;
|
|
225
228
|
/**
|
|
@@ -231,7 +234,7 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
231
234
|
*/
|
|
232
235
|
destination?: string | null;
|
|
233
236
|
/**
|
|
234
|
-
* Required. Merchant-specified display name for the destination. This is the name that identifies the conversion source within the Merchant Center UI.
|
|
237
|
+
* Required. Merchant-specified display name for the destination. This is the name that identifies the conversion source within the Merchant Center UI. The maximum length is 64 characters.
|
|
235
238
|
*/
|
|
236
239
|
displayName?: string | null;
|
|
237
240
|
}
|
|
@@ -240,19 +243,19 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
240
243
|
*/
|
|
241
244
|
export interface Schema$ProductChange {
|
|
242
245
|
/**
|
|
243
|
-
* The new value of the changed resource or attribute.
|
|
246
|
+
* The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
|
|
244
247
|
*/
|
|
245
248
|
newValue?: string | null;
|
|
246
249
|
/**
|
|
247
|
-
* The old value of the changed resource or attribute.
|
|
250
|
+
* The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
|
|
248
251
|
*/
|
|
249
252
|
oldValue?: string | null;
|
|
250
253
|
/**
|
|
251
|
-
* Countries that have the change (if applicable)
|
|
254
|
+
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
|
|
252
255
|
*/
|
|
253
256
|
regionCode?: string | null;
|
|
254
257
|
/**
|
|
255
|
-
* Reporting contexts that have the change (if applicable)
|
|
258
|
+
* Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
|
|
256
259
|
*/
|
|
257
260
|
reportingContext?: string | null;
|
|
258
261
|
}
|
|
@@ -273,7 +276,11 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
273
276
|
*/
|
|
274
277
|
changes?: Schema$ProductChange[];
|
|
275
278
|
/**
|
|
276
|
-
* The
|
|
279
|
+
* The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
|
|
280
|
+
*/
|
|
281
|
+
eventTime?: string | null;
|
|
282
|
+
/**
|
|
283
|
+
* Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
|
|
277
284
|
*/
|
|
278
285
|
expirationTime?: string | null;
|
|
279
286
|
/**
|
|
@@ -281,7 +288,7 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
281
288
|
*/
|
|
282
289
|
managingAccount?: string | null;
|
|
283
290
|
/**
|
|
284
|
-
* The product name. Format: `
|
|
291
|
+
* The product name. Format: `accounts/{account\}/products/{product\}`
|
|
285
292
|
*/
|
|
286
293
|
resource?: string | null;
|
|
287
294
|
/**
|
|
@@ -854,7 +861,7 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
854
861
|
export interface Params$Resource$Accounts$Conversionsources$Create
|
|
855
862
|
extends StandardParameters {
|
|
856
863
|
/**
|
|
857
|
-
* Required. The merchant account that will own the new conversion source. Format: accounts/{account\}
|
|
864
|
+
* Required. The merchant account that will own the new conversion source. Format: `accounts/{account\}`
|
|
858
865
|
*/
|
|
859
866
|
parent?: string;
|
|
860
867
|
|
|
@@ -866,14 +873,14 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
866
873
|
export interface Params$Resource$Accounts$Conversionsources$Delete
|
|
867
874
|
extends StandardParameters {
|
|
868
875
|
/**
|
|
869
|
-
* Required. The name of the conversion source to be deleted. Format: accounts/{account\}/conversionSources/{conversion_source\}
|
|
876
|
+
* Required. The name of the conversion source to be deleted. Format: `accounts/{account\}/conversionSources/{conversion_source\}`
|
|
870
877
|
*/
|
|
871
878
|
name?: string;
|
|
872
879
|
}
|
|
873
880
|
export interface Params$Resource$Accounts$Conversionsources$Get
|
|
874
881
|
extends StandardParameters {
|
|
875
882
|
/**
|
|
876
|
-
* Required. The name of the conversion source to be fetched. Format: accounts/{account\}/conversionSources/{conversion_source\}
|
|
883
|
+
* Required. The name of the conversion source to be fetched. Format: `accounts/{account\}/conversionSources/{conversion_source\}`
|
|
877
884
|
*/
|
|
878
885
|
name?: string;
|
|
879
886
|
}
|
|
@@ -888,18 +895,18 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
888
895
|
*/
|
|
889
896
|
pageToken?: string;
|
|
890
897
|
/**
|
|
891
|
-
* Required. The merchant account who owns the collection of conversion sources. Format: accounts/{account\}
|
|
898
|
+
* Required. The merchant account who owns the collection of conversion sources. Format: `accounts/{account\}`
|
|
892
899
|
*/
|
|
893
900
|
parent?: string;
|
|
894
901
|
/**
|
|
895
|
-
* Optional. Show deleted (archived)
|
|
902
|
+
* Optional. Show deleted (archived) conversion sources. By default, deleted conversion sources are not returned.
|
|
896
903
|
*/
|
|
897
904
|
showDeleted?: boolean;
|
|
898
905
|
}
|
|
899
906
|
export interface Params$Resource$Accounts$Conversionsources$Patch
|
|
900
907
|
extends StandardParameters {
|
|
901
908
|
/**
|
|
902
|
-
* Output only. Identifier. Generated by the Content API upon creation of a new `ConversionSource`. Format: [a-z]{4\}
|
|
909
|
+
* Output only. Identifier. Generated by the Content API upon creation of a new `ConversionSource`. Format: `[a-z]{4\}:.+` The four characters before the colon represent the type of conversion source. Content after the colon represents the ID of the conversion source within that type. The ID of two different conversion sources might be the same across different types. The following type prefixes are supported: * `galk`: For GoogleAnalyticsLink sources. * `mcdn`: For MerchantCenterDestination sources.
|
|
903
910
|
*/
|
|
904
911
|
name?: string;
|
|
905
912
|
/**
|
|
@@ -915,7 +922,7 @@ export namespace merchantapi_conversions_v1beta {
|
|
|
915
922
|
export interface Params$Resource$Accounts$Conversionsources$Undelete
|
|
916
923
|
extends StandardParameters {
|
|
917
924
|
/**
|
|
918
|
-
* Required. The name of the conversion source to be undeleted. Format: accounts/{account\}/conversionSources/{conversion_source\}
|
|
925
|
+
* Required. The name of the conversion source to be undeleted. Format: `accounts/{account\}/conversionSources/{conversion_source\}`
|
|
919
926
|
*/
|
|
920
927
|
name?: string;
|
|
921
928
|
|
package/datasources_v1beta.ts
CHANGED
|
@@ -125,7 +125,7 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
|
-
* The [data source](
|
|
128
|
+
* The [data source](/merchant/api/guides/data-sources/overview) for the Merchant Center account.
|
|
129
129
|
*/
|
|
130
130
|
export interface Schema$DataSource {
|
|
131
131
|
/**
|
|
@@ -153,7 +153,7 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
153
153
|
*/
|
|
154
154
|
merchantReviewDataSource?: Schema$MerchantReviewDataSource;
|
|
155
155
|
/**
|
|
156
|
-
* Identifier. The name of the data source. Format: `
|
|
156
|
+
* Required. Identifier. The name of the data source. Format: `accounts/{account\}/dataSources/{datasource\}`
|
|
157
157
|
*/
|
|
158
158
|
name?: string | null;
|
|
159
159
|
/**
|
|
@@ -203,6 +203,19 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
203
203
|
*/
|
|
204
204
|
takeFromDataSources?: Schema$DataSourceReference[];
|
|
205
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* Destinations also known as [Marketing methods](https://support.google.com/merchants/answer/15130232) selections.
|
|
208
|
+
*/
|
|
209
|
+
export interface Schema$Destination {
|
|
210
|
+
/**
|
|
211
|
+
* [Marketing methods](https://support.google.com/merchants/answer/15130232) (also known as destination) selections.
|
|
212
|
+
*/
|
|
213
|
+
destination?: string | null;
|
|
214
|
+
/**
|
|
215
|
+
* The state of the destination.
|
|
216
|
+
*/
|
|
217
|
+
state?: string | null;
|
|
218
|
+
}
|
|
206
219
|
/**
|
|
207
220
|
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
|
|
208
221
|
*/
|
|
@@ -370,7 +383,7 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
370
383
|
*/
|
|
371
384
|
export interface Schema$PrimaryProductDataSource {
|
|
372
385
|
/**
|
|
373
|
-
*
|
|
386
|
+
* Optional. Immutable. Specifies the type of data source channel.
|
|
374
387
|
*/
|
|
375
388
|
channel?: string | null;
|
|
376
389
|
/**
|
|
@@ -385,6 +398,10 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
385
398
|
* Optional. Default rule management of the data source. If set, the linked data sources will be replaced.
|
|
386
399
|
*/
|
|
387
400
|
defaultRule?: Schema$DefaultRule;
|
|
401
|
+
/**
|
|
402
|
+
* Optional. A list of destinations describing where products of the data source can be shown. When retrieving the data source, the list contains all the destinations that can be used for the data source, including the ones that are disabled for the data source but enabled for the account. Only destinations that are enabled on the account, for example through program participation, can be enabled on the data source. If unset, during creation, the destinations will be inherited based on the account level program participation. If set, during creation or update, the data source will be set only for the specified destinations. Updating this field requires at least one destination.
|
|
403
|
+
*/
|
|
404
|
+
destinations?: Schema$Destination[];
|
|
388
405
|
/**
|
|
389
406
|
* Optional. Immutable. The feed label that is specified on the data source level. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). See also [migration to feed labels](https://developers.google.com/shopping-content/guides/products/feed-labels). `feedLabel` and `contentLanguage` must be either both set or unset for data sources with product content type. They must be set for data sources with a file input. If set, the data source will only accept products matching this combination. If unset, the data source will accept products without that restriction.
|
|
390
407
|
*/
|
|
@@ -395,19 +412,19 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
395
412
|
*/
|
|
396
413
|
export interface Schema$ProductChange {
|
|
397
414
|
/**
|
|
398
|
-
* The new value of the changed resource or attribute.
|
|
415
|
+
* The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
|
|
399
416
|
*/
|
|
400
417
|
newValue?: string | null;
|
|
401
418
|
/**
|
|
402
|
-
* The old value of the changed resource or attribute.
|
|
419
|
+
* The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
|
|
403
420
|
*/
|
|
404
421
|
oldValue?: string | null;
|
|
405
422
|
/**
|
|
406
|
-
* Countries that have the change (if applicable)
|
|
423
|
+
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
|
|
407
424
|
*/
|
|
408
425
|
regionCode?: string | null;
|
|
409
426
|
/**
|
|
410
|
-
* Reporting contexts that have the change (if applicable)
|
|
427
|
+
* Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
|
|
411
428
|
*/
|
|
412
429
|
reportingContext?: string | null;
|
|
413
430
|
}
|
|
@@ -432,7 +449,11 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
432
449
|
*/
|
|
433
450
|
changes?: Schema$ProductChange[];
|
|
434
451
|
/**
|
|
435
|
-
* The
|
|
452
|
+
* The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
|
|
453
|
+
*/
|
|
454
|
+
eventTime?: string | null;
|
|
455
|
+
/**
|
|
456
|
+
* Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
|
|
436
457
|
*/
|
|
437
458
|
expirationTime?: string | null;
|
|
438
459
|
/**
|
|
@@ -440,7 +461,7 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
440
461
|
*/
|
|
441
462
|
managingAccount?: string | null;
|
|
442
463
|
/**
|
|
443
|
-
* The product name. Format: `
|
|
464
|
+
* The product name. Format: `accounts/{account\}/products/{product\}`
|
|
444
465
|
*/
|
|
445
466
|
resource?: string | null;
|
|
446
467
|
/**
|
|
@@ -1124,7 +1145,7 @@ export namespace merchantapi_datasources_v1beta {
|
|
|
1124
1145
|
export interface Params$Resource$Accounts$Datasources$Patch
|
|
1125
1146
|
extends StandardParameters {
|
|
1126
1147
|
/**
|
|
1127
|
-
* Identifier. The name of the data source. Format: `
|
|
1148
|
+
* Required. Identifier. The name of the data source. Format: `accounts/{account\}/dataSources/{datasource\}`
|
|
1128
1149
|
*/
|
|
1129
1150
|
name?: string;
|
|
1130
1151
|
/**
|
package/inventories_v1beta.ts
CHANGED
|
@@ -255,19 +255,19 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
255
255
|
*/
|
|
256
256
|
export interface Schema$ProductChange {
|
|
257
257
|
/**
|
|
258
|
-
* The new value of the changed resource or attribute.
|
|
258
|
+
* The new value of the changed resource or attribute. If empty, it means that the product was deleted. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
|
|
259
259
|
*/
|
|
260
260
|
newValue?: string | null;
|
|
261
261
|
/**
|
|
262
|
-
* The old value of the changed resource or attribute.
|
|
262
|
+
* The old value of the changed resource or attribute. If empty, it means that the product was created. Will have one of these values : (`approved`, `pending`, `disapproved`, ``)
|
|
263
263
|
*/
|
|
264
264
|
oldValue?: string | null;
|
|
265
265
|
/**
|
|
266
|
-
* Countries that have the change (if applicable)
|
|
266
|
+
* Countries that have the change (if applicable). Represented in the ISO 3166 format.
|
|
267
267
|
*/
|
|
268
268
|
regionCode?: string | null;
|
|
269
269
|
/**
|
|
270
|
-
* Reporting contexts that have the change (if applicable)
|
|
270
|
+
* Reporting contexts that have the change (if applicable). Currently this field supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/ReportingContextEnum)
|
|
271
271
|
*/
|
|
272
272
|
reportingContext?: string | null;
|
|
273
273
|
}
|
|
@@ -288,7 +288,11 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
288
288
|
*/
|
|
289
289
|
changes?: Schema$ProductChange[];
|
|
290
290
|
/**
|
|
291
|
-
* The
|
|
291
|
+
* The time at which the event was generated. If you want to order the notification messages you receive you should rely on this field not on the order of receiving the notifications.
|
|
292
|
+
*/
|
|
293
|
+
eventTime?: string | null;
|
|
294
|
+
/**
|
|
295
|
+
* Optional. The product expiration time. This field will not bet set if the notification is sent for a product deletion event.
|
|
292
296
|
*/
|
|
293
297
|
expirationTime?: string | null;
|
|
294
298
|
/**
|
|
@@ -296,7 +300,7 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
296
300
|
*/
|
|
297
301
|
managingAccount?: string | null;
|
|
298
302
|
/**
|
|
299
|
-
* The product name. Format: `
|
|
303
|
+
* The product name. Format: `accounts/{account\}/products/{product\}`
|
|
300
304
|
*/
|
|
301
305
|
resource?: string | null;
|
|
302
306
|
/**
|
|
@@ -317,7 +321,7 @@ export namespace merchantapi_inventories_v1beta {
|
|
|
317
321
|
*/
|
|
318
322
|
account?: string | null;
|
|
319
323
|
/**
|
|
320
|
-
* Availability of the product in this region. For accepted attribute values, see the [regional product inventory data specification](https://support.google.com/merchants/answer/
|
|
324
|
+
* Availability of the product in this region. For accepted attribute values, see the [regional product inventory data specification](https://support.google.com/merchants/answer/6324448).
|
|
321
325
|
*/
|
|
322
326
|
availability?: string | null;
|
|
323
327
|
/**
|