<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Classifications Import API v1.4 not working in Adobe Analytics Discussions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/classifications-import-api-v1-4-not-working/m-p/260942#M1104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just a guess: your data-json from "populating the data" looks strange at the end (some brackets and chars too much). is this just a copy&amp;amp;paste problem or have you checked the "populating data request" with the API Explorer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Sep 2017 20:12:02 GMT</pubDate>
    <dc:creator>Urs_Boller</dc:creator>
    <dc:date>2017-09-19T20:12:02Z</dc:date>
    <item>
      <title>Classifications Import API v1.4 not working</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/classifications-import-api-v1-4-not-working/m-p/260941#M1103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm currently trying to leverage the Classifications API v1.4 (&lt;A href="https://marketing.adobe.com/developer/documentation/classifications-1-4-saint/classifications-api" title="https://marketing.adobe.com/developer/documentation/classifications-1-4-saint/classifications-api"&gt;Classifications API | Adobe Developer Connection&lt;/A&gt; ) to automate a classification process for our product variables. I followed the steps outlined in the documentation, i.e. I create a import job, populate it with data and then commit the job. However, it's not working and I currently suspect that that's because the population isn't working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Creation of the upload job:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15058415672589028 jive_text_macro" data-renderedposition="121_8_1025_97" jivemacro_uid="_15058415672589028"&gt;&lt;P&gt;DEBUG:omniture.account:Error Code None&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;INFO:omniture.account:Request: Classifications.CreateImport&amp;nbsp; Parameters: {'rsid_list': ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'], 'element': 'product', 'header': ['Key', 'Product Name'], 'description': 'test', 'email_address': &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:'xxx@xxx.com"&gt;'xxx@xxx.com&lt;/A&gt;&lt;SPAN&gt;', 'check_divisions': 1, 'export_results': 0, 'overwrite_conflicts': 1}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.omniture.com&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DEBUG:urllib3.connectionpool:&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://forums.adobe.com/external-link.jspa?url=https%3A%2F%2Fapi.omniture.com%3A443" rel="nofollow" target="_blank"&gt;https://api.omniture.com:443&lt;/A&gt;&lt;SPAN&gt; "POST /admin/1.4/rest/?method=Classifications.CreateImport HTTP/1.1" 200 None&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;DEBUG:omniture.account:Response for Classifications.CreateImport:{"job_id":133972381}&lt;/P&gt;&lt;P&gt;DEBUG:omniture.account:Error Code None&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Checking the status:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15058415806906479" data-renderedposition="260_8_1025_65" jivemacro_uid="_15058415806906479"&gt;&lt;P&gt;INFO:omniture.account:Request: Classifications.GetStatus&amp;nbsp; Parameters: {'job_id': 133972381}&lt;/P&gt;&lt;P&gt;DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.omniture.com&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DEBUG:urllib3.connectionpool:&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://forums.adobe.com/external-link.jspa?url=https%3A%2F%2Fapi.omniture.com%3A443" rel="nofollow" target="_blank"&gt;https://api.omniture.com:443&lt;/A&gt;&lt;SPAN&gt; "POST /admin/1.4/rest/?method=Classifications.GetStatus HTTP/1.1" 200 103&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;DEBUG:omniture.account:Response for Classifications.GetStatus:[{"id":133972381,"type":"job_id","viewable_pages":0,"status":"Waiting for user data"}]&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far so good. The job was created and awaits data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Populating the data:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15058437235771173" data-renderedposition="409_8_1025_65" jivemacro_uid="_15058437235771173"&gt;&lt;P&gt;INFO:omniture.account:Request: Classifications.PopulateImport&amp;nbsp; Parameters: {'job_id': 133972381, 'page': 1, 'rows': [{'row': ['00000', 'a']}, {'row': ['00001', 'b']}, {'row': ['00002', 'c']}, {'row': ['00003', 'd']}, {'row': ['00004', 'e']}, {'row': ['00005', 'f']}, {'row': ['00006', 'g']}, {'row': ['00007', 'h']}, {'row': ['00008', 'i']}, {'row': ['00009', 'j']}]}j']]}&lt;/P&gt;&lt;P&gt;DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.omniture.com&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DEBUG:urllib3.connectionpool:&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://forums.adobe.com/external-link.jspa?url=https%3A%2F%2Fapi.omniture.com%3A443" rel="nofollow" target="_blank"&gt;https://api.omniture.com:443&lt;/A&gt;&lt;SPAN&gt; "POST /admin/1.4/rest/?method=Classifications.PopulateImport HTTP/1.1" 200 None&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;DEBUG:omniture.account:Response for Classifications.PopulateImport:true&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;The response I'm getting from says &lt;EM&gt;true &lt;/EM&gt;which indicates a success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Checking the status again:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15058416115359075 jive_text_macro" data-renderedposition="537_8_1025_65" jivemacro_uid="_15058416115359075"&gt;&lt;P&gt;INFO:omniture.account:Request: Classifications.GetStatus&amp;nbsp; Parameters: {'job_id': 133972381}&lt;/P&gt;&lt;P&gt;DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.omniture.com&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DEBUG:urllib3.connectionpool:&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://forums.adobe.com/external-link.jspa?url=https%3A%2F%2Fapi.omniture.com%3A443" rel="nofollow" target="_blank"&gt;https://api.omniture.com:443&lt;/A&gt;&lt;SPAN&gt; "POST /admin/1.4/rest/?method=Classifications.GetStatus HTTP/1.1" 200 103&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;DEBUG:omniture.account:Response for Classifications.GetStatus:[{"id":133972381,"type":"job_id","viewable_pages":0,"status":"Waiting for user data"}]&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as you can see now, the job status still says "viewable_pages": 0. That's very confusing. I tried populating the job nonetheless, but even after some days passed, the classifications don't show up in the interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am accessing the API from Python, but I am facing the same issues when I use the API explorer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did anyone of you have similar issues or knows a way to solve it? Any help is appreciated! Thanks so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 17:24:57 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/classifications-import-api-v1-4-not-working/m-p/260941#M1103</guid>
      <dc:creator>martinwinkel</dc:creator>
      <dc:date>2017-09-19T17:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Classifications Import API v1.4 not working</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/classifications-import-api-v1-4-not-working/m-p/260942#M1104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just a guess: your data-json from "populating the data" looks strange at the end (some brackets and chars too much). is this just a copy&amp;amp;paste problem or have you checked the "populating data request" with the API Explorer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 20:12:02 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/classifications-import-api-v1-4-not-working/m-p/260942#M1104</guid>
      <dc:creator>Urs_Boller</dc:creator>
      <dc:date>2017-09-19T20:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Classifications Import API v1.4 not working</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/classifications-import-api-v1-4-not-working/m-p/260943#M1105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi urs.boller. That's just a flaw from copy/pasting the outputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I was meanwhile able to fix the issue on my own. In fact the "viewable_pages" field doesn't seem to contain any meaningful information after all. First I had a problem that I was using a nested list for the rows parameter whereas it has to be of the format&lt;/P&gt;&lt;P&gt;"rows": [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "row": [(string)]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I fixed this, I still had the problem with the "viewable_pages" field, but when I actually tried to upload the data it works now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the confusion and nonetheless thanks for your help urs.boller!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 21:23:40 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-discussions/classifications-import-api-v1-4-not-working/m-p/260943#M1105</guid>
      <dc:creator>martinwinkel</dc:creator>
      <dc:date>2017-09-19T21:23:40Z</dc:date>
    </item>
  </channel>
</rss>

