pub struct WebhookPayloadCommentCommentAd {
pub id: Option<String>,
pub title: Option<String>,
pub promotion_status: Option<String>,
}Expand description
WebhookPayloadCommentCommentAd : Ad context. Present only when the comment was made on paid content. Instagram: populated from the webhook payload’s value.media.ad_id and value.media.ad_title. Facebook: populated via a Graph API lookup of the parent post’s promotion_status. Absent for comments on organic posts that are not currently promoted.
Fields§
§id: Option<String>Meta ad ID (Instagram only).
title: Option<String>Ad creative title (Instagram only).
promotion_status: Option<String>Facebook promotion status returned by Graph API. Common values: "active" (organic post currently boosted), "ineligible" (dark post or ad creative, not promotable because it already is an ad).
Implementations§
Source§impl WebhookPayloadCommentCommentAd
impl WebhookPayloadCommentCommentAd
Sourcepub fn new() -> WebhookPayloadCommentCommentAd
pub fn new() -> WebhookPayloadCommentCommentAd
Ad context. Present only when the comment was made on paid content. Instagram: populated from the webhook payload’s value.media.ad_id and value.media.ad_title. Facebook: populated via a Graph API lookup of the parent post’s promotion_status. Absent for comments on organic posts that are not currently promoted.
Trait Implementations§
Source§impl Clone for WebhookPayloadCommentCommentAd
impl Clone for WebhookPayloadCommentCommentAd
Source§fn clone(&self) -> WebhookPayloadCommentCommentAd
fn clone(&self) -> WebhookPayloadCommentCommentAd
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more