1<html><body>
2<style>
3
4body, 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
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, 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.html">Content API for Shopping</a> . <a href="content_v2.datafeedstatuses.html">datafeedstatuses</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">Gets multiple Merchant Center datafeed statuses in a single request.</p>
83<p class="toc_element">
84  <code><a href="#get">get(merchantId, datafeedId, country=None, language=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Retrieves the status of a datafeed from your Merchant Center account.</p>
86<p class="toc_element">
87  <code><a href="#list">list(merchantId, maxResults=None, pageToken=None, x__xgafv=None)</a></code></p>
88<p class="firstline">Lists the statuses of the datafeeds in your Merchant Center account.</p>
89<p class="toc_element">
90  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<h3>Method Details</h3>
93<div class="method">
94    <code class="details" id="close">close()</code>
95  <pre>Close httplib2 connections.</pre>
96</div>
97
98<div class="method">
99    <code class="details" id="custombatch">custombatch(body=None, x__xgafv=None)</code>
100  <pre>Gets multiple Merchant Center datafeed statuses in a single request.
101
102Args:
103  body: object, The request body.
104    The object takes the form of:
105
106{
107  &quot;entries&quot;: [ # The request entries to be processed in the batch.
108    { # A batch entry encoding a single non-batch datafeedstatuses request.
109      &quot;batchId&quot;: 42, # An entry ID, unique within the batch request.
110      &quot;country&quot;: &quot;A String&quot;, # The country for which to get the datafeed status. If this parameter is provided then language must also be provided. Note that for multi-target datafeeds this parameter is required.
111      &quot;datafeedId&quot;: &quot;A String&quot;, # The ID of the data feed to get.
112      &quot;language&quot;: &quot;A String&quot;, # The language for which to get the datafeed status. If this parameter is provided then country must also be provided. Note that for multi-target datafeeds this parameter is required.
113      &quot;merchantId&quot;: &quot;A String&quot;, # The ID of the managing account.
114      &quot;method&quot;: &quot;A String&quot;, # The method of the batch entry. Acceptable values are: - &quot;`get`&quot;
115    },
116  ],
117}
118
119  x__xgafv: string, V1 error format.
120    Allowed values
121      1 - v1 error format
122      2 - v2 error format
123
124Returns:
125  An object of the form:
126
127    {
128  &quot;entries&quot;: [ # The result of the execution of the batch requests.
129    { # A batch entry encoding a single non-batch datafeedstatuses response.
130      &quot;batchId&quot;: 42, # The ID of the request entry this entry responds to.
131      &quot;datafeedStatus&quot;: { # The status of a datafeed, i.e., the result of the last retrieval of the datafeed computed asynchronously when the feed processing is finished. # The requested data feed status. Defined if and only if the request was successful.
132        &quot;country&quot;: &quot;A String&quot;, # The country for which the status is reported, represented as a CLDR territory code.
133        &quot;datafeedId&quot;: &quot;A String&quot;, # The ID of the feed for which the status is reported.
134        &quot;errors&quot;: [ # The list of errors occurring in the feed.
135          { # An error occurring in the feed, like &quot;invalid price&quot;.
136            &quot;code&quot;: &quot;A String&quot;, # The code of the error, e.g., &quot;validation/invalid_value&quot;.
137            &quot;count&quot;: &quot;A String&quot;, # The number of occurrences of the error in the feed.
138            &quot;examples&quot;: [ # A list of example occurrences of the error, grouped by product.
139              { # An example occurrence for a particular error.
140                &quot;itemId&quot;: &quot;A String&quot;, # The ID of the example item.
141                &quot;lineNumber&quot;: &quot;A String&quot;, # Line number in the data feed where the example is found.
142                &quot;value&quot;: &quot;A String&quot;, # The problematic value.
143              },
144            ],
145            &quot;message&quot;: &quot;A String&quot;, # The error message, e.g., &quot;Invalid price&quot;.
146          },
147        ],
148        &quot;itemsTotal&quot;: &quot;A String&quot;, # The number of items in the feed that were processed.
149        &quot;itemsValid&quot;: &quot;A String&quot;, # The number of items in the feed that were valid.
150        &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#datafeedStatus`&quot;
151        &quot;language&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language for which the status is reported.
152        &quot;lastUploadDate&quot;: &quot;A String&quot;, # The last date at which the feed was uploaded.
153        &quot;processingStatus&quot;: &quot;A String&quot;, # The processing status of the feed. Acceptable values are: - &quot;`&quot;`failure`&quot;: The feed could not be processed or all items had errors.`&quot; - &quot;`in progress`&quot;: The feed is being processed. - &quot;`none`&quot;: The feed has not yet been processed. For example, a feed that has never been uploaded will have this processing status. - &quot;`success`&quot;: The feed was processed successfully, though some items might have had errors.
154        &quot;warnings&quot;: [ # The list of errors occurring in the feed.
155          { # An error occurring in the feed, like &quot;invalid price&quot;.
156            &quot;code&quot;: &quot;A String&quot;, # The code of the error, e.g., &quot;validation/invalid_value&quot;.
157            &quot;count&quot;: &quot;A String&quot;, # The number of occurrences of the error in the feed.
158            &quot;examples&quot;: [ # A list of example occurrences of the error, grouped by product.
159              { # An example occurrence for a particular error.
160                &quot;itemId&quot;: &quot;A String&quot;, # The ID of the example item.
161                &quot;lineNumber&quot;: &quot;A String&quot;, # Line number in the data feed where the example is found.
162                &quot;value&quot;: &quot;A String&quot;, # The problematic value.
163              },
164            ],
165            &quot;message&quot;: &quot;A String&quot;, # The error message, e.g., &quot;Invalid price&quot;.
166          },
167        ],
168      },
169      &quot;errors&quot;: { # A list of errors returned by a failed batch entry. # A list of errors defined if and only if the request failed.
170        &quot;code&quot;: 42, # The HTTP status of the first error in `errors`.
171        &quot;errors&quot;: [ # A list of errors.
172          { # An error returned by the API.
173            &quot;domain&quot;: &quot;A String&quot;, # The domain of the error.
174            &quot;message&quot;: &quot;A String&quot;, # A description of the error.
175            &quot;reason&quot;: &quot;A String&quot;, # The error code.
176          },
177        ],
178        &quot;message&quot;: &quot;A String&quot;, # The message of the first error in `errors`.
179      },
180    },
181  ],
182  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;content#datafeedstatusesCustomBatchResponse&quot;.
183}</pre>
184</div>
185
186<div class="method">
187    <code class="details" id="get">get(merchantId, datafeedId, country=None, language=None, x__xgafv=None)</code>
188  <pre>Retrieves the status of a datafeed from your Merchant Center account.
189
190Args:
191  merchantId: string, The ID of the account that manages the datafeed. This account cannot be a multi-client account. (required)
192  datafeedId: string, The ID of the datafeed. (required)
193  country: string, The country for which to get the datafeed status. If this parameter is provided then language must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.
194  language: string, The language for which to get the datafeed status. If this parameter is provided then country must also be provided. Note that this parameter is required for feeds targeting multiple countries and languages, since a feed may have a different status for each target.
195  x__xgafv: string, V1 error format.
196    Allowed values
197      1 - v1 error format
198      2 - v2 error format
199
200Returns:
201  An object of the form:
202
203    { # The status of a datafeed, i.e., the result of the last retrieval of the datafeed computed asynchronously when the feed processing is finished.
204  &quot;country&quot;: &quot;A String&quot;, # The country for which the status is reported, represented as a CLDR territory code.
205  &quot;datafeedId&quot;: &quot;A String&quot;, # The ID of the feed for which the status is reported.
206  &quot;errors&quot;: [ # The list of errors occurring in the feed.
207    { # An error occurring in the feed, like &quot;invalid price&quot;.
208      &quot;code&quot;: &quot;A String&quot;, # The code of the error, e.g., &quot;validation/invalid_value&quot;.
209      &quot;count&quot;: &quot;A String&quot;, # The number of occurrences of the error in the feed.
210      &quot;examples&quot;: [ # A list of example occurrences of the error, grouped by product.
211        { # An example occurrence for a particular error.
212          &quot;itemId&quot;: &quot;A String&quot;, # The ID of the example item.
213          &quot;lineNumber&quot;: &quot;A String&quot;, # Line number in the data feed where the example is found.
214          &quot;value&quot;: &quot;A String&quot;, # The problematic value.
215        },
216      ],
217      &quot;message&quot;: &quot;A String&quot;, # The error message, e.g., &quot;Invalid price&quot;.
218    },
219  ],
220  &quot;itemsTotal&quot;: &quot;A String&quot;, # The number of items in the feed that were processed.
221  &quot;itemsValid&quot;: &quot;A String&quot;, # The number of items in the feed that were valid.
222  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#datafeedStatus`&quot;
223  &quot;language&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language for which the status is reported.
224  &quot;lastUploadDate&quot;: &quot;A String&quot;, # The last date at which the feed was uploaded.
225  &quot;processingStatus&quot;: &quot;A String&quot;, # The processing status of the feed. Acceptable values are: - &quot;`&quot;`failure`&quot;: The feed could not be processed or all items had errors.`&quot; - &quot;`in progress`&quot;: The feed is being processed. - &quot;`none`&quot;: The feed has not yet been processed. For example, a feed that has never been uploaded will have this processing status. - &quot;`success`&quot;: The feed was processed successfully, though some items might have had errors.
226  &quot;warnings&quot;: [ # The list of errors occurring in the feed.
227    { # An error occurring in the feed, like &quot;invalid price&quot;.
228      &quot;code&quot;: &quot;A String&quot;, # The code of the error, e.g., &quot;validation/invalid_value&quot;.
229      &quot;count&quot;: &quot;A String&quot;, # The number of occurrences of the error in the feed.
230      &quot;examples&quot;: [ # A list of example occurrences of the error, grouped by product.
231        { # An example occurrence for a particular error.
232          &quot;itemId&quot;: &quot;A String&quot;, # The ID of the example item.
233          &quot;lineNumber&quot;: &quot;A String&quot;, # Line number in the data feed where the example is found.
234          &quot;value&quot;: &quot;A String&quot;, # The problematic value.
235        },
236      ],
237      &quot;message&quot;: &quot;A String&quot;, # The error message, e.g., &quot;Invalid price&quot;.
238    },
239  ],
240}</pre>
241</div>
242
243<div class="method">
244    <code class="details" id="list">list(merchantId, maxResults=None, pageToken=None, x__xgafv=None)</code>
245  <pre>Lists the statuses of the datafeeds in your Merchant Center account.
246
247Args:
248  merchantId: string, The ID of the account that manages the datafeeds. This account cannot be a multi-client account. (required)
249  maxResults: integer, The maximum number of products to return in the response, used for paging.
250  pageToken: string, The token returned by the previous request.
251  x__xgafv: string, V1 error format.
252    Allowed values
253      1 - v1 error format
254      2 - v2 error format
255
256Returns:
257  An object of the form:
258
259    {
260  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;content#datafeedstatusesListResponse&quot;.
261  &quot;nextPageToken&quot;: &quot;A String&quot;, # The token for the retrieval of the next page of datafeed statuses.
262  &quot;resources&quot;: [
263    { # The status of a datafeed, i.e., the result of the last retrieval of the datafeed computed asynchronously when the feed processing is finished.
264      &quot;country&quot;: &quot;A String&quot;, # The country for which the status is reported, represented as a CLDR territory code.
265      &quot;datafeedId&quot;: &quot;A String&quot;, # The ID of the feed for which the status is reported.
266      &quot;errors&quot;: [ # The list of errors occurring in the feed.
267        { # An error occurring in the feed, like &quot;invalid price&quot;.
268          &quot;code&quot;: &quot;A String&quot;, # The code of the error, e.g., &quot;validation/invalid_value&quot;.
269          &quot;count&quot;: &quot;A String&quot;, # The number of occurrences of the error in the feed.
270          &quot;examples&quot;: [ # A list of example occurrences of the error, grouped by product.
271            { # An example occurrence for a particular error.
272              &quot;itemId&quot;: &quot;A String&quot;, # The ID of the example item.
273              &quot;lineNumber&quot;: &quot;A String&quot;, # Line number in the data feed where the example is found.
274              &quot;value&quot;: &quot;A String&quot;, # The problematic value.
275            },
276          ],
277          &quot;message&quot;: &quot;A String&quot;, # The error message, e.g., &quot;Invalid price&quot;.
278        },
279      ],
280      &quot;itemsTotal&quot;: &quot;A String&quot;, # The number of items in the feed that were processed.
281      &quot;itemsValid&quot;: &quot;A String&quot;, # The number of items in the feed that were valid.
282      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#datafeedStatus`&quot;
283      &quot;language&quot;: &quot;A String&quot;, # The two-letter ISO 639-1 language for which the status is reported.
284      &quot;lastUploadDate&quot;: &quot;A String&quot;, # The last date at which the feed was uploaded.
285      &quot;processingStatus&quot;: &quot;A String&quot;, # The processing status of the feed. Acceptable values are: - &quot;`&quot;`failure`&quot;: The feed could not be processed or all items had errors.`&quot; - &quot;`in progress`&quot;: The feed is being processed. - &quot;`none`&quot;: The feed has not yet been processed. For example, a feed that has never been uploaded will have this processing status. - &quot;`success`&quot;: The feed was processed successfully, though some items might have had errors.
286      &quot;warnings&quot;: [ # The list of errors occurring in the feed.
287        { # An error occurring in the feed, like &quot;invalid price&quot;.
288          &quot;code&quot;: &quot;A String&quot;, # The code of the error, e.g., &quot;validation/invalid_value&quot;.
289          &quot;count&quot;: &quot;A String&quot;, # The number of occurrences of the error in the feed.
290          &quot;examples&quot;: [ # A list of example occurrences of the error, grouped by product.
291            { # An example occurrence for a particular error.
292              &quot;itemId&quot;: &quot;A String&quot;, # The ID of the example item.
293              &quot;lineNumber&quot;: &quot;A String&quot;, # Line number in the data feed where the example is found.
294              &quot;value&quot;: &quot;A String&quot;, # The problematic value.
295            },
296          ],
297          &quot;message&quot;: &quot;A String&quot;, # The error message, e.g., &quot;Invalid price&quot;.
298        },
299      ],
300    },
301  ],
302}</pre>
303</div>
304
305<div class="method">
306    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
307  <pre>Retrieves the next page of results.
308
309Args:
310  previous_request: The request for the previous page. (required)
311  previous_response: The response from the request for the previous page. (required)
312
313Returns:
314  A request object that you can call &#x27;execute()&#x27; on to request the next
315  page. Returns None if there are no more items in the collection.
316    </pre>
317</div>
318
319</body></html>