Campaign creation options

217 views
Skip to first unread message

Andrew Hrimov

unread,
Apr 1, 2022, 10:38:46 AM4/1/22
to Google Ads API and AdWords API Forum
Hello, I'm developing platform that allows to create-update-delete campaigns on GoogleAds (v10) using Python. At now, I do CUD operations for Smart Display Ad, and I have 2 misunderstandings about API. I have found how to manage almost all options exclude these ones:
campaign-problems.png
So, my questions are:
1. I've found how to set GeoTargets (create & update). But how can I set Target option to "Presence" via API? Which method to use (service, operation)?
location.png

2. How can I set Marketing objective to "Website traffic"?  Which method to use (service, operation)?

objective.png

Thanks in advance!

Andrew Hrimov

unread,
Apr 1, 2022, 10:59:57 AM4/1/22
to Google Ads API and AdWords API Forum
Hello again, GoogleAds Team!
According to second problem, the most close service seems CampaignConversionGoalService and closest way to solve it -- update existing ConversionGoals to achieve Website Traffic marketing objective. But it raises INCONSISTENT_FIELD_VALUES error for every resource_name.

Thanks in advance!
пятница, 1 апреля 2022 г. в 17:38:46 UTC+3, Andrew Hrimov:
example.py

Google Ads API Forum Advisor

unread,
Apr 1, 2022, 3:58:35 PM4/1/22
to andrew...@gmail.com, adwor...@googlegroups.com
Hi Andrew,

Campaign goals aren't supported in the API, they are in the UI for the purpose of narrowing down recommendations when setting up a campaign, something that isn't as useful in the API.

Regarding setting targeting style of  geotargets, you can use the CampaignService to set the PositiveGeoTargetType setting in GeoTargetTypeSetting. For specific help on Python implementation you can reach out to the issue tracker.

Regards,

 
Google Logo
Aryeh
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ZIqWs:ref

Andrew Hrimov

unread,
Apr 4, 2022, 6:38:05 AM4/4/22
to Google Ads API and AdWords API Forum
Hi, Aryeh,

Thanks a lot for your helping in this question, you saved my day ^_^


пятница, 1 апреля 2022 г. в 22:58:35 UTC+3, adsapi:

Google Ads API Forum Advisor

unread,
Apr 4, 2022, 7:03:14 AM4/4/22
to andrew...@gmail.com, adwor...@googlegroups.com
Hi Andrew,

Thank you for your email.

I am also a part of the Google Ads API team. We are glad to hear that. If you have further questions, please feel free to add those in this thread. Our team will be happy to assist and give support to you.

Regards,
Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ZIqWs:ref

SUBIN P VASU

unread,
Apr 19, 2024, 2:23:34 PM4/19/24
to Google Ads API and AdWords API Forum
Is it, Campaign Goals UPDATE, available in the API now?

Google Ads API Forum Advisor

unread,
Apr 22, 2024, 2:33:25 AM4/22/24
to subin...@gmail.com, adwor...@googlegroups.com
Hi,

Using campaign goals, you can optimize particular campaigns for specific conversion actions. If you have campaigns with objectives that diverge from your account-level goals, you can modify each CampaignConversionGoal and you can set the bids accordingly. I would recommend you to check this guide on Campaign goals for more information. But setting the goal type for campaigns is not supported through the API. 

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02ZIqWs:ref" (ADR-00100033)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages