Google Ads API
API operations to connect Google Ads accounts, send manager-link invites, check setup and plan results, and create conversion actions and customer lists.
Connect a Google Ads account to a property (with the person’s own sign-in or a manager-link invite), check the connection, and create the conversion actions Product Metrics reports purchases to.
13 operations. Paths are relative to https://prod-backend.productmetrics.io/api/public/v1; every request needs Authorization: Bearer $PM_TOKEN. See the API overview for authentication, errors and rate limits.
Connect
GET /google-ads/accounts
Google Ads accounts the person’s own Google sign-in can reach.
GET /companies/{companyId}/google-ads/property-connections
Every property with its Google Ads account and connection status.
POST /companies/{companyId}/google-ads/property-connections
Creates a property for one Google Ads account and connects it.
POST /properties/{propertyId}/google-ads/connection/recheck
Checks again that Product Metrics can reach the account.
DELETE /properties/{propertyId}/google-ads/connection
Revokes the property’s Google Ads connection.
Invite
Check
Conversion actions
GET /properties/{propertyId}/google-ads/conversion-actions
Whether each Product Metrics conversion action exists and is linked.
POST /properties/{propertyId}/google-ads/conversion-actions
Creates the Product Metrics conversion actions as secondary actions.