# YouTube &amp; Partners resources

You can get YouTube \& Partners resources and their related targeting using the
Display \& Video 360 API. You can't use the API to create or update them. *You must use the*
*Display \& Video 360 UI to manage YouTube \& Partners resources*.

This page details YouTube \& Partners resources in the Display \& Video 360 API.

See the [YouTube \& Partners resource targeting page](https://developers.google.com/display-video/api/guides/concepts/targeting/youtube) for
more information on targeting.

## Relevant resources

Some line items subtypes and their child ad groups, and ads are YouTube \&
Partners resources.

### Line items

YouTube \& Partners line items have line item type values that use the prefix
`LINE_ITEM_TYPE_YOUTUBE_AND_PARTNERS_`.

Settings specific to YouTube \& Partners line items are in the
[`youtubeAndPartnersSettings`](https://developers.google.com/display-video/api/reference/rest/current/advertisers.lineItems#LineItem.FIELDS.youtube_and_partners_settings) field.

### Ad groups and ads

[`AdGroup`](https://developers.google.com/display-video/api/reference/rest/current/advertisers.adGroups) and [`AdGroupAd`](https://developers.google.com/display-video/api/reference/rest/current/advertisers.adGroupAds) resources under YouTube \& Partners
line items are YouTube \& Partners resources.

A YouTube \& Partners line item can have multiple [ad groups](https://developers.google.com/display-video/api/reference/rest/current/advertisers.adGroups) under it.
Each ad group has its own [additional targeting](https://developers.google.com/display-video/api/reference/rest/current/advertisers.adGroups.targetingTypes.assignedTargetingOptions) and [bidding
strategy](https://developers.google.com/display-video/api/reference/rest/current/advertisers.adGroups#AdGroup.FIELDS.bid_strategy). Each ad group can have multiple [ads](https://developers.google.com/display-video/api/reference/rest/current/advertisers.adGroupAds) of the
same [ad format](https://developers.google.com/display-video/api/reference/rest/current/advertisers.adGroups#AdGroupFormat). Each ad has its own [creative
information](https://developers.google.com/display-video/api/reference/rest/current/advertisers.adGroupAds#AdGroupAd.FIELDS.oneof_ad_details) and [list of tracking URLs](https://developers.google.com/display-video/api/reference/rest/current/advertisers.adGroupAds#AdGroupAd.FIELDS.ad_urls).

## Structured Data File upload

You can't create or update YouTube \& Partners resources using the Display \& Video 360 API,
but you can by uploading Structured Data Files (SDFs). [Upload SDFs through the
Display \& Video 360 UI](https://support.google.com/displayvideo/answer/6301070) to create and update YouTube \& Partners line
items, ad groups, and ads in bulk.

These resources are set in SDF through the [Line Item](https://developers.google.com/display-video/api/structured-data-file/v9-2/LineItem), [Ad
Group](https://developers.google.com/display-video/api/structured-data-file/v9-2/AdGroup), and [Ad](https://developers.google.com/display-video/api/structured-data-file/v9-2/AdGroupAd) file formats.

Use the [Display \& Video 360 API to generate and download SDFs](https://developers.google.com/display-video/api/guides/tasks/download-sdf/overview). Each
row in an SDF is a resource. Edit rows to make changes to resources and add new
rows to build new resources. Upload updated files through the Display \& Video 360
UI.