Hi everyone,
I'm currently working with the Google Ads API v18 to create a Demand Gen Video Responsive Ad, and I've run into a confusing issue when trying to initialize the DemandGenVideoResponsiveAdInfo.
When I attempt to initialize the object like this:
So I’m stuck between two approaches — one gives a dict initialization error, and the other says the object is not callable.
Could anyone please clarify the correct way to instantiate and populate DemandGenVideoResponsiveAdInfo in v18?
Share my code.
Any working code example would be greatly appreciated.
Thanks in advance!
Hi,
Thank you for reaching out to the Google Ads API support team.
I understand you're encountering a "dict: google.ads.googleads.v18.common.DemandGenVideoResponsiveAdInfo" error when creating a Demand Gen Video Responsive Ad.
While the official Google Ads API documentation details the structure of DemandGenVideoResponsiveAdInfo, it lacks a direct, code example for its instantiation.
To help you get started with creating Demand Gen campaigns and ads, please review these resources:
To help us investigate the specific error you are seeing, please provide the complete API logs (request and response logs with request-id and request header) generated on your end.
If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guide Python to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.
You can send the details via Reply privately to the author option, or direct private reply to this email.
![]() |
Google Ads API Team |
[2025-03-26 14:56:13Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vHCni:ref" (ADR-00296684)