<?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: get all campaigns data in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/get-all-campaigns-data/m-p/277649#M25366</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/98176"&gt;@PowerMyAnalytic&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to pull the campaign data for every campaign, you'll likely need to enforce some rate limiting in your code, so that you don't bump into the per-second limit. This might look different depending on the language your using, but it can be as simple as adding a sleep() function in your code.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2019 15:35:34 GMT</pubDate>
    <dc:creator>Derek_Gervais</dc:creator>
    <dc:date>2019-06-27T15:35:34Z</dc:date>
    <item>
      <title>get all campaigns data</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/get-all-campaigns-data/m-p/277554#M25343</link>
      <description>&lt;P&gt;Hi HubSpot,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tryed to get campaign data with&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.hubspot.com/docs/methods/email/get_campaign_data" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/methods/email/get_campaign_data&lt;/A&gt;&lt;/P&gt;&lt;P&gt;for single campaign in single requset it works good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But my client have 1500 campaigns,&lt;/P&gt;&lt;P&gt;and my 1500 individual requests get&amp;nbsp;'&lt;STRONG&gt;You have reached your ten_secondly_rolling limit.&lt;/STRONG&gt;' error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't found batch api for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have some solution?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 08:43:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/get-all-campaigns-data/m-p/277554#M25343</guid>
      <dc:creator>PowerMyAnalytic</dc:creator>
      <dc:date>2019-06-27T08:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: get all campaigns data</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/get-all-campaigns-data/m-p/277649#M25366</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/98176"&gt;@PowerMyAnalytic&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to pull the campaign data for every campaign, you'll likely need to enforce some rate limiting in your code, so that you don't bump into the per-second limit. This might look different depending on the language your using, but it can be as simple as adding a sleep() function in your code.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 15:35:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/get-all-campaigns-data/m-p/277649#M25366</guid>
      <dc:creator>Derek_Gervais</dc:creator>
      <dc:date>2019-06-27T15:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: get all campaigns data</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/get-all-campaigns-data/m-p/277660#M25373</link>
      <description>&lt;P&gt;Just to add my two cents here,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/98176"&gt;@PowerMyAnalytic&lt;/a&gt;, you can also use &lt;A href="https://developers.hubspot.com/docs/methods/cms_email/get-the-statistics-for-a-marketing-email" target="_self"&gt;this endpoint&lt;/A&gt; from the new &lt;A href="https://developers.hubspot.com/docs/methods/lists/marketing-email-overview" target="_self"&gt;Marketing Email API&lt;/A&gt; to get data for a single marketing email, which can include multiple campaigns (sends). Depending on the data you're looking for, this could also help conserve calls.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 15:59:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/get-all-campaigns-data/m-p/277660#M25373</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-06-27T15:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: get all campaigns data</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/get-all-campaigns-data/m-p/279313#M25625</link>
      <description>&lt;P&gt;Thank you for the answer.&lt;/P&gt;&lt;P&gt;I understand now the 10/sec limit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, can you provide &lt;STRONG&gt;batch option&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;That can decrease the number of requsts&lt;/P&gt;&lt;P&gt;1500 requests to get campaigns data is not good to us&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 11:35:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/get-all-campaigns-data/m-p/279313#M25625</guid>
      <dc:creator>PowerMyAnalytic</dc:creator>
      <dc:date>2019-07-08T11:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: get all campaigns data</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/get-all-campaigns-data/m-p/279625#M25681</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/98176"&gt;@PowerMyAnalytic&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I empathize with your frustration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not aware of plans to release a batch version of the&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/email/get_campaign_data" target="_self"&gt;&lt;EM&gt;Get campaign data&lt;/EM&gt;&lt;/A&gt; endpoint, but I certainly see the value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you post a feature request on the Community &lt;A href="https://community.hubspot.com/t5/custom/page/page-id/ideaslandingpage" target="_self"&gt;Ideas Forum&lt;/A&gt; per &lt;A href="https://community.hubspot.com/t5/Guidelines-Announcements/HubSpot-Idea-Exchange-Submission-Guidelines/m-p/11670#M10" target="_self"&gt;these best practices&lt;/A&gt;? Upvotes and comments help the product teams prioritize ideas which have the greatest potential impact on users, so I'll be happy to upvote if you share a link below.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 13:35:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/get-all-campaigns-data/m-p/279625#M25681</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-07-09T13:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: get all campaigns data</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/get-all-campaigns-data/m-p/280064#M25730</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/get-all-campaigns-data/idi-p/280062#M37656" target="_blank"&gt;https://community.hubspot.com/t5/HubSpot-Ideas/get-all-campaigns-data/idi-p/280062#M37656&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 08:27:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/get-all-campaigns-data/m-p/280064#M25730</guid>
      <dc:creator>PowerMyAnalytic</dc:creator>
      <dc:date>2019-07-11T08:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: get all campaigns data</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/get-all-campaigns-data/m-p/280118#M25736</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/98176"&gt;@PowerMyAnalytic&lt;/a&gt;. I have upvoted the feature request!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 11:52:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/get-all-campaigns-data/m-p/280118#M25736</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-07-11T11:52:43Z</dc:date>
    </item>
  </channel>
</rss>

