Small icon image (e.g. advertiser logo)
The Big image showing the product
The Ad fill may or may not have a big product image.
If the big product image is available, it can be of landscape, square, or portrait aspect ratio.
The SDK handles all these conditions automatically and contains Display Handler Templates for the different cases.
The Display Handling Templates can be broadly classified under two categories:
MEDIA VIEW TYPES (Ad contains Big Image)
MediaLandscapeSimple
MediaLanscapeBlur
MediaPortrait
NON MEDIA VIEW (Ad does not contain Big Image)
NonMedia
1.2 STRUCTURE OF THE SDK AD PREFAB
The structure of SDK's Ad object is shown below:
The object hierarchy is similar for both Screen Space (SS_NativeAd) and World Space (WS_NativeAd) with minor differences
OBJECT NAME | DESCRIPTION |
---|---|
Placeholder | An image to show before the Ad loads This can also be set to None or 100% transparent to show nothing before the Ad is loaded |
MediaViewTypes | Parent for all Display Templates containing Big Image |
NonMediaView | Parent for Display Templates without Big Image |
StatusVisualiser | A debug tool that indicates impression and click detection status Only displayed with Test ads |
The image above shows the object hierarchy of the MediaLandscapeSimple display template. The structure is similar to other templates as well with minor variations.
GameObject NAME | DESCRIPTION |
---|---|
BigImage | Has image component to display Big Product texture |
AdIconImageHolder | Background for Ad Icon |
AdIconImg | Has image component to display Advertiser Logo icon |
CtaStars | Contains child display objects for CTA button and Star Rating |
AdChoices AdTag | Google requirements for Ad Compliance |