<?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: Requirements for 'Get all campaign IDs for a portal' API to Return Campaign in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Requirements-for-Get-all-campaign-IDs-for-a-portal-API-to-Return/m-p/625566#M52824</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/188510"&gt;@IntegrationDev&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like the documentation isn't very clear about it but the endpoint you're calling hits email campaigns, not the campaigns object where you can link assets :&lt;/P&gt;
&lt;P&gt;Here's an extract from a related endpoint (&lt;A href="https://legacydocs.hubspot.com/docs/methods/email/get_campaign_data" target="_blank" rel="noopener"&gt;Get campaign data for a specific ID&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"...each campaign represents a specific send of an email,..."&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tested by running the API call on my account and the response I get contains email campaigns only.&lt;/P&gt;
&lt;P data-unlink="true"&gt;Did a little bit of digging to make sure and I &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/Complete-Hubspot-Campaigns-API/idi-p/20184" target="_blank" rel="noopener"&gt;found this thread&lt;/A&gt;&amp;nbsp;with recent replies but still no update from the dev team : there's not Campaign API at the moment available to the public, so for now the only option left is to wait until they release a beta.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;You could subscribe to that post so you get notifications whenever there's an update to it.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Hope this helps !&lt;BR /&gt;If it does, please consider marking this answer as a solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2022 15:54:45 GMT</pubDate>
    <dc:creator>LMeert</dc:creator>
    <dc:date>2022-05-02T15:54:45Z</dc:date>
    <item>
      <title>Requirements for 'Get all campaign IDs for a portal' API to Return Campaign</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Requirements-for-Get-all-campaign-IDs-for-a-portal-API-to-Return/m-p/625438#M52810</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my HubSpot dev account, I've created a campaign under &lt;EM&gt;Marketing&lt;/EM&gt; &amp;gt; &lt;EM&gt;Campaigns&lt;/EM&gt;. However, when I use the v1 &lt;A href="https://legacydocs.hubspot.com/docs/methods/email/get_campaigns_by_id" target="_blank" rel="noopener"&gt;Get all campaign IDs for a portal&lt;/A&gt; API (GET /email/public/v1/campaigns/by-id), no campaigns are returned. Are there any special things I need to do/set on my campaign in order for information about it to be returned by this API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 12:44:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Requirements-for-Get-all-campaign-IDs-for-a-portal-API-to-Return/m-p/625438#M52810</guid>
      <dc:creator>IntegrationDev</dc:creator>
      <dc:date>2022-05-02T12:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Requirements for 'Get all campaign IDs for a portal' API to Return Campaign</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Requirements-for-Get-all-campaign-IDs-for-a-portal-API-to-Return/m-p/625566#M52824</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/188510"&gt;@IntegrationDev&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like the documentation isn't very clear about it but the endpoint you're calling hits email campaigns, not the campaigns object where you can link assets :&lt;/P&gt;
&lt;P&gt;Here's an extract from a related endpoint (&lt;A href="https://legacydocs.hubspot.com/docs/methods/email/get_campaign_data" target="_blank" rel="noopener"&gt;Get campaign data for a specific ID&lt;/A&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"...each campaign represents a specific send of an email,..."&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tested by running the API call on my account and the response I get contains email campaigns only.&lt;/P&gt;
&lt;P data-unlink="true"&gt;Did a little bit of digging to make sure and I &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/Complete-Hubspot-Campaigns-API/idi-p/20184" target="_blank" rel="noopener"&gt;found this thread&lt;/A&gt;&amp;nbsp;with recent replies but still no update from the dev team : there's not Campaign API at the moment available to the public, so for now the only option left is to wait until they release a beta.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;You could subscribe to that post so you get notifications whenever there's an update to it.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Hope this helps !&lt;BR /&gt;If it does, please consider marking this answer as a solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 15:54:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Requirements-for-Get-all-campaign-IDs-for-a-portal-API-to-Return/m-p/625566#M52824</guid>
      <dc:creator>LMeert</dc:creator>
      <dc:date>2022-05-02T15:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Requirements for 'Get all campaign IDs for a portal' API to Return Campaign</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Requirements-for-Get-all-campaign-IDs-for-a-portal-API-to-Return/m-p/626943#M52911</link>
      <description>&lt;P&gt;Thank you, &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/257487"&gt;@LMeert&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 14:43:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Requirements-for-Get-all-campaign-IDs-for-a-portal-API-to-Return/m-p/626943#M52911</guid>
      <dc:creator>IntegrationDev</dc:creator>
      <dc:date>2022-05-04T14:43:22Z</dc:date>
    </item>
  </channel>
</rss>

