Overview: Query Builder for Snapchat Ads (Ads)

HOW TO

How to access the Query Builder for Snapchat Ads (Ads)

Navigate to Metrics > Query Builder to access the Query Builder. Click the green + New Custom Metric button and select your connected Snapchat Ads Account from the Data Source drop-down list. Select the Ads radio button.

    Query Builder is available on the Professional and Performer plans. Request a trial of Query Builder by following these steps.  

How to use the Query Builder for Snapchat Ads (Ads)

A
  Data Source: This is the Snapchat Ads Data Source that the Custom Metric is syncing data from.
B
  Metric: Select a Metric from your connected Snapchat Ads Data Source, such as Amount Spent, Purchase ROAS (Return on Ad Spent) or Searches.  
C
  Dimension (Optional): The Dimension parameter re-categorizes the returned Metric value based on common criteria. Examples of Dimensions are Lifestyle Category, Country, and Operating System. If no Dimension is selected, the Custom Metric will store 1 aggregated Metric value for each Date Range. 
Pro Tip: Add the word "by" in between the Metric and Dimension in order to determine an appropriate Custom Metric Name. From the Metric and Dimension examples outlined above, we could create the Custom Metrics "Amount Spent by Lifestyle Category," "Purchase ROAS by Country," or Searches by Operating System."
D
  Conversion Type (Optional): The Conversion Type option allows you to further re-categorize the returned Metric value by Total, Web, App, or Offline Conversion Types. The Conversion Type field will only be visible when a Metric that supports this option is selected.
E
  Favourable Trend: By default,   Trending up is positive is pre-selected, which will display the percentage change value on Datablocks as green when the Metric value has increased. If the Custom Metric you created has opposite trends, select   Trending down is positive radio button. Learn more  here
F
  Filter by (Optional): Filters restrict the data that gets included in the Custom Metric. All data that is returned is tested against the Filter(s). Multiple Filters can be combined using AND /OR boolean logic.    
If the data synced from the Metric and Dimension fields meet the Filter specifications, the data is retained and included in the Custom Metric value. If the data synced from the Metric and Dimension fields don't meet the Filter specifications, the data is excluded from the Custom Metric value.
Pro Tip : If you don't know which Filters to put in place for your use case, use the Dimension + Data Preview to troubleshoot and get more insight into the data that is returned from your Snapchat Account for each field. Learn more here.
G
  Preview data: After clicking Preview data, a Data Preview of the Custom Metric will be displayed. Daily Metric values are displayed in this section, along with the total Metric values for the Date Range in bold at the bottom. You can view the Data Preview for different Date Ranges by clicking on the drop-down list at the top of the Data Preview. 
H
  Custom Metric Name: Enter a name for your Custom Metric. This Custom Metric name will be available in the Designer after saving. 
I
  Save: Save your Custom Metric. 

How to create a Custom Snapchat Ads Ad Metric [Example]

In this example, we'll create a Custom Metric to report on Snap Shares tracked in the Snapchat Ads Account, split up based on Age. We only want to view this data for the age group ''25-34''.

1
 Navigate to Metrics  > Query Builder   
2
 Click the green + New query button
3
 Select the appropriate Snapchat Ads Data Source
4
 Select the Ads radio button
5
 Select  Shap Shares from the  Metric drop-down list  
6
 Select Age from the Dimension drop-down list so that the Snap Shares values can be later filtered by a specific age group
7
 We don't need to narrow data by a Conversion Type, so we will leave this field blank
8
 Next, we want to further Filter the data by a specific age group, so we'll select Dimension from the Filter by drop-down list, Contains from the Operator drop-down list and 25-34 from the Choose value drop-down list
9
 In order to accurately explain what this Custom Metric is reporting on, we'll name the Custom Metric "Snap Shares (Age: 25-34)" 
10
 Click Preview data to generate a Data Preview of the Custom Metric    
11
 Once we confirm that these are the results we're looking for, we'll click Save to save the Custom Metric

How to add a Custom Snapchat Ads Ad Metric to a Databoard

Learn how to add a Custom Metric to a Databoard here.

Additional Information

  • The Data Preview is limited to display a maximum of 20 Dimensions per Date Range for Attributed Metrics. Dimensions will be sorted by descending value, therefore the 20 Dimensions with the highest total values will be displayed in the Data Preview for each Date Range.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.