The basic trafficking process in Campaign Manager 360 is the same for all types of devices, including mobile: assign creatives to ads, assign ads to placements, and send tags to publishers. There is no special mobile placement, mobile ad, or mobile tag type.
There are, however, three important areas to consider:
-
Placement tags: All placement tags include the additional
dc_rdid=
parameter, which your publisher will need to populate with resettable device IDs, and the optionaltag_for_child_directed_treatment=
anddc_lat=
parameters. Youâll need to make sure that your publisher can populate all of these parameters correctly if your placement will serve in an app. This is necessary to enable many important features. See below for more details. -
Ad and creative setup: Consider mobile targeting options if you want to limit which devices receive your ads. See below for more details.
-
Mobile reporting and in-app Floodlight: There are extra steps to ensure proper Floodlight tracking on in-app inventory, and to view mobile reporting dimensions. See below for more details.
-
App and App ID reporting:
Publishers must pass an app ID into the
dc_msid=
parameter to enable App and App ID reporting dimensions. For example:dc_msid=com.android.chrome
for Google Play Store ordc_msid=535886823
for iOS App Store.
Placement tags
Placement tags serving inside apps require extra parameters for many important features. These parameters are dc_rdid=
and tag_for_child_directed_treatment=
and dc_lat=
.
These parameters are all automatically included in all display placements since any display placement could potentially serve inside an app (but only if your tags are secure).
Note that if your placements are publisher-paid, you will not be able to download them before you send them to the publisher for approval.
Why you need to ensure publishers pass values to these parameters
Your tags will not be be enabled for Floodlight conversion tracking, reach/frequency reporting, frequency capping, creative rotation, or audience lists (remarketing) without values in these parameters
Parameter definitions
-
dc_rdid=
: User resettable device identifiers in the form of IDFA for iOS or advertising ID (AdID) for Android. This parameter is required. The publisher must pass a value into this parameter in order to enable in-app conversion tracking. The values should be the unhashed, raw value. We will only accept values passed securely over SSL-enabled tags.Note: We strongly recommend using the
dc_rdid
parameter for device IDs instead of the legacy parameterdc_muid
, which accepts uppercase MD5-hashed IDFA, Android ID, and AdID values.-
SSAID is available for non-Play Android devices in China.
-
-
tag_for_child_directed_treatment=
: Accepts a value of 0 or 1. A value of 1 indicates that this particular request may come from a user under the age of 13, under COPPA compliance. -
dc_lat=
: Accepts a value of 0 or 1. A value of 1 means that the user has enabled the âLimit Ad Trackingâ option for IDFA or AdID in order to opt out of interest-based ads and remarketing. If "Limit Ad Tracking" is off, the value is 0.
Tag samples
Here are some sample tags that include the parameters discussed above. All these parameters must be populated by the publisher, so make sure your publisher has agreed to pass the necessary values.
The beginning of a sample ins tag (the preferred option for mobile environments):
<ins class='dcmads'
style='display:inline-block;width:320px;height:50px'
data-dcm-placement='N9200.284657.MYSITE/B7841342.2'
data-dcm-rendering-mode='script'
data-dcm-https-only
data-dcm-gdpr-applies='gdpr=${GDPR}'
data-dcm-gdpr-consent='gdpr_consent=${GDPR_CONSENT_755}'
data-dcm-addtl-consent='addtl_consent=${ADDTL_CONSENT}'
data-dcm-ltd='false'
data-dcm-resettable-device-id=''
data-dcm-app-id=''>
<script src='https://www.googletagservices.com/dcm/dcmads.js'></script>
</ins>
A sample standard tag (used for image banners):
<IMG SRC="https://ad.doubleclick.net/ddm/trackimp/N1315459.3748068PROGRAMMATICSERV/B29422130.359600204;dc_trk_aid=550722822;dc_trk_cid=186748336;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755};ltd=;dc_tdv=1?" attributionsrc BORDER="0" HEIGHT="1" WIDTH="1" ALT="Advertisement">
The beginning of a sample JavaScript tag (typically used for HTML5 or rich media banners):
<SCRIPT language='JavaScript1.1' SRC="https://ad.doubleclick.net/ddm/adj/N300050839.134362FOXHULU/B90176049.2000357744;abr=!ie;sz=1x1;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;dc_sdk_apis=[APIFRAMEWORKS];dc_omid_p=[OMIDPARTNER];gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755};dc_tdv=1?"> </SCRIPT>
A sample pre-fetch tag (used for in-stream video and audio ads):
VAST 2.0 pre-fetch tag
https://ad.doubleclick.net/ddm/pfadx/N300050839.134362FOXHULU/B90176049.2000396259;sz=0x0;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;dc_tdv=1;dcmt=text/xml;dc_sdk_apis=[APIFRAMEWORKS];dc_omid_p=[OMIDPARTNER];gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755};dc_mpos=[BREAKPOSITION];ltd=
VAST 3.0 pre-fetch tag
https://ad.doubleclick.net/ddm/pfadx/N300050839.134362FOXHULU/B90176049.2000396259;sz=0x0;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;dc_tdv=1;dcmt=text/xml;dc_sdk_apis=[APIFRAMEWORKS];dc_omid_p=[OMIDPARTNER];dc_vast=3;gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755};dc_mpos=[BREAKPOSITION];ltd=
VAST 4.0 pre-fetch tag
https://ad.doubleclick.net/ddm/pfadx/N300050839.134362FOXHULU/B90176049.2000396259;sz=0x0;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;dc_tdv=1;dcmt=text/xml;dc_sdk_apis=[APIFRAMEWORKS];dc_omid_p=[OMIDPARTNER];dc_vast=4;gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755};dc_mpos=[BREAKPOSITION];ltd=
A sample tracking ad image tag for impressions:
<IMG SRC="https://ad.doubleclick.net/ddm/trackimp/N1315459.3748068PROGRAMMATICSERV/B29422130.359600204;dc_trk_aid=550722822;dc_trk_cid=186748336;ord=[timestamp];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;gdpr=${GDPR};gdpr_consent=${GDPR_CONSENT_755};ltd=;dc_tdv=1?" attributionsrc BORDER="0" HEIGHT="1" WIDTH="1" ALT="Advertisement">
A sample tracking ad tag for clicks:
https://ad.doubleclick.net/ddm/trackclk/N1315459.3748068PROGRAMMATICSERV/B29422130.359600204;dc_trk_aid=550722822;dc_trk_cid=186748336;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;ltd=;dc_tdv=1
While there is no special placement tag type for mobile devices, mobile sites, or apps, overall support can vary. The tables below can help you choose the right tags. You cannot pass device IDs into placement tags for click trackers. Use tracking ads instead.
Mobile web compatibilityImage | HTML5 | Rich media | In-stream (Video & Audio) |
VPAID | Tracking creative | |
---|---|---|---|---|---|---|
Standard | 1x1 only | |||||
Iframe/JavaScript | ||||||
JavaScript | ||||||
Pre-fetch | ||||||
Internal redirect | ||||||
Click tracker | ||||||
Tracking ad |
Image | HTML5 | Rich media | In-stream (Video & Audio) |
VPAID | Tracking creative | |
---|---|---|---|---|---|---|
Standard | 1x1 only | |||||
Iframe/JavaScript | ||||||
JavaScript | ||||||
Pre-fetch | ||||||
Internal redirect | ||||||
Click tracker | ||||||
Tracking ad |
Your tags will generally look the same whether they serve to mobile or non-mobile inventory. However, you may see some extra parameters(but only if your tags are secure).
dcapp=1
This parameter was used to distinguish in-app placements from in-page placements before the launch of the display compatibility. Youâll still see this parameter when you export tags for old in-app placements.
dc_muid=
The uppercase IDFA, Android ID, or AdID, run through an MD5-hash algorithm. The identifiers must use all capital letters before they are hashed. Campaign Manager 360 won't recognize MD5-hashed values of lowercase IDs. It's the publisher's responsibility to apply MD5 hashing to device identifiers.
Note: We strongly recommend using dc_rdid
to pass device identifiers instead of dc_muid
.
dc_ref=
This parameter can be added to placement tags to let publishers pass the exact URL where an impression serves. Publishers with complicated page layouts, such as nested iframes, may need to use this parameter to ensure that Campaign Manager 360 records the URL of the main webpage an impression occurs versus the location of the iframe. The URL passed in this parameter will then be used as a signal within Campaign Manager 360 Verification. This parameter is added automatically to internal redirects, and can be added manually to all other placement tag types.
Other parameters
In some cases, Campaign Manager 360 placement tags will include parameters that are not mentioned here because they are unique to specific Campaign Manager 360 accounts or related to features that are not widely used. If you have questions about an placement tag parameter that is not mentioned here, contact support.
Ad and creative setup
Mobile and HTML5There is no mobile-specific creative, but some creatives work better if you want to reach mobile devices or serve ads to mobile in-app inventory. HTML5 is a good option.
HTML5 for mobile
HTML5 is a widely supported option for mobile. Nearly any device and browser can support HTML5, and it's compatible with mobile in-app inventory. Here are some HTML5 creatives you can set up in Campaign Manager 360:
-
Display creatives can use images or HTML5. You can track clicks on each individual exit.
-
HTML5 banners use HTML5 assets.
Easy ways to create HTML5 assets
Google Web Designer (GWD)is a free tool that allows creative developers to build HTML5 creatives and deploy them in Campaign Manager 360.
Google Web Designer's Tap Area component is fully compatible with Campaign Manager 360. No custom code is required.
To add a click tag using a Tap Area:
- Be sure your ad has a button or other clear visual call-to-action element for the user to click or touch.
- Drag the Tap Area component from the Interaction folder of the Components panel to the stage, and position it over the call to action.
- Click the new event button in the Events panel.
- In the event dialog, select the following options:
Target The Tap Area component ( gwd-taparea_1
)Event Tap Area > Touch/Click Action Google Ad > Exit ad
Note: A similar action, Exit ad (overrides URL), doesn't allow you to modify the URL outside of the creative, such as within Studio or Campaign Manager 360, and should only be used for dynamic ads.
Receiver gwd-ad
Configuration - Metrics ID - A label (e.g., "CTA") to make reports easier to understand.
- URL - The exit URL.
- Collapse on exit - For expandable ads, check to collapse the ad when the user closes the ad.
- Pause media on exit - Check to stop video and audio playback when the user closes the ad.
- Collapsed page on exit - For expandable ads, the page to show when the user closes the ad.
If you plan to reach mobile devices, you may have placements on in-app inventory. In-app inventory includes placements on mobile applications that run on smartphones and tablets. Mobile apps may include gaming, dating, travel, or check-in applications. Your agreement with the publisher should specify whether youâve bought space in a mobile app.
You can apply all the same targeting criteria to ads you serve to mobile. But you may want to apply technology targeting to target device types, mobile carriers, and other mobile-related criteria.
Technology targeting
You can find technology targeting settings in your standard ad properties and targeting templates, along with your other targeting options. Learn about technology targeting
Only target when necessary
Remember that your ads can serve to mobile devices even if you don't target a device type. Only use targeting if you want to narrow the range of devices you reach, or limit other criteria. Campaign Manager 360 serves ads to all devices unless they are unsupported or excluded by your targeting criteria.
Floodlight and reporting
About Floodlight and reporting for mobile-
Floodlight: Floodlight works differently for placements on mobile apps. If you plan to use Floodlight conversion tracking to track app conversion activity (e.g., app installs), prepare by following the Floodlight in-app conversion tracking process.
-
Reporting: Reporting has special dimensions for mobile, such as carrier and connection type. Also, note that Data Transfer cannot distinguish cookie IDs for mobile devices from those on non-mobile devices. Learn about mobile reporting