Hi,

I'm trying to create a Bidding Strategy of Type 'Target Spend' (Maximize 
clicks) with an Standard Strategy as Google Adwords does:

<https://lh3.googleusercontent.com/-WsZOOC521DM/WcI6NONiJeI/AAAAAAAAAlM/_1VIaH3Wh68uxli7NG8gNlbvgfysl9pBQCLcBGAs/s1600/Captura%2Bde%2Bpantalla%2Bde%2B2017-09-20%2B11%253A35%253A53.png>


This is the sent request:

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv=
"http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"; xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance";>
    <soapenv:Header>
        <ns1:RequestHeader xmlns:ns1=
"https://adwords.google.com/api/adwords/cm/v201702"; soapenv:mustUnderstand=
"0">
            <ns1:clientCustomerId>00000000002823492564
</ns1:clientCustomerId>
            <ns1:developerToken>REDACTED</ns1:developerToken>
            <ns1:userAgent>xxxxxx...@gmail.com (AwApi-Java, 
AdWords-Axis/3.7.0, Common-Java/3.7.0, Axis/1.4, Java/1.8.0_144, maven)
</ns1:userAgent>
            <ns1:validateOnly>false</ns1:validateOnly>
            <ns1:partialFailure>true</ns1:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201702";>
            <operations>
                <operator>ADD</operator>
                <operand>
                    <biddingScheme xmlns:ns2=
"https://adwords.google.com/api/adwords/cm/v201702"; xsi:type=
"ns2:TargetSpendBiddingScheme">
                        <bidCeiling>
                            <microAmount>10000000</microAmount>
                        </bidCeiling>
                        <enhancedCpcEnabled>true</enhancedCpcEnabled>
                    </biddingScheme>
                    <status>ENABLED</status>
                    <type>TARGET_SPEND</type>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>
</soapenv:Envelope>


This is the response:

<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap=
"http://schemas.xmlsoap.org/soap/envelope/";>
    <soap:Header>
        <ResponseHeader xmlns=
"https://adwords.google.com/api/adwords/cm/v201702";>
            <requestId>0005599bc24945500a37a8cf6806a29a</requestId>
            <serviceName>BiddingStrategyService</serviceName>
            <methodName>mutate</methodName>
            <operations>1</operations>
            <responseTime>239</responseTime>
        </ResponseHeader>
    </soap:Header>
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Server</faultcode>
            <faultstring>[RequiredError.REQUIRED @ 
operations[0].operand.name]</faultstring>
            <detail>
                <ApiExceptionFault xmlns=
"https://adwords.google.com/api/adwords/cm/v201702";>
                    <message>[RequiredError.REQUIRED @ 
operations[0].operand.name]</message>
                    <ApplicationException.Type>ApiException
</ApplicationException.Type>
                    <errors xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"; xsi:type="RequiredError">
                        <fieldPath>operations[0].operand.name</fieldPath>
                        <fieldPathElements>
                            <field>operations</field>
                            <index>0</index>
                        </fieldPathElements>
                        <fieldPathElements>
                            <field>operand</field>
                        </fieldPathElements>
                        <fieldPathElements>
                            <field>name</field>
                        </fieldPathElements>
                        <trigger/>
                        <errorString>RequiredError.REQUIRED</errorString>
                        <ApiError.Type>RequiredError</ApiError.Type>
                        <reason>REQUIRED</reason>
                    </errors>
                </ApiExceptionFault>
            </detail>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

It seems that the 'name' field is missing, but I'm not creating a Portfolio 
Strategy.

How can I create a Maximise Click Bidding strategy with Standard strategy 
type?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@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/210ed37d-6679-4e29-b2d7-f8dbf47e82c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Set Standard St... rafa . romero
    • Re: Set St... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to