TagSpy

ad_query

Automaticapp

Automatically triggered when an ad request is made by the Mobile Ads SDK This event does not appear in reports and is not exported to BigQuery.

Platforms
app
When it fires
Collected automatically; no code needed.
Official docs

Parameters (1)

ParameterTypeRequiredDescriptionExample
ad_event_id--Serves as a unique identifier for ad events. It is reused in the cross-network attribution request and should be logged/retained for debugging purposes-

Example

gtag.js
gtag('event', 'ad_query', {
  ad_event_id: '...',
});
GTM dataLayer
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
  event: 'ad_query',
  ad_event_id: '...',
});

Also see