ประเภทรายงาน: negativeCampaignTarget
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แอตทริบิวต์การกำหนดค่าสำหรับเป้าหมายเชิงลบที่ระดับแคมเปญ ซึ่งรวมถึงเป้าหมายสถานที่ตั้ง (ตำแหน่งทางภูมิศาสตร์ สถานที่ใกล้เคียง และส่วนขยายสถานที่ตั้ง) เป้าหมายโฆษณาแบบไดนามิก เป้าหมายรายการรีมาร์เก็ตติ้ง และเป้าหมายอายุ/เพศ เป้าหมายบางรายการใช้ได้เฉพาะในบัญชีเครื่องมือค้นหาบางประเภทเท่านั้น
รายงานนี้สามารถส่งคืนได้โดยคำขอแบบอะซิงโครนัสเท่านั้น (นั่นคือผ่านทาง
Reports.request())
ขอข้อความที่ตัดตอนมา
ส่ง
Reports.request()
เนื้อหาของคำขอ แต่ระบุ "reportType": "negativeCampaignTarget"
{
...
"reportType": "negativeCampaignTarget",
"columns": [
{
"columnName": string,
"headerText": string,
"startDate": string,
"endDate": string
}
],
"filters": [
{
"column": {
"columnName": string,
},
...
},
...
],
...
}
สำหรับแต่ละคอลัมน์ที่คุณต้องการให้ส่งคืนหรือกรองในรายงาน
ให้ระบุ columnName
ที่แสดงในตารางด้านล่าง
นอกจากนี้คุณยังสามารถเลือกระบุ
headerText
startDate,
และ endDate
โปรดทราบว่าบางคอลัมน์ไม่สามารถกรองได้ ดูที่ "กรองได้" ในตารางด้านล่าง
columnName | คำอธิบาย | ลักษณะการทำงาน | ประเภท | กรองได้ |
status |
สถานะของเป้าหมายแคมเปญ: Active , Paused หรือ Removed |
แอตทริบิวต์ |
Status |
ใช่ |
creationTimestamp |
การประทับเวลาการสร้างเป้าหมายแคมเปญเชิงลบซึ่งอยู่ในรูปแบบ ISO 8601 |
แอตทริบิวต์ |
Timestamp |
ใช่ |
lastModifiedTimestamp |
การประทับเวลาของการแก้ไขล่าสุดของเป้าหมายแคมเปญเชิงลบ ซึ่งอยู่ในรูปแบบ ISO 8601 |
แอตทริบิวต์ |
Timestamp |
ใช่ |
agency |
ชื่อเอเจนซี |
แอตทริบิวต์ |
String |
ใช่ |
agencyId |
รหัสเอเจนซี DS |
แอตทริบิวต์ |
ID |
ใช่ |
advertiser |
ชื่อผู้ลงโฆษณา |
แอตทริบิวต์ |
String |
ใช่ |
advertiserId |
รหัสผู้ลงโฆษณา DS |
แอตทริบิวต์ |
ID |
ใช่ |
account |
ชื่อบัญชีเครื่องมือค้นหา |
แอตทริบิวต์ |
String |
ใช่ |
accountId |
รหัสบัญชีเครื่องมือค้นหา DS |
แอตทริบิวต์ |
ID |
ใช่ |
accountEngineId |
รหัสบัญชีในบัญชีเครื่องมือค้นหาภายนอก |
แอตทริบิวต์ |
String |
ใช่ |
accountType |
ประเภทบัญชีเครื่องมือค้นหา: Google AdWords , Bing Ads , Yahoo Japan Listing Ads , Yahoo Search Marketing , Yahoo Gemini , Baidu หรือ Comparison Shopping |
แอตทริบิวต์ |
Engine type |
ใช่ |
campaign |
ชื่อแคมเปญ |
แอตทริบิวต์ |
String |
ใช่ |
campaignId |
รหัสแคมเปญ DS |
แอตทริบิวต์ |
ID |
ใช่ |
campaignStatus |
สถานะของแคมเปญที่มีรายการนี้ |
แอตทริบิวต์ |
Status |
ใช่ |
engineRemarketingList |
ชื่อรายการรีมาร์เก็ตติ้งที่เชื่อมโยงกับเป้าหมาย |
แอตทริบิวต์ |
String |
ใช่ |
dynamicSearchAdsTargetConditions |
เกณฑ์ที่เป้าหมายโฆษณาแบบไดนามิกใช้เพื่อยกเว้นหน้าเว็บที่อยู่ภายใต้โดเมนเว็บไซต์ |
แอตทริบิวต์ |
String |
ไม่ |
locationTargetName |
ชื่อของพื้นที่เป้าหมาย |
แอตทริบิวต์ |
String |
ใช่ |
ageTargetAgeRange |
ช่วงอายุของเป้าหมายอายุ |
แอตทริบิวต์ |
Age range |
ใช่ |
genderTargetGenderType |
ประเภทเพศของเป้าหมายเพศ: ชาย หญิง ไม่ทราบ |
แอตทริบิวต์ |
Gender type |
ใช่ |
negativeCampaignTargetId |
รหัส DS ที่สร้างขึ้นสำหรับเป้าหมายแคมเปญเชิงลบ |
แอตทริบิวต์ |
ID |
ใช่ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-29 UTC
[null,null,["อัปเดตล่าสุด 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 |"]]