Get Ad Group Insights
Get ad group insights aggregated by time granularity. Attribution metrics for the current account-local day are preliminary and may change as conversions are processed.
The endpoint fixes the reporting scope; aggregation_level selects rows at that level or below. Query fields and filters must match the row shape. See Insights for field names, JSON-encoded filters, segments, pagination and complete examples. For comparable conversion totals, explicitly match attribution settings, dates and entities with POST /conversions/insights.
Get Ad Group Insights
curl https://api.ads.openai.com/v1/ad_groups/$AD_GROUP_ID/insights \
-H "Authorization: Bearer $OPENAI_ADS_API_KEY"{
"count": 0,
"data": [
{
"id": "id",
"end_time": 0,
"start_time": 0,
"ad_account_budget_daily": 0,
"ad_account_budget_lifetime": 0,
"ad_account_click_frequency": 0,
"ad_account_click_reach": 0,
"ad_account_clicks": 0,
"ad_account_cost_per_1000_reached": 0,
"ad_account_cpc": 0,
"ad_account_cpm": 0,
"ad_account_ctr": 0,
"ad_account_frequency": 0,
"ad_account_id": "ad_account_id",
"ad_account_impression_frequency": 0,
"ad_account_impression_reach": 0,
"ad_account_impressions": 0,
"ad_account_name": "ad_account_name",
"ad_account_reach": 0,
"ad_account_spend": 0,
"ad_account_spend_micros": 0,
"ad_account_total_frequency": 0,
"ad_account_total_reach": 0,
"ad_account_unique_cpc": 0,
"ad_account_unique_ctr": 0,
"ad_account_url": "ad_account_url",
"ad_click_frequency": 0,
"ad_click_reach": 0,
"ad_clicks": 0,
"ad_copy": "ad_copy",
"ad_cost_per_1000_reached": 0,
"ad_cpc": 0,
"ad_cpm": 0,
"ad_ctr": 0,
"ad_frequency": 0,
"ad_group_click_frequency": 0,
"ad_group_click_reach": 0,
"ad_group_clicks": 0,
"ad_group_cost_per_1000_reached": 0,
"ad_group_cpc": 0,
"ad_group_cpm": 0,
"ad_group_ctr": 0,
"ad_group_description": "ad_group_description",
"ad_group_frequency": 0,
"ad_group_id": "ad_group_id",
"ad_group_impression_frequency": 0,
"ad_group_impression_reach": 0,
"ad_group_impressions": 0,
"ad_group_name": "ad_group_name",
"ad_group_reach": 0,
"ad_group_spend": 0,
"ad_group_spend_micros": 0,
"ad_group_status": "ad_group_status",
"ad_group_total_frequency": 0,
"ad_group_total_reach": 0,
"ad_group_unique_cpc": 0,
"ad_group_unique_ctr": 0,
"ad_id": "ad_id",
"ad_impression_frequency": 0,
"ad_impression_reach": 0,
"ad_impressions": 0,
"ad_link": "ad_link",
"ad_name": "ad_name",
"ad_reach": 0,
"ad_review_status": "ad_review_status",
"ad_spend": 0,
"ad_spend_micros": 0,
"ad_status": "ad_status",
"ad_title": "ad_title",
"ad_total_frequency": 0,
"ad_total_reach": 0,
"ad_unique_cpc": 0,
"ad_unique_ctr": 0,
"ad_view_time_status": "ad_view_time_status",
"attributed_sales_amount": 0,
"attributed_sales_count": 0,
"attributed_sales_currency": "attributed_sales_currency",
"avg_measured_ad_view_time_seconds": 0,
"campaign_budget_daily": 0,
"campaign_budget_lifetime": 0,
"campaign_click_frequency": 0,
"campaign_click_reach": 0,
"campaign_clicks": 0,
"campaign_cost_per_1000_reached": 0,
"campaign_cpc": 0,
"campaign_cpm": 0,
"campaign_ctr": 0,
"campaign_description": "campaign_description",
"campaign_end_time": "campaign_end_time",
"campaign_frequency": 0,
"campaign_id": "campaign_id",
"campaign_impression_frequency": 0,
"campaign_impression_reach": 0,
"campaign_impressions": 0,
"campaign_name": "campaign_name",
"campaign_reach": 0,
"campaign_spend": 0,
"campaign_spend_micros": 0,
"campaign_start_time": "campaign_start_time",
"campaign_status": "campaign_status",
"campaign_total_frequency": 0,
"campaign_total_reach": 0,
"campaign_unique_cpc": 0,
"campaign_unique_ctr": 0,
"carousel_product_card_clicks": 0,
"carousel_product_card_impressions": 0,
"click_frequency": 0,
"click_reach": 0,
"click_through_conversions": 0,
"clicks": 0,
"conversions": 0,
"cost_per_1000_reached": 0,
"country_click_frequency": 0,
"country_click_reach": 0,
"country_clicks": 0,
"country_cost_per_1000_reached": 0,
"country_cpc": 0,
"country_cpm": 0,
"country_ctr": 0,
"country_frequency": 0,
"country_impression_frequency": 0,
"country_impression_reach": 0,
"country_impressions": 0,
"country_name": "country_name",
"country_reach": 0,
"country_spend": 0,
"country_spend_micros": 0,
"country_total_frequency": 0,
"country_total_reach": 0,
"country_unique_cpc": 0,
"country_unique_ctr": 0,
"cpa": 0,
"cpc": 0,
"cpm": 0,
"ctr": 0,
"data_status": "data_status",
"device_click_frequency": 0,
"device_click_reach": 0,
"device_clicks": 0,
"device_cost_per_1000_reached": 0,
"device_cpc": 0,
"device_cpm": 0,
"device_ctr": 0,
"device_frequency": 0,
"device_impression_frequency": 0,
"device_impression_reach": 0,
"device_impressions": 0,
"device_reach": 0,
"device_spend": 0,
"device_spend_micros": 0,
"device_total_frequency": 0,
"device_total_reach": 0,
"device_type": "device_type",
"device_unique_cpc": 0,
"device_unique_ctr": 0,
"frequency": 0,
"hotel_base_price": "hotel_base_price",
"hotel_brand": "hotel_brand",
"hotel_category": "hotel_category",
"hotel_city": "hotel_city",
"hotel_clicks": 0,
"hotel_conversion_status": "hotel_conversion_status",
"hotel_conversion_unavailable_reason": "hotel_conversion_unavailable_reason",
"hotel_country_code": "hotel_country_code",
"hotel_cpc": 0,
"hotel_cpm": 0,
"hotel_ctr": 0,
"hotel_description": "hotel_description",
"hotel_impressions": 0,
"hotel_name": "hotel_name",
"hotel_primary_image_url": "hotel_primary_image_url",
"hotel_region": "hotel_region",
"hotel_spend": 0,
"hotel_star_rating": 0,
"hotel_url": "hotel_url",
"impression_frequency": 0,
"impression_reach": 0,
"impressions": 0,
"inventory_feed_id": "inventory_feed_id",
"inventory_item_id": "inventory_item_id",
"inventory_type": "inventory_type",
"item_id": "item_id",
"order_created_attributed_sales": 0,
"order_created_attributed_sales_currency": "order_created_attributed_sales_currency",
"order_created_roas": 0,
"platform": "platform",
"platform_click_frequency": 0,
"platform_click_reach": 0,
"platform_clicks": 0,
"platform_cost_per_1000_reached": 0,
"platform_cpc": 0,
"platform_cpm": 0,
"platform_ctr": 0,
"platform_frequency": 0,
"platform_impression_frequency": 0,
"platform_impression_reach": 0,
"platform_impressions": 0,
"platform_reach": 0,
"platform_spend": 0,
"platform_spend_micros": 0,
"platform_total_frequency": 0,
"platform_total_reach": 0,
"platform_unique_cpc": 0,
"platform_unique_ctr": 0,
"post_click_cvr": 0,
"product_availability": "product_availability",
"product_body": "product_body",
"product_brand": "product_brand",
"product_clicks": 0,
"product_cpc": 0,
"product_cpm": 0,
"product_ctr": 0,
"product_description": "product_description",
"product_feed_id": "product_feed_id",
"product_image_url": "product_image_url",
"product_impressions": 0,
"product_price": "product_price",
"product_seller_name": "product_seller_name",
"product_spend": 0,
"product_spend_micros": 0,
"product_target_url": "product_target_url",
"product_title": "product_title",
"reach": 0,
"readable_time": "readable_time",
"roas": 0,
"schema_profile": "schema_profile",
"spend": 0,
"spend_micros": 0,
"timezone": "timezone",
"total_frequency": 0,
"total_reach": 0,
"unique_cpc": 0,
"unique_ctr": 0,
"view_through_conversions": 0
}
],
"first_id": "first_id",
"has_more": true,
"last_id": "last_id",
"object": "object",
"coverage": {
"availability": "availability",
"estimated_from_hour_utc": "estimated_from_hour_utc",
"estimated_tail_unconfirmed": true,
"estimated_through_exclusive_utc": "estimated_through_exclusive_utc",
"has_retention_gap": true,
"includes_pre_v3_interval": true,
"missing_settled_watermark": true,
"retention_start_date": "retention_start_date",
"settled_through_hour_utc": "settled_through_hour_utc"
},
"timezone": "timezone",
"total_count": 0
}Query Parameters
Row entity at ad_group level or below; defaults to ad_group. Does not widen the endpoint scope.
Canonical field names to return, such as campaign.id and campaign.impressions. Changes columns, not grouping. Response keys can be flat, such as campaign_id. Omit for default metrics and entity metadata.
Repeated JSON-encoded objects with field, operator and value; combined with AND. IN uses string arrays; GREATER_THAN and LESS_THAN use numeric thresholds. Fields must be valid for the row shape.
At most one zero-row expansion. zero_impression_items requires no segments. For enabled accounts, zero_impression_products requires segments=product, product-first group order and filters on product fields, entity IDs or metrics. Missing metrics on synthetic rows are unavailable, not zero.
Maximum rows per page after filters and sorting; defaults to 20.
Row aggregation level and selected segment, each exactly once, in the desired order. Ordering changes the meaning of grouped metrics.
At most one breakdown dimension: product, country, device or platform, for enabled accounts. Request fields only for the selected segment. Platform breakdown supports delivery metrics, not conversions.
Repeated JSON-encoded objects with field and direction (asc or desc), applied before pagination. Example: {"field":"ad.clicks","direction":"desc"}.
Bucket size: hourly, daily, monthly, or none for period totals. Segmented requests support none, daily and monthly.
Supply at most one JSON-encoded time-range object with at least one bound. Multiple entries are not supported. unix_range uses Unix seconds in start/end; hour_range uses local since/until in YYYY-MM-DDTHH; date_range uses YYYY-MM-DD and an inclusive until date. Local ranges use timezone or the account timezone. Bounds must be within the past five years and not in the future. Conversion/sales reporting requires full account-local days and at most 365 days.
Returns Examples
{
"count": 0,
"data": [
{
"id": "id",
"end_time": 0,
"start_time": 0,
"ad_account_budget_daily": 0,
"ad_account_budget_lifetime": 0,
"ad_account_click_frequency": 0,
"ad_account_click_reach": 0,
"ad_account_clicks": 0,
"ad_account_cost_per_1000_reached": 0,
"ad_account_cpc": 0,
"ad_account_cpm": 0,
"ad_account_ctr": 0,
"ad_account_frequency": 0,
"ad_account_id": "ad_account_id",
"ad_account_impression_frequency": 0,
"ad_account_impression_reach": 0,
"ad_account_impressions": 0,
"ad_account_name": "ad_account_name",
"ad_account_reach": 0,
"ad_account_spend": 0,
"ad_account_spend_micros": 0,
"ad_account_total_frequency": 0,
"ad_account_total_reach": 0,
"ad_account_unique_cpc": 0,
"ad_account_unique_ctr": 0,
"ad_account_url": "ad_account_url",
"ad_click_frequency": 0,
"ad_click_reach": 0,
"ad_clicks": 0,
"ad_copy": "ad_copy",
"ad_cost_per_1000_reached": 0,
"ad_cpc": 0,
"ad_cpm": 0,
"ad_ctr": 0,
"ad_frequency": 0,
"ad_group_click_frequency": 0,
"ad_group_click_reach": 0,
"ad_group_clicks": 0,
"ad_group_cost_per_1000_reached": 0,
"ad_group_cpc": 0,
"ad_group_cpm": 0,
"ad_group_ctr": 0,
"ad_group_description": "ad_group_description",
"ad_group_frequency": 0,
"ad_group_id": "ad_group_id",
"ad_group_impression_frequency": 0,
"ad_group_impression_reach": 0,
"ad_group_impressions": 0,
"ad_group_name": "ad_group_name",
"ad_group_reach": 0,
"ad_group_spend": 0,
"ad_group_spend_micros": 0,
"ad_group_status": "ad_group_status",
"ad_group_total_frequency": 0,
"ad_group_total_reach": 0,
"ad_group_unique_cpc": 0,
"ad_group_unique_ctr": 0,
"ad_id": "ad_id",
"ad_impression_frequency": 0,
"ad_impression_reach": 0,
"ad_impressions": 0,
"ad_link": "ad_link",
"ad_name": "ad_name",
"ad_reach": 0,
"ad_review_status": "ad_review_status",
"ad_spend": 0,
"ad_spend_micros": 0,
"ad_status": "ad_status",
"ad_title": "ad_title",
"ad_total_frequency": 0,
"ad_total_reach": 0,
"ad_unique_cpc": 0,
"ad_unique_ctr": 0,
"ad_view_time_status": "ad_view_time_status",
"attributed_sales_amount": 0,
"attributed_sales_count": 0,
"attributed_sales_currency": "attributed_sales_currency",
"avg_measured_ad_view_time_seconds": 0,
"campaign_budget_daily": 0,
"campaign_budget_lifetime": 0,
"campaign_click_frequency": 0,
"campaign_click_reach": 0,
"campaign_clicks": 0,
"campaign_cost_per_1000_reached": 0,
"campaign_cpc": 0,
"campaign_cpm": 0,
"campaign_ctr": 0,
"campaign_description": "campaign_description",
"campaign_end_time": "campaign_end_time",
"campaign_frequency": 0,
"campaign_id": "campaign_id",
"campaign_impression_frequency": 0,
"campaign_impression_reach": 0,
"campaign_impressions": 0,
"campaign_name": "campaign_name",
"campaign_reach": 0,
"campaign_spend": 0,
"campaign_spend_micros": 0,
"campaign_start_time": "campaign_start_time",
"campaign_status": "campaign_status",
"campaign_total_frequency": 0,
"campaign_total_reach": 0,
"campaign_unique_cpc": 0,
"campaign_unique_ctr": 0,
"carousel_product_card_clicks": 0,
"carousel_product_card_impressions": 0,
"click_frequency": 0,
"click_reach": 0,
"click_through_conversions": 0,
"clicks": 0,
"conversions": 0,
"cost_per_1000_reached": 0,
"country_click_frequency": 0,
"country_click_reach": 0,
"country_clicks": 0,
"country_cost_per_1000_reached": 0,
"country_cpc": 0,
"country_cpm": 0,
"country_ctr": 0,
"country_frequency": 0,
"country_impression_frequency": 0,
"country_impression_reach": 0,
"country_impressions": 0,
"country_name": "country_name",
"country_reach": 0,
"country_spend": 0,
"country_spend_micros": 0,
"country_total_frequency": 0,
"country_total_reach": 0,
"country_unique_cpc": 0,
"country_unique_ctr": 0,
"cpa": 0,
"cpc": 0,
"cpm": 0,
"ctr": 0,
"data_status": "data_status",
"device_click_frequency": 0,
"device_click_reach": 0,
"device_clicks": 0,
"device_cost_per_1000_reached": 0,
"device_cpc": 0,
"device_cpm": 0,
"device_ctr": 0,
"device_frequency": 0,
"device_impression_frequency": 0,
"device_impression_reach": 0,
"device_impressions": 0,
"device_reach": 0,
"device_spend": 0,
"device_spend_micros": 0,
"device_total_frequency": 0,
"device_total_reach": 0,
"device_type": "device_type",
"device_unique_cpc": 0,
"device_unique_ctr": 0,
"frequency": 0,
"hotel_base_price": "hotel_base_price",
"hotel_brand": "hotel_brand",
"hotel_category": "hotel_category",
"hotel_city": "hotel_city",
"hotel_clicks": 0,
"hotel_conversion_status": "hotel_conversion_status",
"hotel_conversion_unavailable_reason": "hotel_conversion_unavailable_reason",
"hotel_country_code": "hotel_country_code",
"hotel_cpc": 0,
"hotel_cpm": 0,
"hotel_ctr": 0,
"hotel_description": "hotel_description",
"hotel_impressions": 0,
"hotel_name": "hotel_name",
"hotel_primary_image_url": "hotel_primary_image_url",
"hotel_region": "hotel_region",
"hotel_spend": 0,
"hotel_star_rating": 0,
"hotel_url": "hotel_url",
"impression_frequency": 0,
"impression_reach": 0,
"impressions": 0,
"inventory_feed_id": "inventory_feed_id",
"inventory_item_id": "inventory_item_id",
"inventory_type": "inventory_type",
"item_id": "item_id",
"order_created_attributed_sales": 0,
"order_created_attributed_sales_currency": "order_created_attributed_sales_currency",
"order_created_roas": 0,
"platform": "platform",
"platform_click_frequency": 0,
"platform_click_reach": 0,
"platform_clicks": 0,
"platform_cost_per_1000_reached": 0,
"platform_cpc": 0,
"platform_cpm": 0,
"platform_ctr": 0,
"platform_frequency": 0,
"platform_impression_frequency": 0,
"platform_impression_reach": 0,
"platform_impressions": 0,
"platform_reach": 0,
"platform_spend": 0,
"platform_spend_micros": 0,
"platform_total_frequency": 0,
"platform_total_reach": 0,
"platform_unique_cpc": 0,
"platform_unique_ctr": 0,
"post_click_cvr": 0,
"product_availability": "product_availability",
"product_body": "product_body",
"product_brand": "product_brand",
"product_clicks": 0,
"product_cpc": 0,
"product_cpm": 0,
"product_ctr": 0,
"product_description": "product_description",
"product_feed_id": "product_feed_id",
"product_image_url": "product_image_url",
"product_impressions": 0,
"product_price": "product_price",
"product_seller_name": "product_seller_name",
"product_spend": 0,
"product_spend_micros": 0,
"product_target_url": "product_target_url",
"product_title": "product_title",
"reach": 0,
"readable_time": "readable_time",
"roas": 0,
"schema_profile": "schema_profile",
"spend": 0,
"spend_micros": 0,
"timezone": "timezone",
"total_frequency": 0,
"total_reach": 0,
"unique_cpc": 0,
"unique_ctr": 0,
"view_through_conversions": 0
}
],
"first_id": "first_id",
"has_more": true,
"last_id": "last_id",
"object": "object",
"coverage": {
"availability": "availability",
"estimated_from_hour_utc": "estimated_from_hour_utc",
"estimated_tail_unconfirmed": true,
"estimated_through_exclusive_utc": "estimated_through_exclusive_utc",
"has_retention_gap": true,
"includes_pre_v3_interval": true,
"missing_settled_watermark": true,
"retention_start_date": "retention_start_date",
"settled_through_hour_utc": "settled_through_hour_utc"
},
"timezone": "timezone",
"total_count": 0
}