The instructions are only applicable if you are presently using Google Publisher Tag on the inventory you are representing. This tag change won't affect your current ad serving.
Once Multiple Customer Management is enabled, the existing Google Publisher Tag should be updated to add the child network code to the ad unit definition on the page in order to use inventory management. The ad unit remains configured in the parent's Ad Manager network. Use the tag generator or manually update the JavaScript.
GPT code sample
<head>
<script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>
<script>
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag
.defineSlot('/1234567,1234/Travel', [300, 250], 'div-gpt-ad-1568729559138-0');
[...]
}
</script>
</head>
The highlighted parameter, 1234
, represents the network code for the child publisher. 1234567
represents the parent network code.
In the code on the page, you must add the highlighted parameter to the .defineSlot()
function. This will allow the child publisher network to be recognized and help creatives serve correctly when “Manage Inventory” is enabled. No changes to the line items or targeting are necessary.
After you invite a child publisher to use MCM, make sure your child site is approved and marked "Ready." Allow about 4 to 5 hours after child site approval before updating the GPT tag with the child's network code.
Video tag sample
https://pubads.g.doubleclick.net/gampad/ads?iu=/1234567,1234/topleveladunit&description_url=https%3A%2F%2Fgoogle.com&tfcd=0&npa=0&sz=640x480&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&correlator=[placeholder]&vpmute=0&vpa=click&url=https%3A%2F%2Fgoogle.com&vpos=
preroll&rdid=[placeholder]&is_lat=[placeholder]&idtype=rida&an=abc
App tag sample
For MCM Manage Inventory, update the app ad unit code with the parent and child network similar to the display GPT tag. In addition, you should also claim the child publisher's app. The following segment must be placed within the code block: /1234567,1234/parent_ad_unit
.
1234567
represents the parent network code, while parent_ad_unit
represents the name of the ad unit in the MCM MI parent network.
Refer to the corresponding SDK documentation (Android, iOS) for specific methods to set the ad unit ID within your app.
Create a child publisher report
- Sign in to Google Ad Manager.
- Click Reporting and then Reports.
- Click New report.
The "Historical" report type is selected by default. - Enter a meaningful name for the report.
- Select dimensions and metrics:
- Required: "Child network code" dimension
- Optional: All other dimensions and metrics
- Click Run.
Learn more about Ad Manager reporting.