struct Facebook::Proto::AdCreative

Included Modules

Defined in:

cli/proto/facebook/AdCreative.pb.cr

Constant Summary

FIELDS = {1 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :account_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :actor_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :applink_treatment, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :authorization_category, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :auto_update, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :body, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :branded_content_sponsor_page_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :bundle_folder_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :call_to_action_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :categorization_criteria, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :category_media_source, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :destination_set_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :dynamic_ad_voice, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 15 => {name: :effective_authorization_category, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 16 => {name: :effective_instagram_story_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 17 => {name: :effective_object_story_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 18 => {name: :enable_direct_install, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 19 => {name: :enable_launch_instant_app, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 20 => {name: :image_hash, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 21 => {name: :image_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 22 => {name: :instagram_actor_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 23 => {name: :instagram_permalink_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 24 => {name: :instagram_story_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 25 => {name: :link_deep_link_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 26 => {name: :link_og_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 27 => {name: :link_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 28 => {name: :messenger_sponsored_message, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 29 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 30 => {name: :object_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 31 => {name: :object_store_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 32 => {name: :object_story_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 33 => {name: :object_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 34 => {name: :object_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 35 => {name: :place_page_set_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 36 => {name: :playable_asset_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 37 => {name: :product_set_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 38 => {name: :status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 39 => {name: :template_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 40 => {name: :thumbnail_url, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 41 => {name: :title, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 42 => {name: :url_tags, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 43 => {name: :use_page_actor_override, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 44 => {name: :video_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 45 => {name: :image_file, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 46 => {name: :is_dco_internal, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Fields = {} of String => Field

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(id : String | Nil = nil, account_id : String | Nil = nil, actor_id : String | Nil = nil, applink_treatment : String | Nil = nil, authorization_category : String | Nil = nil, auto_update : Bool | Nil = nil, body : String | Nil = nil, branded_content_sponsor_page_id : String | Nil = nil, bundle_folder_id : String | Nil = nil, call_to_action_type : String | Nil = nil, categorization_criteria : String | Nil = nil, category_media_source : String | Nil = nil, destination_set_id : String | Nil = nil, dynamic_ad_voice : String | Nil = nil, effective_authorization_category : String | Nil = nil, effective_instagram_story_id : String | Nil = nil, effective_object_story_id : String | Nil = nil, enable_direct_install : Bool | Nil = nil, enable_launch_instant_app : Bool | Nil = nil, image_hash : String | Nil = nil, image_url : String | Nil = nil, instagram_actor_id : String | Nil = nil, instagram_permalink_url : String | Nil = nil, instagram_story_id : String | Nil = nil, link_deep_link_url : String | Nil = nil, link_og_id : String | Nil = nil, link_url : String | Nil = nil, messenger_sponsored_message : String | Nil = nil, name : String | Nil = nil, object_id : String | Nil = nil, object_store_url : String | Nil = nil, object_story_id : String | Nil = nil, object_type : String | Nil = nil, object_url : String | Nil = nil, place_page_set_id : String | Nil = nil, playable_asset_id : String | Nil = nil, product_set_id : String | Nil = nil, status : String | Nil = nil, template_url : String | Nil = nil, thumbnail_url : String | Nil = nil, title : String | Nil = nil, url_tags : String | Nil = nil, use_page_actor_override : Bool | Nil = nil, video_id : String | Nil = nil, image_file : String | Nil = nil, is_dco_internal : Bool | Nil = nil) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def account_id : String | Nil #

def account_id=(account_id : String | Nil) #

def actor_id : String | Nil #

def actor_id=(actor_id : String | Nil) #

def applink_treatment : String | Nil #

def applink_treatment=(applink_treatment : String | Nil) #

def authorization_category : String | Nil #

def authorization_category=(authorization_category : String | Nil) #

def auto_update : Bool | Nil #

def auto_update=(auto_update : Bool | Nil) #

def body : String | Nil #

def body=(body : String | Nil) #

def branded_content_sponsor_page_id : String | Nil #

def branded_content_sponsor_page_id=(branded_content_sponsor_page_id : String | Nil) #

def bundle_folder_id : String | Nil #

def bundle_folder_id=(bundle_folder_id : String | Nil) #

def call_to_action_type : String | Nil #

def call_to_action_type=(call_to_action_type : String | Nil) #

def categorization_criteria : String | Nil #

def categorization_criteria=(categorization_criteria : String | Nil) #

def category_media_source : String | Nil #

def category_media_source=(category_media_source : String | Nil) #

def destination_set_id : String | Nil #

def destination_set_id=(destination_set_id : String | Nil) #

def dynamic_ad_voice : String | Nil #

def dynamic_ad_voice=(dynamic_ad_voice : String | Nil) #

def effective_authorization_category : String | Nil #

def effective_authorization_category=(effective_authorization_category : String | Nil) #

def effective_instagram_story_id : String | Nil #

def effective_instagram_story_id=(effective_instagram_story_id : String | Nil) #

def effective_object_story_id : String | Nil #

def effective_object_story_id=(effective_object_story_id : String | Nil) #

def enable_direct_install : Bool | Nil #

def enable_direct_install=(enable_direct_install : Bool | Nil) #

def enable_launch_instant_app : Bool | Nil #

def enable_launch_instant_app=(enable_launch_instant_app : Bool | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def image_file : String | Nil #

def image_file=(image_file : String | Nil) #

def image_hash : String | Nil #

def image_hash=(image_hash : String | Nil) #

def image_url : String | Nil #

def image_url=(image_url : String | Nil) #

def instagram_actor_id : String | Nil #

def instagram_actor_id=(instagram_actor_id : String | Nil) #

def instagram_permalink_url : String | Nil #

def instagram_permalink_url=(instagram_permalink_url : String | Nil) #

def instagram_story_id : String | Nil #

def instagram_story_id=(instagram_story_id : String | Nil) #

def is_dco_internal : Bool | Nil #

def is_dco_internal=(is_dco_internal : Bool | Nil) #

def link_deep_link_url : String | Nil #

def link_deep_link_url=(link_deep_link_url : String | Nil) #

def link_og_id : String | Nil #

def link_og_id=(link_og_id : String | Nil) #

def link_url : String | Nil #

def link_url=(link_url : String | Nil) #

def messenger_sponsored_message : String | Nil #

def messenger_sponsored_message=(messenger_sponsored_message : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def object_id : String | Nil #

def object_id=(object_id : String | Nil) #

def object_store_url : String | Nil #

def object_store_url=(object_store_url : String | Nil) #

def object_story_id : String | Nil #

def object_story_id=(object_story_id : String | Nil) #

def object_type : String | Nil #

def object_type=(object_type : String | Nil) #

def object_url : String | Nil #

def object_url=(object_url : String | Nil) #

def place_page_set_id : String | Nil #

def place_page_set_id=(place_page_set_id : String | Nil) #

def playable_asset_id : String | Nil #

def playable_asset_id=(playable_asset_id : String | Nil) #

def product_set_id : String | Nil #

def product_set_id=(product_set_id : String | Nil) #

def status : String | Nil #

def status=(status : String | Nil) #

def template_url : String | Nil #

def template_url=(template_url : String | Nil) #

def thumbnail_url : String | Nil #

def thumbnail_url=(thumbnail_url : String | Nil) #

def title : String | Nil #

def title=(title : String | Nil) #

def to_hash #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def url_tags : String | Nil #

def url_tags=(url_tags : String | Nil) #

def use_page_actor_override : Bool | Nil #

def use_page_actor_override=(use_page_actor_override : Bool | Nil) #

def video_id : String | Nil #

def video_id=(video_id : String | Nil) #