Tipo de relatório: negativeCampaignTarget
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Atributos de configuração para segmentações negativas no nível da campanha, que incluem segmentações por local (geolocalização, proximidade e extensão de local), segmentações dinâmicas de anúncios, por lista de remarketing e por idade/gênero. Algumas segmentações estão disponíveis somente em tipos específicos de contas de mecanismo.
Esse relatório só pode ser retornado por uma solicitação assíncrona (ou seja, por meio do método
Reports.request()).
Trecho da solicitação
Envie uma
Reports.request()
corpo da solicitação, mas especifique "reportType": "negativeCampaignTarget"
.
{
...
"reportType": "negativeCampaignTarget",
"columns": [
{
"columnName": string,
"headerText": string,
"startDate": string,
"endDate": string
}
],
"filters": [
{
"column": {
"columnName": string,
},
...
},
...
],
...
}
Para cada coluna que você quer retornar ou filtrar no relatório,
especifique o columnName
listado na tabela abaixo.
Também é possível especificar
headerText;
startDate,
e endDate.
Algumas colunas não podem ser filtradas. consulte "Filtrável" na tabela abaixo.
columnName | Descrição | Comportamento | Tipo | Filtrável |
status |
O status da segmentação da campanha: Active , Paused ou Removed . |
atributo |
Status |
Sim |
creationTimestamp |
Carimbo de data/hora da criação da segmentação negativa da campanha, formatado em ISO 8601. |
atributo |
Timestamp |
Sim |
lastModifiedTimestamp |
Carimbo de data/hora da modificação mais recente da segmentação negativa da campanha, formatado em ISO 8601. |
atributo |
Timestamp |
Sim |
agency |
Nome da agência. |
atributo |
String |
Sim |
agencyId |
ID da agência do DS. |
atributo |
ID |
Sim |
advertiser |
Nome do anunciante. |
atributo |
String |
Sim |
advertiserId |
ID do anunciante do DS. |
atributo |
ID |
Sim |
account |
Nome da conta de mecanismo. |
atributo |
String |
Sim |
accountId |
ID da conta de mecanismo do DS. |
atributo |
ID |
Sim |
accountEngineId |
ID da conta na conta de mecanismo externo. |
atributo |
String |
Sim |
accountType |
Tipo de conta de mecanismo: Google AdWords , Bing Ads , Yahoo Japan Listing Ads , Yahoo Search Marketing , Yahoo Gemini , Baidu ou Comparison Shopping . |
atributo |
Engine type |
Sim |
campaign |
Nome da campanha. |
atributo |
String |
Sim |
campaignId |
ID da campanha do DS. |
atributo |
ID |
Sim |
campaignStatus |
O status da campanha que contém esse item. |
atributo |
Status |
Sim |
engineRemarketingList |
O nome da lista de remarketing associada à segmentação. |
atributo |
String |
Sim |
dynamicSearchAdsTargetConditions |
Os critérios que a segmentação dinâmica de anúncios usa para excluir páginas no domínio do site. |
atributo |
String |
Não |
locationTargetName |
O nome do local de segmentação. |
atributo |
String |
Sim |
ageTargetAgeRange |
A faixa etária da segmentação. |
atributo |
Age range |
Sim |
genderTargetGenderType |
O tipo de segmentação por sexo: masculino, feminino, desconhecido. |
atributo |
Gender type |
Sim |
negativeCampaignTargetId |
O código que o DS gerou para uma segmentação negativa de campanha. |
atributo |
ID |
Sim |
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 2025-08-29 UTC.
[null,null,["Última atualização 2025-08-29 UTC."],[[["\u003cp\u003eThis report details negative campaign target configuration attributes, including location, dynamic ad, remarketing list, and age/gender targets.\u003c/p\u003e\n"],["\u003cp\u003eThe report is accessible via an asynchronous Reports.request() method with "reportType" specified as "negativeCampaignTarget".\u003c/p\u003e\n"],["\u003cp\u003eIt provides insights into target status, timestamps, associated accounts and campaigns, and specific target criteria.\u003c/p\u003e\n"],["\u003cp\u003eCertain targets may only be available in specific engine accounts, and the report allows filtering by various attributes.\u003c/p\u003e\n"],["\u003cp\u003eColumn details like \u003ccode\u003ecolumnName\u003c/code\u003e, description, behavior, type, and filterability are provided for comprehensive understanding and utilization of the report.\u003c/p\u003e\n"]]],["This document outlines the configuration and retrieval of negative campaign targets via the `Reports.request()` method using `\"reportType\": \"negativeCampaignTarget\"`. The report includes details on location, dynamic ad, remarketing list, and age/gender targets. Key actions involve specifying `columnName` for data fields within the request body, including attributes such as status, timestamps, agency/account details, campaign information, target names, and IDs. Filters can be applied to most columns, excluding `dynamicSearchAdsTargetConditions`.\n"],null,["# Report Type: negativeCampaignTarget\n\nConfiguration attributes for negative targets at the campaign level, which include location targets (geo-location, proximity, and location extension), dynamic ad targets, remarketing list targets and age/gender targets. Some targets are available only in specific types of engine accounts.\n\n\nThis report can only be returned by an asynchronous request (that is, via the\n[Reports.request()](/search-ads/v2/reference/reports/request) method).\n\n### Request excerpt\n\n\nSend a regular\n[Reports.request()](/search-ads/v2/reference/reports/request)\nrequest body, but specify `\"reportType\": \"negativeCampaignTarget\"`.\n\n```text\n{\n...\n \"reportType\": \"negativeCampaignTarget\",\n \"columns\": [\n {\n \"columnName\": string,\n \"headerText\": string,\n \"startDate\": string,\n \"endDate\": string\n }\n ],\n \"filters\": [\n {\n \"column\": {\n \"columnName\": string,\n },\n ...\n },\n ...\n ],\n...\n}\n```\n\n\nFor each column that you want returned or filtered in the report,\nspecify the `columnName` listed in the table below.\nYou can also optionally specify\n[headerText](/search-ads/v2/reference/reports#request.columns.headerText),\n[startDate](/search-ads/v2/reference/reports#request.columns.startDate),\nand [endDate](/search-ads/v2/reference/reports#request.columns.endDate).\nNote that some columns cannot be filtered; refer to \"Filterable\" in the table below.\n\n| `columnName` | Description | Behavior | Type | Filterable |\n|------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|---------------|------------|\n| `status` | The status of the campaign target: `Active`, `Paused`, or `Removed`. | attribute | `Status` | Yes |\n| `creationTimestamp` | Timestamp of the negative campaign target's creation, formatted in ISO 8601. | attribute | `Timestamp` | Yes |\n| `lastModifiedTimestamp` | Timestamp of the negative campaign target's most recent modification, formatted in ISO 8601. | attribute | `Timestamp` | Yes |\n| `agency` | Agency name. | attribute | `String` | Yes |\n| `agencyId` | DS agency ID. | attribute | `ID` | Yes |\n| `advertiser` | Advertiser name. | attribute | `String` | Yes |\n| `advertiserId` | DS advertiser ID. | attribute | `ID` | Yes |\n| `account` | Engine account name. | attribute | `String` | Yes |\n| `accountId` | DS engine account ID. | attribute | `ID` | Yes |\n| `accountEngineId` | ID of the account in the external engine account. | attribute | `String` | Yes |\n| `accountType` | Engine account type: `Google AdWords`, `Bing Ads`, `Yahoo Japan Listing Ads`, `Yahoo Search Marketing`, `Yahoo Gemini`, `Baidu`, or `Comparison Shopping`. | attribute | `Engine type` | Yes |\n| `campaign` | Campaign name. | attribute | `String` | Yes |\n| `campaignId` | DS campaign ID. | attribute | `ID` | Yes |\n| `campaignStatus` | The status of the campaign that contains this item. | attribute | `Status` | Yes |\n| `engineRemarketingList` | The name of the remarketing list associated with the target. | attribute | `String` | Yes |\n| `dynamicSearchAdsTargetConditions` | The criteria the dynamic ad target uses to exclude pages under the site domain. | attribute | `String` | No |\n| `locationTargetName` | The name of the location target. | attribute | `String` | Yes |\n| `ageTargetAgeRange` | The age range of age target. | attribute | `Age range` | Yes |\n| `genderTargetGenderType` | The gender type of gender target: Male, Female, Unknown. | attribute | `Gender type` | Yes |\n| `negativeCampaignTargetId` | The ID DS generated for a negative campaign target. | attribute | `ID` | Yes |"]]