Type de rapport: negativeCampaignKeyword
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Attributs de configuration pour les mots clés à exclure créés au niveau de la campagne.
Ce rapport ne peut être renvoyé que par une demande asynchrone (c'est-à-dire, via la méthode
Reports.request()).
Demander un extrait
Envoyer un
Reports.request()
corps de la requête, mais spécifiez "reportType": "negativeCampaignKeyword"
.
{
...
"reportType": "negativeCampaignKeyword",
"columns": [
{
"columnName": string,
"headerText": string,
"startDate": string,
"endDate": string
}
],
"filters": [
{
"column": {
"columnName": string,
},
...
},
...
],
...
}
Pour chaque colonne que vous souhaitez afficher ou filtrer dans le rapport,
spécifiez la valeur columnName
indiquée dans le tableau ci-dessous.
Vous pouvez également spécifier
headerText,
startDate,
et endDate.
Notez que certaines colonnes ne peuvent pas être filtrées. reportez-vous à "Filtrable" dans le tableau ci-dessous.
columnName | Description | Comportement | Type | Filtrable |
status |
État du mot clé à exclure: Active ou Removed . Notez que les campagnes, les groupes d'annonces, les mots clés et les annonces ont chacun leur propre état. Voir État. |
attribut |
Status |
Oui |
engineStatus |
État supplémentaire du mot clé à exclure de la campagne dans le compte de moteur externe. |
attribut |
String |
Oui |
creationTimestamp |
Code temporel de création du mot clé à exclure, au format ISO 8601. |
attribut |
Timestamp |
Oui |
lastModifiedTimestamp |
Horodatage de la dernière modification du mot clé à exclure, au format ISO 8601. |
attribut |
Timestamp |
Oui |
agency |
Nom de l'agence. |
attribut |
String |
Oui |
agencyId |
ID d'agence DS. |
attribut |
ID |
Oui |
advertiser |
Nom de l'annonceur. |
attribut |
String |
Oui |
advertiserId |
référence annonceur DS. |
attribut |
ID |
Oui |
account |
Nom du compte de moteur. |
attribut |
String |
Oui |
accountId |
ID de compte de moteur DS. |
attribut |
ID |
Oui |
accountEngineId |
ID du compte dans le compte de moteur externe. |
attribut |
String |
Oui |
accountType |
Type de compte de moteur: Google AdWords , Bing Ads , Yahoo Japan Listing Ads , Yahoo Search Marketing , Yahoo Gemini , Baidu ou Comparison Shopping . |
attribut |
Engine type |
Oui |
campaign |
Nom de la campagne. |
attribut |
String |
Oui |
campaignId |
ID de campagne DS. |
attribut |
ID |
Oui |
campaignStatus |
État de la campagne qui contient cet élément. |
attribut |
Status |
Oui |
negativeCampaignKeywordId |
ID du mot clé à exclure de la campagne DS. |
attribut |
ID |
Oui |
negativeCampaignKeywordText |
Texte du mot clé. |
attribut |
String |
Oui |
negativeCampaignKeywordMatchType |
Type de correspondance du mot clé à exclure: Broad , Exact , Phrase ou Content . Cette option n'est actuellement disponible que pour les comptes Google Ads. |
attribut |
Match type |
Oui |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/08/29 (UTC).
[null,null,["Dernière mise à jour le 2025/08/29 (UTC)."],[[["\u003cp\u003eThis report provides configuration attributes for negative keywords specifically created at the campaign level.\u003c/p\u003e\n"],["\u003cp\u003eThe report is accessible only through an asynchronous request using the \u003ccode\u003eReports.request()\u003c/code\u003e method with \u003ccode\u003e"reportType": "negativeCampaignKeyword"\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes details such as status, match type, keyword text, and timestamps, along with identifiers for agency, advertiser, account, and campaign.\u003c/p\u003e\n"],["\u003cp\u003eUsers can filter and retrieve specific data by specifying column names like \u003ccode\u003estatus\u003c/code\u003e, \u003ccode\u003eengineStatus\u003c/code\u003e, \u003ccode\u003ecreationTimestamp\u003c/code\u003e, etc., in the request body.\u003c/p\u003e\n"]]],["To retrieve data on campaign-level negative keywords, use the `Reports.request()` method with `\"reportType\": \"negativeCampaignKeyword\"`. Specify desired columns in the request body using `columnName`, and optionally `headerText`, `startDate`, and `endDate`. You can filter the output with columns. Available columns include keyword status (`Active`, `Removed`), timestamps, agency/advertiser/account details, campaign information, keyword text, and match type (for Google Ads accounts). The columns available are `filterable`.\n"],null,["# Report Type: negativeCampaignKeyword\n\nConfiguration attributes for negative keywords that have been created at the campaign level.\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\": \"negativeCampaignKeyword\"`.\n\n```text\n{\n...\n \"reportType\": \"negativeCampaignKeyword\",\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 negative keyword: `Active` or `Removed`. Note that campaigns, ad groups, keywords, and ads each have their own status. See [status](https://support.google.com/searchads/answer/2405081). | attribute | `Status` | Yes |\n| `engineStatus` | Additional status of the negative campaign keyword in the external engine account. | attribute | `String` | Yes |\n| `creationTimestamp` | Timestamp of the negative keyword's creation, formatted in ISO 8601. | attribute | `Timestamp` | Yes |\n| `lastModifiedTimestamp` | Timestamp of the negative keyword'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| `negativeCampaignKeywordId` | DS negative campaign keyword ID. | attribute | `ID` | Yes |\n| `negativeCampaignKeywordText` | The keyword text. | attribute | `String` | Yes |\n| `negativeCampaignKeywordMatchType` | Match type of the negative keyword: `Broad`, `Exact`, `Phrase`, or `Content`. Currently only for Google Ads accounts. | attribute | `Match type` | Yes |"]]