Skip to content

Update application google settings

POST
/api/v2/client/applications/{application_id}/google-settings
curl --request POST \
--url https://app.affisemmp.com/api/v2/client/applications/1/google-settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "api_events_mapping": [ { "affise_event": "architecto", "adapty_subs_event": "architecto", "apphud_subs_event": "architecto", "revenuecat_subs_event": "architecto", "paddle_subs_event": "architecto", "google_ads_event": "first_open" } ], "link_id": "b" }'
application_id
required
integer

The ID of the application.

Example
1
Media type application/json
object
api_events_mapping

Must have at least 2 items. Must not have more than 2 items.

Array<object>
object
affise_event
string
nullable
Example
architecto
adapty_subs_event
string
nullable
Example
architecto
apphud_subs_event
string
nullable
Example
architecto
revenuecat_subs_event
string
nullable
Example
architecto
paddle_subs_event
string
nullable
Example
architecto
google_ads_event
string
Allowed values: first_open session_start in_app_purchase view_item_list view_item view_search_results add_to_cart ecommerce_purchase custom
Example
first_open
link_id

Must not be greater than 255 characters.

string
nullable
Example
b
Media type application/json
object
message
string
Example
{
"message": "Google integration settings successfully updated"
}