How to set the campaign objective via Google Ads Api

194 views
Skip to first unread message

Alex

unread,
Feb 21, 2022, 5:51:16 PM2/21/22
to Google Ads API and AdWords API Forum
Hi, I'm using the Google Ads rest interface (since there is no official library for node.js) to create a SEARCH type campaign. Everything is working OK but I haven't been able to figure out how to set the 'Campaign Objective'? The UI shows 3 options, Sales, Leads and Website traffic (images attached).

I'd like to know what rest resource / mutate operation is responsible for setting this value?

Thanks,

A.

Screen Shot 2022-02-22 at 8.40.52 am.png
Screen Shot 2022-02-22 at 8.41.02 am.png

Google Ads API Forum Advisor

unread,
Feb 22, 2022, 1:31:58 AM2/22/22
to alexa...@targetable.com, adwor...@googlegroups.com
Hi Alex,

Thank you for raising this concern to Google Ads API Team.

With regard to your concern, setting the campaign objective, which should be similar to conversion goals, are supported starting API version 10. You can check on this guide for more information.

Best regards,
Google Logo
Jinky
Google Ads API Team
 

 

ref:_00D1U1174p._5004Q2WxnOu:ref

5424...@qq.com

unread,
Feb 22, 2022, 10:08:18 PM2/22/22
to Google Ads API and AdWords API Forum
Hi, team

It seems the campaign conversion goal  is different with campaign objective.

objective is in range of 

(
  Sales

  Leads

  Website traffic

  Product and brand consideration

  Brand awareness and reach

  App promotion

  Local store visits and promotions

  Create a campaign without a goal's guidance
)

while consersion origin  is in range of 

(
  UNSPECIFIED
 
 UNKNOWN

  WEBSIT

GOOGLE_HOSTED 

APP 

CALL_FROM_ADS 

STORE 

YOUTUBE_HOSTED


and  consersion action category in range of 

(
UNSPECIFIED 
UNKNOWN 
DEFAULT 
PAGE_VIEW 
PURCHASE 
SIGNUP 
LEAD 
DOWNLOAD 
ADD_TO_CART 
BEGIN_CHECKOUT 
SUBSCRIBE_PAID 
PHONE_CALL_LEAD 
IMPORTED_LEAD 
SUBMIT_LEAD_FORM 
BOOK_APPOINTMENT 
REQUEST_QUOTE 
GET_DIRECTIONS 
OUTBOUND_CLICK 
CONTACT 
ENGAGEMENT 
STORE_VISIT 
STORE_SALE 
)

Is there some relations between the conversion goals and objective?

And how can I get the real objective value of the campaign as I got the conversion goals?

Best regards
Reply all
Reply to author
Forward
0 new messages