- HTTP request
- Request body
- Response body
- Authorization scopes
- ProductMetadata
- PlannableTargeting
- YouTubeSelectLineUp
- SurfaceTargetingCombinations
- Try it!
Returns the list of per-location plannable YouTube ad formats with allowed targeting.
List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError
HTTP request
POST https://googleads.googleapis.com/v18:listPlannableProducts
The URL uses gRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "plannableLocationId": string } |
Fields | |
---|---|
plannableLocationId |
Required. The ID of the selected location for planning. To list the available plannable location IDs use |
Response body
A response with all available products.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"productMetadata": [
{
object ( |
Fields | |
---|---|
productMetadata[] |
The list of products available for planning and related targeting metadata. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adwords
For more information, see the OAuth 2.0 Overview.
ProductMetadata
The metadata associated with an available plannable product.
JSON representation |
---|
{
"plannableProductName": string,
"plannableTargeting": {
object ( |
Fields | |
---|---|
plannableProductName |
The name associated with the ad product. |
plannableTargeting |
The allowed plannable targeting for this product. |
plannableProductCode |
The code associated with the ad product (for example: BUMPER, TRUEVIEW_IN_STREAM). To list the available plannable product codes use |
PlannableTargeting
The targeting for which traffic metrics will be reported.
JSON representation |
---|
{ "ageRanges": [ enum ( |
Fields | |
---|---|
ageRanges[] |
Allowed plannable age ranges for the product for which metrics will be reported. Actual targeting is computed by mapping this age range onto standard Google common.AgeRangeInfo values. |
genders[] |
Targetable genders for the ad product. |
devices[] |
Targetable devices for the ad product. TABLET device targeting is automatically applied to reported metrics when MOBILE targeting is selected for CPM_MASTHEAD, GOOGLE_PREFERRED_BUMPER, and GOOGLE_PREFERRED_SHORT products. |
networks[] |
Targetable networks for the ad product. |
youtubeSelectLineups[] |
Targetable YouTube Select Lineups for the ad product. |
surfaceTargeting |
Targetable surface combinations for the ad product. |
YouTubeSelectLineUp
A Plannable YouTube Select Lineup for product targeting.
JSON representation |
---|
{ "lineupId": string, "lineupName": string } |
Fields | |
---|---|
lineupId |
The ID of the YouTube Select Lineup. |
lineupName |
The unique name of the YouTube Select Lineup. |
SurfaceTargetingCombinations
The surface targeting combinations available for an ad product.
JSON representation |
---|
{ "defaultTargeting": { object ( |
Fields | |
---|---|
defaultTargeting |
Default surface targeting applied to the ad product. |
availableTargetingCombinations[] |
Available surface target combinations for the ad product. |