Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Über die Weboberfläche von Ads Data Hub können Sie viele der Aufgaben erledigen, die sich auch über die API ausführen lassen. In diesem Leitfaden erfahren Sie, wie Sie eine Abfrage schreiben, testen und anschließend ausführen, bei der Ihre gesamten in der Campaign Manager 360-Datenübertragung enthaltenen Impressionen gemessen werden.
Abfrage schreiben
Gehen Sie zum Tab Abfragen.
Klicken Sie auf + Abfrage erstellen, um den Query Editor zu öffnen.
Klicken Sie auf Leere Vorlage.
Führen Sie im Abfrageeditor folgende Schritte aus:
Klicken Sie auf den Namen der Abfrage, die Sie vorher geschrieben haben.
Klicken Sie oben links im Editor auf Ausführen.
Wählen Sie im Drop-down-Menü Anzeigendaten von die Option ADH Sandbox Customer aus.
Geben Sie im Feld Zieltabelle an, wo Ihre Abfrageergebnisse gespeichert werden sollen.
Wählen Sie ein Start- und Enddatum zwischen 2018-08-18 00:00:00 und 2018-09-17 23:59:59 aus. Wir empfehlen, den automatisch ausgefüllten 30-Tage-Zeitraum zu verwenden.
Klicken Sie auf Start.
Nachdem die Abfrage ausgeführt wurde, öffnen Sie die Ergebnisse in BigQuery. Die Tabelle sollte in etwa so aussehen:
Zeile
Impressionen
1
388204742
Wenn Sie mit den Ergebnissen Ihrer Testabfrage zufrieden sind, können Sie die Abfrage mit echten Daten ausführen.
Abfrage in Ads Data Hub ausführen
Nachdem Sie die Abfrage mit der Sandbox-Rolle getestet haben, können Sie sie mit echten Daten ausführen.
Gehen Sie in Ads Data Hub zum Tab Abfragen.
Klicken Sie auf den Namen der Abfrage, die Sie ausführen möchten.
Klicken Sie auf Ausführen (play_arrow).
Oben auf der Seite wird die Anzahl der Bytes angezeigt, die die Abfrage voraussichtlich verwenden wird.
Wählen Sie im Feld Anzeigendaten von eine ID aus. Es sollte die Konto-ID sein, die den Anzeigendaten zugeordnet ist, die Sie abfragen möchten. Wenn Sie Sandbox-Daten abfragen möchten, wählen Sie ADH Sandbox Customer aus.
Falls Sie eine Match-Table verwenden, wählen Sie sie im Feld Match-Table von aus.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-26 (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,["# Get started with the Ads Data Hub web UI\n\nYou 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----------------\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\n---------------------------------\n\n| **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------------------------------\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**."]]