[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[[["\u003cp\u003eThis document outlines the migration process from the old Search Ads 360 reporting API to the new Search Ads 360 reporting API, which is now the only supported version.\u003c/p\u003e\n"],["\u003cp\u003eThe new Search Ads 360 API introduces changes in account structure, ID space, and utilizes a resource-based data model rather than a report-based one.\u003c/p\u003e\n"],["\u003cp\u003eExisting Search Ads 360 transfer configurations cannot be automatically converted; users must create new data transfers using the new Search Ads 360 reporting API.\u003c/p\u003e\n"],["\u003cp\u003eMapping information, including report mappings, field mappings, and ID mappings, is provided to help users adapt their existing resources and queries to the new API.\u003c/p\u003e\n"],["\u003cp\u003eExample queries demonstrate how to update old Search Ads 360 API queries to align with the new Search Ads 360 reporting API, showcasing the changes in table structures and field names.\u003c/p\u003e\n"]]],[],null,["# Search Ads 360 migration guide\n==============================\n\nThe Search Ads 360 connector (formerly known as *Doubleclick Search* )\nrelies on the new [Search Ads 360 reporting API](https://developers.google.com/search-ads/reporting/overview).\nThe [old Search Ads 360 reporting API](https://developers.google.com/search-ads/v2/how-tos/reporting)\nis no longer supported, so you should migrate your BigQuery Data Transfer Service\nworkflows to be compatible with the new Search Ads 360 reporting API.\nThis document shows you the changes of the new Search Ads 360 from\nthe old Search Ads 360 and provides mapping\ninformation to migrate your existing resources to the new\nSearch Ads 360.\n\nWhat's new with Search Ads 360\n------------------------------\n\nThe new Search Ads 360 reporting API offers several changes that\nmight affect your existing BigQuery Data Transfer Service workflows.\n\n### Account structure\n\nThe new Search Ads 360 reporting API organizes accounts into a\nhierarchy of manager accounts, sub-manager accounts, and client accounts. For more\ninformation, see [Account hierarchy differences](https://support.google.com/sa360/answer/13633455)\nand [About manager accounts](https://support.google.com/sa360/answer/9158072).\n\n### ID space\n\nEntities in the new Search Ads 360 have a different [ID space](https://developers.google.com/search-ads/v2/how-tos/reporting/id-mapping)\nmapping than previous versions of Search Ads 360. For information\nabout mapping between previous IDs and new IDs, see [ID mapping](#id_mapping).\n\n### Resource-based reporting\n\nThe new Search Ads 360 API data model uses a resource-based data\nmodel, as opposed to the old Search Ads 360 API which\nuses a report-based data model. The new Search Ads 360 API connector\ncreates BigQuery tables by querying\n[resources](https://developers.google.com/search-ads/reporting/concepts/api-structure#resources)\nin Search Ads 360. For more information about the resource structure\nin the new Search Ads 360 API, see [Search Ads 360 reporting API structure](https://developers.google.com/search-ads/reporting/concepts/api-structure).\n\nMigrate transfer configurations\n-------------------------------\n\nThere is no automated method to convert existing Search Ads 360 transfer\nconfigurations to the new Search Ads 360 reporting API. You must [create a new Search Ads 360 data transfer](/bigquery/docs/search-ads-transfer#setup-data-transfer)\nwith the new Search Ads 360 reporting API as the data source.\n\nReview mapping information\n--------------------------\n\nReview the following mapping information to map your existing Search Ads 360\nresources to the new Search Ads 360 reporting API.\n\n### Report mapping\n\nThe new Search Ads 360 reports are based on resources and have a\ndifferent structure than reports from the old Search Ads 360. For a\ncomplete mapping of old and new reports, see [Report mappings for the Search Ads 360 reporting API](https://developers.google.com/search-ads/reporting/migrate/mappings/report-mappings).\n\nThe following table lists the tables supported by the BigQuery Data Transfer Service along\nwith the resources queried to generate the tables.\n\n### Field mapping\n\nThe BigQuery Data Transfer Service supports a subset of Search Ads 360\nreport fields as listed in [Search Ads 360 report transformation](/bigquery/docs/search-ads-transformation).\nBigQuery does not support `.` in column names, so all transferred\nreports replace `.` with `_`. For example, the field\n`ad_group_ad.ad.text_ad.description1` in a Search Ads 360 resource is\ntransferred to BigQuery as `ad_group_ad_ad_text_ad_description1`.\n\n### ID mapping\n\nEntities in the new Search Ads 360, such as customers, campaigns, and\nad groups,\nhave a different [ID space](https://developers.google.com/search-ads/v2/how-tos/reporting/id-mapping)\nthan the old Search Ads 360. For more information about ID\nmapping tables for the new Search Ads 360, see [ID mapping tables](/bigquery/docs/search-ads-transfer#id-mapping).\n\nExamples of migrated queries\n----------------------------\n\nThe following examples demonstrate how a BigQuery query\nmight look before and after it is mapped to the new Search Ads 360\nreporting API.\n\nConsider the following example query that analyzes Search Ads campaign\nperformance from the past 30 days using the old Search Ads 360\nreporting API. \n\n```googlesql\nSELECT\n c.accountId,\n c.campaign,\n C.status,\n SUM(cs.impr) AS Impressions,\n SUM(cs.clicks) AS Clicks,\n (SUM(cs.cost) / 1000000) AS Cost\nFROM\n `previous_dataset.Campaign_advertiser_id` c\nLEFT JOIN\n `previous_dataset.CampaignStats_advertiser_id` cs\nON\n (c.campaignId = cs.campaignId\n AND cs._DATA_DATE BETWEEN\n DATE_ADD(CURRENT_DATE(), INTERVAL -31 DAY) AND DATE_ADD(CURRENT_DATE(), INTERVAL -1 DAY))\nWHERE\n c._DATA_DATE = c._LATEST_DATE\nGROUP BY\n 1, 2, 3\nORDER BY\n Impressions DESC\n```\n\nWhen mapped to be compatible with the new Search Ads 360 reporting\nAPI, the same query is converted to the following: \n\n```googlesql\nSELECT\n c.customer_id,\n c.campaign_name,\n C.campaign_status,\n SUM(cs.metrics_impressions) AS Impressions,\n SUM(cs.metrics_clicks) AS Clicks,\n (SUM(cs.metrics_cost_micros) / 1000000) AS Cost\nFROM\n `new_dataset.sa_Campaign_customer_id` c\nLEFT JOIN\n `new_dataset.sa_CampaignStats_customer_id` cs\nON\n (c.campaign_id = cs.campaign_id\n AND cs._DATA_DATE BETWEEN\n DATE_ADD(CURRENT_DATE(), INTERVAL -31 DAY) AND DATE_ADD(CURRENT_DATE(), INTERVAL -1 DAY))\nWHERE\n c._DATA_DATE = c._LATEST_DATE\nGROUP BY\n 1, 2, 3\nORDER BY\n Impressions DESC\n```\n\nFor more examples of queries that are compatible with the new Search Ads 360,\nsee [Example queries](/bigquery/docs/search-ads-transfer#example_queries).\n\nWhat's next\n-----------\n\n- To learn how to schedule and manage recurring load jobs from Search Ads 360, see [Search Ads 360 transfers](/bigquery/docs/search-ads-transfer).\n- To see how you can transform your Search Ads 360 reports, see [Search Ads 360 report transformation](/bigquery/docs/search-ads-transformation)."]]