late-sdk 0.0.611 → 0.0.613

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6200a97075534b49c1532083cf74002c3f3b1215f575ceca4655b9513352ef0
4
- data.tar.gz: 4c48ba42386004612ffcc6d12ce52a92c8083f243e5c253002c91cb8aa34aaa9
3
+ metadata.gz: f6864f27be182ac16737799628e4ce92141afc230c158c574d6781a3e15e04c4
4
+ data.tar.gz: c38c069e6b92ddce4ec0922da528442e5286173ba734a4ac0a14fddedf784f16
5
5
  SHA512:
6
- metadata.gz: e1cffd1c09b64854ffa12d62cea35532c82bed741dd110d6c3649e49f86c0e3c371f40bdbf26ed7d8c56b20d339e8474d8eefdfebbeb1595ea13d5b0f8cf3c42
7
- data.tar.gz: 37b655e2ef9e33facaa9916177c9b35a39b06a6909f76f6dc915754fdab6a7d68517d5fbb6bf67e6e04c815d8214dbe9eae292cc167d067e856033a2ef7aab75
6
+ metadata.gz: d5d5b401c6bd8ba7a4913bcb785a08fd3efe0d11ce7eac9bb50651e7cee0b6b66a92675c86849ddd3bbe67416647e84d82c16ecfa95879b9a9a27d2eb5ad5e98
7
+ data.tar.gz: 1c81c5c7f3df7fb822f6740d67bb0f21c4ea547cc6df19081b1c2ca52b3fcf1ffaa21771c21a99c085063f1d215eb8d15e651edd7fe583f917697d0b2b9edcf4
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **post_urn** | **String** | LinkedIn share or ugcPost URN, urn:li:share:N or urn:li:ugcPost:N. Get it via \"Copy link to post\" on the target LinkedIn post (the URL contains -share- for a share or -ugcPost- for a ugcPost, then the numeric id). For member (personal profile) posts, LinkedIn's API only accepts video and document posts (ugcPost URNs); text and image member posts (share URNs) are rejected by LinkedIn regardless of sponsorship approval (a LinkedIn API limitation; those can only be sponsored from Campaign Manager). The member must have authorised sponsorship for the ad account's organization. | |
7
+ | **post_urn** | **String** | LinkedIn share or ugcPost URN, urn:li:share:N or urn:li:ugcPost:N. Get it via \"Copy link to post\" on the target LinkedIn post (the URL contains -share- for a share or -ugcPost- for a ugcPost, then the numeric id). The post must be authored by an organization (Company Page). Member (personal profile) posts, i.e. Thought Leader Ads proper, are rejected by LinkedIn's public Marketing API regardless of sponsorship approval and of post type (a LinkedIn limitation; their Campaign Manager creates those through a private API). Referencing a member post returns a 422 with a clear error. | |
8
8
 
9
9
  ## Example
10
10
 
@@ -135,7 +135,7 @@ module Zernio
135
135
  warn '[DEPRECATED] the `valid?` method is obsolete'
136
136
  return false if @filename.nil?
137
137
  return false if @content_type.nil?
138
- content_type_validator = EnumAttributeValidator.new('String', ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "video/mp4", "video/mpeg", "video/quicktime", "video/avi", "video/x-msvideo", "video/webm", "video/x-m4v", "application/pdf"])
138
+ content_type_validator = EnumAttributeValidator.new('String', ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "video/mp4", "video/mpeg", "video/quicktime", "video/avi", "video/x-msvideo", "video/webm", "video/x-m4v", "application/pdf", "audio/mpeg", "audio/mp4", "audio/aac", "audio/ogg", "audio/wav", "audio/webm", "audio/x-m4a"])
139
139
  return false unless content_type_validator.valid?(@content_type)
140
140
  true
141
141
  end
@@ -153,7 +153,7 @@ module Zernio
153
153
  # Custom attribute writer method checking allowed values (enum).
154
154
  # @param [Object] content_type Object to be assigned
155
155
  def content_type=(content_type)
