Requesting Frame Ads – Windows Phone 8.1 SDK

Maaf, entri ini hanya tersedia dalam bahasa English. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.

Frame Ads can be associated with an interstitial adspot in VMAX.

Prerequisites for Frame Ads

Design dimensions

Inner Dimensions for Potrait: 300 X 460

Outer Dimensions for Potrait: 380 X 540

Inner Dimensions for Landscape: 460 X 300

Outer Dimensions for Landscape: 540 X 380

Frame should be opaque inside with any color (black recommended) up to inner dimensions mentioned above.

Frame should be equally distributed outside 40 pixel each side so as to satisfy outer dimensions mentioned above.

That 40 pixel area can consists of Frame border each side. If in case, Frame border is less than 40 pixels thick then the remaining pixels should be set as transparent.

One Close button is required with the dimensions 36 X 36.

All above three assets (Two Frames [portrait and landscape] and One Close button) should be placed in a folder named Frames which needs to be created in the Assets folder of your Windows phone 8.1 Project. (Refer the sample app for the folder structure.)

Naming Conventions of above assets:
Landscape Frame image should be named as “VMAX_Frame_Landscape”.[extension like png]
Portrait Frame image should be named as “VMAX_Frame_Portrait”.[extension like png]
36 x 36 Close button image should be named as “VMAX_Close_Frame”.[extension like png]

To request a Frame Ads, Follow below example for reference:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

//Follow the same code snippet as mentioned in Requesting Interstitials with only one change. //set UX property as frame instead of BillBoard.