Class: FacebookAds::AdVideo

Inherits:
AdObject show all
Defined in:
lib/facebook_ads/ad_objects/ad_video.rb

Overview

For any issues or feature requests related to this class, please let us know on github and we’ll fix in our codegen framework. We’ll not be able to accept pull request for this class.

Constant Summary collapse

CONTAINER_TYPE =
[
  "ACO_AUTOEXTRACTED_VIDEO",
  "ACO_VIDEO_VARIATION",
  "ADS_AI_GENERATED",
  "AD_BREAK_PREVIEW",
  "AD_DERIVATIVE",
  "AD_LIBRARY_WATERMARK",
  "AGE_UP",
  "ALBUM_MULTIMEDIA_POST",
  "ALOHA_CALL_VIDEO",
  "ALOHA_SUPERFRAME",
  "APP_REREVIEW_SCREENCAST",
  "APP_REVIEW_SCREENCAST",
  "ASSET_MANAGER",
  "ATLAS_VIDEO",
  "AUDIO_BRIEF",
  "AUDIO_BROADCAST",
  "AUDIO_COMMENT",
  "BROADCAST",
  "BULLETIN_ARTICLE_AUDIO",
  "CANVAS",
  "CFC_VIDEO",
  "CMS_MEDIA_MANAGER",
  "CONTAINED_POST_ATTACHMENT",
  "CONTAINED_POST_AUDIO_BROADCAST",
  "CONTAINED_POST_COPYRIGHT_REFERENCE_BROADCAST",
  "COPYRIGHT_REFERENCE_BROADCAST",
  "COPYRIGHT_REFERENCE_IG_XPOST_VIDEO",
  "COPYRIGHT_REFERENCE_VIDEO",
  "CREATION_ML_PRECREATION",
  "CREATOR_STOREFRONT_PERSONALIZED_VIDEO",
  "DATAGENIX_VIDEO",
  "DCO_AD_ASSET_FEED",
  "DCO_AUTOGEN_VIDEO",
  "DCO_TRIMMED_VIDEO",
  "DIM_SUM",
  "DIRECTED_POST_ATTACHMENT",
  "DIRECT_INBOX",
  "DIRECT_INBOX_REACTION",
  "DROPS_SHOPPING_EVENT_PAGE",
  "DYNAMIC_ITEM_DISPLAY_BUNDLE",
  "DYNAMIC_ITEM_VIDEO",
  "DYNAMIC_TEMPLATE_VIDEO",
  "EVENT_COVER_VIDEO",
  "EVENT_TOUR",
  "FACECAST_DVR",
  "FB_AVATAR_ANIMATED_SATP",
  "FB_COLLECTIBLE_VIDEO",
  "FB_SHORTS",
  "FB_SHORTS_CONTENT_REMIXABLE",
  "FB_SHORTS_CROSS_META_POST",
  "FB_SHORTS_GROUP_POST",
  "FB_SHORTS_LINKED_PRODUCT",
  "FB_SHORTS_PMV_POST",
  "FB_SHORTS_PMV_POST_NO_NEWSFEED_NOR_TIMELINE",
  "FB_SHORTS_POST",
  "FB_SHORTS_REMIX_POST",
  "FUNDRAISER_COVER_VIDEO",
  "GAME_CLIP",
  "GEMSTONE",
  "GIF_TO_VIDEO",
  "GOODWILL_ANNIVERSARY_DEPRECATED",
  "GOODWILL_ANNIVERSARY_PROMOTION_DEPRECATED",
  "GOODWILL_VIDEO_CONTAINED_SHARE",
  "GOODWILL_VIDEO_PROMOTION",
  "GOODWILL_VIDEO_SHARE",
  "GOODWILL_VIDEO_TOKEN_REQUIRED",
  "GROUP_POST",
  "HACK_TV",
  "HEURISTIC_CLUSTER_VIDEO",
  "HIGHLIGHT_CLIP_VIDEO",
  "HUDDLE_BROADCAST",
  "IG_REELS_XPV",
  "IG_STORIES_READER",
  "INJECTABLE",
  "INSPIRATION_VIDEO",
  "INSTAGRAM_VIDEO_COPY",
  "INSTANT_APPLICATION_PREVIEW",
  "INSTANT_ARTICLE",
  "INSTANT_GAMES_PROMO",
  "INSTANT_GAME_CLIP",
  "ISSUE_MODULE",
  "JOBS_CAREERS",
  "JOBS_VISUAL_INTRO_ENTRY",
  "JOB_APPLICATION_VIDEO",
  "JOB_OPENING_VIDEO",
  "LEARN",
  "LEGACY",
  "LEGACY_CONTAINED_POST_BROADCAST",
  "LIVE_AUDIO_ROOM_BROADCAST",
  "LIVE_CLIP_PREVIEW",
  "LIVE_CLIP_WORKCHAT",
  "LIVE_CREATIVE_KIT_VIDEO",
  "LIVE_PHOTO",
  "LOOK_NOW_DEPRECATED",
  "MARKETPLACE_LISTING_VIDEO",
  "MARKETPLACE_PRE_RECORDED_VIDEO",
  "MESSENGER_WATCH_TOGETHER",
  "MOMENTS_VIDEO",
  "MUSIC_CLIP",
  "MUSIC_CLIP_IN_AUDIO_DIGEST",
  "MUSIC_CLIP_IN_COMMENT",
  "MUSIC_CLIP_IN_LIGHTWEIGHT_STATUS",
  "MUSIC_CLIP_IN_MSGR_NOTE",
  "MUSIC_CLIP_IN_POLL_OPTION",
  "MUSIC_CLIP_ON_DATING_PROFILE",
  "NEO_ASYNC_GAME_VIDEO",
  "NEW_CONTAINED_POST_BROADCAST",
  "NO_STORY",
  "NO_STORY_WITH_ENTPOST",
  "NPE_COLLAB_COPYRIGHT_CHECK",
  "OCULUS_CREATOR_PORTAL",
  "OCULUS_VENUES_BROADCAST",
  "OFFERS_VIDEO",
  "ORIGINALITY_SELF_ADVOCACY",
  "PAGES_COVER_VIDEO",
  "PAGE_REVIEW_SCREENCAST",
  "PAGE_SLIDESHOW_VIDEO",
  "PAID_CONTENT_PREVIEW",
  "PAID_CONTENT_VIDEO",
  "PAID_CONTENT_VIDEO__POST",
  "PAPER_DOCUMENT_AUDIO",
  "PAPER_DOCUMENT_VIDEO",
  "PIXELCLOUD",
  "PODCAST_HIGHLIGHT",
  "PODCAST_ML_PREVIEW",
  "PODCAST_ML_PREVIEW_NO_NEWSFEED_STORY",
  "PODCAST_RSS",
  "PODCAST_RSS_EPHEMERAL",
  "PODCAST_RSS_NO_NEWSFEED_STORY",
  "PODCAST_VOICES",
  "PODCAST_VOICES_NO_NEWSFEED_STORY",
  "PREMIERE_SOURCE",
  "PREMIUM_MUSIC_VIDEO_CLIP",
  "PREMIUM_MUSIC_VIDEO_CROPPED_CLIP",
  "PREMIUM_MUSIC_VIDEO_NO_NEWSFEED_STORY",
  "PREMIUM_MUSIC_VIDEO_WITH_NEWSFEED_STORY",
  "PRIVATE_GALLERY_VIDEO",
  "PRODUCT_VIDEO",
  "PROFILE_COVER_VIDEO",
  "PROFILE_INTRO_CARD",
  "PROFILE_VIDEO",
  "PROTON",
  "QUICK_CLIP_WORKPLACE_POST",
  "QUICK_PROMOTION",
  "REPLACE_VIDEO",
  "SALES_CLIENT_INTERACTION",
  "SAY_THANKS_DEPRECATED",
  "SHOWREEL_NATIVE_DUMMY_VIDEO",
  "SLIDESHOW_ANIMOTO",
  "SLIDESHOW_SHAKR",
  "SLIDESHOW_VARIATION_VIDEO",
  "SOUNDBITES_VIDEO",
  "SOUND_PLATFORM_STREAM",
  "SRT_ATTACHMENT",
  "STORIES_VIDEO",
  "STORIES_WEARABLE",
  "STORYLINE",
  "STORYLINE_WITH_EXTERNAL_MUSIC",
  "STORY_ARCHIVE_VIDEO",
  "STORY_CARD_TEMPLATE",
  "STREAM_HIGHLIGHTS_VIDEO",
  "TAROT_DIGEST",
  "TEMPORARY_UNLISTED",
  "TEMP_MULTIMEDIA_POST",
  "UNLISTED",
  "UNLISTED_HORIZON",
  "UNLISTED_OCULUS",
  "VIDEO_COMMENT",
  "VIDEO_COMPOSITION_VARIATION",
  "VIDEO_CREATIVE_EDITOR_AUTOGEN_AD_VIDEO",
  "VIDEO_SUPERRES",
  "VOICES_ARTICLE_VIDEO",
  "VU_GENERATED_VIDEO",
  "WOODHENGE",
  "WORK_KNOWLEDGE_VIDEO",
  "YOUR_DAY",
]
CONTENT_CATEGORY =
[
  "BEAUTY_FASHION",
  "BUSINESS",
  "CARS_TRUCKS",
  "COMEDY",
  "CUTE_ANIMALS",
  "ENTERTAINMENT",
  "FAMILY",
  "FOOD_HEALTH",
  "HOME",
  "LIFESTYLE",
  "MUSIC",
  "NEWS",
  "OTHER",
  "POLITICS",
  "SCIENCE",
  "SPORTS",
  "TECHNOLOGY",
  "VIDEO_GAMING",
]
FORMATTING =
[
  "MARKDOWN",
  "PLAINTEXT",
]
ORIGINAL_PROJECTION_TYPE =
[
  "cubemap",
  "equirectangular",
  "half_equirectangular",
]
SWAP_MODE =
[
  "replace",
]
UNPUBLISHED_CONTENT_TYPE =
[
  "ADS_POST",
  "DRAFT",
  "INLINE_CREATED",
  "PUBLISHED",
  "REVIEWABLE_BRANDED_CONTENT",
  "SCHEDULED",
  "SCHEDULED_RECURRING",
]
UPLOAD_PHASE =
[
  "cancel",
  "finish",
  "start",
  "transfer",
]
VALIDATION_AD_PLACEMENTS =
[
  "AUDIENCE_NETWORK_INSTREAM_VIDEO",
  "AUDIENCE_NETWORK_INSTREAM_VIDEO_MOBILE",
  "AUDIENCE_NETWORK_REWARDED_VIDEO",
  "DESKTOP_FEED_STANDARD",
  "FACEBOOK_STORY_MOBILE",
  "FACEBOOK_STORY_STICKER_MOBILE",
  "INSTAGRAM_STANDARD",
  "INSTAGRAM_STORY",
  "INSTANT_ARTICLE_STANDARD",
  "INSTREAM_BANNER_DESKTOP",
  "INSTREAM_BANNER_MOBILE",
  "INSTREAM_VIDEO_DESKTOP",
  "INSTREAM_VIDEO_IMAGE",
  "INSTREAM_VIDEO_MOBILE",
  "MESSENGER_MOBILE_INBOX_MEDIA",
  "MESSENGER_MOBILE_STORY_MEDIA",
  "MOBILE_FEED_STANDARD",
  "MOBILE_FULLWIDTH",
  "MOBILE_INTERSTITIAL",
  "MOBILE_MEDIUM_RECTANGLE",
  "MOBILE_NATIVE",
  "RIGHT_COLUMN_STANDARD",
  "SUGGESTED_VIDEO_MOBILE",
]
TYPE =
[
  "tagged",
  "uploaded",
]
VIDEO_STATE =
[
  "DRAFT",
  "PUBLISHED",
  "SCHEDULED",
]
BACKDATED_TIME_GRANULARITY =
[
  "day",
  "hour",
  "min",
  "month",
  "none",
  "year",
]

Instance Attribute Summary

Attributes inherited from AdObject

#__all_fields, #attributes, #deserializer, #last_api_response, #last_destroyed, #last_saved

Method Summary

Methods inherited from AdObject

#[], #as_json, #changes, #destroy, #fields_as_string, get, #graph_params, #id, #initialize, #inspect, #load!, #loaded?, #reload!, #save, #session, #session=, #to_hash, #to_json, #update_attributes

Methods included from GraphEdges

included

Methods included from GraphNodes

included

Methods included from Fields

included

Constructor Details

This class inherits a constructor from FacebookAds::AdObject