RE: create app campaign failed using google ads java sdk

53 views
Skip to first unread message
Message has been deleted

Google Ads API Forum Advisor

unread,
Dec 12, 2022, 1:07:10 PM12/12/22
to cdd...@gmail.com, adwor...@googlegroups.com

Hi,
 

Thanks for reaching out to the Google Ads API team. I hope you are doing well today.
 

Upon checking your concern, It appears that you encountered the UNKNOWN error "The received error code is not known in this version." Also, you mentioned creating an app campaign in google ads UI and you copy the parameter and use google ads java sdk to create an app campaign. With this, could you try to create the apps campaign via this guide and  App Campaign code. This guide contains information on how to create apps campaign via Google Ads API. When you're done trying the said guide, let us know if you still ran into the UNKNOWN error "The received error code is not known in this version."


Regards,

Google Logo
Darwin
Google Ads API Team
 


ref:_00D1U1174p._5004Q2h1v7h:ref

qa cddpqa

unread,
Dec 13, 2022, 12:05:58 AM12/13/22
to Google Ads API and AdWords API Forum
Hi,

Thanks for your reply.

The request/response i provided is use the guide you mentioned above.
I am trying to create an app campaign via https://developers.google.com/google-ads/api/docs/app-campaigns/create-campaign#focus_install_action, but got an error response.It looks likely caused by param "selective_optimization".So I think I could copy the param "selective_optimization" from an app campaign created in google ads UI to fix it but still failed. The response just contains an UNKNOWN code and no other useful info.

Google Ads API Forum Advisor

unread,
Dec 13, 2022, 4:32:40 AM12/13/22
to cdd...@gmail.com, adwor...@googlegroups.com

Hi,

This is Marjorie from the Google Ads API team as well. Thank you for getting back to us.

With regards to your concern, could you try and use a non goal conversion action when specifying it in the selective_optimization attribute of the app campaign? Let us know how this goes on your end.

I had to delete your first post as posting complete logs publicly is not recommended.

Regards,

Google Logo
Marjorie
Google Ads API Team
 


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