Getting InternalApiError.UNEXPECTED_INTERNAL_API_ERROR

63 views
Skip to first unread message

Mahavir

unread,
Feb 5, 2019, 3:37:36 AM2/5/19
to AdWords API and Google Ads API Forum
Hi I am trying to create campaign with BiddingStrategyConfiguration but I am getting bellow error.

Please check attached my request.

Fatal error:  Uncaught Google\AdsApi\AdWords\v201809\cm\ApiException: [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro] in C:\xampp\htdocs\google\googleads-php-lib\src\Google\AdsApi\Common\Util\Reflection.php:43
Stack trace:

Please let me know what I am doing wrong here.

Thanks.

myRequest.log

googleadsapi...@google.com

unread,
Feb 5, 2019, 5:54:20 AM2/5/19
to adwor...@googlegroups.com
Hi Vijaysinh,

The UNEXPECTED_INTERNAL_API error could indicate a temporary issue in the AdWords servers or could be due to a bug. That said, could you confirm if you encountered this only once or consistently? Also, so our team could further investigate the cause, could you provide to me the complete SOAP request and response logs that were generated when the error occurred?

You may reply using the Reply privately to author option.

Thanks and regards,
Peter
AdWords API Team

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/1edc1b5d-1c10-405d-a515-b53932d7ca67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mahavir

unread,
Feb 7, 2019, 2:57:51 PM2/7/19
to AdWords API and Google Ads API Forum
as your message I have changed bidding strategy so its working now.

I have attached screenshot from adwords UI.. Could you please let me know how to set those value which is in screenshot using adwords api?
Capture.PNG

googleadsapi...@google.com

unread,
Feb 7, 2019, 6:01:31 PM2/7/19
to AdWords API and Google Ads API Forum
Hi Vijaysinh,

In your UI screenshot, only the Target CPA can be set via API as below:

<biddingStrategyConfiguration>
<biddingStrategyType>TARGET_CPA</biddingStrategyType>
<biddingScheme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TargetCpaBiddingScheme">
<BiddingScheme.Type>TargetCpaBiddingScheme</BiddingScheme.Type>
<targetCpa>
<ComparableValue.Type>Money</ComparableValue.Type>
<microAmount>1770000</microAmount>
</targetCpa>
</biddingScheme>
</biddingStrategyConfiguration>

I will pass on request to my team to have the other fields be available via API. Please keep an eye on the blog for any future updates.

Regards,
Dhanya, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

Reply all
Reply to author
Forward
0 new messages