This is legacy documentation, and may not be complete. To see the latest documentation, if you are a marketer, refer to the Marketers site. If you are a measurement partner, refer to the Measurement Partners site.
Stay organized with collections
Save and categorize content based on your preferences.
You can use the web UI in Ads Data Hub to do many of the same tasks as you would using the API. This guide shows how write a query that measures your total Campaign Manager 360 Data Transfer impressions from scratch, test it, and then run it.
Select ADH Sandbox Customer from the Ads data from dropdown.
Specify where your query results should be written in the Destination table field.
Select start and end dates between 2018-08-18 00:00:00 and 2018-09-17 23:59:59. We recommend using the auto-populated 30-day range.
Click Start.
After the query finishes running, open the results in BigQuery. You should see a table that looks something like this:
Row
impressions
1
388204742
Once you're satisfied with the results of your test query, you're ready to run it on real data.
Run your query in Ads Data Hub
After testing your query using the sandbox role, you're ready to run it on real data.
Navigate to the Queries tab in Ads Data Hub.
Click the name of the query you want to run.
Click play_arrowRun.
The expected number of bytes that the query will use shows at the
top of the page.
Select an ID in the Ads data from field. This should be the account ID
associated with the ads data you want to query. (If you would like to query
sandbox data, select ADH Sandbox Customer.)
If using a match table, select the match table in the Match table from
field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThis guide provides step-by-step instructions on how to write, test, and run a query in the Ads Data Hub web UI to measure Campaign Manager 360 Data Transfer impressions.\u003c/p\u003e\n"],["\u003cp\u003eUsers can adapt the provided SQL query to explore impressions from other datasets by replacing \u003ccode\u003ecm_dt_impressions\u003c/code\u003e with the relevant table name (e.g., \u003ccode\u003egoogle_ads_impressions\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eTesting queries using the sandbox role and data is recommended before executing them on production data to identify potential issues early on.\u003c/p\u003e\n"],["\u003cp\u003eAfter successful testing, users can run the query on actual data by selecting their desired account ID, specifying data destination and date range, and applying appropriate privacy settings.\u003c/p\u003e\n"]]],["To measure Campaign Manager 360 Data Transfer impressions, first, create a new query in the Ads Data Hub web UI, naming it and inputting the SQL: `SELECT COUNT(*) AS impressions FROM adh.cm_dt_impressions;`. Test the query using the sandbox, selecting the 'ADH Sandbox Customer' and specifying a date range and destination table. Finally, run the query on real data, choosing the correct account ID, match table (if needed), privacy mode, date range, time zone, and destination table. The query can also be modified to pull from different datasets.\n"],null,["You can use the web UI in Ads Data Hub to do many of the same tasks as you would using the API. This guide shows how write a query that measures your total Campaign Manager 360 Data Transfer impressions from scratch, test it, and then run it.\n| **Key Point:** You can substitute `cm_dt_impressions` with a different table to see impressions from other datasets, such as `google_ads_impressions`.\n\nWrite your query\n\n1. Navigate to the **Queries** tab.\n2. Click **+ Create query** to open the query editor.\n3. Click **Blank**.\n4. In the query editor:\n\n 1. Give your query a name.\n 2. Paste in the following SQL:\n\n SELECT\n COUNT(*) AS impressions\n FROM adh.cm_dt_impressions\n ;\n\n5. Save your query.\n\nTest your query using the sandbox **Note:** You should test your queries using the sandbox role before running them on production data. This can help you find problems faster.\n\n1. Navigate to the **Queries** tab in Ads Data Hub.\n2. Click the name of the query you wrote earlier.\n3. Click **Run** in the upper left corner of the editor.\n4. Select **ADH Sandbox Customer** from the **Ads data from** dropdown.\n5. Specify where your query results should be written in the **Destination table** field.\n6. Select start and end dates between 2018-08-18 00:00:00 and 2018-09-17 23:59:59. We recommend using the auto-populated 30-day range.\n7. Click **Start**.\n\nAfter the query finishes running, open the results in [BigQuery](https://bigquery.cloud.google.com/). You should see a table that looks something like this:\n\n| Row | impressions |\n|-----|-------------|\n| 1 | 388204742 |\n\nOnce you're satisfied with the results of your test query, you're ready to run it on real data.\n\nRun your query in Ads Data Hub\n\nAfter testing your query using the sandbox role, you're ready to run it on real data.\n\n1. Navigate to the **Queries** tab in Ads Data Hub.\n2. Click the name of the query you want to run.\n3. Click play_arrow **Run** .\n - The expected number of bytes that the query will use shows at the top of the page.\n4. Select an ID in the **Ads data from** field. This should be the account ID associated with the ads data you want to query. (If you would like to query sandbox data, select **ADH Sandbox Customer**.)\n5. If using a match table, select the match table in the **Match table from** field.\n6. Select the privacy mode. [Learn more about privacy\n modes](https://developers.google.com/ads-data-hub/marketers/guides/privacy-checks#privacy_modes).\n7. Specify where your query results should be saved in the **Destination\n table** field.\n8. Enter start and end dates to determine the date range of your query.\n9. Enter a time zone. This should match the time zone of the buying door.\n10. Optional: Enter values for any parameters.\n11. Click **Run**."]]