late-sdk 0.0.633 → 0.0.634
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/AdCampaignsApi.md +3 -1
- data/docs/UpdateAdCampaignRequest.md +2 -0
- data/lib/zernio-sdk/api/ad_campaigns_api.rb +5 -2
- data/lib/zernio-sdk/models/update_ad_campaign_request.rb +11 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +19 -0
- data/spec/api/ad_campaigns_api_spec.rb +2 -1
- data/spec/models/update_ad_campaign_request_spec.rb +6 -0
- data/zernio-sdk-0.0.634.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.633.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bdf9665c2894873f1eab5aca327b773fbf305b3f17cf4c7c9e90e4df60d179b7
|
|
4
|
+
data.tar.gz: d4b502e2d9174810d704c8f07f9d33e6427f760523fbff07e2ee70dd46a8d010
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 972c791b8b7bea42860ac9dc58bff7516ae144ddd8a5406d2fcac7685f9af80caeb0a09dfacd5ecd07d17c75cc0a3452c195481197dc295bd9fe7764ea374dcb
|
|
7
|
+
data.tar.gz: 604d9c38a48d0410d3407a4262c89748ebe6f757b6099c635a47e20dfb14afe44e4f6a6c200ea8a71aadf6d9020bf41aa9ae5ffd7bd3d43c20005b4f3fe0ad97
|
data/docs/AdCampaignsApi.md
CHANGED
|
@@ -1020,6 +1020,7 @@ end
|
|
|
1020
1020
|
|
|
1021
1021
|
api_instance = Zernio::AdCampaignsApi.new
|
|
1022
1022
|
opts = {
|
|
1023
|
+
include_empty: true, # Boolean | Meta only. Campaign reads aggregate over ad documents, so a campaign with ZERO ads is normally invisible here — the state the two-step create (campaign, then ads via `existingCampaignId`) leaves behind whenever Meta rejects the ad step. Set true to list those too, with `adCount: 0` and zeroed metrics. Requires `accountId` and `adAccountId`, since an empty campaign has no ad row to resolve a token or ad account from.
|
|
1023
1024
|
page: 56, # Integer | Page number (1-based)
|
|
1024
1025
|
limit: 56, # Integer |
|
|
1025
1026
|
source: 'zernio', # String | `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that.
|
|
@@ -1064,6 +1065,7 @@ end
|
|
|
1064
1065
|
|
|
1065
1066
|
| Name | Type | Description | Notes |
|
|
1066
1067
|
| ---- | ---- | ----------- | ----- |
|
|
1068
|
+
| **include_empty** | **Boolean** | Meta only. Campaign reads aggregate over ad documents, so a campaign with ZERO ads is normally invisible here — the state the two-step create (campaign, then ads via `existingCampaignId`) leaves behind whenever Meta rejects the ad step. Set true to list those too, with `adCount: 0` and zeroed metrics. Requires `accountId` and `adAccountId`, since an empty campaign has no ad row to resolve a token or ad account from. | [optional] |
|
|
1067
1069
|
| **page** | **Integer** | Page number (1-based) | [optional][default to 1] |
|
|
1068
1070
|
| **limit** | **Integer** | | [optional][default to 20] |
|
|
1069
1071
|
| **source** | **String** | `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that. | [optional][default to 'all'] |
|
|
@@ -1357,7 +1359,7 @@ end
|
|
|
1357
1359
|
|
|
1358
1360
|
Update a campaign
|
|
1359
1361
|
|
|
1360
|
-
Campaign-level edits. At least one of `budget`, `bidStrategy`, `name` or `platformSpecificData` is required. - `budget` updates the CBO (Campaign Budget Optimization) budget. For ABO campaigns (where the budget lives on the ad set), use PUT /v1/ads/ad-sets/{adSetId} instead — this endpoint will return 409 with code BUDGET_LEVEL_MISMATCH. - `bidStrategy` sets the campaign-level default bid strategy. Per Meta's spec, `bid_amount` and `bid_constraints` do NOT exist at the campaign level — pass them via PUT /v1/ads/ad-sets/{adSetId}. - `platformSpecificData.spendCap` (Meta only) sets the campaign's lifetime spend cap, in the ad account's currency. Meta-only for now. Other platforms return 501 Not Implemented.
|
|
1362
|
+
Campaign-level edits. At least one of `budget`, `bidStrategy`, `name` or `platformSpecificData` is required. **Empty campaigns.** A campaign with zero ads has no local Ad documents to resolve, so this would 404 even though it exists on Meta. Send `accountId` in the body to skip the local lookup and forward the update to Meta. The response then carries `updated: 0`, since there are no local rows to mirror onto. `accountId` is ignored when the campaign does have ads. - `budget` updates the CBO (Campaign Budget Optimization) budget. For ABO campaigns (where the budget lives on the ad set), use PUT /v1/ads/ad-sets/{adSetId} instead — this endpoint will return 409 with code BUDGET_LEVEL_MISMATCH. - `bidStrategy` sets the campaign-level default bid strategy. Per Meta's spec, `bid_amount` and `bid_constraints` do NOT exist at the campaign level — pass them via PUT /v1/ads/ad-sets/{adSetId}. - `platformSpecificData.spendCap` (Meta only) sets the campaign's lifetime spend cap, in the ad account's currency. Meta-only for now. Other platforms return 501 Not Implemented.
|
|
1361
1363
|
|
|
1362
1364
|
### Examples
|
|
1363
1365
|
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **account_id** | **String** | Zernio SocialAccount id owning the ad account. Required only to update an EMPTY campaign (zero ads), which has no local Ad documents to resolve a token from. | [optional] |
|
|
7
8
|
| **platform** | **String** | | |
|
|
8
9
|
| **budget** | [**UpdateAdCampaignRequestBudget**](UpdateAdCampaignRequestBudget.md) | | [optional] |
|
|
9
10
|
| **bid_strategy** | [**BidStrategy**](BidStrategy.md) | Campaign-level default. Ad sets inherit this unless they override. | [optional] |
|
|
@@ -16,6 +17,7 @@
|
|
|
16
17
|
require 'zernio-sdk'
|
|
17
18
|
|
|
18
19
|
instance = Zernio::UpdateAdCampaignRequest.new(
|
|
20
|
+
account_id: null,
|
|
19
21
|
platform: null,
|
|
20
22
|
budget: null,
|
|
21
23
|
bid_strategy: null,
|
|
@@ -1034,6 +1034,7 @@ module Zernio
|
|
|
1034
1034
|
# List campaigns
|
|
1035
1035
|
# Returns campaigns as virtual aggregations over ad documents grouped by platform campaign ID. Metrics (spend, impressions, clicks, etc.) are summed across all ads in each campaign. Campaign status is derived from child ad statuses (active > pending_review > paused > error > completed > cancelled > rejected).
|
|
1036
1036
|
# @param [Hash] opts the optional parameters
|
|
1037
|
+
# @option opts [Boolean] :include_empty Meta only. Campaign reads aggregate over ad documents, so a campaign with ZERO ads is normally invisible here — the state the two-step create (campaign, then ads via `existingCampaignId`) leaves behind whenever Meta rejects the ad step. Set true to list those too, with `adCount: 0` and zeroed metrics. Requires `accountId` and `adAccountId`, since an empty campaign has no ad row to resolve a token or ad account from.
|
|
1037
1038
|
# @option opts [Integer] :page Page number (1-based) (default to 1)
|
|
1038
1039
|
# @option opts [Integer] :limit (default to 20)
|
|
1039
1040
|
# @option opts [String] :source `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that. (default to 'all')
|
|
@@ -1054,6 +1055,7 @@ module Zernio
|
|
|
1054
1055
|
# List campaigns
|
|
1055
1056
|
# Returns campaigns as virtual aggregations over ad documents grouped by platform campaign ID. Metrics (spend, impressions, clicks, etc.) are summed across all ads in each campaign. Campaign status is derived from child ad statuses (active > pending_review > paused > error > completed > cancelled > rejected).
|
|
1056
1057
|
# @param [Hash] opts the optional parameters
|
|
1058
|
+
# @option opts [Boolean] :include_empty Meta only. Campaign reads aggregate over ad documents, so a campaign with ZERO ads is normally invisible here — the state the two-step create (campaign, then ads via `existingCampaignId`) leaves behind whenever Meta rejects the ad step. Set true to list those too, with `adCount: 0` and zeroed metrics. Requires `accountId` and `adAccountId`, since an empty campaign has no ad row to resolve a token or ad account from.
|
|
1057
1059
|
# @option opts [Integer] :page Page number (1-based) (default to 1)
|
|
1058
1060
|
# @option opts [Integer] :limit (default to 20)
|
|
1059
1061
|
# @option opts [String] :source `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that. (default to 'all')
|
|
@@ -1095,6 +1097,7 @@ module Zernio
|
|
|
1095
1097
|
|
|
1096
1098
|
# query parameters
|
|
1097
1099
|
query_params = opts[:query_params] || {}
|
|
1100
|
+
query_params[:'includeEmpty'] = opts[:'include_empty'] if !opts[:'include_empty'].nil?
|
|
1098
1101
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1099
1102
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
1100
1103
|
query_params[:'source'] = opts[:'source'] if !opts[:'source'].nil?
|
|
@@ -1452,7 +1455,7 @@ module Zernio
|
|
|
1452
1455
|
end
|
|
1453
1456
|
|
|
1454
1457
|
# Update a campaign
|
|
1455
|
-
# Campaign-level edits. At least one of `budget`, `bidStrategy`, `name` or `platformSpecificData` is required. - `budget` updates the CBO (Campaign Budget Optimization) budget. For ABO campaigns (where the budget lives on the ad set), use PUT /v1/ads/ad-sets/{adSetId} instead — this endpoint will return 409 with code BUDGET_LEVEL_MISMATCH. - `bidStrategy` sets the campaign-level default bid strategy. Per Meta's spec, `bid_amount` and `bid_constraints` do NOT exist at the campaign level — pass them via PUT /v1/ads/ad-sets/{adSetId}. - `platformSpecificData.spendCap` (Meta only) sets the campaign's lifetime spend cap, in the ad account's currency. Meta-only for now. Other platforms return 501 Not Implemented.
|
|
1458
|
+
# Campaign-level edits. At least one of `budget`, `bidStrategy`, `name` or `platformSpecificData` is required. **Empty campaigns.** A campaign with zero ads has no local Ad documents to resolve, so this would 404 even though it exists on Meta. Send `accountId` in the body to skip the local lookup and forward the update to Meta. The response then carries `updated: 0`, since there are no local rows to mirror onto. `accountId` is ignored when the campaign does have ads. - `budget` updates the CBO (Campaign Budget Optimization) budget. For ABO campaigns (where the budget lives on the ad set), use PUT /v1/ads/ad-sets/{adSetId} instead — this endpoint will return 409 with code BUDGET_LEVEL_MISMATCH. - `bidStrategy` sets the campaign-level default bid strategy. Per Meta's spec, `bid_amount` and `bid_constraints` do NOT exist at the campaign level — pass them via PUT /v1/ads/ad-sets/{adSetId}. - `platformSpecificData.spendCap` (Meta only) sets the campaign's lifetime spend cap, in the ad account's currency. Meta-only for now. Other platforms return 501 Not Implemented.
|
|
1456
1459
|
# @param campaign_id [String] Platform campaign ID
|
|
1457
1460
|
# @param update_ad_campaign_request [UpdateAdCampaignRequest]
|
|
1458
1461
|
# @param [Hash] opts the optional parameters
|
|
@@ -1463,7 +1466,7 @@ module Zernio
|
|
|
1463
1466
|
end
|
|
1464
1467
|
|
|
1465
1468
|
# Update a campaign
|
|
1466
|
-
# Campaign-level edits. At least one of `budget`, `bidStrategy`, `name` or `platformSpecificData` is required. - `budget` updates the CBO (Campaign Budget Optimization) budget. For ABO campaigns (where the budget lives on the ad set), use PUT /v1/ads/ad-sets/{adSetId} instead — this endpoint will return 409 with code BUDGET_LEVEL_MISMATCH. - `bidStrategy` sets the campaign-level default bid strategy. Per Meta's spec, `bid_amount` and `bid_constraints` do NOT exist at the campaign level — pass them via PUT /v1/ads/ad-sets/{adSetId}. - `platformSpecificData.spendCap` (Meta only) sets the campaign's lifetime spend cap, in the ad account's currency. Meta-only for now. Other platforms return 501 Not Implemented.
|
|
1469
|
+
# Campaign-level edits. At least one of `budget`, `bidStrategy`, `name` or `platformSpecificData` is required. **Empty campaigns.** A campaign with zero ads has no local Ad documents to resolve, so this would 404 even though it exists on Meta. Send `accountId` in the body to skip the local lookup and forward the update to Meta. The response then carries `updated: 0`, since there are no local rows to mirror onto. `accountId` is ignored when the campaign does have ads. - `budget` updates the CBO (Campaign Budget Optimization) budget. For ABO campaigns (where the budget lives on the ad set), use PUT /v1/ads/ad-sets/{adSetId} instead — this endpoint will return 409 with code BUDGET_LEVEL_MISMATCH. - `bidStrategy` sets the campaign-level default bid strategy. Per Meta's spec, `bid_amount` and `bid_constraints` do NOT exist at the campaign level — pass them via PUT /v1/ads/ad-sets/{adSetId}. - `platformSpecificData.spendCap` (Meta only) sets the campaign's lifetime spend cap, in the ad account's currency. Meta-only for now. Other platforms return 501 Not Implemented.
|
|
1467
1470
|
# @param campaign_id [String] Platform campaign ID
|
|
1468
1471
|
# @param update_ad_campaign_request [UpdateAdCampaignRequest]
|
|
1469
1472
|
# @param [Hash] opts the optional parameters
|
|
@@ -15,6 +15,9 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Zernio
|
|
17
17
|
class UpdateAdCampaignRequest < ApiModelBase
|
|
18
|
+
# Zernio SocialAccount id owning the ad account. Required only to update an EMPTY campaign (zero ads), which has no local Ad documents to resolve a token from.
|
|
19
|
+
attr_accessor :account_id
|
|
20
|
+
|
|
18
21
|
attr_accessor :platform
|
|
19
22
|
|
|
20
23
|
attr_accessor :budget
|
|
@@ -52,6 +55,7 @@ module Zernio
|
|
|
52
55
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
56
|
def self.attribute_map
|
|
54
57
|
{
|
|
58
|
+
:'account_id' => :'accountId',
|
|
55
59
|
:'platform' => :'platform',
|
|
56
60
|
:'budget' => :'budget',
|
|
57
61
|
:'bid_strategy' => :'bidStrategy',
|
|
@@ -73,6 +77,7 @@ module Zernio
|
|
|
73
77
|
# Attribute type mapping.
|
|
74
78
|
def self.openapi_types
|
|
75
79
|
{
|
|
80
|
+
:'account_id' => :'String',
|
|
76
81
|
:'platform' => :'String',
|
|
77
82
|
:'budget' => :'UpdateAdCampaignRequestBudget',
|
|
78
83
|
:'bid_strategy' => :'BidStrategy',
|
|
@@ -103,6 +108,10 @@ module Zernio
|
|
|
103
108
|
h[k.to_sym] = v
|
|
104
109
|
}
|
|
105
110
|
|
|
111
|
+
if attributes.key?(:'account_id')
|
|
112
|
+
self.account_id = attributes[:'account_id']
|
|
113
|
+
end
|
|
114
|
+
|
|
106
115
|
if attributes.key?(:'platform')
|
|
107
116
|
self.platform = attributes[:'platform']
|
|
108
117
|
else
|
|
@@ -182,6 +191,7 @@ module Zernio
|
|
|
182
191
|
def ==(o)
|
|
183
192
|
return true if self.equal?(o)
|
|
184
193
|
self.class == o.class &&
|
|
194
|
+
account_id == o.account_id &&
|
|
185
195
|
platform == o.platform &&
|
|
186
196
|
budget == o.budget &&
|
|
187
197
|
bid_strategy == o.bid_strategy &&
|
|
@@ -198,7 +208,7 @@ module Zernio
|
|
|
198
208
|
# Calculates hash code according to all attributes.
|
|
199
209
|
# @return [Integer] Hash code
|
|
200
210
|
def hash
|
|
201
|
-
[platform, budget, bid_strategy, name, platform_specific_data].hash
|
|
211
|
+
[account_id, platform, budget, bid_strategy, name, platform_specific_data].hash
|
|
202
212
|
end
|
|
203
213
|
|
|
204
214
|
# Builds the object from hash
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -34910,6 +34910,18 @@ paths:
|
|
|
34910
34910
|
security:
|
|
34911
34911
|
- bearerAuth: []
|
|
34912
34912
|
parameters:
|
|
34913
|
+
- name: includeEmpty
|
|
34914
|
+
in: query
|
|
34915
|
+
required: false
|
|
34916
|
+
schema: { type: boolean }
|
|
34917
|
+
description: >-
|
|
34918
|
+
Meta only. Campaign reads aggregate over ad documents, so a campaign
|
|
34919
|
+
with ZERO ads is normally invisible here — the state the two-step
|
|
34920
|
+
create (campaign, then ads via `existingCampaignId`) leaves behind
|
|
34921
|
+
whenever Meta rejects the ad step. Set true to list those too, with
|
|
34922
|
+
`adCount: 0` and zeroed metrics. Requires `accountId` and
|
|
34923
|
+
`adAccountId`, since an empty campaign has no ad row to resolve a
|
|
34924
|
+
token or ad account from.
|
|
34913
34925
|
- $ref: '#/components/parameters/PageParam'
|
|
34914
34926
|
- { name: limit, in: query, schema: { type: integer, minimum: 1, maximum: 100, default: 20 } }
|
|
34915
34927
|
- { name: source, in: query, schema: { type: string, enum: [zernio, all], default: all }, description: "`all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that." }
|
|
@@ -35057,6 +35069,12 @@ paths:
|
|
|
35057
35069
|
description: |
|
|
35058
35070
|
Campaign-level edits. At least one of `budget`, `bidStrategy`, `name` or `platformSpecificData` is required.
|
|
35059
35071
|
|
|
35072
|
+
**Empty campaigns.** A campaign with zero ads has no local Ad documents to
|
|
35073
|
+
resolve, so this would 404 even though it exists on Meta. Send `accountId`
|
|
35074
|
+
in the body to skip the local lookup and forward the update to Meta. The
|
|
35075
|
+
response then carries `updated: 0`, since there are no local rows to mirror
|
|
35076
|
+
onto. `accountId` is ignored when the campaign does have ads.
|
|
35077
|
+
|
|
35060
35078
|
- `budget` updates the CBO (Campaign Budget Optimization) budget. For ABO campaigns
|
|
35061
35079
|
(where the budget lives on the ad set), use PUT /v1/ads/ad-sets/{adSetId} instead — this endpoint
|
|
35062
35080
|
will return 409 with code BUDGET_LEVEL_MISMATCH.
|
|
@@ -35078,6 +35096,7 @@ paths:
|
|
|
35078
35096
|
type: object
|
|
35079
35097
|
required: [platform]
|
|
35080
35098
|
properties:
|
|
35099
|
+
accountId: { type: string, description: "Zernio SocialAccount id owning the ad account. Required only to update an EMPTY campaign (zero ads), which has no local Ad documents to resolve a token from." }
|
|
35081
35100
|
platform: { type: string, enum: [facebook, instagram] }
|
|
35082
35101
|
budget:
|
|
35083
35102
|
type: object
|
|
@@ -221,6 +221,7 @@ describe 'AdCampaignsApi' do
|
|
|
221
221
|
# List campaigns
|
|
222
222
|
# Returns campaigns as virtual aggregations over ad documents grouped by platform campaign ID. Metrics (spend, impressions, clicks, etc.) are summed across all ads in each campaign. Campaign status is derived from child ad statuses (active > pending_review > paused > error > completed > cancelled > rejected).
|
|
223
223
|
# @param [Hash] opts the optional parameters
|
|
224
|
+
# @option opts [Boolean] :include_empty Meta only. Campaign reads aggregate over ad documents, so a campaign with ZERO ads is normally invisible here — the state the two-step create (campaign, then ads via `existingCampaignId`) leaves behind whenever Meta rejects the ad step. Set true to list those too, with `adCount: 0` and zeroed metrics. Requires `accountId` and `adAccountId`, since an empty campaign has no ad row to resolve a token or ad account from.
|
|
224
225
|
# @option opts [Integer] :page Page number (1-based)
|
|
225
226
|
# @option opts [Integer] :limit
|
|
226
227
|
# @option opts [String] :source `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that.
|
|
@@ -302,7 +303,7 @@ describe 'AdCampaignsApi' do
|
|
|
302
303
|
|
|
303
304
|
# unit tests for update_ad_campaign
|
|
304
305
|
# Update a campaign
|
|
305
|
-
# Campaign-level edits. At least one of `budget`, `bidStrategy`, `name` or `platformSpecificData` is required. - `budget` updates the CBO (Campaign Budget Optimization) budget. For ABO campaigns (where the budget lives on the ad set), use PUT /v1/ads/ad-sets/{adSetId} instead — this endpoint will return 409 with code BUDGET_LEVEL_MISMATCH. - `bidStrategy` sets the campaign-level default bid strategy. Per Meta's spec, `bid_amount` and `bid_constraints` do NOT exist at the campaign level — pass them via PUT /v1/ads/ad-sets/{adSetId}. - `platformSpecificData.spendCap` (Meta only) sets the campaign's lifetime spend cap, in the ad account's currency. Meta-only for now. Other platforms return 501 Not Implemented.
|
|
306
|
+
# Campaign-level edits. At least one of `budget`, `bidStrategy`, `name` or `platformSpecificData` is required. **Empty campaigns.** A campaign with zero ads has no local Ad documents to resolve, so this would 404 even though it exists on Meta. Send `accountId` in the body to skip the local lookup and forward the update to Meta. The response then carries `updated: 0`, since there are no local rows to mirror onto. `accountId` is ignored when the campaign does have ads. - `budget` updates the CBO (Campaign Budget Optimization) budget. For ABO campaigns (where the budget lives on the ad set), use PUT /v1/ads/ad-sets/{adSetId} instead — this endpoint will return 409 with code BUDGET_LEVEL_MISMATCH. - `bidStrategy` sets the campaign-level default bid strategy. Per Meta's spec, `bid_amount` and `bid_constraints` do NOT exist at the campaign level — pass them via PUT /v1/ads/ad-sets/{adSetId}. - `platformSpecificData.spendCap` (Meta only) sets the campaign's lifetime spend cap, in the ad account's currency. Meta-only for now. Other platforms return 501 Not Implemented.
|
|
306
307
|
# @param campaign_id Platform campaign ID
|
|
307
308
|
# @param update_ad_campaign_request
|
|
308
309
|
# @param [Hash] opts the optional parameters
|
|
@@ -27,6 +27,12 @@ describe Zernio::UpdateAdCampaignRequest do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
describe 'test attribute "account_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
30
36
|
describe 'test attribute "platform"' do
|
|
31
37
|
it 'should work' do
|
|
32
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: late-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.634
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -4919,7 +4919,7 @@ files:
|
|
|
4919
4919
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
4920
4920
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
4921
4921
|
- spec/spec_helper.rb
|
|
4922
|
-
- zernio-sdk-0.0.
|
|
4922
|
+
- zernio-sdk-0.0.634.gem
|
|
4923
4923
|
- zernio-sdk.gemspec
|
|
4924
4924
|
homepage: https://openapi-generator.tech
|
|
4925
4925
|
licenses:
|
data/zernio-sdk-0.0.633.gem
DELETED
|
Binary file
|