Hi,

Please be informed that I have removed your response from the forums as it 
contains the PII information.

Initially, the screenshot you shared contains only the campaign goals as 
'Clicks' that's the reason we have suggested you to use the 'TARGET_SPEND' as a 
bidding strategy. However, the current screenshot which you have provided 
includes the 'Campaign Goal' and 'Target cost per click' field as well where 
you are manually setting the target cost per click. In this scenario you 
shouldn't use the 'targetSpend' instead you should use the 'targetCpc' as a 
bidding strategy and you need to pass the 'targetCpcMicros' with some value. 
This will allow you to create the demand gen campaign exactly as per your 
screenshot. However, I am providing you the sample request body as per your 
requirement:

{
  "operations": [
    {
      "create": {
        "advertisingChannelType": "DEMAND_GEN",
        "name": "Demand gen campaign cpc new23",
        "campaignBudget": 
"customers/{customerId}/campaignBudgets/{campaignBudgetId}",
        "status": "ENABLED",
        "containsEuPoliticalAdvertising": 
"DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING",
        "targetCpc": {
          "targetCpcMicros": 1000000
        }
      }
    }
  ]
}

We have tried this approach and we were able to successfully replicate the 
scenario as per your screenshot from our end. I would suggest you to try 
passing these fields in your request body and let us know how it goes from your 
end as well.

Thanks,

Google Ads API Team


Feedback
How was our support today?


[2025-10-17 03:12:26Z GMT] This message is in relation to case 
"ref:!00D1U01174p.!500Ht01szPi2:ref" (ADR-00330269)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/Z1PJt000000000000000000000000000000000000000000000T49A8Q00SxbWlz2sRhyOYD7aMrVNGw%40sfdc.net.
  • De... Ashish Chaturvedi (Ashu)
    • ... flywheel
    • ... flywheel
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to