InternalApiError.UNEXPECTED_INTERNAL_API_ERROR

30 views
Skip to first unread message

Alexey Polotnyanko

unread,
Aug 29, 2014, 7:00:10 AM8/29/14
to adwor...@googlegroups.com
Hello!

I'm trying to create campaign and it fails with %subj error.
What's wrong?

Request is:
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="https://adwords.google.com/api/adwords/cm/v201406" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <env:Header>
      <wsdl:RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/v201406">
         <userAgent>AwApi-Ruby/0.13.1, Common-Ruby/0.9.5, Savon/1.2.0, ruby/1.9.3, HTTPI/1.1.1, curb)</userAgent>
         <developerToken>my_token</developerToken>
         <clientCustomerId>my_customer_id</clientCustomerId>
         <partialFailure>true</partialFailure>
      </wsdl:RequestHeader>
   </env:Header>
   <env:Body>
      <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201406">
         <operations>
            <operator>ADD</operator>
            <operand>
               <name>Коллекции</name>
               <budget>
                  <budgetId>299055549</budgetId>
               </budget>
               <settings xsi:type="KeywordMatchSetting">
                  <optIn>true</optIn>
               </settings>
               <networkSetting>
                  <targetGoogleSearch>true</targetGoogleSearch>
                  <targetSearchNetwork>true</targetSearchNetwork>
                  <targetContentNetwork>true</targetContentNetwork>
                  <targetPartnerSearchNetwork>false</targetPartnerSearchNetwork>
               </networkSetting>
               <biddingStrategyConfiguration>
                  <biddingStrategyType>MANUAL_CPC</biddingStrategyType>
               </biddingStrategyConfiguration>
            </operand>
         </operations>
      </mutate>
   </env:Body>
</env:Envelope>

Josh Radcliff (AdWords API Team)

unread,
Aug 29, 2014, 9:41:21 AM8/29/14
to adwor...@googlegroups.com
Hi,

I noticed that your request is missing the advertisingChannelType. This field is required starting with v201402. Please include that element in your request and try again.

Thanks,
Josh, AdWords API Team

Alexey Polotnyanko

unread,
Aug 30, 2014, 5:45:52 AM8/30/14
to adwor...@googlegroups.com
Thank you.

пятница, 29 августа 2014 г., 17:41:21 UTC+4 пользователь Josh Radcliff (AdWords API Team) написал:
Reply all
Reply to author
Forward
0 new messages