DRAGON_PPC_TARGETS

Keyword/target performance. Default rolls one keyword up across campaigns; basis=CAMPAIGN or ADGROUP splits finer.

Syntax

=DRAGON_PPC_TARGETS(account, [target], [marketplace], [ad type], [campaign], [ad group], [target type], [period], [period view], [basis], [state], [filter], [columns], [header], [transpose])

Parameters in [brackets] are optional. Leave an optional parameter blank to include everything.

This page is also available inside Sheets – type =DRAGON_PPC_TARGETS("help") in any cell to get the same reference without leaving your spreadsheet.

Sample output

Illustrative values – your sheet shows your account's live data.

A1fx=DRAGON_PPC_TARGETS("Myaccount", "girl dad hat")
ABCDEFGHI
1target_textmatch_typecampaignsspendad_salesordersclicksimpressions
2… 3 more
3… 3 more
4… 3 more
5… 3 more

Parameters

ParameterRequiredDescription
accountRequiredAccount nickname or Amazon account id.
targetOptionalOptional exact keyword/target text or target id filter; comma/space separated list.
marketplaceOptionalOptional marketplace/country code such as US, CA, or MX.
ad typeOptionalOptional ad type: SP, SB, SD, or ALL. Default: SP.
campaignOptionalOptional campaign id scope filter; comma/space separated list.
ad groupOptionalOptional ad group id scope filter; comma/space separated list.
target typeOptionalOptional target type: ALL, KEYWORD, PRODUCT, CATEGORY, or THEME. Default: ALL.
periodOptionalOptional period such as last 30 days, 2026-08, or 2026. Default: last 30 days.
period viewOptionalOptional period view: TOTAL, DAY, WEEK, or MONTH. Default: TOTAL.
basisOptionalOptional row basis: TARGET (cross-campaign), CAMPAIGN, or ADGROUP. Default: TARGET.
stateOptionalOptional target state: ACTIVE, PAUSED, ARCHIVED, or ALL. Default: ACTIVE.
filterOptionalOptional metric-range filter: metric:min-max tokens, space-separated, e.g. roas:1-3 spend:25-* impressions:0-10. Both ends required; * = open. Metric names match output columns.
columnsOptionalOptional comma-separated output columns.
headerOptionalUse no, false, or 0 to suppress the output header row. Default: Yes.
transposeOptionalUse yes, true, or 1 to transpose the output.

The period accepts values like last_30_days, this_month, 2026Q1, or ranges like 2026-01-01..today – see the full period reference.

Columns

Columns are evaluated left to right: a field or group name adds columns, a leading - removes them. default and all select the default or full column set.

ColumnDefaultDescription
target_textYesKeyword or target expression.
match_typeYesMatch type.
target_typeNoTarget type.
campaignsYesDistinct campaigns the target runs in.
campaign_idNoCampaign id (basis=CAMPAIGN/ADGROUP).
ad_group_idNoAd group id (basis=ADGROUP).
bidNoTarget bid (max across rolled-up targets).
stateNoTarget state.
dateNoDate bucket (period_view other than TOTAL).
spendYesAd spend (SUM of cost).
ad_salesYesAttributed sales, 7-day.
ordersYesAttributed orders, 7-day.
clicksYesClicks.
impressionsYesImpressions.
unitsNoAttributed units, 7-day.
ctrYesClick-through rate %.
cpcYesCost per click.
cvrNoConversion rate % (orders / clicks).
acosNoACOS %.
roasYesROAS.

Filter metrics

The filter parameter narrows rows by metric range on the server, before the row limit — so a narrow filter returns the narrow set instead of a truncated one. Write metric:min-max tokens separated by spaces; both ends are required and * means an open end (for example roas:1-3 spend:25-*). Only these metrics can be filtered:

MetricDescription
spendAd spend (SUM of cost).
ad_salesAttributed sales, 7-day.
ordersAttributed orders, 7-day.
clicksClicks.
impressionsImpressions.
unitsAttributed units, 7-day.
ctrClick-through rate %.
cpcCost per click.
cvrConversion rate % (orders / clicks).
acosACOS %.
roasROAS.

Examples

=DRAGON_PPC_TARGETS("Myaccount", "girl dad hat")
=DRAGON_PPC_TARGETS("Myaccount", "", "US", "SP", "", "", "keyword", "last 30 days", "day")

Notes

  • A keyword is one target type; product/category/theme targets appear with a type column.
  • Text search is exact: "coffee cup" matches that keyword, not everything containing coffee. Broad and exact stay separate rows.
  • campaign and adgroup here filter by id (scope). Stats only.