Sha256: 0a3d9d3a8fb83151b486bb2e3dc22457f991ce581ff63492b85e67c61e70483e

Contents?: true

Size: 1.79 KB

Versions: 2

Compression:

Stored size: 1.79 KB

Contents

# PinterestSdkClient::CampaignResponse

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **id** | **String** | Campaign ID. |  |
| **ad_account_id** | **String** | Campaign's Advertiser ID. |  |
| **name** | **String** | Campaign name. | [optional] |
| **status** | [**EntityStatus**](EntityStatus.md) |  | [optional][default to 'ACTIVE'] |
| **lifetime_spend_cap** | **Integer** | Campaign total spending cap. | [optional] |
| **daily_spend_cap** | **Integer** | Campaign daily spending cap. | [optional] |
| **order_line_id** | **String** | Order line ID that appears on the invoice. | [optional] |
| **tracking_urls** | [**TrackingUrls**](TrackingUrls.md) |  | [optional] |
| **start_time** | **Integer** | Campaign start time. Unix timestamp in seconds. Only used for Campaign Budget Optimization (CBO) campaigns. | [optional] |
| **end_time** | **Integer** | Campaign end time. Unix timestamp in seconds. Only used for Campaign Budget Optimization (CBO) campaigns. | [optional] |
| **objective_type** | [**ObjectiveType**](ObjectiveType.md) |  | [optional] |
| **created_time** | **Integer** | Campaign creation time. Unix timestamp in seconds. | [optional] |
| **updated_time** | **Integer** | UTC timestamp. Last update time. | [optional] |
| **type** | **String** | Always \"campaign\". | [optional] |

## Example

```ruby
require 'pinterest_sdk'

instance = PinterestSdkClient::CampaignResponse.new(
  id: 549755885175,
  ad_account_id: 549755885175,
  name: ACME Tools,
  status: null,
  lifetime_spend_cap: 1432744744,
  daily_spend_cap: 1432744744,
  order_line_id: 549755885175,
  tracking_urls: null,
  start_time: 1580865126,
  end_time: 1644023526,
  objective_type: null,
  created_time: 1432744744,
  updated_time: 1432744744,
  type: campaign
)
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pinterest_sdk-1.1.0 docs/CampaignResponse.md
pinterest_sdk-1.0.0 docs/CampaignResponse.md