Skip to main content
POST
EnsurePaidMediaConversionActionAPI finds or approval-gates creation of a lead conversion action.

Authorizations

Authorization
string
header
required

An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

Body

application/json
name
string
required

Exact conversion action name to find or create.

type
enum<string>
default:UPLOAD_CLICKS
required
Available options:
UPLOAD_CLICKS
category
enum<string>
default:QUALIFIED_LEAD
Available options:
DEFAULT,
PAGE_VIEW,
PURCHASE,
SIGNUP,
DOWNLOAD,
ADD_TO_CART,
BEGIN_CHECKOUT,
SUBSCRIBE_PAID,
PHONE_CALL_LEAD,
SUBMIT_LEAD_FORM,
BOOK_APPOINTMENT,
REQUEST_QUOTE,
CONTACT,
ENGAGEMENT,
QUALIFIED_LEAD,
CONVERTED_LEAD
customer_id
string

Google Ads customer ID; defaults to the selected operating account.

Response

Ready action, pending approval, or approved execution in progress

customer_id
string
required
name
string
required
status
enum<string>
required
Available options:
ready,
pending_approval,
in_progress
approval_request_id
string
conversion_action_id
string
execution_phase
string