API جدید Search Ads 360 Reporting اکنون در دسترس است. به گروه Google searchads-api-announcements بپیوندید تا در مورد پیشرفتها و نسخههای آینده بهروز باشید.
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
معیارهای صفر در نتایج جستجو
هنگامی که یک پرس و جو را اجرا می کنید، ممکن است با معیارهایی برای موجودیت هایی روبرو شوید که صفر هستند. این می تواند به این دلیل باشد که:
نهادها برای نمایش واجد شرایط نیستند.
ممکن است آنها در محدوده تاریخ گزارش متوقف شوند.
با نتایج پرس و جو، اغلب می خواهید اطلاعاتی در مورد نحوه عملکرد کمپین های خود به دست آورید. در این زمینه، معیارهای صفر ممکن است مطلوب نباشند. برای تهیه گزارش مفیدتر، می توانید به صراحت معیارهای صفر را حذف کنید.
معیارهای صفر را با یک محمول حذف کنید
گزاره عبارتی است که به TRUE ، FALSE یا UNKNOWN ارزیابی می شود. آنها در شرایط جستجوی بندهای WHERE در Search Ads 360 Reporting API استفاده می شوند.
پرس و جو زیر نحوه حذف صریح معیارهای صفر را با یک گزاره نشان می دهد:
معیارهای صفر همیشه هنگام تقسیم بندی یک گزارش مستثنی می شوند، مشروط بر اینکه همه معیارهای انتخاب شده صفر باشند ( به زیر مراجعه کنید).
بخش بندی یک گزارش با گنجاندن هر segments قسمت در عبارت جستجو انجام می شود. برای مثال، اگر گزارشی را بر اساس segments.date تقسیم کنید، معیارها با یک ردیف برای هر تاریخ تقسیم میشوند. تاریخ های بدون معیار در چنین گزارشی بازگردانده نمی شوند.
برای جستار زیر، گزارش شامل ردیفهای متریک صفر نخواهد بود:
تاریخ آخرین بهروزرسانی 2025-09-03 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-09-03 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eZero metrics in Search Ads 360 reports can indicate ineligible entities or paused entities within the report's timeframe.\u003c/p\u003e\n"],["\u003cp\u003eYou can refine your reports by explicitly excluding zero metrics using a predicate in the \u003ccode\u003eWHERE\u003c/code\u003e clause, ensuring that only meaningful data is displayed.\u003c/p\u003e\n"],["\u003cp\u003eSegmenting reports by fields like \u003ccode\u003esegments.date\u003c/code\u003e automatically removes zero metric rows when all selected metrics are zero for a particular segment.\u003c/p\u003e\n"],["\u003cp\u003eBy default, Search Ads 360 reports exclude rows with zero values for all selected metrics, simplifying report analysis and focusing on significant data points.\u003c/p\u003e\n"]]],["Zero metrics in search results can occur due to ineligibility or pausing. To exclude them and generate more useful reports, use predicates in the `WHERE` clause, like `metrics.impressions \u003e 0`. Alternatively, segmenting the report by any `segments` field, such as `segments.date`, automatically excludes rows where all selected metrics are zero. By default, rows with zero metrics for all *selected* metrics are omitted from reports, but this does not apply to Custom Columns.\n"],null,["# Zero Metrics\n\nZero metrics in search results\n------------------------------\n\nWhen you execute a query, you may encounter metrics for entities that\nare zero. This could be because:\n\n- The entities are ineligible for display.\n- They could have been paused within the report's date range.\n\nWith query results, you often want to obtain information about how your\ncampaigns are performing. In this context, zero metrics may not be\ndesirable. To produce a more useful report, you can explicitly exclude zero\nmetrics.\n\nExclude zero metrics with a predicate\n-------------------------------------\n\nA predicate is an expression that evaluates to `TRUE`, `FALSE`, or `UNKNOWN`.\nThey are used in the search condition of the `WHERE` clauses in\n[Search Ads 360 Reporting API](/search-ads/reporting/query/query-language#where_clause).\n\nThe following query demonstrates how to explicitly remove zero metrics with\na predicate: \n\n SELECT\n campaign.id,\n metrics.impressions\n FROM campaign\n WHERE metrics.impressions \u003e 0\n\nExclude zero metrics by segmenting\n----------------------------------\n\nZero metrics are always excluded when segmenting a report, provided all\n*selected* metrics are zero (see [below](#rows_returned)).\n\nSegmenting a report is done by including any `segments` field in the search\nquery. For example, if you segment a report by `segments.date`, metrics are\nbroken down with one row for each date. Dates with no metrics are not returned\nin such a report.\n\nFor the following query, the report won't include zero metric rows: \n\n SELECT\n campaign.name,\n metrics.impressions,\n segments.date\n FROM campaign\n WHERE segments.date DURING LAST_30_DAYS\n\nReturned rows with zero metrics\n-------------------------------\n\nRows for which a query returns zero metrics for **all** selected metrics are\nexcluded from your reports by default. Custom Columns don't apply.\n\nIn this example query, if there are no `impressions` metrics for any day in the\nlast 30 days, the row for that day will be omitted from the report. \n\n SELECT\n campaign.name,\n metrics.impressions,\n segments.date\n FROM campaign\n WHERE segments.date DURING LAST_30_DAYS\n\nIn this example query, the row for any day will only be excluded from your\nresults if there are zero `impressions`, `clicks` **and** `conversions` metrics\nfor that day. \n\n SELECT\n campaign.name,\n metrics.impressions,\n metrics.clicks,\n metrics.conversions,\n segments.date\n FROM campaign\n WHERE segments.date DURING LAST_30_DAYS"]]