# Rakuten Advertising

> Read affiliate advertisers, offers, partnerships, commissions and transactions; create deep links.

App · 10 actions. Web page: https://docs.lodol.com/docs/integrations/rakuten-advertising

## Actions

### Create deep link

Create an affiliate link to an advertiser product page. The advertiser must allow deep links and approve your partnership.

**Inputs**

- Advertiser (`advertiser_id`, text, required): Advertiser id.
- Url (`url`, text, required): Url.
- Name (`name`, text): Name.
- U1 (`u1`, text): U1.

**Outputs**: Response.

- `data` (object): The official API response, including records and response metadata.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation token or offset to pass to the next request.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Get advertiser

Get advertiser in Rakuten Advertising.

**Inputs**

- Advertiser (`advertiser_id`, text, required): Advertiser id.

**Outputs**: Response.

- `data` (object): The official API response, including records and response metadata.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation token or offset to pass to the next request.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Get commissioning list

Get commissioning list in Rakuten Advertising.

**Inputs**

- Commissioning list (`commissioning_list_id`, text, required): Commissioning list id.

**Outputs**: Response.

- `data` (object): The official API response, including records and response metadata.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation token or offset to pass to the next request.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Get offer

Get offer in Rakuten Advertising.

**Inputs**

- Offer (`offer_id`, text, required): Offer id.

**Outputs**: Response.

- `data` (object): The official API response, including records and response metadata.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation token or offset to pass to the next request.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Get partnership

Get partnership in Rakuten Advertising.

**Inputs**

- Partnership (`partnership_id`, text, required): Partnership id.

**Outputs**: Response.

- `data` (object): The official API response, including records and response metadata.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation token or offset to pass to the next request.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### List advertisers

List advertisers in Rakuten Advertising.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Limit. At least 1.

**Outputs**: Response.

- `data` (object): The official API response, including records and response metadata.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation token or offset to pass to the next request.

**Example output**

```json
{
  "data": {
    "advertisers": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List commissioning lists

List commissioning lists in Rakuten Advertising.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Limit. At least 1.

**Outputs**: Response.

- `data` (object): The official API response, including records and response metadata.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation token or offset to pass to the next request.

**Example output**

```json
{
  "data": {
    "commissioninglists": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List offers

List offers in Rakuten Advertising.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Limit. At least 1.
- Offer status (`offer_status`, text): Offer status. One of: `active`, `upcoming`, `expired`.

**Outputs**: Response.

- `data` (object): The official API response, including records and response metadata.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation token or offset to pass to the next request.

**Example output**

```json
{
  "data": {
    "offers": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List partnerships

List partnerships in Rakuten Advertising.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Limit. At least 1.

**Outputs**: Response.

- `data` (object): The official API response, including records and response metadata.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation token or offset to pass to the next request.

**Example output**

```json
{
  "data": {
    "partnerships": []
  },
  "has_more": false,
  "next_cursor": null
}
```

### List transactions

List transactions in Rakuten Advertising.

**Inputs**

- Process date start (`process_date_start`, date and time): Process date start.
- Process date end (`process_date_end`, date and time): Process date end.
- Transaction date start (`transaction_date_start`, date and time): Transaction date start.
- Transaction date end (`transaction_date_end`, date and time): Transaction date end.
- Page (`page`, number): Page. At least 1.
- Limit (`limit`, number): Limit. At least 1.
- Currency (`currency`, text): Currency.
- Transaction type (`transaction_type`, text): Transaction type. One of: `realtime`, `batch`.

**Outputs**: Response.

- `data` (list): The records returned by the official API.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation token or offset to pass to the next request.

**Example output**

```json
{
  "data": [],
  "has_more": false,
  "next_cursor": null
}
```
