Skip to main content
PUT
/
api
/
v1
/
analysis-customer-configs
/
me
Edit My Config
curl --request PUT \
  --url http://localhost:8000/api/v1/analysis-customer-configs/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "is_enabled": true,
  "should_run_daily": true,
  "run_max_once_in_n_days": 123,
  "n_of_manual_analyses_left_in_period": 123,
  "time_to_run__at_customer_timezone": "<string>",
  "do_auto_apply_recommendations": true,
  "should_send_analysis_ready_emails": true,
  "max_search_terms": 123,
  "z_index": 123
}
'
{
  "is_enabled": true,
  "should_run_daily": true,
  "run_max_once_in_n_days": 123,
  "id": 123,
  "date_added": "2023-11-07T05:31:56Z",
  "date_updated": "2023-11-07T05:31:56Z",
  "is_active": true,
  "n_of_manual_analyses_left_in_period": 123,
  "time_to_run__at_customer_timezone": "<string>",
  "do_auto_apply_recommendations": true,
  "should_send_analysis_ready_emails": true,
  "max_search_terms": 123,
  "z_index": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

customer_id
integer
required

The Google Ads customer ID

analysis_type
enum<string>
required

The analysis type

Available options:
keyword_pause,
negative_keyword,
double_check_keywords_to_pause,
headline,
description,
budget_migration,
pause_hours,
pause_locations,
search_terms

Body

application/json

Schema for updating Analysis Customer Config.

is_enabled
boolean | null
should_run_daily
boolean | null
run_max_once_in_n_days
integer | null
n_of_manual_analyses_left_in_period
integer | null
time_to_run__at_customer_timezone
string<time> | null
do_auto_apply_recommendations
boolean | null
should_send_analysis_ready_emails
boolean | null
max_search_terms
integer | null
z_index
number | null

Response

Successful Response

Schema for reading Analysis Customer Config.

is_enabled
boolean
required
should_run_daily
boolean
required
run_max_once_in_n_days
integer
required
id
integer
required
date_added
string<date-time>
required
date_updated
string<date-time>
required
is_active
boolean
required
n_of_manual_analyses_left_in_period
integer | null
time_to_run__at_customer_timezone
string<time> | null
do_auto_apply_recommendations
boolean
default:true
should_send_analysis_ready_emails
boolean
default:true
max_search_terms
integer | null
z_index
number | null