@the_ro_show/agent-ads-sdk 0.17.0 → 0.17.1

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.
package/dist/index.mjs CHANGED
@@ -817,6 +817,24 @@ var AttentionMarketClient = class {
817
817
  async sendFeedback(request) {
818
818
  return await this.http.request("POST", "/feedback", { body: request });
819
819
  }
820
+ /**
821
+ * Rate the delivery quality of an ad after a verified click.
822
+ * Requires a prior click event for the tracking_token. Ratings feed
823
+ * into quality scores (minimum 5 unique raters per campaign).
824
+ *
825
+ * @example
826
+ * ```typescript
827
+ * await client.rateBusinessDelivery({
828
+ * tracking_token: ad.tracking_token,
829
+ * ad_unit_id: ad._ad.unit_id,
830
+ * rating: 4,
831
+ * context: 'Relevant product, good landing page'
832
+ * });
833
+ * ```
834
+ */
835
+ async rateBusinessDelivery(request) {
836
+ return await this.http.request("POST", "/rate-business", { body: request });
837
+ }
820
838
  /**
821
839
  * Fetch default policy constraints and formatting requirements.
822
840
  */