zernio-sdk 0.0.650 → 0.0.652

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: cc4393c63e123bb33b59d5138399189fe21a29f576b033e72f92ace867fe94cb
4
- data.tar.gz: ff0d9f1ac94917a2e1841661307b5307f33c1c796df4f77d610c19a8e4ba2357
3
+ metadata.gz: d7f4cb3eb8a790acd61281361d83043ad616e037b94abdb9f5ef407ea7def1b9
4
+ data.tar.gz: 8659630540d2d7d8fa81f48de8c6bf63acb5bcb9dc00ac14212a85c2aada89b8
5
5
  SHA512:
6
- metadata.gz: dde32803fc7df3c1003c65ad39993063f8978452f187db2ff4d57dac83589ab8210476ac3e8bcfbbf1db0fa8afbec385861e82c7b02198f3423ed7923a277b7f
7
- data.tar.gz: 07c56193e97bbeefac0c6808d6575f7b40ae71f6c558d0e4723b479117f2926ccb8db2c5fd805ecbc8f6425da2302d4a0b37facfd62e7000da036d0b76de25f4
6
+ metadata.gz: 7f453f0cec83bccab449e32876bc70ebc4e18f56e7abe8abaa29cbec627479f372e6c88514c777dedbd5a8390d17cc9e11608ef431489afdebfe618f6c2a1909
7
+ data.tar.gz: b335ab18653f65292d52c9656c34317049f43fb5e01a84c78c1e0694ec5e0ad0660500700769e29ad48808f619373c2a5d24ed4d96b94f9b84014f272ea8f458
@@ -14,7 +14,7 @@
14
14
  | **currency** | **String** | | [optional] |
15
15
  | **schedule** | [**BoostPostRequestSchedule**](BoostPostRequestSchedule.md) | | [optional] |
16
16
  | **targeting** | [**BoostPostRequestTargeting**](BoostPostRequestTargeting.md) | | [optional] |
17
- | **raw_targeting** | **Hash<String, Object>** | Meta only. A Meta-native targeting spec (e.g. `{ \"geo_locations\": { \"cities\": [{ \"key\": \"...\", \"radius\": 15, \"distance_unit\": \"kilometer\" }] } }`). Sent alone it is forwarded unchanged. Use for advanced fields the structured object does not expose (flexible_spec, excluded audiences, business places, user_os, wireless_carrier). Can be combined with `targeting`: rawTargeting is the BASE layer and the built camelCase spec is merged on top, key by key (camelCase wins on collision). The merge goes one level deep inside `geo_locations` and `excluded_geo_locations` (built sub-keys win; raw-only sub-keys such as `location_types` survive). Array values (`flexible_spec`, ...) are replaced as a whole key, never element-merged. | [optional] |
17
+ | **raw_targeting** | **Hash<String, Object>** | Meta only. A Meta-native targeting spec (e.g. `{ \"geo_locations\": { \"cities\": [{ \"key\": \"...\", \"radius\": 15, \"distance_unit\": \"kilometer\" }] } }`). Sent alone it is forwarded unchanged. Use for advanced fields the structured object does not expose (flexible_spec, excluded audiences, business places, user_os, wireless_carrier). Can be combined with `targeting`: rawTargeting is the BASE layer and the built camelCase spec is merged on top, key by key (camelCase wins on collision). The merge goes one level deep inside `geo_locations` and `excluded_geo_locations` (built sub-keys win; raw-only sub-keys such as `location_types` survive). Array values (`flexible_spec`, ...) are replaced as a whole key, never element-merged. When `rawTargeting` is present the `advantage_audience: 0` default that Zernio normally applies is no longer emitted, so it cannot clobber a `targeting_automation` sent in the raw spec. Meta requires `targeting_automation` on ad set creation, so include it in the raw spec, or send `targeting.advantage_audience` (0 or 1), which is merged over raw as `targeting_automation`. | [optional] |
18
18
  | **bid_strategy** | [**BidStrategy**](BidStrategy.md) | Meta bid strategy applied to the ad set. On TikTok, mapped to `bid_type` / `bid_price` / `deep_bid_type` automatically. | [optional] |
19
19
  | **bid_amount** | **Float** | Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when `bidStrategy` is `LOWEST_COST_WITH_BID_CAP` or `COST_CAP`. Backward-compat: providing `bidAmount` without `bidStrategy` is treated as `LOWEST_COST_WITH_BID_CAP`. | [optional] |
20
20
  | **roas_average_floor** | **Float** | Minimum ROAS as a decimal multiplier (e.g. 2.0 = 2.0x ROAS). Required when `bidStrategy` is `LOWEST_COST_WITH_MIN_ROAS`. Sent to Meta as `bid_constraints.roas_average_floor` × 10000 (Meta uses fixed-point integers). | [optional] |
@@ -40,7 +40,7 @@ module Zernio
40
40
 
41
41
  attr_accessor :targeting
42
42
 
