Citations
Find pages missing the brand
Shows the pages cited in saved answers that leave out the brand, ranked by how many of those answers cite each page.
- Path
datasetismissing_brand.
Authentication and access
- Authentication
- Bearer API key
- Scopes
- analytics:read
- Roles
- approver, editor, owner, publisher, service, viewer
- Plans
- Optimizer, Analyzer
- Credits
- No credit charge.
Parameters
| Name | Where | Type | Required | Description |
|---|---|---|---|---|
dataset | path | "missing_brand" | Yes | |
brand_id | query | string (uuid) | Yes | |
month | query | string | null | No | |
report_id | query | string (uuid) | null | No | |
engine | query | string | null | No | |
ai_search | query | string | null | No | The AI search product the answer came from, such as google_ai_overviews. |
topic_id | query | string | null | No | |
prompt_id | query | string (uuid) | null | No | |
page_id | query | string | null | No | |
limit | query | integer | No | |
cursor | query | string | null | No | |
opportunities | query | boolean | No | Set to true to page through data.opportunities.items. Use meta.next_cursor with the same filters and opportunities value. |
Request body
Send this request without a body.
Request examples
Set AEO_API_BASE_URL to https://api.aeoapi.dev and AEO_API_KEY to your server-side API key. Set the other environment variables to the values for your request.
curl --fail-with-body --get "$AEO_API_BASE_URL/v2/analytics/missing_brand" \
-H "Authorization: Bearer $AEO_API_KEY" \
--data-urlencode "brand_id=$BRAND_ID"from os import environ
from aeo_sdk import AeoClient
with AeoClient(environ["AEO_API_KEY"], base_url=environ["AEO_API_BASE_URL"]) as client:
response = client.v2_get_analytics_dataset(
dataset="missing_brand",
brand_id=environ["BRAND_ID"],
)
print(response.body)import { AeoClient } from "@aeoapi/aeo-sdk";
const client = new AeoClient(process.env.AEO_API_KEY!, {
baseUrl: process.env.AEO_API_BASE_URL!,
});
const response = await client.v2GetAnalyticsDataset(
"missing_brand",
{
brand_id: process.env.BRAND_ID!,
},
);
console.log(response.body);Responses
HTTP 200
Successful Response
application/json
Response fields are listed below.
| Name | Type | Required | Description |
|---|---|---|---|
data | object | Yes | The requested result. See the fields below for its contents. |
data.brand_id | string | Yes | Identifies the brand this result belongs to. |
data.brand_missing_answers | integer | Yes | |
data.brand_missing_answers_with_displayable_citations | integer | Yes | |
data.brand_missing_answers_with_unusable_citation_urls | integer | Yes | |
data.brand_missing_answers_with_withheld_citations | integer | Yes | |
data.evidence | array of object | Yes | |
data.evidence[].ai_search | string | Yes | The AI search product the answer came from, such as google_ai_overviews. |
data.evidence[].answer_excerpt | string | null | Yes | |
data.evidence[].answer_excerpt_truncated | boolean | null | Yes | |
data.evidence[].collected_at | string | null | Yes | |
data.evidence[].engine | string | Yes | |
data.evidence[].observation_id | string | Yes | |
data.evidence[].prompt_id | string | Yes | |
data.evidence[].prompt_text | string | null | Yes | |
data.evidence[].prompt_version | integer | null | Yes | |
data.evidence[].provider | string | null | Yes | |
data.evidence[].scheduled_at | string | Yes | |
data.month | string | null | Yes | |
data.opportunities | object | No | |
data.opportunities.answers_without_citation_urls | integer | Conditional | |
data.opportunities.eligible_question_count | integer | Conditional | |
data.opportunities.items | array of object | Conditional | |
data.opportunities.items[].basis | "observed_citation" | "customer_review" | Conditional | |
data.opportunities.items[].buyer_questions | array of object | Conditional | |
data.opportunities.items[].buyer_questions[].prompt_id | string | Conditional | |
data.opportunities.items[].buyer_questions[].prompt_text | string | null | Conditional | |
data.opportunities.items[].buyer_questions[].prompt_version | integer | Conditional | |
data.opportunities.items[].classification_basis | "curated_domain" | "url_pattern" | "page_content" | "unknown" | No | |
data.opportunities.items[].classification_confidence | number | No | |
data.opportunities.items[].competitor_co_citations | integer | Conditional | |
data.opportunities.items[].item_id | string | Conditional | |
data.opportunities.items[].latest_observed_at | string | null | Conditional | |
data.opportunities.items[].matched_query_terms | array of string | Conditional | |
data.opportunities.items[].matching_question_count | integer | Conditional | |
data.opportunities.items[].observed_citations | integer | Conditional | |
data.opportunities.items[].observed_question_count | integer | Conditional | |
data.opportunities.items[].outreach_outcome | "no_response" | "declined" | "accepted" | "published" | "other" | null | Conditional | |
data.opportunities.items[].outreach_owner | string | null | Conditional | |
data.opportunities.items[].outreach_revision | integer | null | Conditional | |
data.opportunities.items[].outreach_status | string | null | Conditional | |
data.opportunities.items[].page_id | string | Conditional | |
data.opportunities.items[].page_type | "comparison_guide" | "directory" | "forum" | "news_article" | "product_page" | "review" | "social" | "unknown" | "video" | "brand_site" | "competitor_site" | "docs" | "marketplace" | "press_release" | Conditional | |
data.opportunities.items[].rank | integer | Conditional | |
data.opportunities.items[].reviewed_at | string | null | Conditional | |
data.opportunities.items[].reviewed_question_count | integer | Conditional | |
data.opportunities.items[].source_category | "directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other" | No | |
data.opportunities.items[].url | string | Conditional | |
data.opportunities.total | integer | Conditional | |
data.ownership_counts | object | Yes | |
data.ownership_counts.[key] | integer | No | Value for each key. |
data.page | object | null | Yes | |
data.page.brand_missing_answers_citing_page | integer | Conditional | |
data.page.classification_basis | "curated_domain" | "url_pattern" | "page_content" | "unknown" | Conditional | |
data.page.classification_confidence | number | Conditional | |
data.page.domain | string | Conditional | |
data.page.matched_domain | string | null | Conditional | |
data.page.ownership | "brand_owned" | "registered_competitor" | "other_external" | Conditional | |
data.page.ownership_basis | "configured_brand_domain" | "configured_competitor_domain" | "no_configured_domain_match" | Conditional | |
data.page.page_id | string | Conditional | |
data.page.page_type | "comparison_guide" | "directory" | "forum" | "news_article" | "product_page" | "review" | "social" | "unknown" | "video" | "brand_site" | "competitor_site" | "docs" | "marketplace" | "press_release" | Conditional | |
data.page.page_type_basis | string | Conditional | |
data.page.rank | integer | Conditional | |
data.page.source_category | "directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other" | Conditional | |
data.page.url | string | Conditional | |
data.page_type_counts | object | Yes | |
data.page_type_counts.[key] | integer | No | Value for each key. |
data.pages | array of object | Yes | |
data.pages[].brand_missing_answers_citing_page | integer | Yes | |
data.pages[].classification_basis | "curated_domain" | "url_pattern" | "page_content" | "unknown" | Yes | |
data.pages[].classification_confidence | number | Yes | |
data.pages[].domain | string | Yes | |
data.pages[].matched_domain | string | null | Yes | |
data.pages[].ownership | "brand_owned" | "registered_competitor" | "other_external" | Yes | |
data.pages[].ownership_basis | "configured_brand_domain" | "configured_competitor_domain" | "no_configured_domain_match" | Yes | |
data.pages[].page_id | string | Yes | |
data.pages[].page_type | "comparison_guide" | "directory" | "forum" | "news_article" | "product_page" | "review" | "social" | "unknown" | "video" | "brand_site" | "competitor_site" | "docs" | "marketplace" | "press_release" | Yes | |
data.pages[].page_type_basis | string | Yes | |
data.pages[].rank | integer | Yes | |
data.pages[].source_category | "directory" | "review_site" | "local_directory" | "industry_directory" | "forum" | "social" | "video" | "news" | "local_news" | "comparison" | "marketplace" | "brand_site" | "competitor_site" | "docs" | "press" | "other" | Yes | |
data.pages[].url | string | Yes | |
data.report_id | string | null | Yes | |
data.total_evidence | integer | Yes | |
data.total_pages | integer | Yes | |
data.valid_answers | integer | Yes | |
meta | object | Yes | Information about this response, including any warnings or pagination details. |
Errors
Read code and message in the error response. Keep request_id when you contact support.
- HTTP 400
invalid_request - HTTP 401
unauthenticated - HTTP 403
forbidden - HTTP 404
not_found - HTTP 422
validation_error - HTTP 429
rate_limited