156
- validator = EnumAttributeValidator.new('String', ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "video/mp4", "video/mpeg", "video/quicktime", "video/avi", "video/x-msvideo", "video/webm", "video/x-m4v", "application/pdf"])
156
+ validator = EnumAttributeValidator.new('String', ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "video/mp4", "video/mpeg", "video/quicktime", "video/avi", "video/x-msvideo", "video/webm", "video/x-m4v", "application/pdf", "audio/mpeg", "audio/mp4", "audio/aac", "audio/ogg", "audio/wav", "audio/webm", "audio/x-m4a"])
157
157
  unless validator.valid?(content_type)
158
158
  fail ArgumentError, "invalid value for \"content_type\", must be one of #{validator.allowable_values}."
159
159
  end
@@ -14,9 +14,9 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Zernio
17
- # POST /v1/ads/create only. Thought-leader ad: references someone else's existing LinkedIn share or ugcPost as the creative. Unlike boostPost, which provisions its own CampaignGroup + Campaign around the post, this variant attaches the reference under the campaign /v1/ads/create builds — same shape as every other format, so the caller can pick bidding / targeting / schedule freely. No headline, body, imageUrl or organization are needed; the referenced post carries its own commentary and author. Mutually exclusive with the other creative sources.
17
+ # POST /v1/ads/create only. Sponsors an existing LinkedIn post (a share or ugcPost authored by your organization's Company Page) as the creative, keeping its commentary, author and engagement. Unlike boostPost, which provisions its own CampaignGroup + Campaign around the post, this variant attaches the reference under the campaign /v1/ads/create builds — same shape as every other format, so the caller can pick bidding / targeting / schedule freely. No headline, body, imageUrl or organization are needed; the referenced post carries its own commentary and author. Mutually exclusive with the other creative sources. Posts from personal profiles (Thought Leader Ads) are NOT supported (see postUrn).
18
18
  class LinkedInAdsPlatformDataThoughtLeader < ApiModelBase
19
- # LinkedIn share or ugcPost URN, urn:li:share:N or urn:li:ugcPost:N. Get it via \"Copy link to post\" on the target LinkedIn post (the URL contains -share- for a share or -ugcPost- for a ugcPost, then the numeric id). For member (personal profile) posts, LinkedIn's API only accepts video and document posts (ugcPost URNs); text and image member posts (share URNs) are rejected by LinkedIn regardless of sponsorship approval (a LinkedIn API limitation; those can only be sponsored from Campaign Manager). The member must have authorised sponsorship for the ad account's organization.
19
+ # LinkedIn share or ugcPost URN, urn:li:share:N or urn:li:ugcPost:N. Get it via \"Copy link to post\" on the target LinkedIn post (the URL contains -share- for a share or -ugcPost- for a ugcPost, then the numeric id). The post must be authored by an organization (Company Page). Member (personal profile) posts, i.e. Thought Leader Ads proper, are rejected by LinkedIn's public Marketing API regardless of sponsorship approval and of post type (a LinkedIn limitation; their Campaign Manager creates those through a private API). Referencing a member post returns a 422 with a clear error.
20
20
  attr_accessor :post_urn
21
21
 
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.611'
14
+ VERSION = '0.0.613'
15
15
  end
data/openapi.yaml CHANGED
@@ -4780,15 +4780,18 @@ components:
4780
4780
  additionalProperties: false
4781
4781
  required: [postUrn]
4782
4782
  description: |
