Debian Codegraph @

docs/dyn/content_v2_1.datafeeds.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="content_v2_1.html">Content API for Shopping</a> . <a href="content_v2_1.datafeeds.html">datafeeds</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#custombatch">custombatch(body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Deletes, fetches, gets, inserts and updates multiple datafeeds in a single request.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(merchantId, datafeedId, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a datafeed configuration from your Merchant Center account.</p>
86 <p class="toc_element">
87 <code><a href="#fetchnow">fetchnow(merchantId, datafeedId, x__xgafv=None)</a></code></p>
88 <p class="firstline">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](https://developers.google.com/shopping-content/reference/rest/v2.1/products) to update your product data.</p>
89 <p class="toc_element">
90 <code><a href="#get">get(merchantId, datafeedId, x__xgafv=None)</a></code></p>
91 <p class="firstline">Retrieves a datafeed configuration from your Merchant Center account.</p>
92 <p class="toc_element">
93 <code><a href="#insert">insert(merchantId, body=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Registers a datafeed configuration with your Merchant Center account.</p>
95 <p class="toc_element">
96 <code><a href="#list">list(merchantId, maxResults=None, pageToken=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Lists the configurations for datafeeds in your Merchant Center account.</p>
98 <p class="toc_element">
99 <code><a href="#list_next">list_next()</a></code></p>
100 <p class="firstline">Retrieves the next page of results.</p>
101 <p class="toc_element">
102 <code><a href="#update">update(merchantId, datafeedId, body=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Updates a datafeed configuration of your Merchant Center account. Any fields that are not provided are deleted from the resource.</p>
104 <h3>Method Details</h3>
105 <div class="method">
106 <code class="details" id="close">close()</code>
107 <pre>Close httplib2 connections.</pre>
108 </div>
109
110 <div class="method">
111 <code class="details" id="custombatch">custombatch(body=None, x__xgafv=None)</code>
112 <pre>Deletes, fetches, gets, inserts and updates multiple datafeeds in a single request.
113
114 Args:
115 body: object, The request body.
116 The object takes the form of:
117
118 {
119 &quot;entries&quot;: [ # The request entries to be processed in the batch.
120 { # A batch entry encoding a single non-batch datafeeds request.
121 &quot;batchId&quot;: 42, # An entry ID, unique within the batch request.
122 &quot;datafeed&quot;: { # Datafeed configuration data. # The data feed to insert.
123 &quot;attributeLanguage&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
124 &quot;contentType&quot;: &quot;A String&quot;, # Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. Acceptable values are: - &quot;`local products`&quot; - &quot;`product inventory`&quot; - &quot;`products`&quot;
125 &quot;fetchSchedule&quot;: { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
126 &quot;dayOfMonth&quot;: 42, # The day of the month the feed file should be fetched (1-31).
127 &quot;fetchUrl&quot;: &quot;A String&quot;, # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
128 &quot;hour&quot;: 42, # The hour of the day the feed file should be fetched (0-23).
129 &quot;minuteOfHour&quot;: 42, # The minute of the hour the feed file should be fetched (0-59). Read-only.
130 &quot;password&quot;: &quot;A String&quot;, # An optional password for fetch_url.
131 &quot;paused&quot;: True or False, # Whether the scheduled fetch is paused or not.
132 &quot;timeZone&quot;: &quot;A String&quot;, # Time zone used for schedule. UTC by default. For example, &quot;America/Los_Angeles&quot;.
133 &quot;username&quot;: &quot;A String&quot;, # An optional user name for fetch_url.
134 &quot;weekday&quot;: &quot;A String&quot;, # The day of the week the feed file should be fetched. Acceptable values are: - &quot;`monday`&quot; - &quot;`tuesday`&quot; - &quot;`wednesday`&quot; - &quot;`thursday`&quot; - &quot;`friday`&quot; - &quot;`saturday`&quot; - &quot;`sunday`&quot;
135 },
136 &quot;fileName&quot;: &quot;A String&quot;, # Required. The filename of the feed. All feeds must have a unique file name.
137 &quot;format&quot;: { # Format of the feed file.
138 &quot;columnDelimiter&quot;: &quot;A String&quot;, # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - &quot;`pipe`&quot; - &quot;`tab`&quot; - &quot;`tilde`&quot;
139 &quot;fileEncoding&quot;: &quot;A String&quot;, # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected. Acceptable values are: - &quot;`latin-1`&quot; - &quot;`utf-16be`&quot; - &quot;`utf-16le`&quot; - &quot;`utf-8`&quot; - &quot;`windows-1252`&quot;
140 &quot;quotingMode&quot;: &quot;A String&quot;, # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - &quot;`normal character`&quot; - &quot;`value quoting`&quot;
141 },
142 &quot;id&quot;: &quot;A String&quot;, # Required for update. The ID of the data feed.
143 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#datafeed`&quot;
144 &quot;name&quot;: &quot;A String&quot;, # Required for insert. A descriptive name of the data feed.
145 &quot;targets&quot;: [ # The targets this feed should apply to (country, language, destinations).
146 {
147 &quot;country&quot;: &quot;A String&quot;, # Deprecated. Use `feedLabel` instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.
148 &quot;excludedDestinations&quot;: [ # The list of [destinations to exclude](//support.google.com/merchants/answer/6324486) for this target (corresponds to cleared check boxes in Merchant Center). Products that are excluded from all destinations for more than 7 days are automatically deleted.
149 &quot;A String&quot;,
150 ],
151 &quot;feedLabel&quot;: &quot;A String&quot;, # Feed label for the DatafeedTarget. Either `country` or `feedLabel` is required. If both `feedLabel` and `country` is specified, the values must match. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
152 &quot;includedDestinations&quot;: [ # The list of [destinations to include](//support.google.com/merchants/answer/7501026) for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.
153 &quot;A String&quot;,
154 ],
155 &quot;language&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targets[].country`.
156 &quot;targetCountries&quot;: [ # The countries where the items may be displayed. Represented as a CLDR territory code. Will be ignored for &quot;product inventory&quot; feeds.
157 &quot;A String&quot;,
158 ],
159 },
160 ],
161 },
162 &quot;datafeedId&quot;: &quot;A String&quot;, # The ID of the data feed to get, delete or fetch.
163 &quot;merchantId&quot;: &quot;A String&quot;, # The ID of the managing account.
164 &quot;method&quot;: &quot;A String&quot;, # The method of the batch entry. Acceptable values are: - &quot;`delete`&quot; - &quot;`fetchNow`&quot; - &quot;`get`&quot; - &quot;`insert`&quot; - &quot;`update`&quot;
165 },
166 ],
167 }
168
169 x__xgafv: string, V1 error format.
170 Allowed values
171 1 - v1 error format
172 2 - v2 error format
173
174 Returns:
175 An object of the form:
176
177 {
178 &quot;entries&quot;: [ # The result of the execution of the batch requests.
179 { # A batch entry encoding a single non-batch datafeeds response.
180 &quot;batchId&quot;: 42, # The ID of the request entry this entry responds to.
181 &quot;datafeed&quot;: { # Datafeed configuration data. # The requested data feed. Defined if and only if the request was successful.
182 &quot;attributeLanguage&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
183 &quot;contentType&quot;: &quot;A String&quot;, # Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. Acceptable values are: - &quot;`local products`&quot; - &quot;`product inventory`&quot; - &quot;`products`&quot;
184 &quot;fetchSchedule&quot;: { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
185 &quot;dayOfMonth&quot;: 42, # The day of the month the feed file should be fetched (1-31).
186 &quot;fetchUrl&quot;: &quot;A String&quot;, # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
187 &quot;hour&quot;: 42, # The hour of the day the feed file should be fetched (0-23).
188 &quot;minuteOfHour&quot;: 42, # The minute of the hour the feed file should be fetched (0-59). Read-only.
189 &quot;password&quot;: &quot;A String&quot;, # An optional password for fetch_url.
190 &quot;paused&quot;: True or False, # Whether the scheduled fetch is paused or not.
191 &quot;timeZone&quot;: &quot;A String&quot;, # Time zone used for schedule. UTC by default. For example, &quot;America/Los_Angeles&quot;.
192 &quot;username&quot;: &quot;A String&quot;, # An optional user name for fetch_url.
193 &quot;weekday&quot;: &quot;A String&quot;, # The day of the week the feed file should be fetched. Acceptable values are: - &quot;`monday`&quot; - &quot;`tuesday`&quot; - &quot;`wednesday`&quot; - &quot;`thursday`&quot; - &quot;`friday`&quot; - &quot;`saturday`&quot; - &quot;`sunday`&quot;
194 },
195 &quot;fileName&quot;: &quot;A String&quot;, # Required. The filename of the feed. All feeds must have a unique file name.
196 &quot;format&quot;: { # Format of the feed file.
197 &quot;columnDelimiter&quot;: &quot;A String&quot;, # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - &quot;`pipe`&quot; - &quot;`tab`&quot; - &quot;`tilde`&quot;
198 &quot;fileEncoding&quot;: &quot;A String&quot;, # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected. Acceptable values are: - &quot;`latin-1`&quot; - &quot;`utf-16be`&quot; - &quot;`utf-16le`&quot; - &quot;`utf-8`&quot; - &quot;`windows-1252`&quot;
199 &quot;quotingMode&quot;: &quot;A String&quot;, # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - &quot;`normal character`&quot; - &quot;`value quoting`&quot;
200 },
201 &quot;id&quot;: &quot;A String&quot;, # Required for update. The ID of the data feed.
202 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#datafeed`&quot;
203 &quot;name&quot;: &quot;A String&quot;, # Required for insert. A descriptive name of the data feed.
204 &quot;targets&quot;: [ # The targets this feed should apply to (country, language, destinations).
205 {
206 &quot;country&quot;: &quot;A String&quot;, # Deprecated. Use `feedLabel` instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.
207 &quot;excludedDestinations&quot;: [ # The list of [destinations to exclude](//support.google.com/merchants/answer/6324486) for this target (corresponds to cleared check boxes in Merchant Center). Products that are excluded from all destinations for more than 7 days are automatically deleted.
208 &quot;A String&quot;,
209 ],
210 &quot;feedLabel&quot;: &quot;A String&quot;, # Feed label for the DatafeedTarget. Either `country` or `feedLabel` is required. If both `feedLabel` and `country` is specified, the values must match. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
211 &quot;includedDestinations&quot;: [ # The list of [destinations to include](//support.google.com/merchants/answer/7501026) for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.
212 &quot;A String&quot;,
213 ],
214 &quot;language&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targets[].country`.
215 &quot;targetCountries&quot;: [ # The countries where the items may be displayed. Represented as a CLDR territory code. Will be ignored for &quot;product inventory&quot; feeds.
216 &quot;A String&quot;,
217 ],
218 },
219 ],
220 },
221 &quot;errors&quot;: { # A list of errors returned by a failed batch entry. # A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request.
222 &quot;code&quot;: 42, # The HTTP status of the first error in `errors`.
223 &quot;errors&quot;: [ # A list of errors.
224 { # An error returned by the API.
225 &quot;domain&quot;: &quot;A String&quot;, # The domain of the error.
226 &quot;message&quot;: &quot;A String&quot;, # A description of the error.
227 &quot;reason&quot;: &quot;A String&quot;, # The error code.
228 },
229 ],
230 &quot;message&quot;: &quot;A String&quot;, # The message of the first error in `errors`.
231 },
232 },
233 ],
234 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#datafeedsCustomBatchResponse`&quot;.
235 }</pre>
236 </div>
237
238 <div class="method">
239 <code class="details" id="delete">delete(merchantId, datafeedId, x__xgafv=None)</code>
240 <pre>Deletes a datafeed configuration from your Merchant Center account.
241
242 Args:
243 merchantId: string, The ID of the account that manages the datafeed. This account cannot be a multi-client account. (required)
244 datafeedId: string, The ID of the datafeed. (required)
245 x__xgafv: string, V1 error format.
246 Allowed values
247 1 - v1 error format
248 2 - v2 error format
249 </pre>
250 </div>
251
252 <div class="method">
253 <code class="details" id="fetchnow">fetchnow(merchantId, datafeedId, x__xgafv=None)</code>
254 <pre>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](https://developers.google.com/shopping-content/reference/rest/v2.1/products) to update your product data.
255
256 Args:
257 merchantId: string, The ID of the account that manages the datafeed. This account cannot be a multi-client account. (required)
258 datafeedId: string, The ID of the datafeed to be fetched. (required)
259 x__xgafv: string, V1 error format.
260 Allowed values
261 1 - v1 error format
262 2 - v2 error format
263
264 Returns:
265 An object of the form:
266
267 {
268 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#datafeedsFetchNowResponse`&quot;.
269 }</pre>
270 </div>
271
272 <div class="method">
273 <code class="details" id="get">get(merchantId, datafeedId, x__xgafv=None)</code>
274 <pre>Retrieves a datafeed configuration from your Merchant Center account.
275
276 Args:
277 merchantId: string, The ID of the account that manages the datafeed. This account cannot be a multi-client account. (required)
278 datafeedId: string, The ID of the datafeed. (required)
279 x__xgafv: string, V1 error format.
280 Allowed values
281 1 - v1 error format
282 2 - v2 error format
283
284 Returns:
285 An object of the form:
286
287 { # Datafeed configuration data.
288 &quot;attributeLanguage&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
289 &quot;contentType&quot;: &quot;A String&quot;, # Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. Acceptable values are: - &quot;`local products`&quot; - &quot;`product inventory`&quot; - &quot;`products`&quot;
290 &quot;fetchSchedule&quot;: { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
291 &quot;dayOfMonth&quot;: 42, # The day of the month the feed file should be fetched (1-31).
292 &quot;fetchUrl&quot;: &quot;A String&quot;, # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
293 &quot;hour&quot;: 42, # The hour of the day the feed file should be fetched (0-23).
294 &quot;minuteOfHour&quot;: 42, # The minute of the hour the feed file should be fetched (0-59). Read-only.
295 &quot;password&quot;: &quot;A String&quot;, # An optional password for fetch_url.
296 &quot;paused&quot;: True or False, # Whether the scheduled fetch is paused or not.
297 &quot;timeZone&quot;: &quot;A String&quot;, # Time zone used for schedule. UTC by default. For example, &quot;America/Los_Angeles&quot;.
298 &quot;username&quot;: &quot;A String&quot;, # An optional user name for fetch_url.
299 &quot;weekday&quot;: &quot;A String&quot;, # The day of the week the feed file should be fetched. Acceptable values are: - &quot;`monday`&quot; - &quot;`tuesday`&quot; - &quot;`wednesday`&quot; - &quot;`thursday`&quot; - &quot;`friday`&quot; - &quot;`saturday`&quot; - &quot;`sunday`&quot;
300 },
301 &quot;fileName&quot;: &quot;A String&quot;, # Required. The filename of the feed. All feeds must have a unique file name.
302 &quot;format&quot;: { # Format of the feed file.
303 &quot;columnDelimiter&quot;: &quot;A String&quot;, # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - &quot;`pipe`&quot; - &quot;`tab`&quot; - &quot;`tilde`&quot;
304 &quot;fileEncoding&quot;: &quot;A String&quot;, # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected. Acceptable values are: - &quot;`latin-1`&quot; - &quot;`utf-16be`&quot; - &quot;`utf-16le`&quot; - &quot;`utf-8`&quot; - &quot;`windows-1252`&quot;
305 &quot;quotingMode&quot;: &quot;A String&quot;, # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - &quot;`normal character`&quot; - &quot;`value quoting`&quot;
306 },
307 &quot;id&quot;: &quot;A String&quot;, # Required for update. The ID of the data feed.
308 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#datafeed`&quot;
309 &quot;name&quot;: &quot;A String&quot;, # Required for insert. A descriptive name of the data feed.
310 &quot;targets&quot;: [ # The targets this feed should apply to (country, language, destinations).
311 {
312 &quot;country&quot;: &quot;A String&quot;, # Deprecated. Use `feedLabel` instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.
313 &quot;excludedDestinations&quot;: [ # The list of [destinations to exclude](//support.google.com/merchants/answer/6324486) for this target (corresponds to cleared check boxes in Merchant Center). Products that are excluded from all destinations for more than 7 days are automatically deleted.
314 &quot;A String&quot;,
315 ],
316 &quot;feedLabel&quot;: &quot;A String&quot;, # Feed label for the DatafeedTarget. Either `country` or `feedLabel` is required. If both `feedLabel` and `country` is specified, the values must match. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
317 &quot;includedDestinations&quot;: [ # The list of [destinations to include](//support.google.com/merchants/answer/7501026) for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.
318 &quot;A String&quot;,
319 ],
320 &quot;language&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targets[].country`.
321 &quot;targetCountries&quot;: [ # The countries where the items may be displayed. Represented as a CLDR territory code. Will be ignored for &quot;product inventory&quot; feeds.
322 &quot;A String&quot;,
323 ],
324 },
325 ],
326 }</pre>
327 </div>
328
329 <div class="method">
330 <code class="details" id="insert">insert(merchantId, body=None, x__xgafv=None)</code>
331 <pre>Registers a datafeed configuration with your Merchant Center account.
332
333 Args:
334 merchantId: string, The ID of the account that manages the datafeed. This account cannot be a multi-client account. (required)
335 body: object, The request body.
336 The object takes the form of:
337
338 { # Datafeed configuration data.
339 &quot;attributeLanguage&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
340 &quot;contentType&quot;: &quot;A String&quot;, # Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. Acceptable values are: - &quot;`local products`&quot; - &quot;`product inventory`&quot; - &quot;`products`&quot;
341 &quot;fetchSchedule&quot;: { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
342 &quot;dayOfMonth&quot;: 42, # The day of the month the feed file should be fetched (1-31).
343 &quot;fetchUrl&quot;: &quot;A String&quot;, # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
344 &quot;hour&quot;: 42, # The hour of the day the feed file should be fetched (0-23).
345 &quot;minuteOfHour&quot;: 42, # The minute of the hour the feed file should be fetched (0-59). Read-only.
346 &quot;password&quot;: &quot;A String&quot;, # An optional password for fetch_url.
347 &quot;paused&quot;: True or False, # Whether the scheduled fetch is paused or not.
348 &quot;timeZone&quot;: &quot;A String&quot;, # Time zone used for schedule. UTC by default. For example, &quot;America/Los_Angeles&quot;.
349 &quot;username&quot;: &quot;A String&quot;, # An optional user name for fetch_url.
350 &quot;weekday&quot;: &quot;A String&quot;, # The day of the week the feed file should be fetched. Acceptable values are: - &quot;`monday`&quot; - &quot;`tuesday`&quot; - &quot;`wednesday`&quot; - &quot;`thursday`&quot; - &quot;`friday`&quot; - &quot;`saturday`&quot; - &quot;`sunday`&quot;
351 },
352 &quot;fileName&quot;: &quot;A String&quot;, # Required. The filename of the feed. All feeds must have a unique file name.
353 &quot;format&quot;: { # Format of the feed file.
354 &quot;columnDelimiter&quot;: &quot;A String&quot;, # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - &quot;`pipe`&quot; - &quot;`tab`&quot; - &quot;`tilde`&quot;
355 &quot;fileEncoding&quot;: &quot;A String&quot;, # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected. Acceptable values are: - &quot;`latin-1`&quot; - &quot;`utf-16be`&quot; - &quot;`utf-16le`&quot; - &quot;`utf-8`&quot; - &quot;`windows-1252`&quot;
356 &quot;quotingMode&quot;: &quot;A String&quot;, # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - &quot;`normal character`&quot; - &quot;`value quoting`&quot;
357 },
358 &quot;id&quot;: &quot;A String&quot;, # Required for update. The ID of the data feed.
359 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#datafeed`&quot;
360 &quot;name&quot;: &quot;A String&quot;, # Required for insert. A descriptive name of the data feed.
361 &quot;targets&quot;: [ # The targets this feed should apply to (country, language, destinations).
362 {
363 &quot;country&quot;: &quot;A String&quot;, # Deprecated. Use `feedLabel` instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.
364 &quot;excludedDestinations&quot;: [ # The list of [destinations to exclude](//support.google.com/merchants/answer/6324486) for this target (corresponds to cleared check boxes in Merchant Center). Products that are excluded from all destinations for more than 7 days are automatically deleted.
365 &quot;A String&quot;,
366 ],
367 &quot;feedLabel&quot;: &quot;A String&quot;, # Feed label for the DatafeedTarget. Either `country` or `feedLabel` is required. If both `feedLabel` and `country` is specified, the values must match. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
368 &quot;includedDestinations&quot;: [ # The list of [destinations to include](//support.google.com/merchants/answer/7501026) for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.
369 &quot;A String&quot;,
370 ],
371 &quot;language&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targets[].country`.
372 &quot;targetCountries&quot;: [ # The countries where the items may be displayed. Represented as a CLDR territory code. Will be ignored for &quot;product inventory&quot; feeds.
373 &quot;A String&quot;,
374 ],
375 },
376 ],
377 }
378
379 x__xgafv: string, V1 error format.
380 Allowed values
381 1 - v1 error format
382 2 - v2 error format
383
384 Returns:
385 An object of the form:
386
387 { # Datafeed configuration data.
388 &quot;attributeLanguage&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
389 &quot;contentType&quot;: &quot;A String&quot;, # Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. Acceptable values are: - &quot;`local products`&quot; - &quot;`product inventory`&quot; - &quot;`products`&quot;
390 &quot;fetchSchedule&quot;: { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
391 &quot;dayOfMonth&quot;: 42, # The day of the month the feed file should be fetched (1-31).
392 &quot;fetchUrl&quot;: &quot;A String&quot;, # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
393 &quot;hour&quot;: 42, # The hour of the day the feed file should be fetched (0-23).
394 &quot;minuteOfHour&quot;: 42, # The minute of the hour the feed file should be fetched (0-59). Read-only.
395 &quot;password&quot;: &quot;A String&quot;, # An optional password for fetch_url.
396 &quot;paused&quot;: True or False, # Whether the scheduled fetch is paused or not.
397 &quot;timeZone&quot;: &quot;A String&quot;, # Time zone used for schedule. UTC by default. For example, &quot;America/Los_Angeles&quot;.
398 &quot;username&quot;: &quot;A String&quot;, # An optional user name for fetch_url.
399 &quot;weekday&quot;: &quot;A String&quot;, # The day of the week the feed file should be fetched. Acceptable values are: - &quot;`monday`&quot; - &quot;`tuesday`&quot; - &quot;`wednesday`&quot; - &quot;`thursday`&quot; - &quot;`friday`&quot; - &quot;`saturday`&quot; - &quot;`sunday`&quot;
400 },
401 &quot;fileName&quot;: &quot;A String&quot;, # Required. The filename of the feed. All feeds must have a unique file name.
402 &quot;format&quot;: { # Format of the feed file.
403 &quot;columnDelimiter&quot;: &quot;A String&quot;, # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - &quot;`pipe`&quot; - &quot;`tab`&quot; - &quot;`tilde`&quot;
404 &quot;fileEncoding&quot;: &quot;A String&quot;, # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected. Acceptable values are: - &quot;`latin-1`&quot; - &quot;`utf-16be`&quot; - &quot;`utf-16le`&quot; - &quot;`utf-8`&quot; - &quot;`windows-1252`&quot;
405 &quot;quotingMode&quot;: &quot;A String&quot;, # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - &quot;`normal character`&quot; - &quot;`value quoting`&quot;
406 },
407 &quot;id&quot;: &quot;A String&quot;, # Required for update. The ID of the data feed.
408 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#datafeed`&quot;
409 &quot;name&quot;: &quot;A String&quot;, # Required for insert. A descriptive name of the data feed.
410 &quot;targets&quot;: [ # The targets this feed should apply to (country, language, destinations).
411 {
412 &quot;country&quot;: &quot;A String&quot;, # Deprecated. Use `feedLabel` instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.
413 &quot;excludedDestinations&quot;: [ # The list of [destinations to exclude](//support.google.com/merchants/answer/6324486) for this target (corresponds to cleared check boxes in Merchant Center). Products that are excluded from all destinations for more than 7 days are automatically deleted.
414 &quot;A String&quot;,
415 ],
416 &quot;feedLabel&quot;: &quot;A String&quot;, # Feed label for the DatafeedTarget. Either `country` or `feedLabel` is required. If both `feedLabel` and `country` is specified, the values must match. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
417 &quot;includedDestinations&quot;: [ # The list of [destinations to include](//support.google.com/merchants/answer/7501026) for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.
418 &quot;A String&quot;,
419 ],
420 &quot;language&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targets[].country`.
421 &quot;targetCountries&quot;: [ # The countries where the items may be displayed. Represented as a CLDR territory code. Will be ignored for &quot;product inventory&quot; feeds.
422 &quot;A String&quot;,
423 ],
424 },
425 ],
426 }</pre>
427 </div>
428
429 <div class="method">
430 <code class="details" id="list">list(merchantId, maxResults=None, pageToken=None, x__xgafv=None)</code>
431 <pre>Lists the configurations for datafeeds in your Merchant Center account.
432
433 Args:
434 merchantId: string, The ID of the account that manages the datafeeds. This account cannot be a multi-client account. (required)
435 maxResults: integer, The maximum number of products to return in the response, used for paging.
436 pageToken: string, The token returned by the previous request.
437 x__xgafv: string, V1 error format.
438 Allowed values
439 1 - v1 error format
440 2 - v2 error format
441
442 Returns:
443 An object of the form:
444
445 {
446 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#datafeedsListResponse`&quot;.
447 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token for the retrieval of the next page of datafeeds.
448 &quot;resources&quot;: [
449 { # Datafeed configuration data.
450 &quot;attributeLanguage&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
451 &quot;contentType&quot;: &quot;A String&quot;, # Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. Acceptable values are: - &quot;`local products`&quot; - &quot;`product inventory`&quot; - &quot;`products`&quot;
452 &quot;fetchSchedule&quot;: { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
453 &quot;dayOfMonth&quot;: 42, # The day of the month the feed file should be fetched (1-31).
454 &quot;fetchUrl&quot;: &quot;A String&quot;, # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
455 &quot;hour&quot;: 42, # The hour of the day the feed file should be fetched (0-23).
456 &quot;minuteOfHour&quot;: 42, # The minute of the hour the feed file should be fetched (0-59). Read-only.
457 &quot;password&quot;: &quot;A String&quot;, # An optional password for fetch_url.
458 &quot;paused&quot;: True or False, # Whether the scheduled fetch is paused or not.
459 &quot;timeZone&quot;: &quot;A String&quot;, # Time zone used for schedule. UTC by default. For example, &quot;America/Los_Angeles&quot;.
460 &quot;username&quot;: &quot;A String&quot;, # An optional user name for fetch_url.
461 &quot;weekday&quot;: &quot;A String&quot;, # The day of the week the feed file should be fetched. Acceptable values are: - &quot;`monday`&quot; - &quot;`tuesday`&quot; - &quot;`wednesday`&quot; - &quot;`thursday`&quot; - &quot;`friday`&quot; - &quot;`saturday`&quot; - &quot;`sunday`&quot;
462 },
463 &quot;fileName&quot;: &quot;A String&quot;, # Required. The filename of the feed. All feeds must have a unique file name.
464 &quot;format&quot;: { # Format of the feed file.
465 &quot;columnDelimiter&quot;: &quot;A String&quot;, # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - &quot;`pipe`&quot; - &quot;`tab`&quot; - &quot;`tilde`&quot;
466 &quot;fileEncoding&quot;: &quot;A String&quot;, # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected. Acceptable values are: - &quot;`latin-1`&quot; - &quot;`utf-16be`&quot; - &quot;`utf-16le`&quot; - &quot;`utf-8`&quot; - &quot;`windows-1252`&quot;
467 &quot;quotingMode&quot;: &quot;A String&quot;, # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - &quot;`normal character`&quot; - &quot;`value quoting`&quot;
468 },
469 &quot;id&quot;: &quot;A String&quot;, # Required for update. The ID of the data feed.
470 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#datafeed`&quot;
471 &quot;name&quot;: &quot;A String&quot;, # Required for insert. A descriptive name of the data feed.
472 &quot;targets&quot;: [ # The targets this feed should apply to (country, language, destinations).
473 {
474 &quot;country&quot;: &quot;A String&quot;, # Deprecated. Use `feedLabel` instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.
475 &quot;excludedDestinations&quot;: [ # The list of [destinations to exclude](//support.google.com/merchants/answer/6324486) for this target (corresponds to cleared check boxes in Merchant Center). Products that are excluded from all destinations for more than 7 days are automatically deleted.
476 &quot;A String&quot;,
477 ],
478 &quot;feedLabel&quot;: &quot;A String&quot;, # Feed label for the DatafeedTarget. Either `country` or `feedLabel` is required. If both `feedLabel` and `country` is specified, the values must match. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
479 &quot;includedDestinations&quot;: [ # The list of [destinations to include](//support.google.com/merchants/answer/7501026) for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.
480 &quot;A String&quot;,
481 ],
482 &quot;language&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targets[].country`.
483 &quot;targetCountries&quot;: [ # The countries where the items may be displayed. Represented as a CLDR territory code. Will be ignored for &quot;product inventory&quot; feeds.
484 &quot;A String&quot;,
485 ],
486 },
487 ],
488 },
489 ],
490 }</pre>
491 </div>
492
493 <div class="method">
494 <code class="details" id="list_next">list_next()</code>
495 <pre>Retrieves the next page of results.
496
497 Args:
498 previous_request: The request for the previous page. (required)
499 previous_response: The response from the request for the previous page. (required)
500
501 Returns:
502 A request object that you can call &#x27;execute()&#x27; on to request the next
503 page. Returns None if there are no more items in the collection.
504 </pre>
505 </div>
506
507 <div class="method">
508 <code class="details" id="update">update(merchantId, datafeedId, body=None, x__xgafv=None)</code>
509 <pre>Updates a datafeed configuration of your Merchant Center account. Any fields that are not provided are deleted from the resource.
510
511 Args:
512 merchantId: string, The ID of the account that manages the datafeed. This account cannot be a multi-client account. (required)
513 datafeedId: string, The ID of the datafeed. (required)
514 body: object, The request body.
515 The object takes the form of:
516
517 { # Datafeed configuration data.
518 &quot;attributeLanguage&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
519 &quot;contentType&quot;: &quot;A String&quot;, # Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. Acceptable values are: - &quot;`local products`&quot; - &quot;`product inventory`&quot; - &quot;`products`&quot;
520 &quot;fetchSchedule&quot;: { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
521 &quot;dayOfMonth&quot;: 42, # The day of the month the feed file should be fetched (1-31).
522 &quot;fetchUrl&quot;: &quot;A String&quot;, # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
523 &quot;hour&quot;: 42, # The hour of the day the feed file should be fetched (0-23).
524 &quot;minuteOfHour&quot;: 42, # The minute of the hour the feed file should be fetched (0-59). Read-only.
525 &quot;password&quot;: &quot;A String&quot;, # An optional password for fetch_url.
526 &quot;paused&quot;: True or False, # Whether the scheduled fetch is paused or not.
527 &quot;timeZone&quot;: &quot;A String&quot;, # Time zone used for schedule. UTC by default. For example, &quot;America/Los_Angeles&quot;.
528 &quot;username&quot;: &quot;A String&quot;, # An optional user name for fetch_url.
529 &quot;weekday&quot;: &quot;A String&quot;, # The day of the week the feed file should be fetched. Acceptable values are: - &quot;`monday`&quot; - &quot;`tuesday`&quot; - &quot;`wednesday`&quot; - &quot;`thursday`&quot; - &quot;`friday`&quot; - &quot;`saturday`&quot; - &quot;`sunday`&quot;
530 },
531 &quot;fileName&quot;: &quot;A String&quot;, # Required. The filename of the feed. All feeds must have a unique file name.
532 &quot;format&quot;: { # Format of the feed file.
533 &quot;columnDelimiter&quot;: &quot;A String&quot;, # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - &quot;`pipe`&quot; - &quot;`tab`&quot; - &quot;`tilde`&quot;
534 &quot;fileEncoding&quot;: &quot;A String&quot;, # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected. Acceptable values are: - &quot;`latin-1`&quot; - &quot;`utf-16be`&quot; - &quot;`utf-16le`&quot; - &quot;`utf-8`&quot; - &quot;`windows-1252`&quot;
535 &quot;quotingMode&quot;: &quot;A String&quot;, # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - &quot;`normal character`&quot; - &quot;`value quoting`&quot;
536 },
537 &quot;id&quot;: &quot;A String&quot;, # Required for update. The ID of the data feed.
538 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#datafeed`&quot;
539 &quot;name&quot;: &quot;A String&quot;, # Required for insert. A descriptive name of the data feed.
540 &quot;targets&quot;: [ # The targets this feed should apply to (country, language, destinations).
541 {
542 &quot;country&quot;: &quot;A String&quot;, # Deprecated. Use `feedLabel` instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.
543 &quot;excludedDestinations&quot;: [ # The list of [destinations to exclude](//support.google.com/merchants/answer/6324486) for this target (corresponds to cleared check boxes in Merchant Center). Products that are excluded from all destinations for more than 7 days are automatically deleted.
544 &quot;A String&quot;,
545 ],
546 &quot;feedLabel&quot;: &quot;A String&quot;, # Feed label for the DatafeedTarget. Either `country` or `feedLabel` is required. If both `feedLabel` and `country` is specified, the values must match. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
547 &quot;includedDestinations&quot;: [ # The list of [destinations to include](//support.google.com/merchants/answer/7501026) for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.
548 &quot;A String&quot;,
549 ],
550 &quot;language&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targets[].country`.
551 &quot;targetCountries&quot;: [ # The countries where the items may be displayed. Represented as a CLDR territory code. Will be ignored for &quot;product inventory&quot; feeds.
552 &quot;A String&quot;,
553 ],
554 },
555 ],
556 }
557
558 x__xgafv: string, V1 error format.
559 Allowed values
560 1 - v1 error format
561 2 - v2 error format
562
563 Returns:
564 An object of the form:
565
566 { # Datafeed configuration data.
567 &quot;attributeLanguage&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
568 &quot;contentType&quot;: &quot;A String&quot;, # Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online stores, are supported. Acceptable values are: - &quot;`local products`&quot; - &quot;`product inventory`&quot; - &quot;`products`&quot;
569 &quot;fetchSchedule&quot;: { # The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required. # Fetch schedule for the feed file.
570 &quot;dayOfMonth&quot;: 42, # The day of the month the feed file should be fetched (1-31).
571 &quot;fetchUrl&quot;: &quot;A String&quot;, # The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
572 &quot;hour&quot;: 42, # The hour of the day the feed file should be fetched (0-23).
573 &quot;minuteOfHour&quot;: 42, # The minute of the hour the feed file should be fetched (0-59). Read-only.
574 &quot;password&quot;: &quot;A String&quot;, # An optional password for fetch_url.
575 &quot;paused&quot;: True or False, # Whether the scheduled fetch is paused or not.
576 &quot;timeZone&quot;: &quot;A String&quot;, # Time zone used for schedule. UTC by default. For example, &quot;America/Los_Angeles&quot;.
577 &quot;username&quot;: &quot;A String&quot;, # An optional user name for fetch_url.
578 &quot;weekday&quot;: &quot;A String&quot;, # The day of the week the feed file should be fetched. Acceptable values are: - &quot;`monday`&quot; - &quot;`tuesday`&quot; - &quot;`wednesday`&quot; - &quot;`thursday`&quot; - &quot;`friday`&quot; - &quot;`saturday`&quot; - &quot;`sunday`&quot;
579 },
580 &quot;fileName&quot;: &quot;A String&quot;, # Required. The filename of the feed. All feeds must have a unique file name.
581 &quot;format&quot;: { # Format of the feed file.
582 &quot;columnDelimiter&quot;: &quot;A String&quot;, # Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - &quot;`pipe`&quot; - &quot;`tab`&quot; - &quot;`tilde`&quot;
583 &quot;fileEncoding&quot;: &quot;A String&quot;, # Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected. Acceptable values are: - &quot;`latin-1`&quot; - &quot;`utf-16be`&quot; - &quot;`utf-16le`&quot; - &quot;`utf-8`&quot; - &quot;`windows-1252`&quot;
584 &quot;quotingMode&quot;: &quot;A String&quot;, # Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds. Acceptable values are: - &quot;`normal character`&quot; - &quot;`value quoting`&quot;
585 },
586 &quot;id&quot;: &quot;A String&quot;, # Required for update. The ID of the data feed.
587 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#datafeed`&quot;
588 &quot;name&quot;: &quot;A String&quot;, # Required for insert. A descriptive name of the data feed.
589 &quot;targets&quot;: [ # The targets this feed should apply to (country, language, destinations).
590 {
591 &quot;country&quot;: &quot;A String&quot;, # Deprecated. Use `feedLabel` instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.
592 &quot;excludedDestinations&quot;: [ # The list of [destinations to exclude](//support.google.com/merchants/answer/6324486) for this target (corresponds to cleared check boxes in Merchant Center). Products that are excluded from all destinations for more than 7 days are automatically deleted.
593 &quot;A String&quot;,
594 ],
595 &quot;feedLabel&quot;: &quot;A String&quot;, # Feed label for the DatafeedTarget. Either `country` or `feedLabel` is required. If both `feedLabel` and `country` is specified, the values must match. Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-).
596 &quot;includedDestinations&quot;: [ # The list of [destinations to include](//support.google.com/merchants/answer/7501026) for this target (corresponds to checked check boxes in Merchant Center). Default destinations are always included unless provided in `excludedDestinations`.
597 &quot;A String&quot;,
598 ],
599 &quot;language&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language of the items in the feed. Must be a valid language for `targets[].country`.
600 &quot;targetCountries&quot;: [ # The countries where the items may be displayed. Represented as a CLDR territory code. Will be ignored for &quot;product inventory&quot; feeds.
601 &quot;A String&quot;,
602 ],
603 },
604 ],
605 }</pre>
606 </div>
607
608 </body></html>