Campaign Goal Selection Problem

15 views
Skip to first unread message

Aman Ansari

unread,
Nov 3, 2025, 9:44:17 AM (yesterday) Nov 3
to Google Ads API and AdWords API Forum
API Version: v22
Issue Type: Campaign Conversion Goal Configuration
Problem Description:
When creating Demand Generation campaigns via Google Ads API v22, campaigns are defaulting to "Conversions" as the campaign goal instead of "YouTube engagements".
Current Behavior:
- Campaign goal shows "Conversions" in Google Ads UI
- Zero conversions are being tracked despite user engagement
- Campaign optimization is not functioning properly
Expected Behavior:
- Campaign goal should show "YouTube engagements"
- Conversions should be tracked for YouTube engagement actions
- Campaign optimization should work based on YouTube engagement data
Question:
How can I programmatically set "YouTube engagements" as the campaign goal when creating campaigns via Google Ads API v22?
Additional Information:
- Manual selection of "YouTube engagements" in the Google Ads UI works correctly
- API method for setting this goal is unclear from documentation
- This is blocking campaign optimization for YouTube engagement objectives
image (4).png

Google Ads API Forum Advisor

unread,
Nov 3, 2025, 1:00:28 PM (yesterday) Nov 3
to ansar...@gmail.com, adwor...@googlegroups.com
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 Logo Google Ads API Team

Feedback
How was our support today?

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



Reply all
Reply to author
Forward
0 new messages