Thank you for contacting the Google Ads API support team.
You can include YouTube video-based ads within a Demand Gen Campaign utilizing the Google Ads API. This requires creating a DemandGenVideoResponsiveAdInfo object and populating its videos field with the relevant YouTube video asset IDs. For detailed guidance on creating ads using the Google Ads API, please refer to the adGroupAds.mutate method. We can provide sample request and response logs as needed.
Sample Request:
POST https://googleads.googleapis.com/v22/customers/5295995858/adGroupAds:mutate?key=[YOUR_API_KEY] HTTP/1.1
developer-token: **********************
Authorization: Bearer [YOUR_ACCESS_TOKEN]
Accept: application/json
Content-Type: application/json
{
"operations": [
{
"create": {
"adGroup": "customers/5295995858/adGroups/161924286426",
"status": "ENABLED",
"ad": {
"demandGenVideoResponsiveAd": {
"headlines": [
{
"text": "demand gen video ad"
}
],
"descriptions": [
{
"text": "a good demand gen video responsive ad"
}
],
"longHeadlines": [
{
"text": "a long headline for the demand gen video responsive ad"
}
],
"videos": [
{
"asset": "customers/5295995858/assets/170442664562"
}
],
"logoImages": [
{
"asset": "customers/5295995858/assets/139362000874"
}
],
"breadcrumb1": "demand gen",
"breadcrumb2": "video",
"businessName": {
"text": "Video Ads business"
},
"callToActions": [
{
"asset": "customers/5295995858/assets/176858192812"
}
]
},
"name": "Demand gen video responsive",
"finalUrls": [
"https://www.example.com"
]
}
}
}
]
}
I hope it helps. Kindly get back to us if you have any further questions or concerns related to the Google Ads API.
![]() |
Google Ads API Team |
[2025-11-03 17:59:30Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01vSTwP:ref" (ADR-00338307)