# Google Local Services Ads

> Read Local Services Ads leads, conversations, campaigns, verification records and employees with Google Ads.

App · 9 actions. Web page: https://docs.lodol.com/docs/integrations/google-local-services-ads

## Actions

### Get lead

Get lead.

**Inputs**

- Customer (`customer_id`, text, required): The Google Ads customer ID for the Local Services account.
- Lead (`lead_id`, text, required): Lead id.
- Page token (`page_token`, text): Page token.

**Outputs**

- `data` (object): The response from Google Local Services Ads.

**Example output**

```json
{
  "data": {
    "nextPageToken": "example",
    "records": [
      {
        "categoryId": "example",
        "contactDetails": {},
        "creationDateTime": "example",
        "creditDetails": {
          "creditState": "example"
        },
        "id": "example",
        "leadCharged": true,
        "leadFeedbackSubmitted": true,
        "leadStatus": "example",
        "leadType": "example",
        "locale": "example",
        "resourceName": "example",
        "serviceId": "example"
      }
    ]
  }
}
```

### Get verification summary

Get verification summary.

**Inputs**

- Customer (`customer_id`, text, required): The Google Ads customer ID for the Local Services account.
- Page token (`page_token`, text): Page token.

**Outputs**

- `data` (object): The response from Google Local Services Ads.

**Example output**

```json
{
  "data": {
    "nextPageToken": "example",
    "records": [
      {
        "id": "example",
        "localServicesSettings": {}
      }
    ]
  }
}
```

### List accounts

List accounts.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Google Local Services Ads.

**Example output**

```json
{
  "data": {
    "customers": [
      {
        "customerId": "example",
        "resourceName": "example"
      }
    ]
  }
}
```

### List campaigns

List campaigns.

**Inputs**

- Customer (`customer_id`, text, required): The Google Ads customer ID for the Local Services account.
- Page token (`page_token`, text): Page token.

**Outputs**

- `data` (object): The response from Google Local Services Ads.

**Example output**

```json
{
  "data": {
    "nextPageToken": "example",
    "records": [
      {
        "advertisingChannelType": "example",
        "id": "example",
        "name": "example",
        "status": "example"
      }
    ]
  }
}
```

### List employees

List employees.

**Inputs**

- Customer (`customer_id`, text, required): The Google Ads customer ID for the Local Services account.
- Page token (`page_token`, text): Page token.

**Outputs**

- `data` (object): The response from Google Local Services Ads.

**Example output**

```json
{
  "data": {
    "nextPageToken": "example",
    "records": [
      {
        "id": "example",
        "resourceName": "example",
        "status": "example",
        "type": "example"
      }
    ]
  }
}
```

### List lead conversations

List lead conversations.

**Inputs**

- Customer (`customer_id`, text, required): The Google Ads customer ID for the Local Services account.
- Lead (`lead_id`, text, required): Lead id.
- Page token (`page_token`, text): Page token.

**Outputs**

- `data` (object): The response from Google Local Services Ads.

**Example output**

```json
{
  "data": {
    "nextPageToken": "example",
    "records": [
      {
        "eventDateTime": "example",
        "id": "example",
        "lead": "example",
        "messageDetails": {
          "text": "example"
        },
        "resourceName": "example"
      }
    ]
  }
}
```

### List leads

List leads.

**Inputs**

- Customer (`customer_id`, text, required): The Google Ads customer ID for the Local Services account.
- Lead status (`lead_status`, text): Lead status. One of: `NEW`, `ACTIVE`, `BOOKED`, `CONSUMER_DECLINED` (Consumer declined), `DECLINED`, `DISABLED`, `EXPIRED`, `WIPED_OUT` (Wiped out).
- Lead type (`lead_type`, text): Lead type. One of: `BOOKING`, `MESSAGE`, `PHONE_CALL` (Phone call).
- Start date (`start_date`, date): Start date.
- End date (`end_date`, date): End date.
- Page token (`page_token`, text): Page token.

**Outputs**

- `data` (object): The response from Google Local Services Ads.

**Example output**

```json
{
  "data": {
    "nextPageToken": "example",
    "records": [
      {
        "categoryId": "example",
        "contactDetails": {},
        "creationDateTime": "example",
        "creditDetails": {
          "creditState": "example"
        },
        "id": "example",
        "leadCharged": true,
        "leadFeedbackSubmitted": true,
        "leadStatus": "example",
        "leadType": "example",
        "locale": "example",
        "resourceName": "example",
        "serviceId": "example"
      }
    ]
  }
}
```

### List license verifications

List license verifications.

**Inputs**

- Customer (`customer_id`, text, required): The Google Ads customer ID for the Local Services account.
- Page token (`page_token`, text): Page token.

**Outputs**

- `data` (object): The response from Google Local Services Ads.

**Example output**

```json
{
  "data": {
    "nextPageToken": "example",
    "records": [
      {
        "creationDateTime": "example",
        "id": "example",
        "licenseVerificationArtifact": {
          "licenseType": "example",
          "rejectionReason": "example"
        },
        "status": "example"
      }
    ]
  }
}
```

### List verification records

List verification records.

**Inputs**

- Customer (`customer_id`, text, required): The Google Ads customer ID for the Local Services account.
- Page token (`page_token`, text): Page token.

**Outputs**

- `data` (object): The response from Google Local Services Ads.

**Example output**

```json
{
  "data": {
    "nextPageToken": "example",
    "records": [
      {
        "artifactType": "example",
        "creationDateTime": "example",
        "id": "example",
        "status": "example"
      }
    ]
  }
}
```
