What is Audience Optimization and how do I use it?
Audience Optimization sends your accurate, first-party conversion data back to the ad networks you advertise on in real-time. Without it, they’re optimizing with bad data — so Audience Optimization helps their algorithms work smarter, bringing you more high-quality customers at the lowest possible cost.
This is what's often called a "Conversions API" or "CAPI" integration — but on steroids. Unlike a basic CAPI setup, Audience Optimization gives you unmatched flexibility to feed and manage unlimited datasets or pixels, with advanced rules that let you do things no other system can.
Before setting this up, please read the short article below to understand the general strategy:
Once you’ve verified that conversions are being sent successfully to your ad network, you’ll want to “season” your new pixel or dataset before using it for ad optimization ...
“Season” Your New Pixel or Dataset
Making the switch to a new pixel that has only accurate data is a very smart move, but it does require “starting over” for optimization purposes. So for the best performance you’ll want to “season” this new pixel a bit before using it.
To be clear – we recommend that you do NOT start using this new pixel or dataset for ad optimization right away. If you do, you’ll almost certainly see a temporary drop in ad performance due to a lack of data.
Instead, simply allow ClickMagick to send your accurate conversion data to your new pixel or dataset for awhile. This will “season” your pixel and allow your ad network’s AI to figure out what your ideal customer looks like.
We can’t tell you exactly how long to season your new pixel as it really depends on the number of conversions you get per day, your audience and many other factors …
The short answer is “the longer the better,” but we suggest waiting at least a week or two and then you can go ahead and test your new pixel’s performance by using it to optimize a single campaign, a single ad set, or even one specific ad.
If things don’t go great that generally means you need to send your ad network more data to work with, so stop using the new pixel or dataset for a bit, let ClickMagick send more data, and then try it again in a week or so.
Once you’re happy with the performance of your new pixel you can go ahead and apply it to your other campaigns.
Use Your New Pixel or Dataset for Ad Optimization
Once you’ve seasoned your new pixel you’ll be ready to optimize your ads like you’ve never been able to do before.
If you're not sure how to start using the new pixel to optimize your ads, follow the article below:
In addition to the configuration within Audience Optimization itself, there are a few additional settings you should be aware of which can be found by clicking the Settings button next to your Project name …
Send Conversions With No Click ID
ClickMagick automatically sends your conversions back to your ad networks based on the ad network Click ID associated with the initial click that led to a particular sale.
If you enable this setting, ClickMagick will instead attempt to send all of your non-organic conversions back to all of the ad networks you’ve integrated with.
*** See below for requirements to trigger sending a conversion to each ad network
Send Organic Conversions
You can turn this on if you want ClickMagick to also send “organic” sales to your ad networks.
While these sales generally aren’t associated with a specific ad, some marketers believe that the more sales you send back to your ad network, the better the ad network can find you more new customers like them.
If you enable this setting, ClickMagick will attempt to send all of your organic conversions back to all of the ad networks you’ve integrated with.
*** See below for requirements to trigger sending a conversion to each ad network
Minimum Sale Amount
If you specify an optional Minimum Sale Amount, sales below this amount won’t be sent to your ad networks.
Note that this will apply to all of your Projects, and all of your ad networks, and the amount will be treated as being in the currency of the Project where the sale occurred.
If you need more control e.g. you want to set different Minimum Sale Amounts for different Projects, you should not use this feature. Instead you should set up Audience Optimization Advanced Rules on a per-project basis to send sales below any particular amount to a “dead” pixel you don’t use.
Send by Sale Type
By default Audience Optimization will send all types of sales to your ad network. But if you don’t want to send certain types of sales you can simply disable the toggle next to the type of sale you don’t want to send.
Requirements to Trigger Sending Conversions
Facebook – For a conversion to be sent to Facebook, one of these values must be present for the visitor in ClickMagick: fbclid, email, first name, last name, phone, mobile, date of birth, gender, city, state/province, postal code, country
Google – By default, for a conversion to be sent to Google the originating click must have a gclid or wbraid. If Enhanced Conversions are enabled in Google, email, phone or mobile can be used in place of a Google Click ID.
Microsoft – By default, for a conversion to be sent to Microsoft Ads the originating click must have a mscklid. If Enhanced Conversions are enabled in Microsoft Ads, email, phone or mobile can be used in place of a Microsoft Click ID.
TikTok – For a conversion to be sent to TikTok, at least one of the following values must be present for the visitor in ClickMagick: ttclid, email, phone
You’ll almost always see fewer conversions reported in your ads manager than the total number of events ClickMagick sends via Audience Optimization. This is normal and expected. Here’s why:
1. Your ads manager reporting only shows the events it can match back to a specific ad click or view within your attribution window (for example, 7-day click or 1-day view). This requires the ad network Click ID, which not all clicks have, and any unmatched or out-of-window events are simply not shown in your ads manager stats.
2. Some events are deduplicated or filtered. If the same person triggers the same event more than once in a short period, or if Meta thinks a match is low-quality or incomplete, it may merge or discard those extra events in reporting.
But even though your ads manager only reports attributed events, they still receive every valid event ClickMagick sends. And all of these events are included in the overall signal they use to improve audience targeting and optimization.
So seeing fewer conversions in your ads manager stats does not mean data is missing – it just reflects the difference between event ingestion and event attribution.
To be clear, you really shouldn’t even be looking at the stats you see in your ads manager.
ClickMagick Audience Optimization sends your conversions to your ad networks in real-time, as they happen.
There are no delays on our end, and you can see the results of every conversion we’ve sent by clicking on the Log button:
For each conversion you’ll see a Response, indicating whether your ad network accepted the conversion or not. You can even click the icon to see the exact response ClickMagick received from your ad network’s API.
Your ad networks will normally process uploaded conversions within 2-8 hours. However, it often takes longer than this – and in some cases it can take days for a particular conversion to show up in your ad account.
For example, with Google Ads, they say they will process your uploaded conversions within 3 hours if you’re using the “last click” attribution model with your Conversion Action. But if you’re using any other attribution model for your Conversion Action, it can take a bunch longer.
But please note that ClickMagick has no control over any of this whatsoever.
In fact, due to the “black box” nature of the ad networks, we can’t tell you anything other than whether the uploaded conversion was accepted or rejected by your ad network, as described above.
The value in the Response column of the ClickMagick log comes straight from your ad network. So if the Response is a “Success,” that means your ad network accepted the conversion and there’s nothing for you to worry about.
What is the most important thing that most people don’t realize?
When uploaded conversions are processed by your ad network, they post the conversion based on the date and time of the original click, not the date and time of the conversion itself.
So for example if a conversion is uploaded today, you won’t see it reflected in today’s stats in your ad network – you’d see it for whatever day the original click occurred.
Audience Optimization provides a log for each ad network you’ve integrated with ClickMagick, showing all of the conversions we’ve uploaded on your behalf and the status of each.
If you see any errors, remember that this has nothing to do with ClickMagick – an error indicates that the ad network rejected our attempt to upload the conversion.
When viewing the log you can see why your ad network rejected it, and most are pretty self-explanatory.
Below we’ll cover a few examples of errors you may see, what they mean, and what you can do about them.
Facebook Ads – Expired fbclid Value
In Facebook Ads, each of your Conversion Events has a specific “lookback window” that determines how long after an ad click a conversion can be recorded. This window is 90 days.
You cannot send a conversion if the click that generated the conversion occurred more than 90 days ago.
Here’s how this affects Audience Optimization …
When we upload a conversion to Facebook Ads with a corresponding fbclid value, Facebook will reject the upload if the conversion is outside the lookback window.
If this happens, we then check to see if you have PII associated with the conversion.
If you do, we will upload the conversion to Facebook again – this time using the associated PII rather than the fbclid – and it will be accepted (unless there’s some other issue).
However, if a conversion is outside the lookback window and you don’t have any PII associated with the conversion, then the upload will not be accepted by Facebook and you will see an “Expired fbclid Value” error in your Events Manager.
This usually happens if you’re making backend or recurring sales, as those conversions can easily be from clicks older than 90 days. Backend and recurring sales from clicks less than 90 days old are uploaded normally.
Google Ads – EXPIRED_EVENT
In Google Ads, each of your Conversion Actions has a specific “lookback window” that determines how long after an ad click a conversion can be recorded. You control this on your end, and it can be set between 1-90 days.
However, you also cannot send a conversion to a Conversion Action if the click that generated the conversion occurred before the Conversion Action was created – so technically, the lookback window is actually the value you’ve specified in Google or the age of the Conversion Action, whichever is less.
This is very important to understand, especially when you start using a newly created Conversion Action.
Here’s how this affects Audience Optimization …
When we upload a conversion to Google Ads with a corresponding gclid value, Google will reject the upload if the conversion is outside the lookback window.
If this happens, we then check to see if you have Enhanced Conversions enabled.
If you do, and if there’s PII associated with the conversion, we will upload the conversion to Google again – this time using the associated PII rather than the gclid – and it will be accepted (unless there’s some other issue).
However, if a conversion is outside the lookback window and you don’t have Enhanced Conversions enabled, or there is no PII associated with the conversion, then the upload will not be accepted by Google and you will see an EXPIRED_EVENT error in your Audience Optimization logs.
To reduce the number of EXPIRED_EVENTs, you should consider using the longest lookback window offered by Google, which is currently 90 days.
You should also enable Enhanced Conversions in Google if you haven’t already, which allows us to successfully upload conversions without gclid values if necessary to get around the lookback window issue.
For instructions on how to do that, see Step 4 in the set up guide below:
For any Google Ads conversion action, you can choose to count every conversion that happens after a click or only one conversion that happens after a click …
But unfortunately, the “one per click” option is incompatible with their new iOS WBRAID tracking parameter.
You can read Google's official documentation about your counting options at the link below:
But the bottom line is that if you’re advertising to iOS users and you want to be able to send your iOS conversions back to Google Ads, you’ll need to use the “Every” counting option for the applicable conversion action.
Google Ads / Microsoft Ads – Invalid Conversion Action or Invalid Offline Conversion Name
When you are reviewing your Audience Optimization logs, you may come across a couple of different error messages related to conversion actions.
When reviewing the logs for errors related to Google Ads, you may see a message that reads: INVALID_CONVERSION_ACTION
When reviewing the logs for errors related to Microsoft Ads, you may see a message that reads: OfflineConversionNameInvalid
You will also likely see messages in your notifications area inside of ClickMagick that look like this:
These errors mean that the Conversion Action (Google Ads) or Conversion Goal (Microsoft Ads) within your ad account was deleted, or modified in a way that caused it to no longer be usable.
When this happens, ClickMagick will automatically remove the conversion action or goal from your Advanced Rules.
That means, when looking at your advanced rules, you will notice the conversion action or goal is missing, and that specific rule is disabled.
To set this back up, the first thing you want to do is make sure that your conversion actions/goals are set properly in either Google Ads or Microsoft Ads, whichever one was disabled.
Then, all you need to do is go back into the Advanced Rules, turn the toggle to activate the action, and the configuration window will automatically pop up for you.
From there, you can set up the new or updated conversion action to get this working again.
Google Ads / Microsoft Ads – Nothing Selected For Default Action / Default Goal
When working with the Default Action (Google Ads) or Default Goal (Microsoft Ads), it is required to have at least one default set up in order to keep Audience Optimization active for the specific ad provider.
If you remove or modify a conversion action (Google Ads) or conversion goal (Microsoft Ads) within your ad network, you may notice that the default action or goal also ends up having that action removed.
The main way you will know that you do not have a default action/goal set up is when you go to the Audience Optimization page and the Default Action/Default Goal dialogue pops up automatically, prompting you to select a value.
This is expected, and if you try to close the dialogue box without selecting a default action or goal, you will see this message:
This just means that you didn’t set up a default action or goal and you’ll need to set a default action or goal to save the form and keep Audience Optimization active.
Article 686 Last updated: 11/26/2025 11:47:13 AM https://www.clickmagick.com/kb/?article=686