SCALIX help

← All tools

gads_list_data_exclusions

Google Ads read low risk

Part of the Seasonality Agent.

What it does

List the account's data exclusions via GAQL on bidding_data_exclusion: data_exclusion_id, name, description, scope, status, start_date_time, end_date_time, devices, campaigns, advertising_channel_types. Read-only; excludes REMOVED; newest start first. Times are in the account's time zone, the end is exclusive. Use to find ids before removing one. Returns {rows, count}.

When to use it

Use to see which data exclusions an account has (Smart Bidding controls), or to find the id of one before removing it.

Inputs

NameTypeRequiredDescription
customer_idstringyes10-digit CID; strip dashes.
limitintegernoMax rows (default 300).
manager_idstringnoOptional MCC login-customer-id.

Safeguards

Policy

Report the events exactly as Google returns them; never invent one or change its times.

Reminder

Times are in the account's time zone and the end is exclusive; say so when you show them.

Errors

Error classMeansWhat to doRetry
CUSTOMER_NOT_FOUNDAccount {customer_id} not found or not linked.Verify the CID and authorization.no
needs_reauthAuthorization expired or revoked.Reconnect Google Ads in the Scalix dashboard.no
rate_limitedGoogle Ads rate limit hit.Wait a minute, then call again.yes

Edge cases

  • An account with no data exclusions returns an empty list, not an error.
  • Removed ones are not listed.