2. Add network macros to Adjust's campaign structure parameters

Adjust offers advertisers four levels of data segmentation to use in their reporting. This includes a network (top-level) link, and three campaign sub-levels below.

As a network, you can use our campaign structure parameters together with your network macros so that Adjust can populate the data your clients need for audience segmentation.

Adjust campaign structure parameters

Adjust offers three levels of segmentation in the form of our campaign structure parameters.

Here are the names of the available campaign structure parameters:

Structure parametersDescription
campaignOne sub-level down from a top-level link
adgroupTwo sub-levels down from a top-level link
creativeThree sub-levels down from a top-level link

Campaign structure parameters must be lowercase, otherwise Adjust does not recognize them.

Use campaign structure parameters in descending order of segmentation. This means that you can use your parameters like in this example:

  • campaign parameter for your largest groups; a country or region.
  • adgroup parameter for a segment within this; who you're targeting in that region.
  • creative parameter for the smallest group; a specific cohort within the target segment.
Important:
Your client may already use some of the campaign structure levels. Always confirm the structure of campaigns with your client first and see which sub-levels are still available.

If your sub-levels conflict with the preexisting setup (for example, if you add a campaign parameter to an adgroup link), Adjust prioritizes data from the link token.

Customize segmentation

Although the campaign structure parameter names suggest a certain type of information that you can measure at each level, you can customize them to fit your client's needs.

Many networks, for example, choose to record publisher and creative IDs following discussion with the client. Here’s a hardcoded example of how that might look:

https://app.adjust.com/abc123?campaign=mobile-app-camp&adgroup=affiliate-name&creative=240x72-details 

If you do not have network macros and are hardcoding your values, check to see if any special characters are present. If they are, always remember to encode the values. You can use our encoding tool to ensure encoding is done correctly.

Add your network macros

If you have network macros, you can use these to replace parameter values and populate data dynamically.

In the example below, {campaign_id}, {publisher_id}, and {creative_id} are not Adjust placeholders. They are your click macros and are specific to your server. Upon user engagement, your server will replace the macros and send Adjust the campaign ID, publisher ID, and creative ID data for your client's campaign.

Campaign structure
Example link URL
campaign={campaign_id}&adgroup={publisher_id}&creative={creative_id}

If you have any questions, reach out at integration@adjust.com.

➡️ Up next: 3. Append advertising identifiers