# AdRoll

> Read advertiser profiles, campaigns, ads, and audience segments.

App · 9 actions. Web page: https://docs.lodol.com/docs/integrations/adroll

## Actions

### Get a campaign

Read a campaign’s details.

**Inputs**

- Campaign (`campaign`, text, required): The campaign ID.

**Outputs**

- `data` (object): The response from AdRoll.

**Example output**

```json
{
  "data": {
    "eid": "example",
    "name": "example",
    "status": "example"
  }
}
```

### Get an ad group

Read an ad group’s details.

**Inputs**

- Adgroup (`adgroup`, text, required): The ad group ID.

**Outputs**

- `data` (object): The response from AdRoll.

**Example output**

```json
{
  "data": {
    "eid": "example",
    "name": "example"
  }
}
```

### Get an advertiser profile

Read an advertiser profile’s details.

**Inputs**

- Advertisable (`advertisable`, text, required): The ID of the advertiser profile.

**Outputs**

- `data` (object): The response from AdRoll.

**Example output**

```json
{
  "data": {
    "eid": "example",
    "name": "example"
  }
}
```

### Get an organization

Read the organization linked to your AdRoll account.

**Inputs**

- Organization (`organization`, text): The organization ID. Leave empty to use your own organization.

**Outputs**

- `data` (object): The response from AdRoll.

**Example output**

```json
{
  "data": {
    "eid": "example",
    "name": "example"
  }
}
```

### List ad group ads

Read ads attached to an ad group.

**Inputs**

- Adgroup (`adgroup`, text, required): The ad group ID.

**Outputs**

- `data` (object): The response from AdRoll.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "eid": "example",
        "name": "example"
      }
    ]
  }
}
```

### List advertiser profiles

Read the advertiser profiles in an organization.

**Inputs**

- Organization (`organization`, text): The organization ID. Leave empty to use your own organization.
- Page (`page`, number): The page number. At least 1.
- Per page (`per_page`, number): The number of profiles per page. At least 1.

**Outputs**

- `data` (object): The response from AdRoll.

**Example output**

```json
{
  "data": {
    "meta": {},
    "results": [
      {
        "eid": "example",
        "name": "example"
      }
    ]
  }
}
```

### List audience segments

Read audience segments owned by an advertiser profile.

**Inputs**

- Advertisable (`advertisable`, text, required): The ID of the advertiser profile.

**Outputs**

- `data` (object): The response from AdRoll.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "eid": "example",
        "name": "example"
      }
    ]
  }
}
```

### List campaign ad groups

Read the ad groups within a campaign.

**Inputs**

- Campaign (`campaign`, text, required): The campaign ID.

**Outputs**

- `data` (object): The response from AdRoll.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "eid": "example",
        "name": "example"
      }
    ]
  }
}
```

### List campaigns

Read campaigns for an advertiser profile.

**Inputs**

- Advertisable (`advertisable`, text, required): The ID of the advertiser profile.
- Is active (`is_active`, true/false): Filter by whether campaigns are active.

**Outputs**

- `data` (object): The response from AdRoll.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "eid": "example",
        "name": "example",
        "status": "example"
      }
    ]
  }
}
```
