Hi,

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.


Thanks,

Google Ads API Team


Feedback
How was our support today?


[2025-11-03 17:59:30Z GMT] This message is in relation to case 
"ref:!00D1U01174p.!500Ht01vSTwP:ref" (ADR-00338307)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/PpdBE000000000000000000000000000000000000000000000T55WN600Y6cBTIA7QKyBngy0c3rPDQ%40sfdc.net.
  • Ca... Aman Ansari
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to