How to set Maximize Conversions bidding in a Display Campaign

68 views
Skip to first unread message

Meir Mouyal

unread,
Nov 11, 2021, 5:28:52 AM11/11/21
to AdWords API and Google Ads API Forum
Through the UI I can set the Maximize Conversions bidding in a Display Campaign, however I can't seem to do the same thing through the Ads API.

Can it be done?

Thanks :D

Google Ads API Forum Advisor

unread,
Nov 11, 2021, 11:52:34 AM11/11/21
to meca...@gmail.com, adwor...@googlegroups.com
Hi Meir,

Version 9 of the API allows Maximize conversions in a display campaign while version 8 doesn't, could you try with version 9?

Here is a template CURL for the change:

curl -i --request POST https://googleads.googleapis.com/v9/customers/{cId}/campaigns:mutate \
--header "Content-Type: application/json" \
--header "login-customer-id: {logincid}" \
--header "developer-token: {devtoken}" \
--header "Authorization: Bearer {access token}" \
--data "{
  'operations': [
    {
     'update': {
    'resourceName': 'customers/{cid}/campaigns/{campaignId}',
    'maximizeConversions': {
     
    }
  },
  'updateMask': 
    
     'maximizeConversions.targetCpa'
  }
    
  ],
  "partialFailure": true,
  "validateOnly":false
}
"

ref:_00D1U1174p._5004Q2R8BHG:ref

Meir Mouyal

unread,
Nov 11, 2021, 12:52:44 PM11/11/21
to AdWords API and Google Ads API Forum
Hey there!

Yeep, it seems to work with v9.

However it doesn't seem correct to have the "updateMask" set to "maximizeConversions.targetCpa" when its not even in the "update" object.

The documentation should also be updated, as it states that it's only possible to use it with Search Campaigns.

Thanks for the quick reply! :)

Google Ads API Forum Advisor

unread,
Nov 11, 2021, 9:21:13 PM11/11/21
to meca...@gmail.com, adwor...@googlegroups.com
Hi Meir,

You can exclude the target CPA from being set in your API request.

There's a Display guide for Smart Bidding linked in the Help Center. From that guide, you can find information that it says not to set the target CPA for maximize conversions in Display campaigns.

As for the documentation update that you pointed out, allow me to raise this to the rest of our team. As this will be a documentation update, you may revisit the documentation from time to time to see whether the updates have been applied.

Best regards,

Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey
 
Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2R8BHG:ref
Reply all
Reply to author
Forward
0 new messages