Reports: getIdMappingFile
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Faz o download de um arquivo CSV (codificado em UTF-8) com mapeamentos de ID entre o antigo e o novo Search Ads 360. Para o anunciante solicitado, o arquivo inclui todas as entidades filhas (por exemplo, contas de mecanismo, campanhas, grupos de anúncios etc.) que existem no antigo e no novo Search Ads 360.
Faça o teste agora.
Solicitação
Solicitação HTTP
GET https://www.googleapis.com/doubleclicksearch/v2/agency/agencyId/advertiser/advertiserId/idmapping
Parâmetros
Nome do parâmetro |
Valor |
Descrição |
Parâmetros de caminho |
advertiserId |
long |
ID do DS do anunciante.
|
agencyId |
long |
ID do DS da agência.
|
Autorização
Esta solicitação requer autorização com o seguinte escopo:
Escopo |
https://www.googleapis.com/auth/doubleclicksearch |
Para mais informações, consulte a página de autenticação e autorização.
Corpo da solicitação
Não forneça um corpo de solicitação com este método.
Resposta
Se for bem-sucedido, este método retornará um corpo de resposta em branco.
Faça um teste
Use o APIs Explorer abaixo para chamar esse método para dados ativos e ver a resposta.
Como alternativa, teste o Explorador independente.
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2024-08-20 UTC.
[null,null,["Última atualização 2024-08-20 UTC."],[[["\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)."]]