account | GadsAccountItem or object or array of object or string or integer | Yes | - | Google Ads account that runs the Local Services Ads. |
update_type | enum (single, bulk) | No | single | single rates one lead with the lead, survey_answer, reason and comment fields; bulk rates every row of structured_data. |
lead | string | No | - | Local Services lead id, or its resource name customers/{customer_id}/localServicesLeads/{lead_id}. Read leads with gads_run_gaql_query on the local_services_lead resource. |
survey_answer | enum (VERY_SATISFIED, SATISFIED, NEUTRAL, DISSATISFIED, VERY_DISSATISFIED) | No | - | How satisfied the provider is with the lead. DISSATISFIED or VERY_DISSATISFIED with a dissatisfied reason is how a credit is requested. |
reason | enum (BOOKED_CUSTOMER, LIKELY_BOOKED_CUSTOMER, SERVICE_RELATED, HIGH_VALUE_SERVICE, OTHER_SATISFIED_REASON) or enum (GEO_MISMATCH, JOB_TYPE_MISMATCH, NOT_READY_TO_BOOK, SPAM, DUPLICATE, SOLICITATION, OTHER_DISSATISFIED_REASON) | No | - | Why the provider rated the lead this way. Satisfied reasons: BOOKED_CUSTOMER, LIKELY_BOOKED_CUSTOMER, SERVICE_RELATED, HIGH_VALUE_SERVICE, OTHER_SATISFIED_REASON. Dissatisfied reasons: GEO_MISMATCH, JOB_TYPE_MISMATCH, NOT_READY_TO_BOOK, SPAM, DUPLICATE, SOLICITATION, OTHER_DISSATISFIED_REASON. |
comment | string | No | - | Free-form comment sent with the reason. Google requires it with OTHER_SATISFIED_REASON and OTHER_DISSATISFIED_REASON. |
structured_data | array of LsaLeadFeedback | No | - | Bulk mode: up to 500 rows with the keys lead, survey_answer, reason and comment, for example [{“lead”: “1234567890”, “survey_answer”: “VERY_DISSATISFIED”, “reason”: “GEO_MISMATCH”}, {“lead”: “1234567891”, “survey_answer”: “DISSATISFIED”, “reason”: “OTHER_DISSATISFIED_REASON”, “comment”: “Caller asked for a service we do not offer”}]. |