Reports: getIdMappingFile
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
下載內含 UTF-8 編碼的 CSV 檔案,其中包含舊版 Search Ads 360 與新版 Search Ads 360 之間的 ID 對應。對於要求的廣告客戶,檔案會納入舊版和新版 Search Ads 360 中同時存在的所有子實體 (例如引擎帳戶、廣告活動、廣告群組等)。
立即試用。
要求
HTTP 要求
GET https://www.googleapis.com/doubleclicksearch/v2/agency/agencyId/advertiser/advertiserId/idmapping
參數
參數名稱 |
值 |
說明 |
路徑參數 |
advertiserId |
long |
廣告客戶的 DS ID。
|
agencyId |
long |
代理商的 DS ID。
|
授權
此要求需要具有下列範圍的授權:
範圍 |
https://www.googleapis.com/auth/doubleclicksearch |
詳情請參閱「驗證與授權」網頁。
要求主體
請勿使用這個方法提供請求主體。
試試看!
使用下方的 APIs Explorer,針對即時資料呼叫這個方法,看看會有什麼結果。
您也可以改用
獨立式
Explorer。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-08-20 (世界標準時間)。
[null,null,["上次更新時間:2024-08-20 (世界標準時間)。"],[[["\u003cp\u003eDownloads a CSV file containing ID mappings between the previous and new Search Ads 360 for a specified advertiser and its child entities.\u003c/p\u003e\n"],["\u003cp\u003eThe file includes IDs for entities existing in both the previous and new Search Ads 360, encoded in UTF-8.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/doubleclicksearch\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made using an HTTP GET method to a specific URL with agency and advertiser IDs as path parameters.\u003c/p\u003e\n"],["\u003cp\u003eA successful response has an empty body, indicating the initiation of the CSV file download.\u003c/p\u003e\n"]]],["This outlines a method to retrieve a CSV file containing ID mappings between old and new Search Ads 360 systems for a specific advertiser. The file encompasses all child entities. A `GET` request is made to a specified URL with `agencyId` and `advertiserId` path parameters. Authorization using the `https://www.googleapis.com/auth/doubleclicksearch` scope is mandatory. The successful response is an empty body. There is no request body needed for this method.\n"],null,["| **Note:** Requires [authorization](#auth).\n\nDownloads a CSV file (encoded in UTF-8) that contains ID mappings between the previous Search Ads 360 and the new Search Ads 360. For the requested advertiser, the file includes all children entities (e.g. engine accounts, campaigns, ad groups, etc.) that exist in both the previous Search Ads 360 and the new Search Ads 360.\n[Try it now](#try-it).\n\nRequest\n\nHTTP request \n\n```\nGET https://www.googleapis.com/doubleclicksearch/v2/agency/agencyId/advertiser/advertiserId/idmapping\n```\n\nParameters\n\n| Parameter name | Value | Description |\n|----------------|--------|--------------------------|\n| **Path parameters** |||\n| `advertiserId` | `long` | DS ID of the advertiser. |\n| `agencyId` | `long` | DS ID of the agency. |\n\nAuthorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|-----------------------------------------------------|\n| `https://www.googleapis.com/auth/doubleclicksearch` |\n\nFor more information, see the [authentication and authorization](/search-ads/v2/authorizing) page.\n\nRequest body\n\nDo not supply a request body with this method.\n\nResponse\n\nIf successful, this method returns an empty response body.\n\nTry it!\n\n\nUse the APIs Explorer below to call this method on live data and see the response.\nAlternatively, try the\n[standalone\nExplorer](https://developers.google.com/apis-explorer/#p/doubleclicksearch/v2/doubleclicksearch.reports.getIdMappingFile)."]]