Reports: getIdMappingFile
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
下载一个 CSV 文件(采用 UTF-8 编码),其中包含旧版 Search Ads 360 和新版 Search Ads 360 之间的 ID 映射关系。对于所请求的广告客户,该文件包含旧版 Search Ads 360 和新版 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 |
如需了解详情,请参阅身份验证和授权页面。
请求正文
使用此方法时请勿提供请求正文。
试试看!
请使用下面的 API Explorer 针对实际数据调用此方法并查看响应。
或者,您也可以尝试
独立广告
Explorer。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-20。
[null,null,["最后更新时间 (UTC):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)."]]