In general, an Ad View occurs each time an advertisement is downloaded from an ad server on to the viewer's screen.
Ad View allows your application to earn revenue by displaying advertisements to the user. Ad view dedicates a portion on the screen to display advertisements and in turn you receive revenue when users view or click those advertisements.
Configure.IT Ad View supports display of ads from iAd, Flurry, Google AdMob.
Sets the X position of the Ad View.
Sets the Y position of the Ad View.
Sets the width of the Ad View.
Sets the height of the Ad View.
Sets unique identifier for the control. Control can be referenced with the name, set in this property for configuration.
Set "Object ID" of View which contains this control or can serve as parent.
Sets the local JSON file name from which View's data has to be loaded.
Used to set the background color to the Ad View.
The padding is expressed in pixels for the left, top, right and bottom parts of the view. Padding can be used to offset the content of the view by a specific amount of pixels.
For instance, a Left value of 2 will push the view's content by 2 pixels to the right of the left edge.
Sets the height of the view
match_parent/fill_parent : Takes the height as its parent view
wrap_content : Takes the height as its content’s height
Sets the width of the view
match_parent/fill_parent : Takes the width as its parent view
wrap_content : Takes the width as its content’s width
If any of the layout setting parameter(s) are selected then this value is selected to indicate user applied custom layout setting parameter(s).
Group of vertical android default properties.
For instance, a Right value of 2 will push the view's content by 2 pixels to the left of the right edge.
For instance, a Top value of 2 will push the view's content by 2 pixels to the bottom of the top edge.
For instance, a Bottom value of 2 will push the view's content by 2 pixels to the top of the bottom edge.
This property centers the child vertically with respect to the bounds of its parent view.
The height of the view cannot be less than the given value.
If user select “Default Min Height” then android default value is taken otherwise it takes 0dp.
The width of the view cannot be less than the given value.
If user select “Default Min Width” then android default value is taken otherwise it takes 0dp.
Group of horizontal android default properties.
Group of vertical android default properties.
These are the android default properties to set selected view with respect of other view.
Reference object that is used for positioning selected object
marginTop : Specifies extra space on the top side of this view. This space is outside this view's bounds.
marginBottom : Specifies extra space on the bottom side of this view. This space is outside this view's bounds.
Value defines the extra space value in pixel.
This property centers the child vertically with respect to the bounds of its parent view.
If any of the vertical layout setting parameter(s) are selected then this value is selected to indicate user applied vertical custom layout setting parameter(s).
Group of horizontal android default properties.
Reference type is the the default property to set selected view with respect to other view.
Reference object that is used for positioning selected object.
marginLeft : Specifies extra space on the left side of this view. This space is outside this view's bounds.
marginRight : Specifies extra space on the right side of this view. This space is outside this view's bounds.
Offset Value defines the extra space value in the pixel.
This property centers the child horizontally with respect to the bounds of its parent view.
If any of the horizontal layout setting parameter(s) are selected then this value is selected to indicate user applied horizontal custom layout setting parameter(s).
Hiding an element can be done by checking ‘Hide’. This property lets you hide the control.
Advance - Sets auto resizing with respect to superview, for Ad View.
This property is for setting type of ad to be displayed on Ad View.
If you check this option, admob will display if iAD fails to load.
This event is triggered when some error occurs while receiving the ad on Ad View control. Any actions you want perform on failure can be configured in “Adv Error” event listed in ”ACTION(S)” tab of Ad View control.
This event is triggered on receiving ad successfully on Ad View control. Any actions you want perform on success can be configured in “Adv Success” event listed in ”ACTION(S)” tab of Ad View control.
This property is for setting type of ad to be displayed on Ad View.
Following are the available types you can select from:-
1) IAd - for apple supported ads
2) AdMob - for google AdMob supported ads
3) Flurry - flurry supported ads
4) Tapjoy - Tapjoy supported ads
For displaying flurry ads in ad view, you need to set “Ad Type” property to “Flurry” and set “Flurry API Key” in “Third Party” tab under “Flurry” and enable it. For creating Flurry API key open this link https://dev.flurry.com/createProjectSelectPlatform.do .
Sign in with your flurry credentials and then create a new app by selecting platform of your wish.
For displaying google admob ads in ad view, you need to set “Ad Type” property to “AdMob” and set “API Key” in “Third Party” tab under “ADMOB” and enable it.
You need to set AdMob ad unit ID in “API Key” field. For creating AdMob unit ID, follow this link https://support.google.com/admob/answer/3052638 .