late-sdk 0.0.676 → 0.0.677

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: f8213ad5b1bbfc775119fa239570f310749ef52ab9d1d91dd1193f969e87611a
4
- data.tar.gz: 1d279b6c16eadb852fd06dcb153a97ad2c7bd4350c7f978fc977f2950ab72c48
3
+ metadata.gz: 695b268267005192f0cf9c667549e50a5959c52ce4df344150a03fdc1382ac59
4
+ data.tar.gz: 302e86c98e3b04209f23799b2d381ee5cb0502b5aba04612ffb72b155c7794d2
5
5
  SHA512:
6
- metadata.gz: ade71dde38ef0917cf5def307099b7ad424bf6e64defc1e3cbfa288ed149c0eb2c13b01156a9e2f02f67fc84f36dd819f47427cb136905fe654a6c2cc48cd8db
7
- data.tar.gz: 5bc548ae525d00d0d7e5f7f7526eb7b524cea57d20eafba38c136a842b4213d79e880d9d20f744eb0ace33d6792167d9eb2ba048dc6ae3b7c37dd47be301b556
6
+ metadata.gz: 0abf8aecf033c3c67512f9c2f086071fc1bff834aa4b28e9af89f07900c3c282ca383a43d2d4ffe6bf1809b9d01870aec5b21e5c9d0926f24fcaca993b8b6e78
7
+ data.tar.gz: 41eb5ae78ea684b4b2596377d41da64ebbf627fc8d5b2e77dd80a18482ac0d42a60d9e51540ab7704a532fc36bfeb87ef8164f17e99ee3dce0348e6d95af6c45
@@ -64,7 +64,7 @@
64
64
  | **dynamic_creative** | [**CreateStandaloneAdRequestDynamicCreative**](CreateStandaloneAdRequestDynamicCreative.md) | | [optional] |
65
65
  | **carousel_cards** | [**Array<CreateStandaloneAdRequestCarouselCardsInner>**](CreateStandaloneAdRequestCarouselCardsInner.md) | Meta only. Hand-built carousel: 2-10 authored cards in DETERMINISTIC order, mapped to the creative's `link_data.child_attachments`. Unlike `dynamicCreative`, you control the card order and per-card copy/link. Requires top-level `body`, `linkUrl` and `callToAction`. Mutually exclusive with `imageUrl`/`video`, `creatives[]`, `dynamicCreative`, `placementAssets`, `existingCreativeId`, `adSetId`, `leadGenFormId` and goal `catalog_sales`. | [optional] |
66
66
  | **default_locale** | **String** | 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. Must NOT also appear as an entry in `translations`. | [optional] |