43
- # Meta only. A Meta-native targeting spec (e.g. `{ \"geo_locations\": { \"cities\": [{ \"key\": \"...\", \"radius\": 15, \"distance_unit\": \"kilometer\" }] } }`). Sent alone it is forwarded unchanged. Use for advanced fields the structured object does not expose (flexible_spec, excluded audiences, business places, user_os, wireless_carrier). Can be combined with `targeting`: rawTargeting is the BASE layer and the built camelCase spec is merged on top, key by key (camelCase wins on collision). The merge goes one level deep inside `geo_locations` and `excluded_geo_locations` (built sub-keys win; raw-only sub-keys such as `location_types` survive). Array values (`flexible_spec`, ...) are replaced as a whole key, never element-merged.
43
+ # Meta only. A Meta-native targeting spec (e.g. `{ \"geo_locations\": { \"cities\": [{ \"key\": \"...\", \"radius\": 15, \"distance_unit\": \"kilometer\" }] } }`). Sent alone it is forwarded unchanged. Use for advanced fields the structured object does not expose (flexible_spec, excluded audiences, business places, user_os, wireless_carrier). Can be combined with `targeting`: rawTargeting is the BASE layer and the built camelCase spec is merged on top, key by key (camelCase wins on collision). The merge goes one level deep inside `geo_locations` and `excluded_geo_locations` (built sub-keys win; raw-only sub-keys such as `location_types` survive). Array values (`flexible_spec`, ...) are replaced as a whole key, never element-merged. When `rawTargeting` is present the `advantage_audience: 0` default that Zernio normally applies is no longer emitted, so it cannot clobber a `targeting_automation` sent in the raw spec. Meta requires `targeting_automation` on ad set creation, so include it in the raw spec, or send `targeting.advantage_audience` (0 or 1), which is merged over raw as `targeting_automation`.
44
44
  attr_accessor :raw_targeting
45
45
 
46
46
  # Meta bid strategy applied to the ad set. On TikTok, mapped to `bid_type` / `bid_price` / `deep_bid_type` automatically.
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.650'
14
+ VERSION = '0.0.652'
15
15
  end
data/openapi.yaml CHANGED
@@ -15459,7 +15459,7 @@ paths:
15459
15459
  selectedPageName: { type: string }
15460
15460
  example:
15461
15461
  message: "Facebook page connected successfully"
15462
- redirect_url: "https://yourdomain.com/integrations/callback?connected=facebook&profileId=507f1f77bcf86cd799439011&username=My+Brand+Page"
15462
+ redirect_url: "https://yourdomain.com/integrations/callback?connected=facebook&profileId=507f1f77bcf86cd799439011&accountId=64e1f0a9e2b5af0012ab34cd&username=My+Brand+Page"
15463
15463
  account:
15464
15464
  accountId: "64e1f0a9e2b5af0012ab34cd"
15465
15465
  platform: "facebook"
@@ -15660,7 +15660,7 @@ paths:
15660
15660
  selectedLocationId: { type: string, description: 'Bare GBP location id. Combine with the GBP account id as accounts/{gbpAccountId}/locations/{selectedLocationId} to form the location resource names that gmb-reviews/batch expects in locationNames.' }
15661
15661
  example:
15662
15662
  message: "Google Business location connected successfully"
15663
- redirect_url: "https://yourdomain.com/integrations/callback?connected=googlebusiness&profileId=507f1f77bcf86cd799439011&username=My+Coffee+Shop"
15663
+ redirect_url: "https://yourdomain.com/integrations/callback?connected=googlebusiness&profileId=507f1f77bcf86cd799439011&accountId=64e1f0a9e2b5af0012ab34cd&username=My+Coffee+Shop"
15664
15664
  account:
15665
15665
  accountId: "64e1f0a9e2b5af0012ab34cd"
15666
15666
  platform: "googlebusiness"
@@ -18095,7 +18095,7 @@ paths:
18095
18095
  defaultBoardName: { type: string }
18096
18096
  example:
18097
18097
  message: "Pinterest connected successfully with default board"
18098
- redirect_url: "https://yourdomain.com/integrations/callback?connected=pinterest&profileId=507f1f77bcf86cd799439011&board=Marketing+Ideas"
18098
+ redirect_url: "https://yourdomain.com/integrations/callback?connected=pinterest&profileId=507f1f77bcf86cd799439011&accountId=64e1f0a9e2b5af0012ab34cd&board=Marketing+Ideas"
18099
18099
  account:
18100
18100
  accountId: "64e1f0a9e2b5af0012ab34cd"
18101
18101
  platform: "pinterest"
@@ -18278,7 +18278,7 @@ paths:
18278
18278
  publicProfileName: { type: string }
18279
18279
  example:
18280
18280
  message: "Snapchat connected successfully with public profile"
18281
- redirect_url: "https://yourdomain.com/integrations/callback?connected=snapchat&profileId=507f1f77bcf86cd799439011&publicProfile=My+Brand"
18281
+ redirect_url: "https://yourdomain.com/integrations/callback?connected=snapchat&profileId=507f1f77bcf86cd799439011&accountId=64e1f0a9e2b5af0012ab34cd&publicProfile=My+Brand"
18282
18282
  account:
18283
18283
  accountId: "64e1f0a9e2b5af0012ab34cd"
18284
18284
  platform: "snapchat"
@@ -37854,6 +37854,13 @@ paths:
37854
37854
  `excluded_geo_locations` (built sub-keys win; raw-only sub-keys such as
37855
37855
  `location_types` survive). Array values (`flexible_spec`, ...) are replaced
37856
37856
  as a whole key, never element-merged.
37857
+
37858
+ When `rawTargeting` is present the `advantage_audience: 0` default that
37859
+ Zernio normally applies is no longer emitted, so it cannot clobber a
37860
+ `targeting_automation` sent in the raw spec. Meta requires
37861
+ `targeting_automation` on ad set creation, so include it in the raw spec,
37862
+ or send `targeting.advantage_audience` (0 or 1), which is merged over raw
37863
+ as `targeting_automation`.
37857
37864
  bidStrategy:
37858
37865
  allOf: [{ $ref: '#/components/schemas/BidStrategy' }]
37859
37866
  description: |
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zernio-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.650
4
+ version: 0.0.652
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-08-03 00:00:00.000000000 Z
11
+ date: 2026-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus