late-sdk 0.0.627 → 0.0.629
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/README.md +1 -0
- data/docs/AdCampaignsApi.md +27 -13
- data/docs/AdDailyMetrics.md +1 -1
- data/docs/AdMetrics.md +1 -1
- data/docs/BoostPostRequestTargeting.md +1 -1
- data/docs/CreateAdCampaignRequest.md +7 -1
- data/docs/CreateStandaloneAdRequest.md +5 -1
- data/docs/CreateStandaloneAdRequestTranslationsInner.md +30 -0
- data/docs/CreateStandaloneAdRequestVideo.md +3 -1
- data/docs/GetAdsTimeline200ResponseRowsInner.md +1 -1
- data/docs/GetCampaignAnalytics200ResponseAnalyticsDailyInner.md +1 -1
- data/docs/TargetingSpec.md +1 -1
- data/lib/zernio-sdk/api/ad_campaigns_api.rb +30 -2
- data/lib/zernio-sdk/models/ad_daily_metrics.rb +2 -2
- data/lib/zernio-sdk/models/ad_metrics.rb +2 -2
- data/lib/zernio-sdk/models/boost_post_request_targeting.rb +1 -1
- data/lib/zernio-sdk/models/create_ad_campaign_request.rb +46 -4
- data/lib/zernio-sdk/models/create_standalone_ad_request.rb +52 -2
- data/lib/zernio-sdk/models/create_standalone_ad_request_translations_inner.rb +263 -0
- data/lib/zernio-sdk/models/create_standalone_ad_request_video.rb +12 -19
- data/lib/zernio-sdk/models/get_ads_timeline200_response_rows_inner.rb +2 -2
- data/lib/zernio-sdk/models/get_campaign_analytics200_response_analytics_daily_inner.rb +2 -2
- data/lib/zernio-sdk/models/targeting_spec.rb +1 -1
- data/lib/zernio-sdk/version.rb +1 -1
- data/lib/zernio-sdk.rb +1 -0
- data/openapi.yaml +87 -8
- data/spec/api/ad_campaigns_api_spec.rb +5 -1
- data/spec/models/create_ad_campaign_request_spec.rb +22 -0
- data/spec/models/create_standalone_ad_request_spec.rb +12 -0
- data/spec/models/create_standalone_ad_request_translations_inner_spec.rb +72 -0
- data/spec/models/create_standalone_ad_request_video_spec.rb +6 -0
- data/zernio-sdk-0.0.629.gem +0 -0
- metadata +6 -2
- data/zernio-sdk-0.0.627.gem +0 -0
data/openapi.yaml
CHANGED
|
@@ -6536,8 +6536,8 @@ components:
|
|
|
6536
6536
|
cpm: { type: number, description: Cost per 1000 impressions }
|
|
6537
6537
|
engagement: { type: integer }
|
|
6538
6538
|
conversions:
|
|
6539
|
-
type:
|
|
6540
|
-
description: "Count of conversion events over the requested date range. Meta: events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.). Google: the account's tracked conversions. X and LinkedIn: their reported website/lead conversions (added 2026-07). 0 for non-conversion campaigns or when no events have fired."
|
|
6539
|
+
type: number
|
|
6540
|
+
description: "Count of conversion events over the requested date range. FRACTIONAL: attribution splits one conversion across touchpoints and Google additionally reports modeled conversions, so values like 0.347 are normal. Meta: events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.). Google: the account's tracked conversions. X and LinkedIn: their reported website/lead conversions (added 2026-07). 0 for non-conversion campaigns or when no events have fired."
|
|
6541
6541
|
costPerConversion:
|
|
6542
6542
|
type: number
|
|
6543
6543
|
description: "Derived spend / conversions in the same currency as spend. 0 when conversions is 0."
|
|
@@ -6772,7 +6772,7 @@ components:
|
|
|
6772
6772
|
address: { type: string, description: "Optional label, sent to Meta as `address_string`. latitude/longitude take precedence for the pin location." }
|
|
6773
6773
|
ageMin: { type: integer, minimum: 13, maximum: 100 }
|
|
6774
6774
|
ageMax: { type: integer, minimum: 13, maximum: 100 }
|
|
6775
|
-
gender: { type: string, enum: [all, male, female], description: "Restrict by gender. 'all' (default) targets everyone." }
|
|
6775
|
+
gender: { type: string, enum: [all, male, female], description: "Restrict by gender. 'all' (default) targets everyone. Applied on Meta, TikTok and Pinterest. Ignored on Google, LinkedIn and X." }
|
|
6776
6776
|
incomeTier:
|
|
6777
6777
|
type: string
|
|
6778
6778
|
enum: [top_5, top_10, top_10_25, top_25_50]
|
|
@@ -34914,8 +34914,21 @@ paths:
|
|
|
34914
34914
|
(CBO) by definition; omit it for ABO (each ad set carries its own budget). Created
|
|
34915
34915
|
`PAUSED` unless `status: ACTIVE`. The campaign materializes in `/v1/ads/tree` via the
|
|
34916
34916
|
next sync discovery pass.
|
|
34917
|
+
|
|
34918
|
+
**Idempotency:** send an `Idempotency-Key` header to make retries safe.
|
|
34917
34919
|
security:
|
|
34918
34920
|
- bearerAuth: []
|
|
34921
|
+
parameters:
|
|
34922
|
+
- name: Idempotency-Key
|
|
34923
|
+
in: header
|
|
34924
|
+
required: false
|
|
34925
|
+
schema: { type: string, maxLength: 255 }
|
|
34926
|
+
description: >-
|
|
34927
|
+
Optional client-generated unique key (e.g. a UUID) that makes
|
|
34928
|
+
retries safe. Same key + same body replays the original response;
|
|
34929
|
+
same key + different body → 422; key still processing → 409. Only
|
|
34930
|
+
2xx responses are stored, so a request that failed with a 4xx can
|
|
34931
|
+
be retried with a corrected body under the SAME key.
|
|
34919
34932
|
requestBody:
|
|
34920
34933
|
required: true
|
|
34921
34934
|
content:
|
|
@@ -34937,6 +34950,12 @@ paths:
|
|
|
34937
34950
|
budgetAmount: { type: number, description: "Campaign-level (CBO) budget in whole currency units. Requires budgetType." }
|
|
34938
34951
|
budgetType: { type: string, enum: [daily, lifetime] }
|
|
34939
34952
|
status: { type: string, enum: [ACTIVE, PAUSED], default: PAUSED }
|
|
34953
|
+
bidStrategy:
|
|
34954
|
+
type: string
|
|
34955
|
+
enum: [LOWEST_COST_WITHOUT_CAP, LOWEST_COST_WITH_BID_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS]
|
|
34956
|
+
description: "Campaign bid strategy. Meta puts `bid_strategy` where the budget lives, so this applies only alongside a campaign budget (CBO). Previously settable only via `PUT /v1/ads/campaigns/{campaignId}`."
|
|
34957
|
+
bidAmount: { type: number, description: "Whole currency units (USD: 5 = $5.00). Required for LOWEST_COST_WITH_BID_CAP and COST_CAP; ignored otherwise." }
|
|
34958
|
+
roasAverageFloor: { type: number, description: "Decimal ROAS multiplier (2.0 = 2.0x). Required for LOWEST_COST_WITH_MIN_ROAS." }
|
|
34940
34959
|
responses:
|
|
34941
34960
|
'201':
|
|
34942
34961
|
description: Campaign created
|
|
@@ -35198,6 +35217,16 @@ paths:
|
|
|
35198
35217
|
security:
|
|
35199
35218
|
- bearerAuth: []
|
|
35200
35219
|
parameters:
|
|
35220
|
+
- name: Idempotency-Key
|
|
35221
|
+
in: header
|
|
35222
|
+
required: false
|
|
35223
|
+
schema: { type: string, maxLength: 255 }
|
|
35224
|
+
description: >-
|
|
35225
|
+
Optional client-generated unique key (e.g. a UUID) that makes
|
|
35226
|
+
retries safe. Same key + same body replays the original response;
|
|
35227
|
+
same key + different body → 422; key still processing → 409. Only
|
|
35228
|
+
2xx responses are stored, so a request that failed with a 4xx can
|
|
35229
|
+
be retried with a corrected body under the SAME key.
|
|
35201
35230
|
- { name: campaignId, in: path, required: true, schema: { type: string }, description: Source platform campaign ID }
|
|
35202
35231
|
requestBody:
|
|
35203
35232
|
required: true
|
|
@@ -35260,6 +35289,16 @@ paths:
|
|
|
35260
35289
|
security:
|
|
35261
35290
|
- bearerAuth: []
|
|
35262
35291
|
parameters:
|
|
35292
|
+
- name: Idempotency-Key
|
|
35293
|
+
in: header
|
|
35294
|
+
required: false
|
|
35295
|
+
schema: { type: string, maxLength: 255 }
|
|
35296
|
+
description: >-
|
|
35297
|
+
Optional client-generated unique key (e.g. a UUID) that makes
|
|
35298
|
+
retries safe. Same key + same body replays the original response;
|
|
35299
|
+
same key + different body → 422; key still processing → 409. Only
|
|
35300
|
+
2xx responses are stored, so a request that failed with a 4xx can
|
|
35301
|
+
be retried with a corrected body under the SAME key.
|
|
35263
35302
|
- { name: adSetId, in: path, required: true, schema: { type: string }, description: Source platform ad set ID }
|
|
35264
35303
|
requestBody:
|
|
35265
35304
|
required: true
|
|
@@ -35309,6 +35348,16 @@ paths:
|
|
|
35309
35348
|
security:
|
|
35310
35349
|
- bearerAuth: []
|
|
35311
35350
|
parameters:
|
|
35351
|
+
- name: Idempotency-Key
|
|
35352
|
+
in: header
|
|
35353
|
+
required: false
|
|
35354
|
+
schema: { type: string, maxLength: 255 }
|
|
35355
|
+
description: >-
|
|
35356
|
+
Optional client-generated unique key (e.g. a UUID) that makes
|
|
35357
|
+
retries safe. Same key + same body replays the original response;
|
|
35358
|
+
same key + different body → 422; key still processing → 409. Only
|
|
35359
|
+
2xx responses are stored, so a request that failed with a 4xx can
|
|
35360
|
+
be retried with a corrected body under the SAME key.
|
|
35312
35361
|
- { name: adId, in: path, required: true, schema: { type: string }, description: Zernio ad ID or platform ad ID }
|
|
35313
35362
|
requestBody:
|
|
35314
35363
|
required: false
|
|
@@ -35631,7 +35680,7 @@ paths:
|
|
|
35631
35680
|
ctr: { type: number, description: "Click-through rate as a percentage (0–100)." }
|
|
35632
35681
|
cpc: { type: number, description: "Cost per click in native currency." }
|
|
35633
35682
|
cpm: { type: number, description: "Cost per 1000 impressions in native currency." }
|
|
35634
|
-
conversions: { type:
|
|
35683
|
+
conversions: { type: number, description: "Sum of conversion events over the range. Fractional values are normal (attribution splitting + Google modeled conversions). Meta: events matching the campaign optimization goal. Google: tracked conversions. X / LinkedIn: reported website/lead conversions (added 2026-07)." }
|
|
35635
35684
|
costPerConversion: { type: number }
|
|
35636
35685
|
actions:
|
|
35637
35686
|
type: object
|
|
@@ -37376,7 +37425,7 @@ paths:
|
|
|
37376
37425
|
properties:
|
|
37377
37426
|
ageMin: { type: integer, minimum: 13, maximum: 65 }
|
|
37378
37427
|
ageMax: { type: integer, minimum: 13, maximum: 65 }
|
|
37379
|
-
gender: { type: string, enum: [all, male, female], description: "Meta
|
|
37428
|
+
gender: { type: string, enum: [all, male, female], description: "Applied on Meta, TikTok and Pinterest. Ignored on Google, LinkedIn and X." }
|
|
37380
37429
|
languages: { type: array, items: { type: string }, description: "Meta locale ids (numeric), passed through as given." }
|
|
37381
37430
|
countries: { type: array, items: { type: string }, description: "ISO country codes. Required for TikTok boosts (TikTok's ad group requires location_ids); optional on other platforms." }
|
|
37382
37431
|
regions:
|
|
@@ -37704,9 +37753,9 @@ paths:
|
|
|
37704
37753
|
video:
|
|
37705
37754
|
type: object
|
|
37706
37755
|
description: "Meta (facebook, instagram) and LinkedIn. When set, creates a VIDEO ad on the legacy (or, for Meta, attach) shape. Mutually exclusive with `imageUrl`. For Meta multi-creative, set `video` per entry inside `creatives[]` instead. For LinkedIn the video is uploaded to LinkedIn under the authoring Company Page (see `organizationId`) and the campaign format is set to SINGLE_VIDEO; LinkedIn ignores `thumbnailUrl` (it auto-generates the poster frame) — supply MP4 H.264/AAC, 3s-30min, 75KB-500MB."
|
|
37707
|
-
required: [url]
|
|
37708
37756
|
properties:
|
|
37709
|
-
url: { type: string, format: uri, description: "Public URL of the video. Meta: uploaded via chunked transfer on /act_X/advideos, then the request blocks on Meta's transcoding until status.video_status === 'ready'. LinkedIn: uploaded via the Videos API (multipart), then the request blocks until LinkedIn finishes transcoding (status AVAILABLE) — short clips take ~10-30s."
|
|
37757
|
+
url: { type: string, format: uri, description: "Public URL of the video. Meta: uploaded via chunked transfer on /act_X/advideos, then the request blocks on Meta's transcoding until status.video_status === 'ready'. LinkedIn: uploaded via the Videos API (multipart), then the request blocks until LinkedIn finishes transcoding (status AVAILABLE) — short clips take ~10-30s. Provide either `url` or `id`."}
|
|
37758
|
+
id: { type: string, description: "Meta only. Reuse a video ALREADY uploaded to this ad account instead of re-uploading the file: pass the `videoId` returned by a previous create. Wins over `url`, so N ads that differ only in copy share one upload (`existingCreativeId` only covers the identical-copy case). Provide either `url` or `id`."}
|
|
37710
37759
|
thumbnailUrl: { type: string, format: uri, description: "Public URL of a still-image thumbnail for the video. OPTIONAL: when omitted on Meta, the poster is auto-generated from Meta's own preferred video thumbnail (the same candidates Ads Manager shows), so video ads publish without supplying one. Provide it to control the poster frame exactly (uploaded as an ad image and referenced in object_story_spec.video_data). Ignored by LinkedIn (auto-generated poster frame)." }
|
|
37711
37760
|
creatives:
|
|
37712
37761
|
type: array
|
|
@@ -38037,6 +38086,36 @@ paths:
|
|
|
38037
38086
|
headline: { type: string, maxLength: 255, description: "Card headline, shown below the card image." }
|
|
38038
38087
|
description: { type: string, maxLength: 255, description: "Card description, shown under the headline." }
|
|
38039
38088
|
callToAction: { type: string, description: "Card CTA override. Defaults to the top-level callToAction; same enum." }
|
|
38089
|
+
defaultLocale:
|
|
38090
|
+
type: string
|
|
38091
|
+
description: "Meta only. Language the top-level copy is written in (e.g. `en`, `pt_BR`), used by the `translations` default rule. Defaults to `en`. Meta rejects a language asset feed whose default rule carries no locales of its own."
|
|
38092
|
+
translations:
|
|
38093
|
+
type: array
|
|
38094
|
+
minItems: 1
|
|
38095
|
+
maxItems: 10
|
|
38096
|
+
description: |
|
|
38097
|
+
Meta only. Multi-language ads (Dynamic Language Optimization): ONE ad carrying
|
|
38098
|
+
per-locale copy and, optionally, per-locale media — the "Languages" toggle in Ads
|
|
38099
|
+
Manager. Keeps social proof (likes/comments/shares) on a SINGLE post instead of
|
|
38100
|
+
splitting it across one ad per language.
|
|
38101
|
+
|
|
38102
|
+
The ad's top-level copy and media are the DEFAULT every unlisted locale falls back
|
|
38103
|
+
to, and a variant inherits any field it omits, so send only what differs per
|
|
38104
|
+
language. Media shared across languages is uploaded once.
|
|
38105
|
+
|
|
38106
|
+
Mutually exclusive with `dynamicCreative`, `placementAssets`, `carouselCards` and
|
|
38107
|
+
`existingCreativeId` — Meta allows one `asset_feed_spec` shape per creative.
|
|
38108
|
+
items:
|
|
38109
|
+
type: object
|
|
38110
|
+
required: [locale]
|
|
38111
|
+
properties:
|
|
38112
|
+
locale: { type: string, description: "Language code, resolved to Meta's numeric locale id. Bare codes target the '(All)' umbrella (`es` = every Spanish variant); region-qualified codes target the variant (`pt_BR`, `en_GB`)." }
|
|
38113
|
+
headline: { type: string, maxLength: 255, description: "Headline for this language. Inherits the top-level `headline` when omitted." }
|
|
38114
|
+
body: { type: string, description: "Primary text for this language. Inherits the top-level `body` when omitted." }
|
|
38115
|
+
description: { type: string, maxLength: 255, description: "Link description for this language. Inherits the top-level `description` when omitted." }
|
|
38116
|
+
imageUrl: { type: string, format: uri, description: "Image for this language. Inherits the ad's `imageUrl` when omitted. The feed is all-image OR all-video." }
|
|
38117
|
+
videoUrl: { type: string, format: uri, description: "Video for this language. Inherits the ad's `video.url` when omitted. The feed is all-image OR all-video." }
|
|
38118
|
+
thumbnailUrl: { type: string, format: uri, description: "Poster frame for this language's video." }
|
|
38040
38119
|
placementAssets:
|
|
38041
38120
|
type: object
|
|
38042
38121
|
description: |
|
|
@@ -38151,7 +38230,7 @@ paths:
|
|
|
38151
38230
|
`VIEW_THROUGH: 1`; `CLICK_THROUGH: 28` only on certain objectives. Invalid combos
|
|
38152
38231
|
surface as a Meta 400.
|
|
38153
38232
|
Example: `[{ "eventType": "CLICK_THROUGH", "windowDays": 7 }, { "eventType": "VIEW_THROUGH", "windowDays": 1 }]`
|
|
38154
|
-
gender: { type: string, enum: [all, male, female], default: all, description: "
|
|
38233
|
+
gender: { type: string, enum: [all, male, female], default: all, description: "Restrict the audience by gender. 'male' targets men only, 'female' targets women only, 'all' (default) targets everyone. Applied on Meta, TikTok and Pinterest. Ignored on Google, LinkedIn and X." }
|
|
38155
38234
|
bidStrategy:
|
|
38156
38235
|
allOf: [{ $ref: '#/components/schemas/BidStrategy' }]
|
|
38157
38236
|
description: "Meta bid strategy applied to the ad set."
|
|
@@ -58,9 +58,10 @@ describe 'AdCampaignsApi' do
|
|
|
58
58
|
|
|
59
59
|
# unit tests for create_ad_campaign
|
|
60
60
|
# Create a standalone campaign
|
|
61
|
-
# Creates a campaign WITHOUT its first ad set / ad (the ODAX shell only). Ad sets join it later via `existingCampaignId` on the create endpoints. A budget here is campaign-level (CBO) by definition; omit it for ABO (each ad set carries its own budget). Created `PAUSED` unless `status: ACTIVE`. The campaign materializes in `/v1/ads/tree` via the next sync discovery pass.
|
|
61
|
+
# Creates a campaign WITHOUT its first ad set / ad (the ODAX shell only). Ad sets join it later via `existingCampaignId` on the create endpoints. A budget here is campaign-level (CBO) by definition; omit it for ABO (each ad set carries its own budget). Created `PAUSED` unless `status: ACTIVE`. The campaign materializes in `/v1/ads/tree` via the next sync discovery pass. **Idempotency:** send an `Idempotency-Key` header to make retries safe.
|
|
62
62
|
# @param create_ad_campaign_request
|
|
63
63
|
# @param [Hash] opts the optional parameters
|
|
64
|
+
# @option opts [String] :idempotency_key Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409. Only 2xx responses are stored, so a request that failed with a 4xx can be retried with a corrected body under the SAME key.
|
|
64
65
|
# @return [CreateAdCampaign201Response]
|
|
65
66
|
describe 'create_ad_campaign test' do
|
|
66
67
|
it 'should work' do
|
|
@@ -111,6 +112,7 @@ describe 'AdCampaignsApi' do
|
|
|
111
112
|
# Duplicates a single ad via Meta's native `POST /{ad-id}/copies`. The copy is created paused. `adSetId` retargets the copy into another ad set; omitted = the source's own ad set. Accepts the Zernio ad id or the platform ad id. Sync discovery is triggered automatically (`syncAfter: false` to skip).
|
|
112
113
|
# @param ad_id Zernio ad ID or platform ad ID
|
|
113
114
|
# @param [Hash] opts the optional parameters
|
|
115
|
+
# @option opts [String] :idempotency_key Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409. Only 2xx responses are stored, so a request that failed with a 4xx can be retried with a corrected body under the SAME key.
|
|
114
116
|
# @option opts [DuplicateAdRequest] :duplicate_ad_request
|
|
115
117
|
# @return [DuplicateAd200Response]
|
|
116
118
|
describe 'duplicate_ad test' do
|
|
@@ -125,6 +127,7 @@ describe 'AdCampaignsApi' do
|
|
|
125
127
|
# @param campaign_id Source platform campaign ID
|
|
126
128
|
# @param duplicate_ad_campaign_request
|
|
127
129
|
# @param [Hash] opts the optional parameters
|
|
130
|
+
# @option opts [String] :idempotency_key Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409. Only 2xx responses are stored, so a request that failed with a 4xx can be retried with a corrected body under the SAME key.
|
|
128
131
|
# @return [DuplicateAdCampaign200Response]
|
|
129
132
|
describe 'duplicate_ad_campaign test' do
|
|
130
133
|
it 'should work' do
|
|
@@ -138,6 +141,7 @@ describe 'AdCampaignsApi' do
|
|
|
138
141
|
# @param ad_set_id Source platform ad set ID
|
|
139
142
|
# @param duplicate_ad_set_request
|
|
140
143
|
# @param [Hash] opts the optional parameters
|
|
144
|
+
# @option opts [String] :idempotency_key Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409. Only 2xx responses are stored, so a request that failed with a 4xx can be retried with a corrected body under the SAME key.
|
|
141
145
|
# @return [DuplicateAdSet200Response]
|
|
142
146
|
describe 'duplicate_ad_set test' do
|
|
143
147
|
it 'should work' do
|
|
@@ -91,4 +91,26 @@ describe Zernio::CreateAdCampaignRequest do
|
|
|
91
91
|
end
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
+
describe 'test attribute "bid_strategy"' do
|
|
95
|
+
it 'should work' do
|
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
97
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["LOWEST_COST_WITHOUT_CAP", "LOWEST_COST_WITH_BID_CAP", "COST_CAP", "LOWEST_COST_WITH_MIN_ROAS"])
|
|
98
|
+
# validator.allowable_values.each do |value|
|
|
99
|
+
# expect { instance.bid_strategy = value }.not_to raise_error
|
|
100
|
+
# end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
describe 'test attribute "bid_amount"' do
|
|
105
|
+
it 'should work' do
|
|
106
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
describe 'test attribute "roas_average_floor"' do
|
|
111
|
+
it 'should work' do
|
|
112
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
|
|
94
116
|
end
|
|
@@ -417,6 +417,18 @@ describe Zernio::CreateStandaloneAdRequest do
|
|
|
417
417
|
end
|
|
418
418
|
end
|
|
419
419
|
|
|
420
|
+
describe 'test attribute "default_locale"' do
|
|
421
|
+
it 'should work' do
|
|
422
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
423
|
+
end
|
|
424
|
+
end
|
|
425
|
+
|
|
426
|
+
describe 'test attribute "translations"' do
|
|
427
|
+
it 'should work' do
|
|
428
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
429
|
+
end
|
|
430
|
+
end
|
|
431
|
+
|
|
420
432
|
describe 'test attribute "placement_assets"' do
|
|
421
433
|
it 'should work' do
|
|
422
434
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Zernio API
|
|
3
|
+
|
|
4
|
+
#API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.4
|
|
7
|
+
Contact: support@zernio.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Zernio::CreateStandaloneAdRequestTranslationsInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Zernio::CreateStandaloneAdRequestTranslationsInner do
|
|
21
|
+
#let(:instance) { Zernio::CreateStandaloneAdRequestTranslationsInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateStandaloneAdRequestTranslationsInner' do
|
|
24
|
+
it 'should create an instance of CreateStandaloneAdRequestTranslationsInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Zernio::CreateStandaloneAdRequestTranslationsInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "locale"' 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
|
+
|
|
36
|
+
describe 'test attribute "headline"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "body"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "description"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "image_url"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "video_url"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "thumbnail_url"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
end
|
|
@@ -33,6 +33,12 @@ describe Zernio::CreateStandaloneAdRequestVideo do
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
describe 'test attribute "id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
36
42
|
describe 'test attribute "thumbnail_url"' do
|
|
37
43
|
it 'should work' do
|
|
38
44
|
# 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.629
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -340,6 +340,7 @@ files:
|
|
|
340
340
|
- docs/CreateStandaloneAdRequestPromotedObject.md
|
|
341
341
|
- docs/CreateStandaloneAdRequestRegionsInner.md
|
|
342
342
|
- docs/CreateStandaloneAdRequestTracking.md
|
|
343
|
+
- docs/CreateStandaloneAdRequestTranslationsInner.md
|
|
343
344
|
- docs/CreateStandaloneAdRequestVideo.md
|
|
344
345
|
- docs/CreateTestLead200Response.md
|
|
345
346
|
- docs/CreateTestLead200ResponseTestLead.md
|
|
@@ -2006,6 +2007,7 @@ files:
|
|
|
2006
2007
|
- lib/zernio-sdk/models/create_standalone_ad_request_promoted_object.rb
|
|
2007
2008
|
- lib/zernio-sdk/models/create_standalone_ad_request_regions_inner.rb
|
|
2008
2009
|
- lib/zernio-sdk/models/create_standalone_ad_request_tracking.rb
|
|
2010
|
+
- lib/zernio-sdk/models/create_standalone_ad_request_translations_inner.rb
|
|
2009
2011
|
- lib/zernio-sdk/models/create_standalone_ad_request_video.rb
|
|
2010
2012
|
- lib/zernio-sdk/models/create_test_lead200_response.rb
|
|
2011
2013
|
- lib/zernio-sdk/models/create_test_lead200_response_test_lead.rb
|
|
@@ -3621,6 +3623,7 @@ files:
|
|
|
3621
3623
|
- spec/models/create_standalone_ad_request_regions_inner_spec.rb
|
|
3622
3624
|
- spec/models/create_standalone_ad_request_spec.rb
|
|
3623
3625
|
- spec/models/create_standalone_ad_request_tracking_spec.rb
|
|
3626
|
+
- spec/models/create_standalone_ad_request_translations_inner_spec.rb
|
|
3624
3627
|
- spec/models/create_standalone_ad_request_video_spec.rb
|
|
3625
3628
|
- spec/models/create_test_lead200_response_spec.rb
|
|
3626
3629
|
- spec/models/create_test_lead200_response_test_lead_spec.rb
|
|
@@ -4913,7 +4916,7 @@ files:
|
|
|
4913
4916
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
4914
4917
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
4915
4918
|
- spec/spec_helper.rb
|
|
4916
|
-
- zernio-sdk-0.0.
|
|
4919
|
+
- zernio-sdk-0.0.629.gem
|
|
4917
4920
|
- zernio-sdk.gemspec
|
|
4918
4921
|
homepage: https://openapi-generator.tech
|
|
4919
4922
|
licenses:
|
|
@@ -6238,6 +6241,7 @@ test_files:
|
|
|
6238
6241
|
- spec/models/analytics_list_response_spec.rb
|
|
6239
6242
|
- spec/models/update_post_request_spec.rb
|
|
6240
6243
|
- spec/models/activate_sequence200_response_spec.rb
|
|
6244
|
+
- spec/models/create_standalone_ad_request_translations_inner_spec.rb
|
|
6241
6245
|
- spec/models/queue_schedule_spec.rb
|
|
6242
6246
|
- spec/models/unblock_whats_app_users_request_spec.rb
|
|
6243
6247
|
- spec/models/update_ad_status_request_spec.rb
|
data/zernio-sdk-0.0.627.gem
DELETED
|
Binary file
|