late-sdk 0.0.628 → 0.0.630
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/CreateAdCampaignRequest.md +7 -1
- data/docs/CreateStandaloneAdRequest.md +4 -0
- 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/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/create_ad_campaign_request.rb +46 -4
- data/lib/zernio-sdk/models/create_standalone_ad_request.rb +51 -1
- 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/version.rb +1 -1
- data/lib/zernio-sdk.rb +1 -0
- data/openapi.yaml +95 -5
- 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.630.gem +0 -0
- metadata +6 -2
- data/zernio-sdk-0.0.628.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."
|
|
@@ -19493,6 +19493,17 @@ paths:
|
|
|
19493
19493
|
noOrgForPersonMention:
|
|
19494
19494
|
value: { error: "No organization found. You need to be an admin of a LinkedIn organization to use person mentions. Organization mentions work without this requirement." }
|
|
19495
19495
|
'401': { $ref: '#/components/responses/Unauthorized' }
|
|
19496
|
+
'403':
|
|
19497
|
+
description: The account holds no organization role that can resolve person mentions
|
|
19498
|
+
content:
|
|
19499
|
+
application/json:
|
|
19500
|
+
schema:
|
|
19501
|
+
type: object
|
|
19502
|
+
properties:
|
|
19503
|
+
error: { type: string }
|
|
19504
|
+
examples:
|
|
19505
|
+
noPostingRole:
|
|
19506
|
+
value: { error: "LinkedIn blocked this lookup. Your account has no company page where it can create posts, which LinkedIn requires to resolve a person's profile URL. Ask for an Admin or Content Admin role on one of your pages, or mention a company instead." }
|
|
19496
19507
|
'404':
|
|
19497
19508
|
description: Person or organization not found
|
|
19498
19509
|
content:
|
|
@@ -34914,8 +34925,21 @@ paths:
|
|
|
34914
34925
|
(CBO) by definition; omit it for ABO (each ad set carries its own budget). Created
|
|
34915
34926
|
`PAUSED` unless `status: ACTIVE`. The campaign materializes in `/v1/ads/tree` via the
|
|
34916
34927
|
next sync discovery pass.
|
|
34928
|
+
|
|
34929
|
+
**Idempotency:** send an `Idempotency-Key` header to make retries safe.
|
|
34917
34930
|
security:
|
|
34918
34931
|
- bearerAuth: []
|
|
34932
|
+
parameters:
|
|
34933
|
+
- name: Idempotency-Key
|
|
34934
|
+
in: header
|
|
34935
|
+
required: false
|
|
34936
|
+
schema: { type: string, maxLength: 255 }
|
|
34937
|
+
description: >-
|
|
34938
|
+
Optional client-generated unique key (e.g. a UUID) that makes
|
|
34939
|
+
retries safe. Same key + same body replays the original response;
|
|
34940
|
+
same key + different body → 422; key still processing → 409. Only
|
|
34941
|
+
2xx responses are stored, so a request that failed with a 4xx can
|
|
34942
|
+
be retried with a corrected body under the SAME key.
|
|
34919
34943
|
requestBody:
|
|
34920
34944
|
required: true
|
|
34921
34945
|
content:
|
|
@@ -34937,6 +34961,12 @@ paths:
|
|
|
34937
34961
|
budgetAmount: { type: number, description: "Campaign-level (CBO) budget in whole currency units. Requires budgetType." }
|
|
34938
34962
|
budgetType: { type: string, enum: [daily, lifetime] }
|
|
34939
34963
|
status: { type: string, enum: [ACTIVE, PAUSED], default: PAUSED }
|
|
34964
|
+
bidStrategy:
|
|
34965
|
+
type: string
|
|
34966
|
+
enum: [LOWEST_COST_WITHOUT_CAP, LOWEST_COST_WITH_BID_CAP, COST_CAP, LOWEST_COST_WITH_MIN_ROAS]
|
|
34967
|
+
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}`."
|
|
34968
|
+
bidAmount: { type: number, description: "Whole currency units (USD: 5 = $5.00). Required for LOWEST_COST_WITH_BID_CAP and COST_CAP; ignored otherwise." }
|
|
34969
|
+
roasAverageFloor: { type: number, description: "Decimal ROAS multiplier (2.0 = 2.0x). Required for LOWEST_COST_WITH_MIN_ROAS." }
|
|
34940
34970
|
responses:
|
|
34941
34971
|
'201':
|
|
34942
34972
|
description: Campaign created
|
|
@@ -35198,6 +35228,16 @@ paths:
|
|
|
35198
35228
|
security:
|
|
35199
35229
|
- bearerAuth: []
|
|
35200
35230
|
parameters:
|
|
35231
|
+
- name: Idempotency-Key
|
|
35232
|
+
in: header
|
|
35233
|
+
required: false
|
|
35234
|
+
schema: { type: string, maxLength: 255 }
|
|
35235
|
+
description: >-
|
|
35236
|
+
Optional client-generated unique key (e.g. a UUID) that makes
|
|
35237
|
+
retries safe. Same key + same body replays the original response;
|
|
35238
|
+
same key + different body → 422; key still processing → 409. Only
|
|
35239
|
+
2xx responses are stored, so a request that failed with a 4xx can
|
|
35240
|
+
be retried with a corrected body under the SAME key.
|
|
35201
35241
|
- { name: campaignId, in: path, required: true, schema: { type: string }, description: Source platform campaign ID }
|
|
35202
35242
|
requestBody:
|
|
35203
35243
|
required: true
|
|
@@ -35260,6 +35300,16 @@ paths:
|
|
|
35260
35300
|
security:
|
|
35261
35301
|
- bearerAuth: []
|
|
35262
35302
|
parameters:
|
|
35303
|
+
- name: Idempotency-Key
|
|
35304
|
+
in: header
|
|
35305
|
+
required: false
|
|
35306
|
+
schema: { type: string, maxLength: 255 }
|
|
35307
|
+
description: >-
|
|
35308
|
+
Optional client-generated unique key (e.g. a UUID) that makes
|
|
35309
|
+
retries safe. Same key + same body replays the original response;
|
|
35310
|
+
same key + different body → 422; key still processing → 409. Only
|
|
35311
|
+
2xx responses are stored, so a request that failed with a 4xx can
|
|
35312
|
+
be retried with a corrected body under the SAME key.
|
|
35263
35313
|
- { name: adSetId, in: path, required: true, schema: { type: string }, description: Source platform ad set ID }
|
|
35264
35314
|
requestBody:
|
|
35265
35315
|
required: true
|
|
@@ -35309,6 +35359,16 @@ paths:
|
|
|
35309
35359
|
security:
|
|
35310
35360
|
- bearerAuth: []
|
|
35311
35361
|
parameters:
|
|
35362
|
+
- name: Idempotency-Key
|
|
35363
|
+
in: header
|
|
35364
|
+
required: false
|
|
35365
|
+
schema: { type: string, maxLength: 255 }
|
|
35366
|
+
description: >-
|
|
35367
|
+
Optional client-generated unique key (e.g. a UUID) that makes
|
|
35368
|
+
retries safe. Same key + same body replays the original response;
|
|
35369
|
+
same key + different body → 422; key still processing → 409. Only
|
|
35370
|
+
2xx responses are stored, so a request that failed with a 4xx can
|
|
35371
|
+
be retried with a corrected body under the SAME key.
|
|
35312
35372
|
- { name: adId, in: path, required: true, schema: { type: string }, description: Zernio ad ID or platform ad ID }
|
|
35313
35373
|
requestBody:
|
|
35314
35374
|
required: false
|
|
@@ -35631,7 +35691,7 @@ paths:
|
|
|
35631
35691
|
ctr: { type: number, description: "Click-through rate as a percentage (0–100)." }
|
|
35632
35692
|
cpc: { type: number, description: "Cost per click in native currency." }
|
|
35633
35693
|
cpm: { type: number, description: "Cost per 1000 impressions in native currency." }
|
|
35634
|
-
conversions: { type:
|
|
35694
|
+
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
35695
|
costPerConversion: { type: number }
|
|
35636
35696
|
actions:
|
|
35637
35697
|
type: object
|
|
@@ -37704,9 +37764,9 @@ paths:
|
|
|
37704
37764
|
video:
|
|
37705
37765
|
type: object
|
|
37706
37766
|
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
37767
|
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."
|
|
37768
|
+
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`."}
|
|
37769
|
+
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
37770
|
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
37771
|
creatives:
|
|
37712
37772
|
type: array
|
|
@@ -38037,6 +38097,36 @@ paths:
|
|
|
38037
38097
|
headline: { type: string, maxLength: 255, description: "Card headline, shown below the card image." }
|
|
38038
38098
|
description: { type: string, maxLength: 255, description: "Card description, shown under the headline." }
|
|
38039
38099
|
callToAction: { type: string, description: "Card CTA override. Defaults to the top-level callToAction; same enum." }
|
|
38100
|
+
defaultLocale:
|
|
38101
|
+
type: string
|
|
38102
|
+
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."
|
|
38103
|
+
translations:
|
|
38104
|
+
type: array
|
|
38105
|
+
minItems: 1
|
|
38106
|
+
maxItems: 10
|
|
38107
|
+
description: |
|
|
38108
|
+
Meta only. Multi-language ads (Dynamic Language Optimization): ONE ad carrying
|
|
38109
|
+
per-locale copy and, optionally, per-locale media — the "Languages" toggle in Ads
|
|
38110
|
+
Manager. Keeps social proof (likes/comments/shares) on a SINGLE post instead of
|
|
38111
|
+
splitting it across one ad per language.
|
|
38112
|
+
|
|
38113
|
+
The ad's top-level copy and media are the DEFAULT every unlisted locale falls back
|
|
38114
|
+
to, and a variant inherits any field it omits, so send only what differs per
|
|
38115
|
+
language. Media shared across languages is uploaded once.
|
|
38116
|
+
|
|
38117
|
+
Mutually exclusive with `dynamicCreative`, `placementAssets`, `carouselCards` and
|
|
38118
|
+
`existingCreativeId` — Meta allows one `asset_feed_spec` shape per creative.
|
|
38119
|
+
items:
|
|
38120
|
+
type: object
|
|
38121
|
+
required: [locale]
|
|
38122
|
+
properties:
|
|
38123
|
+
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`)." }
|
|
38124
|
+
headline: { type: string, maxLength: 255, description: "Headline for this language. Inherits the top-level `headline` when omitted." }
|
|
38125
|
+
body: { type: string, description: "Primary text for this language. Inherits the top-level `body` when omitted." }
|
|
38126
|
+
description: { type: string, maxLength: 255, description: "Link description for this language. Inherits the top-level `description` when omitted." }
|
|
38127
|
+
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." }
|
|
38128
|
+
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." }
|
|
38129
|
+
thumbnailUrl: { type: string, format: uri, description: "Poster frame for this language's video." }
|
|
38040
38130
|
placementAssets:
|
|
38041
38131
|
type: object
|
|
38042
38132
|
description: |
|
|
@@ -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.630
|
|
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.630.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.628.gem
DELETED
|
Binary file
|