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.

Developers tab of a dynamic playlist with Google Ad Manager URL highlighted

Developers tab of a dynamic playlist with Google Ad Manager URL highlighted

​


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

  1. 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.
  2. 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.
  3. Click Save.
  4. Create a playlist URL for export to GAM.

    πŸ’‘

    To export content to GAM, you must define the format query parameter as googledfp (?format=googledfp). This will ensure GAM can ingest the output template of your URL.

  5. 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

  1. 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.
  2. 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.
  3. Click Save.
  4. Create a playlist URL for export to GAM.

    πŸ’‘

    To export content to GAM, you must define the format query parameter as googledfp (?format=googledfp). This will ensure GAM can ingest the output template of your URL.

  5. 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​.

  6. Follow Google's instructions to Ingest video content into Ad Manager.
  7. 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.

  1. In your GAM dashboard, click Video > Content Sources.
  2. Click the content source name. The Content source panel appears.
  3. Locate and copy the Source ID. The Source ID is the cmsid value.
  4. From the Ad Schedules list page in your JWP dashboard, click the name of the ad schedule.
  5. Click the + icon under Preroll, Midroll, or Postroll to expose the Tag URL.
  6. 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 and mediaid 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.