67
- | **translations** | [**Array<CreateStandaloneAdRequestTranslationsInner>**](CreateStandaloneAdRequestTranslationsInner.md) | Meta only. Multi-language ads (Dynamic Language Optimization): ONE ad carrying per-locale copy and, optionally, per-locale media — the \"Languages\" toggle in Ads Manager. Keeps social proof (likes/comments/shares) on a SINGLE post instead of splitting it across one ad per language. The ad's top-level copy is the DEFAULT shown to every locale you do NOT list, and it counts as one of the language variants. IMPORTANT, and the opposite of what you might expect: text does NOT inherit. Every entry must carry its own `headline`, `body` AND `description`, and all of them must be DISTINCT from each other and from the ad's top-level copy. Meta deduplicates identical strings inside the asset feed, so two locales sharing a string collapse into one asset and the create fails with a misleading \"Too few ... texts provided in asset creation\" (subcode 1885817) that names a field which is actually present. We validate this before calling Meta and return a 400 naming the offending locale and field. `description` is therefore effectively required on the ad whenever `translations` is present, even though it is optional otherwise. Do NOT list `defaultLocale` inside `translations`: Meta rejects the duplicate with \"The language asset feed includes an unsupported targeting field\" (subcode 1885985). Media DOES inherit and is uploaded once when shared. Note that Meta enforces Dynamic Creative image dimensions on language feeds, so an `imageUrl` that works on a normal ad may be rejected with \"The following images have invalid dimensions for Dynamic Creative\" (subcode 1885558). Video is not affected. Mutually exclusive with `dynamicCreative`, `placementAssets`, `carouselCards` and `existingCreativeId` — Meta allows one `asset_feed_spec` shape per creative. | [optional] |
67
+ | **translations** | [**Array<CreateStandaloneAdRequestTranslationsInner>**](CreateStandaloneAdRequestTranslationsInner.md) | Meta only. Multi-language ads (Dynamic Language Optimization): ONE ad carrying per-locale copy and, optionally, per-locale media — the \"Languages\" toggle in Ads Manager. Keeps social proof (likes/comments/shares) on a SINGLE post instead of splitting it across one ad per language. The ad's top-level copy is the DEFAULT shown to every locale you do NOT list, and it counts as one of the language variants. IMPORTANT, and the opposite of what you might expect: text does NOT inherit. Every entry must carry its own `headline`, `body` AND `description`, and all of them must be DISTINCT from each other and from the ad's top-level copy. Meta deduplicates identical strings inside the asset feed, so two locales sharing a string collapse into one asset and the create fails with a misleading \"Too few ... texts provided in asset creation\" (subcode 1885817) that names a field which is actually present. We validate this before calling Meta and return a 400 naming the offending locale and field. `description` is therefore effectively required on the ad whenever `translations` is present, even though it is optional otherwise. Do NOT list `defaultLocale` inside `translations`: Meta rejects the duplicate with \"The language asset feed includes an unsupported targeting field\" (subcode 1885985). Media DOES inherit and is uploaded once when shared, and `linkUrl` inherits too: each locale may name its own landing page and unlisted locales fall back to the ad's top-level `linkUrl`. Note that Meta enforces Dynamic Creative image dimensions on language feeds, so an `imageUrl` that works on a normal ad may be rejected with \"The following images have invalid dimensions for Dynamic Creative\" (subcode 1885558). Video is not affected. Mutually exclusive with `dynamicCreative`, `placementAssets`, `carouselCards` and `existingCreativeId` — Meta allows one `asset_feed_spec` shape per creative. | [optional] |
68
68
  | **placement_assets** | [**CreateStandaloneAdRequestPlacementAssets**](CreateStandaloneAdRequestPlacementAssets.md) | | [optional] |
69
69
  | **audience_id** | **String** | Custom audience ID for targeting | [optional] |
70
70
  | **campaign_type** | **String** | Google only | [optional][default to 'display'] |
@@ -8,6 +8,7 @@
8
8
  | **headline** | **String** | Headline for this language. REQUIRED, and must differ from every other locale and from the ad's top-level headline. | |
9
9
  | **body** | **String** | Primary text for this language. REQUIRED, and must differ from every other locale and from the ad's top-level body. | |
10
10
  | **description** | **String** | Link description for this language. REQUIRED, and must differ from every other locale and from the ad's top-level description. | |
11
+ | **link_url** | **String** | Destination URL for this language. Inherits the ad's top-level `linkUrl` when omitted, and requires it to be present (400 otherwise): the top-level URL is the destination for every locale you did not override. Unlike text, identical URLs across locales are fine (they share one asset). | [optional] |
11
12
  | **image_url** | **String** | Image for this language. Inherits the ad's `imageUrl` when omitted. The feed is all-image OR all-video. | [optional] |
12
13
  | **video_url** | **String** | Video for this language. Inherits the ad's `video.url` when omitted. The feed is all-image OR all-video. | [optional] |
13
14
  | **thumbnail_url** | **String** | Poster frame for this language's video. | [optional] |
