zernio-sdk 0.0.1689 → 0.0.1690

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: f9abb3d1c203d080449520f17494bfdc688413d51d62be9ba51dd13dd55758af
4
- data.tar.gz: '07841cdf65e78a3956c235c42fdcbdb2e273075c5d015bba3f54426368af08dd'
3
+ metadata.gz: 0ae2b22d3324956f7124263833c7855f957deca75434fd991a6837a20fa6f62d
4
+ data.tar.gz: de2c12e7aad6bf3672df73d303eccdbcdccde4b9d0c75259baf7f16a0f8dc7ea
5
5
  SHA512:
6
- metadata.gz: c89e552e3d5a828dd6736fbf0ae817b8de842e20fbc1d2d3fae048296d554e610991c82d6ff021956e6c2b394fef16418ec4f83a711c30a558a590cc902d3d23
7
- data.tar.gz: fe7981c675264af9a7390cc907317d0048af8156540da3163e17f7bb405d565f6a570486be54b205e55c6a78a900cf13674bb4c99b62a12bca4a13710bcf5d8d
6
+ metadata.gz: 515d60197491c9b6ae09eff4bad3dabc74a4478743314aa4e9715bf58298ca74612ad34c7d3667ea70dc1b22fcd30f7b4040356108705318571188bb6957eed9
7
+ data.tar.gz: 21f78911dc7b9ead2c48912708fa043dd54d0a8f321ba37db84fd6dc276b5336c265db6ba9926491aaa6d2be1020d1a787eb7af3846e1558ab5b1fb50e48e67f
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **status** | **String** | | |
8
8
  | **raw** | **String** | Platform-native status string, forwarded verbatim (Meta `ACTIVE` / `DISAPPROVED`, TikTok `DISABLE`, ...). | |
9
- | **reasons** | [**Array<WebhookPayloadAdReviewReviewReasonsInner>**](WebhookPayloadAdReviewReviewReasonsInner.md) | Why the platform rejected the ad, when it says. Always empty on `approved`. Most networks only return a generic message today. | |
9
+ | **reasons** | [**Array<WebhookPayloadAdReviewReviewReasonsInner>**](WebhookPayloadAdReviewReviewReasonsInner.md) | Why the platform rejected the ad, when it says. Always empty on `approved`. Pinterest, LinkedIn and Reddit send their own reasons, X sends none, and most other networks only return a generic message. | |
10
10
 
11
11
  ## Example
12
12
 
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Zernio
17
- # Webhook payload for the `ad.delivery_issue` event. Fires when an ad Zernio already tracked moves into the platform's error state: - Meta `WITH_ISSUES` (payment, policy and account problems) - TikTok account punishment or missing balance - LinkedIn removals - any platform status Zernio does not recognize yet (check `issue.raw`) Ads seen for the first time by a sync never fire it. Detected by Zernio's own ad sync, so it arrives within one sync cycle. Each ad fires at most once per 24 hours. On Meta, `ad.status_changed` with `WITH_ISSUES` can also fire for the same problem, straight from Meta's webhook.
17
+ # Webhook payload for the `ad.delivery_issue` event. Fires when an ad Zernio already tracked moves into the platform's error state: - Meta `WITH_ISSUES` (payment, policy and account problems) - TikTok account punishment or missing balance - any platform status Zernio does not recognize yet (check `issue.raw`) Ads seen for the first time by a sync never fire it. Detected by Zernio's own ad sync, so it arrives within one sync cycle. Each ad fires at most once per 24 hours. On Meta, `ad.status_changed` with `WITH_ISSUES` can also fire for the same problem, straight from Meta's webhook.
18
18
  class WebhookPayloadAdDeliveryIssue < ApiModelBase
19
19
  # Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery.
20
20
  attr_accessor :id
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Zernio
17
- # Webhook payload for the `ad.review.approved` and `ad.review.rejected` events. Emitted for every ad network Zernio syncs (Meta, Google, TikTok, LinkedIn, Pinterest, X and the rest). Fires when an ad Zernio already tracked changes review outcome: - `approved`: it leaves review as deliverable, or a rejection is overturned. - `rejected`: the platform rejects it. Ads seen for the first time by a sync, including the history loaded when an account is connected, never fire it. An ad that leaves review paused (for example its ad set is paused) sends no `approved` event. Detected by Zernio's own ad sync (and, for Meta, the review poll), so it arrives within one sync cycle of the platform's decision, not instantly. Each outcome is delivered at most once per ad per 24 hours.
17
+ # Webhook payload for the `ad.review.approved` and `ad.review.rejected` events. Emitted for every ad network Zernio syncs (Meta, Google, TikTok, LinkedIn, Pinterest, X, Reddit and the rest). Fires when an ad Zernio already tracked changes review outcome: - `approved`: it leaves review as deliverable, or a rejection is overturned. - `rejected`: the platform rejects it. Ads seen for the first time by a sync, including the history loaded when an account is connected, never fire it. On X, Pinterest and LinkedIn, Zernio reads the review apart from the delivery status. An ad that leaves review while paused (for example under a paused campaign) still sends `approved`. On the other networks the review shows only in the delivery status, so an ad that leaves review paused sends no `approved` event. Detected by Zernio's own ad sync (and, for Meta, the review poll), so it arrives within one sync cycle of the platform's decision, not instantly. Each outcome is delivered at most once per ad per 24 hours.
18
18
  class WebhookPayloadAdReview < ApiModelBase
19
19
  # Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery.
20
20
  attr_accessor :id
@@ -20,7 +20,7 @@ module Zernio
20
20
  # Platform-native status string, forwarded verbatim (Meta `ACTIVE` / `DISAPPROVED`, TikTok `DISABLE`, ...).
21
21
  attr_accessor :raw
22
22
 
23
- # Why the platform rejected the ad, when it says. Always empty on `approved`. Most networks only return a generic message today.
23
+ # Why the platform rejected the ad, when it says. Always empty on `approved`. Pinterest, LinkedIn and Reddit send their own reasons, X sends none, and most other networks only return a generic message.
24
24
  attr_accessor :reasons
25
25
 
26
26
  class EnumAttributeValidator
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.1689'
14
+ VERSION = '0.0.1690'
15
15
  end