Setup & connection

gads_get_sync_status

Sync freshness for the scoped account: last full/incremental sync timestamps and the latest sync run (kind, status, started/finished, error when failed).

Sync freshness for the scoped account: last full/incremental sync timestamps and the latest sync run (kind, status, started/finished, error when failed). Check this FIRST before any deep analysis — report stale or failed syncs. Stored data remains readable without a provider connection; only gads_trigger_sync when connected, and do not try to refresh a fixed sample.

Type: read-only. Never changes the account.

Parameters

ParameterTypeRequiredDescription
projectIdstringNoTarget account (project id). Optional when exactly one authorized stored account exists. Use gads_list_ad_accounts or gads_get_connection_status to select among multiple accounts.

On this page