curl --request POST \
--url http://localhost:8000/api/v1/licenses/customers/{customer_id}/assign \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"global_license_id": 123
}
'{
"id": 123,
"google_ads_customer_id": 123,
"global_license": {
"name": "<string>",
"price": 123,
"analysis_type": "keyword_pause",
"analysis_max_once_in_n_days": 123,
"max_search_terms": 123,
"id": 123,
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z"
},
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z"
}Assign a global license to a customer.
curl --request POST \
--url http://localhost:8000/api/v1/licenses/customers/{customer_id}/assign \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"global_license_id": 123
}
'{
"id": 123,
"google_ads_customer_id": 123,
"global_license": {
"name": "<string>",
"price": 123,
"analysis_type": "keyword_pause",
"analysis_max_once_in_n_days": 123,
"max_search_terms": 123,
"id": 123,
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z"
},
"date_added": "2023-11-07T05:31:56Z",
"date_updated": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z"
}The access token received from the authorization server in the OAuth 2.0 flow.
Schema for assigning a license to a customer.
Successful Response
Schema for reading CustomerLicense.
Schema for reading GlobalLicense.
Show child attributes
The types of analyses.
keyword_pause, negative_keyword, double_check_keywords_to_pause, headline, description, budget_migration, pause_hours, pause_locations, search_terms