Today we're introducing video functionality to desktop app ads to attract more people to install and play Facebook desktop games. Last year we launched video creative for mobile app install ads in Power Editor, and we're extending our investment in video to desktop to enable a more consistent buying experience across mobile and desktop app ads.
The video unit has similar functionality to our mobile app ads: it's eligible to play automatically in News Feed, there is a persistent call-to-action (CTA) over the video pop-up for ads rendering on the right-hand side of the page, and all videos now have an end card that appears after they finish with options to replay it or install the game.
use FacebookAds\Object\AdCreative;
use FacebookAds\Object\ObjectStory\VideoData;
use FacebookAds\Object\Fields\ObjectStory\VideoDataFields;
use FacebookAds\Object\ObjectStorySpec;
use FacebookAds\Object\Fields\ObjectStorySpecFields;
use FacebookAds\Object\Fields\AdCreativeFields;
$video_data = new VideoData();
$video_data->setData(array(
VideoDataFields::DESCRIPTION => 'Check out this app!',
VideoDataFields::IMAGE_URL => '<IMAGE_URL>',
VideoDataFields::VIDEO_ID => '<VIDEO_ID>',
VideoDataFields::CALL_TO_ACTION => array(
'type' => 'PLAY_GAME',
'value' => array(
'link' => '<CANVAS_APP_URL>',
)
),
));
$object_story_spec = new ObjectStorySpec();
$object_story_spec->setData(array(
ObjectStorySpecFields::PAGE_ID => <PAGE_ID>,
ObjectStorySpecFields::VIDEO_DATA => $video_data,
));
$creative = new AdCreative(null, 'act_<AD_ACCOUNT_ID>');
$creative->setData(array(
AdCreativeFields::NAME => 'Sample Creative',
AdCreativeFields::OBJECT_STORY_SPEC => $object_story_spec,
));
$creative->create();
curl \
-F 'name=Video App Ad Creative' \
-F 'object_story_spec={"page_id": <PAGE_ID>, "video_data":{"call_to_action":{"type":"PLAY_GAME", value:{"link":"<CANVAS_APP_URL>"}}, "video_id":"<VIDEO_ID>", "image_url":"<IMAGE_URL>", "description":"Check out this app!"}}' \
-F 'access_token=<ACCESS_TOKEN>' \
https://graph.facebook.com/<API_VERSION>/act_{ad_account_id}/adcreatives
Use the creative in a campaign
from facebookads.objects import AdCampaign
campaign = AdCampaign(parent_id='act_<AD_ACCOUNT_ID>')
campaign[AdCampaign.Field.name] = 'My First Campaign'
campaign[AdCampaign.Field.status] = AdCampaign.Status.paused
campaign[AdCampaign.Field.objective] = AdCampaign.Objective.canvas_app_installs
campaign.remote_create()
use FacebookAds\Object\AdCampaign;
use FacebookAds\Object\Fields\AdCampaignFields;
use FacebookAds\Object\Values\AdObjectives;
$campaign = new AdCampaign(null, 'act_<AD_ACCOUNT_ID>');
$campaign->setData(array(
AdCampaignFields::NAME => 'My First Campaign',
AdCampaignFields::STATUS => AdCampaign::STATUS_PAUSED,
AdCampaignFields::OBJECTIVE => AdObjectives::CANVAS_APP_INSTALLS,
));
$campaign->create();
People view more than four billion native videos on Facebook every day, and video represents the perfect format to bring games to life for new and existing players. People are uploading, sharing and discovering videos on Facebook more than ever, and for marketers, digital video helps them drive awareness, consideration and, ultimately, conversions. Couple the effectiveness of video with the success of desktop app install ads, and there's now a new way to attract and retain players.
Early adopter Plamee is excited about the initial value desktop video app ads have had on their business. Plamee's Vice President of Marketing Michael Velkes stated: "The desktop app ad unit is the best converting non-incentive ad unit available in the industry. Adding this with video is a game-changer for the quality and loyalty of players.”