Hello, I am utilizing the CampaignValues Reports Endpoint to pull the metrics of our company’s campaigns. The issue I am running into is that for some campaigns, the response is blank. For most of the others, it pulls the campaign metrics just fine but for some specific campaigns, the returned values is blank/null. I can confirm that nothing changes in the API POST other than the date range and the campaignID specified. Here is a sample of the response for one of our campaigns:
Hello, I am utilizing the CampaignValues Reports Endpoint to pull the metrics of our company’s campaigns. The issue I am running into is that for some campaigns, the response is blank. For most of the others, it pulls the campaign metrics just fine but for some specific campaigns, the returned values is blank/null. I can confirm that nothing changes in the API POST other than the date range and the campaignID specified. Here is a sample of the response for one of our campaigns:
After going through support pushing for an answer I finally have a resolution to this issue
“ My understanding is that:
last_12_months refers to the previous 12 months, excluding the current month.
last_365_days covers the past 365 days, including the current month.
”
Change your request body time frame from last_12_months to last_365_days and your newest campaigns should appear. Although it doesn’t state this in the API documentation page and frankly makes no sense anyway.. but it works.
@retention - I can confirm that the query is within the rate limits as the status is 200 on the query. What’s odd is that one query with campaignID “xxxxxx” returns a full JSON result. But the same query with campaignID “yyyyyyy” (and different timeframe) returns the blank JSON. Is there a particular reason why the metrics I am pulling wouldn’t be available for the “yyyyyyy” campaign? In the campaigns API, it doesn’t seem there is anything different about the tracking of the campaigns.
And cycle the results using the campaign ID to identify which campaign I want the values for. This works for all our campaigns except the newest two, as above in nutraboltBI’s post I get a response (not an error) but the attribute results set is empty. All that is changing is the campaign ID, and to clarify I have purposively waited 2 minutes before each new attempt to ensure its not throttling our results ( however this would return an error message to state throttling exceeded limits anyway )
Given my request is a blanket case using the same conversion_metric_id all the time , works for all other campaigns but not the newest two has me stumped. Clearly its not my code, my request ID etc is as follows for tracing:
It took me 2 and a half hours in live chat and going through removing our integration to shopify and adding it back again to get exactly nowhere forward. After being told that because we use a custom integration we should reach out for support from other developers .. as a developer was somewhat annoying.
I finally got the live chat staff member to raise the issue further, although we have no email to indicate that happened we have to assume they did. So far the answer to this problem is still not available..
Hello, I am utilizing the CampaignValues Reports Endpoint to pull the metrics of our company’s campaigns. The issue I am running into is that for some campaigns, the response is blank. For most of the others, it pulls the campaign metrics just fine but for some specific campaigns, the returned values is blank/null. I can confirm that nothing changes in the API POST other than the date range and the campaignID specified. Here is a sample of the response for one of our campaigns:
After going through support pushing for an answer I finally have a resolution to this issue
“ My understanding is that:
last_12_months refers to the previous 12 months, excluding the current month.
last_365_days covers the past 365 days, including the current month.
”
Change your request body time frame from last_12_months to last_365_days and your newest campaigns should appear. Although it doesn’t state this in the API documentation page and frankly makes no sense anyway.. but it works.
By clicking “Accept All Cookies,” you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts.
Privacy Preference Center
Your Privacy
Strictly Necessary Cookies
Performance Cookies
Functional Cookies
Targeting Cookies
Site Analytics
Your Privacy
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
Privacy Notice
Strictly Necessary Cookies
Always Active
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
Performance Cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
Functional Cookies
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
Targeting Cookies
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
Site Analytics
These cookies record your visit to our website, and are used to track your visit including information such as: web page interactions (clicks, hovers, focus, mouse movements, browsing, zooms and other interactions), referring web page/source through which you accessed the Sites, heatmaps and scrolls, screen resolution, ISP, and statistics associated with the interaction between device or browser and the Sites. If you are accessing our Services with a European IP address, you have been asked to consent to the use of these cookies (you are free to deny your consent).