Google Ads API: applyConversionGoals() and setCampaignObjective() Not Working

27 views
Skip to first unread message

dhrutish ramoliya

unread,
Feb 20, 2025, 8:04:10 AM2/20/25
to Google Ads API and AdWords API Forum

I'm implementing conversion goals and campaign objectives in Google Ads API, but neither applyConversionGoals() nor setCampaignObjective() are being applied.

  • API Version: Google Ads API V18

  • SDK: PHP

  • Issue Details:

    • applyConversionGoals() does not appear to apply the conversion goals successfully.
    • setCampaignObjective() is not found in the latest API.
    • No errors are thrown, but the expected behavior is not reflected in the campaign settings.
  • Questions:

    1. Are there specific conditions required for applyConversionGoals() to work?
    2. Is there a workaround to set campaign-level conversion goals since setCampaignObjective() seems unavailable?
    3. Has anyone successfully implemented conversion goals at the campaign level using the API?

I’d appreciate any insights or working code examples!

Google Ads API Forum Advisor

unread,
Feb 20, 2025, 10:50:07 AM2/20/25
to dhrutish...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

Campaign goals let you optimize specific campaigns for specific conversion actions. If you have campaigns with goals that differ from your account-level goals, you can modify each CampaignConversionGoal and its biddable setting as needed.

I would recommend you to check this documentation Campaign goals for more information.

I hope this helps!


 


Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-02-20 15:49:12Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH2qm:ref" (ADR-00289018)



Reply all
Reply to author
Forward
0 new messages