v1Resources/Profile Analytics/putSet a client's report goals
Set a client's report goals
Choose which of the client's website goals count as website actions on Reports, and what kind each is. Send only the goals to change, with names exactly as the GET returns them. A goal the client's sources don't report returns 400. Returns the client's goals as they now stand, and the change applies to website actions in every period.
put
clients:write/api/v1/clients/{id}/report-goalsQuery parameters
idstringrequired
The client's id.
Request body
goalsarray of objectrequired
providerstring (ga4 | plausible | posthog)required
namestringrequired
countedbooleanrequired
kindstring (form | call | booking | other)required
Response
dataarray of objectoptional
providerstring (ga4 | plausible | posthog)optional
namestringoptional
countedbooleanoptional
kindstring (form | call | booking | other)optional
custombooleanoptional
last12Weeksnumberoptional
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
429Too many requests. Retry after the number of seconds in the Retry-After header.
put/api/v1/clients/{id}/report-goals
Your API key
id *
Request body*
{}Guides that use this resource
- What Is a Local SEO API?A local SEO API measures how a business ranks in local search, with geo-grid rank tracking, profile analytics and AI visibility, not just backlinks.
- How to Add Local Marketing Features to Your SaaSAdd listings management, reviews, Google posts, profile analytics, rank tracking and AI visibility to a SaaS product with the Synup API, tenant by tenant.
- How to Build a Multi-Location Marketing DashboardBuild a multi-location marketing dashboard from the API's rollup endpoints, one call per panel, covering listings, reviews, rank, AI visibility and duplicates.
- How to Retrieve Google Business Profile Analytics via APIPull Google Business Profile analytics through an API, portfolio-wide and per location, with views, calls, direction requests and a maps-versus-search split.
- Retrieve Profile Analytics via APIPull Google Business Profile analytics with the Synup API, portfolio-wide or per location, with views, actions, calls and direction requests.