Hi team,
I heard that starting in July, video campaigns will transition to Demand Gen campaigns. Because of that, we need to start creating Demand Gen campaigns where the goal is YouTube engagement (like views and interactions).
Can you please help with the following?
Is it possible to set YouTube engagement as the campaign goal in a Demand Gen campaign?
I’m looking for a code example to create:
The campaign
The ad group
And the YouTube ad (or creative)
I’ve tried looking through the documentation, but I couldn’t find a clear example for this specific case.
Thanks a lot for your help!
Best,
Ashish Chaturvedi
Request Body: =============== POST https://googleads.googleapis.com/v19/customers/{customerId}/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/{customerId}/adGroups/{adGroupId}", "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/{customerId}/assets/{assetId}" //YouTube Video asset ID } ], "logoImages": [ { "asset": "customers/{customerId}/assets/{assetId}" } ], "breadcrumb1": "demand gen", "breadcrumb2": "video", "businessName": { "text": "Video Ads business" }, "callToActions": [ { "asset": "customers/{customerId}/assets/{assetId}" } ] }, "name": "Demand gen video responsive", "finalUrls": [ "https://www.example.com" ] } } } ] } Response: =========== HTTP/1.1 200 content-encoding: gzip content-length: 121 content-type: application/json; charset=UTF-8 date: Tue, 22 Apr 2025 23:07:43 GMT server: ESF vary: Origin, X-Origin, Referer { "results": [ { "resourceName": "customers/{customerId}/adGroupAds/{adGroupId}~{adId}" } ] }
![]() |
Google Ads API Team |
[2025-04-24 18:31:40Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qUrGN:ref" (ADR-00301549)