@@ -22,6 +23,7 @@ instance = Zernio::CreateStandaloneAdRequestTranslationsInner.new(
22
23
  headline: null,
23
24
  body: null,
24
25
  description: null,
26
+ link_url: null,
25
27
  image_url: null,
26
28
  video_url: null,
27
29
  thumbnail_url: null
@@ -184,7 +184,7 @@ module Zernio
184
184
  # 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. Must NOT also appear as an entry in `translations`.
185
185
  attr_accessor :default_locale
186
186
 
187
- # Meta only. Multi-language ads (Dynamic Language Optimization): ONE ad carrying per-locale copy and, optionally, per-locale media — the \"Languages\" toggle in Ads Manager. Keeps social proof (likes/comments/shares) on a SINGLE post instead of splitting it across one ad per language. The ad's top-level copy is the DEFAULT shown to every locale you do NOT list, and it counts as one of the language variants. IMPORTANT, and the opposite of what you might expect: text does NOT inherit. Every entry must carry its own `headline`, `body` AND `description`, and all of them must be DISTINCT from each other and from the ad's top-level copy. Meta deduplicates identical strings inside the asset feed, so two locales sharing a string collapse into one asset and the create fails with a misleading \"Too few ... texts provided in asset creation\" (subcode 1885817) that names a field which is actually present. We validate this before calling Meta and return a 400 naming the offending locale and field. `description` is therefore effectively required on the ad whenever `translations` is present, even though it is optional otherwise. Do NOT list `defaultLocale` inside `translations`: Meta rejects the duplicate with \"The language asset feed includes an unsupported targeting field\" (subcode 1885985). Media DOES inherit and is uploaded once when shared. Note that Meta enforces Dynamic Creative image dimensions on language feeds, so an `imageUrl` that works on a normal ad may be rejected with \"The following images have invalid dimensions for Dynamic Creative\" (subcode 1885558). Video is not affected. Mutually exclusive with `dynamicCreative`, `placementAssets`, `carouselCards` and `existingCreativeId` — Meta allows one `asset_feed_spec` shape per creative.
187
+ # Meta only. Multi-language ads (Dynamic Language Optimization): ONE ad carrying per-locale copy and, optionally, per-locale media — the \"Languages\" toggle in Ads Manager. Keeps social proof (likes/comments/shares) on a SINGLE post instead of splitting it across one ad per language. The ad's top-level copy is the DEFAULT shown to every locale you do NOT list, and it counts as one of the language variants. IMPORTANT, and the opposite of what you might expect: text does NOT inherit. Every entry must carry its own `headline`, `body` AND `description`, and all of them must be DISTINCT from each other and from the ad's top-level copy. Meta deduplicates identical strings inside the asset feed, so two locales sharing a string collapse into one asset and the create fails with a misleading \"Too few ... texts provided in asset creation\" (subcode 1885817) that names a field which is actually present. We validate this before calling Meta and return a 400 naming the offending locale and field. `description` is therefore effectively required on the ad whenever `translations` is present, even though it is optional otherwise. Do NOT list `defaultLocale` inside `translations`: Meta rejects the duplicate with \"The language asset feed includes an unsupported targeting field\" (subcode 1885985). Media DOES inherit and is uploaded once when shared, and `linkUrl` inherits too: each locale may name its own landing page and unlisted locales fall back to the ad's top-level `linkUrl`. Note that Meta enforces Dynamic Creative image dimensions on language feeds, so an `imageUrl` that works on a normal ad may be rejected with \"The following images have invalid dimensions for Dynamic Creative\" (subcode 1885558). Video is not affected. Mutually exclusive with `dynamicCreative`, `placementAssets`, `carouselCards` and `existingCreativeId` — Meta allows one `asset_feed_spec` shape per creative.
188
188
  attr_accessor :translations
189
189
 
190
190
  attr_accessor :placement_assets
@@ -27,6 +27,9 @@ module Zernio
27
27
  # Link description for this language. REQUIRED, and must differ from every other locale and from the ad's top-level description.
28
28
  attr_accessor :description
29
29
 
30
+ # Destination URL for this language. Inherits the ad's top-level `linkUrl` when omitted, and requires it to be present (400 otherwise): the top-level URL is the destination for every locale you did not override. Unlike text, identical URLs across locales are fine (they share one asset).
31
+ attr_accessor :link_url
32
+
30
33
  # Image for this language. Inherits the ad's `imageUrl` when omitted. The feed is all-image OR all-video.
31
34
  attr_accessor :image_url
32
35
 
@@ -43,6 +46,7 @@ module Zernio
43
46
  :'headline' => :'headline',
44
47
  :'body' => :'body',
45
48
  :'description' => :'description',
49
+ :'link_url' => :'linkUrl',
46
50
  :'image_url' => :'imageUrl',
47
51
  :'video_url' => :'videoUrl',
48
52
  :'thumbnail_url' => :'thumbnailUrl'
@@ -66,6 +70,7 @@ module Zernio
66
70
  :'headline' => :'String',
67
71
  :'body' => :'String',
68
72
  :'description' => :'String',
73
+ :'link_url' => :'String',
69
74
  :'image_url' => :'String',
70
75
  :'video_url' => :'String',
71
76
  :'thumbnail_url' => :'String'
@@ -118,6 +123,10 @@ module Zernio
118
123
  self.description = nil
119
124
  end
120
125
 
126
+ if attributes.key?(:'link_url')
127
+ self.link_url = attributes[:'link_url']
128
+ end
129
+
121
130
  if attributes.key?(:'image_url')
122
131
  self.image_url = attributes[:'image_url']
123
132
  end
@@ -233,6 +242,7 @@ module Zernio
233
242
  headline == o.headline &&
234
243
  body == o.body &&
235
244
  description == o.description &&
245
+ link_url == o.link_url &&
236
246
  image_url == o.image_url &&
237
247
  video_url == o.video_url &&
238
248
  thumbnail_url == o.thumbnail_url
@@ -247,7 +257,7 @@ module Zernio
247
257
  # Calculates hash code according to all attributes.
248
258
  # @return [Integer] Hash code
249
259
  def hash
250
- [locale, headline, body, description, image_url, video_url, thumbnail_url].hash
260
+ [locale, headline, body, description, link_url, image_url, video_url, thumbnail_url].hash
251
261
  end
252
262
 
253
263
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.676'
14
+ VERSION = '0.0.677'
15
15
  end
data/openapi.yaml CHANGED
@@ -39765,7 +39765,9 @@ paths:
39765
39765
  with "The language asset feed includes an unsupported targeting field"
39766
39766
  (subcode 1885985).
39767
39767
 
39768
- Media DOES inherit and is uploaded once when shared. Note that Meta enforces
39768
+ Media DOES inherit and is uploaded once when shared, and `linkUrl` inherits
39769
+ too: each locale may name its own landing page and unlisted locales fall back
39770
+ to the ad's top-level `linkUrl`. Note that Meta enforces
39769
39771
  Dynamic Creative image dimensions on language feeds, so an `imageUrl` that
39770
39772
  works on a normal ad may be rejected with "The following images have invalid
39771
39773
  dimensions for Dynamic Creative" (subcode 1885558). Video is not affected.
@@ -39780,6 +39782,7 @@ paths:
39780
39782
  headline: { type: string, maxLength: 255, description: "Headline for this language. REQUIRED, and must differ from every other locale and from the ad's top-level headline." }
39781
39783
  body: { type: string, description: "Primary text for this language. REQUIRED, and must differ from every other locale and from the ad's top-level body." }
39782
39784
  description: { type: string, maxLength: 255, description: "Link description for this language. REQUIRED, and must differ from every other locale and from the ad's top-level description." }
39785
+ linkUrl: { type: string, format: uri, description: "Destination URL for this language. Inherits the ad's top-level `linkUrl` when omitted, and requires it to be present (400 otherwise): the top-level URL is the destination for every locale you did not override. Unlike text, identical URLs across locales are fine (they share one asset)." }
39783
39786
  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." }
39784
39787
  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." }
39785
39788
  thumbnailUrl: { type: string, format: uri, description: "Poster frame for this language's video." }
@@ -51,6 +51,12 @@ describe Zernio::CreateStandaloneAdRequestTranslationsInner do
51
51
  end
52
52
  end
53
53
 
54
+ describe 'test attribute "link_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
+
54
60
  describe 'test attribute "image_url"' do
55
61
  it 'should work' do
56
62
  # 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.676
4
+ version: 0.0.677
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -4985,7 +4985,7 @@ files:
4985
4985
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
4986
4986
  - spec/models/you_tube_video_retention_response_spec.rb
4987
4987
  - spec/spec_helper.rb
4988
- - zernio-sdk-0.0.676.gem
4988
+ - zernio-sdk-0.0.677.gem
4989
4989
  - zernio-sdk.gemspec
4990
4990
  homepage: https://openapi-generator.tech
4991
4991
  licenses:
Binary file