Export video content to GAM
By using an MRSS feed, you can ingest all of your videos into Google Ad Manager. The MRSS feed provides Google Ad Manager with information about the hosted or registered videos in your JWP account. With this additional information, you can target ads to specific videos, content bundles, and metadata within Google Ad Manager.
Requirements
- Active Google Ad Manager account with advanced video features enabled
- Dynamic playlist, sorted by Most Recently Published
Export video content
Exporting 500 videos or less
- From your list of playlists, click the name of a dynamic playlist. If you do not have a dynamic playlist or want to create a new dynamic playlist, follow these instructions to create a dynamic playlist.
- On the BASIC tab in the Order section, confirm that Most Recently Published is selected from the Sort by dropdown menu. Google Ad Manager does not accept playlists sorted in different orders.
- Click Save.
- Create a playlist URL for export to GAM.
To export content to GAM, you must define the
format
query parameter asgoogledfp
(?format=googledfp
). This will ensure GAM can ingest the output template of your URL. - Follow Google's instructions to Ingest video content into Ad Manager.
If a video appears in multiple dynamic playlists, Google Ad Manager will create multiple records for the same video when the feed content is imported into the platform.
In a single call, you can export up to 500 videos. For more than 500 videos, dynamic playlists can be used to export batches of videos up to 10,000. Follow the instructions in the following "Exporting more than 500 videos" section.
Exporting more than 500 videos
- From your list of playlists, click the name of a dynamic playlist. If you do not have a dynamic playlist or want to create a new dynamic playlist, follow these instructions to create a dynamic playlist.
- On the BASIC tab in the Order section, confirm that Most Recently Published is selected from the Sort by dropdown menu. Google Ad Manager does not accept playlists sorted in different orders.
- Click Save.
- Create a playlist URL for export to GAM.
To export content to GAM, you must define the
format
query parameter asgoogledfp
(?format=googledfp
). This will ensure GAM can ingest the output template of your URL. - Add page_limit (500 or less) and page_offset (multiples of 500 or less) parameters to the Google Ad Manager URL for each batch of 500 videos to be exported.
For example, you would use the following URLs to export 520 videos:
- For the first 500 of videos, use the following URL:
https://cdn.jwplayer.com/v2/playlists/{playlist_id}?format=googledfp&page_limit=500&page_offset=1
. - For the next 20 videos, use the following URL:
https://cdn.jwplayer.com/v2/playlists/{playlist_id}?format=googledfp&=500&page_offset=500
.
- For the first 500 of videos, use the following URL:
- Follow Google's instructions to Ingest video content into Ad Manager.
- Repeat steps 4-6 until all videos have been exported.
Update the ad tag
After exporting your playlist into GAM, you must append Google's cmsid
(unique number for each content source) and vid
(string or number identifying a particular piece of video content) parameters to your ad tag. Appending the cmsid
and vid
to your ad tag allows you to target ads to specific videos, content bundles, and metadata within Google Ad Manager.
- In your GAM dashboard, click Video > Content Sources.
- Click the content source name. The Content source panel appears.
- Locate and copy the Source ID. The source ID is the
cmsid
value. - From the Ad Schedules list page in your JWP dashboard, click the name of the ad schedule.
- Click the + icon under Preroll, Midroll, or Postroll to expose the Tag URL.
- In the Tag URL text box, at the end of the ad tag, append &cmsid={SourceID}&vid=__item-mediaid__. Be sure to replace
{SourceID}
with the source ID value from GAM.
As an example, if your SourceID is 9999999, append &cmsid=9999999&vid=__item-mediaid__ to your ad tag. The JWP__item-mediaid__
macro will be dynamically replaced with the JWP media ID of the currently playing video.
If you need to use a specific quality version for a video (for example, 300p), be sure that you or your developer resource defines both the
file
andmediaid
for the video within the playlist object.
By default when you associate a video to a player in the dashboard, a URL that contains multiple quality versions of the video is generated.
Updated about 1 month ago