4783
- POST /v1/ads/create only. Thought-leader ad: references someone
4784
- else's existing LinkedIn share or ugcPost as the creative. Unlike
4785
- boostPost, which provisions its own CampaignGroup + Campaign
4786
- around the post, this variant attaches the reference under the
4787
- campaign /v1/ads/create builds same shape as every other
4788
- format, so the caller can pick bidding / targeting / schedule
4789
- freely. No headline, body, imageUrl or organization are needed;
4790
- the referenced post carries its own commentary and author.
4791
- Mutually exclusive with the other creative sources.
4783
+ POST /v1/ads/create only. Sponsors an existing LinkedIn post
4784
+ (a share or ugcPost authored by your organization's Company
4785
+ Page) as the creative, keeping its commentary, author and
4786
+ engagement. Unlike boostPost, which provisions its own
4787
+ CampaignGroup + Campaign around the post, this variant
4788
+ attaches the reference under the campaign /v1/ads/create
4789
+ builds same shape as every other format, so the caller can
4790
+ pick bidding / targeting / schedule freely. No headline, body,
4791
+ imageUrl or organization are needed; the referenced post
4792
+ carries its own commentary and author. Mutually exclusive
4793
+ with the other creative sources. Posts from personal profiles
4794
+ (Thought Leader Ads) are NOT supported (see postUrn).
4792
4795
  properties:
4793
4796
  postUrn:
4794
4797
  type: string
@@ -4798,13 +4801,13 @@ components:
4798
4801
  urn:li:ugcPost:N. Get it via "Copy link to post" on the
4799
4802
  target LinkedIn post (the URL contains -share- for a share
4800
4803
  or -ugcPost- for a ugcPost, then the numeric id).
4801
- For member (personal profile) posts, LinkedIn's API only
4802
- accepts video and document posts (ugcPost URNs); text and
4803
- image member posts (share URNs) are rejected by LinkedIn
4804
- regardless of sponsorship approval (a LinkedIn API
4805
- limitation; those can only be sponsored from Campaign
4806
- Manager). The member must have authorised sponsorship for
4807
- the ad account's organization.
4804
+ The post must be authored by an organization (Company
4805
+ Page). Member (personal profile) posts, i.e. Thought
4806
+ Leader Ads proper, are rejected by LinkedIn's public
4807
+ Marketing API regardless of sponsorship approval and of
4808
+ post type (a LinkedIn limitation; their Campaign Manager
4809
+ creates those through a private API). Referencing a
4810
+ member post returns a 422 with a clear error.
4808
4811
  description: >
4809
4812
  LinkedIn-specific options for POST /v1/ads/boost and POST /v1/ads/create:
4810
4813
  campaign bidding and delivery controls, plus the LinkedIn-only creative
@@ -11417,6 +11420,13 @@ paths:
11417
11420
  - video/webm
11418
11421
  - video/x-m4v
11419
11422
  - application/pdf
11423
+ - audio/mpeg
11424
+ - audio/mp4
11425
+ - audio/aac
11426
+ - audio/ogg
11427
+ - audio/wav
11428
+ - audio/webm
11429
+ - audio/x-m4a
11420
11430
  example: "video/mp4"
11421
11431
  size:
11422
11432
  type: integer
@@ -36,7 +36,7 @@ describe Zernio::GetMediaPresignedUrlRequest do
36
36
  describe 'test attribute "content_type"' do
37
37
  it 'should work' do
38
38
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "video/mp4", "video/mpeg", "video/quicktime", "video/avi", "video/x-msvideo", "video/webm", "video/x-m4v", "application/pdf"])
39
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["image/jpeg", "image/jpg", "image/png", "image/webp", "image/gif", "video/mp4", "video/mpeg", "video/quicktime", "video/avi", "video/x-msvideo", "video/webm", "video/x-m4v", "application/pdf", "audio/mpeg", "audio/mp4", "audio/aac", "audio/ogg", "audio/wav", "audio/webm", "audio/x-m4a"])
40
40
  # validator.allowable_values.each do |value|
41
41
  # expect { instance.content_type = value }.not_to raise_error
42
42
  # end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: late-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.611
4
+ version: 0.0.613
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-29 00:00:00.000000000 Z
11
+ date: 2026-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -4874,7 +4874,7 @@ files:
4874
4874
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
4875
4875
  - spec/models/you_tube_video_retention_response_spec.rb
4876
4876
  - spec/spec_helper.rb
4877
- - zernio-sdk-0.0.611.gem
4877
+ - zernio-sdk-0.0.613.gem
4878
4878
  - zernio-sdk.gemspec
4879
4879
  homepage: https://openapi-generator.tech
4880
4880
  licenses:
Binary file