321
edits
No edit summary |
No edit summary |
||
Line 219: | Line 219: | ||
}} | }} | ||
==Fullscreen | ==Fullscreen Ads (also called swipe ads)== | ||
{{SDKAppInfo | {{SDKAppInfo | ||
|info= | |info= | ||
The ad position is a display-filling ad displayed between two regular content pages in the app. It can be horizontally swiped like the other content pages and is not overlaid by any parts of the app (like the app header or footer). If the user generates an orientation change event, the ad adapts to the new aspect ratio. | |||
[[Datei:Fullscreen Ad 1.png|x300px]] | [[Datei:Fullscreen Ad 1.png|x300px]] | ||
[[Datei:Fullscreen Ad 2.png|300px]] | [[Datei:Fullscreen Ad 2.png|300px]] | ||
|position= | |position= | ||
The position is dynamically embedded between two content pages. The ad position is always on the right next to the page assigned to it in the content (e.g. Politik/swipe_1 means that the first politics content page is displayed first and that the advertising page appears with the next swipe). | |||
|template= | |template= | ||
* | *Scales ads while retaining the aspect ratio in line with the dimensions of the ad container. | ||
* | *Positions and centres the ad. | ||
* | *In the case of orientation change or resize event: scales the ads in line with the new dimensions. It can take several hundred milliseconds until all new dimensions are determined and can be made available by the webview browser. | ||
Depending on the display, scaling can result in black or white bars at the edges. This always happens when the display has a different aspect ratio than the ads. | |||
|app= | |app= | ||
* | *Sends the ad request 1-2 content pages before the position so that the ad server has enough time to serve the ad. | ||
* | *Dynamically generates an ad page in the page flow on the right next to the assigned content page. | ||
* | *In the event of a booking: upsizes the ad container to display size. | ||
* | *Blanks app header and footer (if necessary) | ||
* | *In the case of orientation change or resize event: adapts the ad page and the ad container to the new display dimensions. | ||
* | *In the case of no booking: removes the ad page from the page flow. | ||
|workflowad= | |workflowad= | ||
# | #The app sends an ad request to the ad server. | ||
# | #The ad server responds with an ad booking. | ||
# | #The app dynamically generates the ad page. | ||
# | #The ad container is upsized to the display dimensions. | ||
# | #The ad template scales the ad in the container. | ||
|workflownoad= | |workflownoad= | ||
# | #The app sends an ad request to the ad server. | ||
# | #The ad server responds that it has no ad booking. | ||
# | #The app does not generate an ad page or removes a previously generated ad page from the page flow. | ||
|creativesizes= | |creativesizes= | ||
;Smartphone:310x480 | ;Smartphone:310x480 and 480x310 | ||
;Tablet:750x1024 | ;Tablet:750x1024 and 1024x750<br />(with Android also additionally: 310x480 and 480x310) | ||
{{Warnung|text= | {{Warnung|text=The creative sizes are pseudo-sizes; they do not correspond to the actual dimensions of the ad.}} | ||
|keywords= | |keywords= | ||
;kw:iqadtileFull | ;kw:iqadtileFull | ||
Line 262: | Line 262: | ||
}} | }} | ||
==Banner | ==Banner ads== | ||
{{SDKAppInfo | {{SDKAppInfo | ||
|info= | |info= | ||
The ad position is a banner within a content page. Depending on the ad format, this ad may permit more or less interactivity for the end user. It may be animated or may be a complex HTML ad. It is also possible that the ad may change in size due to certain events. | |||
[[Datei:Mobile High Impact Ad.png|x300px]] | [[Datei:Mobile High Impact Ad.png|x300px]] | ||
|position= | |position= | ||
The position is between content elements of a page and requires labelling as “Anzeige” (Advertisement) above the position. There are generally multiple positions within a page. | |||
|template= | |template= | ||
* | *Handles the functionality, which may be simple or complex depending on the ad format. | ||
|app= | |app= | ||
* | *Sends the ad requests for all positions on a page. | ||
* | *Integrates an ad label “Advertisement” above the position for each position. | ||
* | *Creates the ad container with a size that is included in the response from the ad server to the ad request. | ||
* | *Listens with the EventListener for possible setsize or noad events and changes the ad container accordingly. | ||
* | *In the event of an outbooking: | ||
** | **If it receives a setsize event, it must adapt the ad position and the ad container to the new size where it differs from the current size. | ||
** | **If it receives a noad event, it must completely remove or blank the ad position and the corresponding ad label. | ||
|workflowad= | |workflowad= | ||
# | #The app sends an ad request to the ad server. | ||
# | #The ad server responds with an ad booking. | ||
# | #The app generates the ad container with the size contained in the response of the ad server. | ||
# | #It may be necessary to adapt the ad container due to a setsize event. | ||
|workflownoad= | |workflownoad= | ||
# | #The app sends an ad request to the ad server. | ||
# | #The ad server responds with an outbooking as ad booking. | ||
# | #The app receives a response with the size 99x1 and a short time later a noad event. | ||
# | #The app blanks the ad position and ad labelling until the next page request. | ||
|creativesizes= | |creativesizes= | ||
320x50, 320x53, 320x80, 320x106, 320x160, 320x320, 320x416, 320x460, 300x50, 300x75, 300x100, 300x150, 300x200, 300x250, 300x600 | 320x50, 320x53, 320x80, 320x106, 320x160, 320x320, 320x416, 320x460, 300x50, 300x75, 300x100, 300x150, 300x200, 300x250, 300x600 | ||
Other sizes are possible. Depending on the | |||
position, only an excerpt from the size list is used in the ad request. Exact assignment then takes place in a separate document. | |||
|keywords= | |keywords= | ||
;kw:nospa, enozqi, digtransform, iqadtileX* | ;kw:nospa, enozqi, digtransform, iqadtileX* | ||
;tile:X* | ;tile:X* | ||
X | X corresponds to the number of the position, e.g. iqadtile1, iqadtile3, iqadtile4, iqadtile99, iqadtile8. | ||
|links= | |links= | ||
;iOS:https://developers.google.com/ad-manager/mobile-ads-sdk/ios/banner | ;iOS:https://developers.google.com/ad-manager/mobile-ads-sdk/ios/banner | ||
Line 302: | Line 304: | ||
}} | }} | ||
== | ==Documentation of the iq digital app events== | ||
In certain situations, the ad templates of iq digital send events to the app. The app must react to these events and change the ad container in line with the following specification. The app events always comprise the name and one "data" string. | |||
=== | ===Important links in the GMA SDK documentation=== | ||
*[https://developers.google.com/ad-manager/mobile-ads-sdk/ios/banner#app_events GMA SDK iOS App Events] | *[https://developers.google.com/ad-manager/mobile-ads-sdk/ios/banner#app_events GMA SDK iOS App Events] | ||
*[https://developers.google.com/ad-manager/mobile-ads-sdk/android/banner#app_events GMA SDK Android App Events] | *[https://developers.google.com/ad-manager/mobile-ads-sdk/android/banner#app_events GMA SDK Android App Events] | ||
===setsize | ===setsize event=== | ||
The setsize event is called by the ad templates of iq digital to change the size of the ad view of the ad position. The "data" string has the format "width:height" for an immediate change of size. | |||
=====Parameters===== | |||
The parameters are separated from one another with a colon. | |||
; | ;width:The new width of the ad view in pixels (device-independent pixels) as a whole number. | ||
; | ;height:The new height of the ad view in pixels (device-independent pixels) as a whole number. | ||
{{Warnung|text=Exception: the value max is used for adaptation to the maximum available width or height.}} | |||
Call examples: | |||
;<nowiki>"setsize","320:80"</nowiki>:Ad view is given the new size of 320x80 pixels. | |||
;<nowiki>"setsize","320:240"</nowiki>:Ad view is given the new size of 320x240 pixels. | |||
;<nowiki>"setsize","max:160"</nowiki>:Ad view is adjusted to the maximum available width and a height of 160 pixels. | |||
;<nowiki>"setsize","max:max"</nowiki>:Ad view is adjusted to the maximum available width and the maximum available height. | |||
===noad event=== | |||
The noad event is called by the ad templates of iq digital to signal to the app that there is no booking for the position and that the app should remove the ad position '''and the corresponding ad label'''. | |||
The "data" string has no meaning for this event and can be ignored. | |||
[[Kategorie:Ad Technology]][[Kategorie:APP]] | [[Kategorie:Ad Technology]][[Kategorie:APP]] | ||
[[en:Integration of the Google Mobile Ads SDK]] | [[en:Integration of the Google Mobile Ads SDK]] |