admin
google-ads-admin

Discover Google Ads Accounts

Walk the org's own Google Ads OAuth credential and upsert every reachable customer (and its MCC's descendants) as an inactive candidate, returning the org's full current account list. Never authenticates with the shared UpSmith manager credential.

post/admin/google-ads/discover

Request

  • Base URL
    https://api-docs.upsmith.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Headers

organization-idstring nullable
timezonestring
x-user-idstring nullable
x-actor-emailstring nullable
x-request-sourcestring nullable
x-operation-idstring nullable
x-commit-messagestring nullable
x-confirmation-idstring nullable
x-chat-idstring nullable

Request body

organization_idstring required

organization.id (UUID) to discover standard Google Ads accounts for.

Response

Successful Response

idstring required
organization_idstring required
google_customer_idstring required
login_customer_idstring nullable
descriptive_namestring nullable
is_managerboolean required
is_activeboolean required
currency_codestring nullable
time_zonestring nullable
auto_tagging_enabledboolean nullable
test_accountboolean nullable
optimization_scorenumber nullable
last_sync_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.