Hi,

I try to migrate to API v201705 (Java SDK) and there is a change in Bidding 
Strategy settings. In latest API version it is not possible to set bidding 
strategy at ad group level.(source: 
https://developers.google.com/adwords/api/docs/guides/migration/v201705) 
So, I followed the migration guide and moved bidding strategy settings to 
the campaign level, but I got following 
error(BiddingErrors.BIDS_NOT_ALLLOWED) I use Manual CPC strategy and I want 
to set Max CPC Bid. I found in Reference, that it is not possible to set 
Bid at the campaign level. 
(soruce: 
https://developers.google.com/adwords/api/docs/reference/v201705/CampaignService.Campaign#biddingstrategyconfiguration)
 

Is there some way how to set Max CPC bid for whole campaign/ad group like 
in older versions? Thank you. 

Response:
   <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
    <soap:Header>
        <ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201705";>
            <requestId>00055289eb15ade80a374152c7090c8f</requestId>
            <serviceName>CampaignService</serviceName>
            <methodName>mutate</methodName>
            <operations>1</operations>
            <responseTime>255</responseTime>
        </ResponseHeader>
    </soap:Header>
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Server</faultcode>
            <faultstring>[BiddingErrors.BIDS_NOT_ALLLOWED @ 
operations[0].operand.biddingStrategyConfiguration.bids]</faultstring>
            <detail>
                <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201705";>
                    <message>[BiddingErrors.BIDS_NOT_ALLLOWED @ 
operations[0].operand.biddingStrategyConfiguration.bids]</message>
                    
<ApplicationException.Type>ApiException</ApplicationException.Type>
                    <errors 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="BiddingErrors">
                        
<fieldPath>operations[0].operand.biddingStrategyConfiguration.bids</fieldPath>
                        <fieldPathElements>
                            <field>operations</field>
                            <index>0</index>
                        </fieldPathElements>
                        <fieldPathElements>
                            <field>operand</field>
                        </fieldPathElements>
                        <fieldPathElements>
                            <field>biddingStrategyConfiguration</field>
                        </fieldPathElements>
                        <fieldPathElements>
                            <field>bids</field>
                        </fieldPathElements>
                        <trigger/>
                        
<errorString>BiddingErrors.BIDS_NOT_ALLLOWED</errorString>
                        <ApiError.Type>BiddingErrors</ApiError.Type>
                        <reason>BIDS_NOT_ALLLOWED</reason>
                    </errors>
                </ApiExceptionFault>
            </detail>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

Request:
<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/v201705"; 
soapenv:mustUnderstand="0">
            <ns1:clientCustomerId>REDACTED</ns1:clientCustomerId>
            <ns1:developerToken>REDACTED</ns1:developerToken>
            <ns1:userAgent>ROI-Hunter (AwApi-Java, AdWords-Axis/3.4.0, 
Common-Java/3.4.0, Axis/1.4, Java/1.8.0_72, maven)</ns1:userAgent>
            <ns1:validateOnly>false</ns1:validateOnly>
            <ns1:partialFailure>false</ns1:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201705";>
            <operations>
                <operator>ADD</operator>
                <operand>
                    <name>DYN_REM Product views 9oq</name>
                    <status>ENABLED</status>
                    <servingStatus>NONE</servingStatus>
                    <startDate>20170622</startDate>
                    <endDate>20270622</endDate>
                    <budget>
                        <budgetId>1141944191</budgetId>
                    </budget>
                    
<adServingOptimizationStatus>CONVERSION_OPTIMIZE</adServingOptimizationStatus>
                    <frequencyCap>
                        <impressions>6</impressions>
                        <timeUnit>DAY</timeUnit>
                        <level>CREATIVE</level>
                    </frequencyCap>
                    <settings 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201705"; 
xsi:type="ns2:GeoTargetTypeSetting">
                        
<ns2:Setting.Type>GeoTargetTypeSetting</ns2:Setting.Type>
                        
<ns2:positiveGeoTargetType>DONT_CARE</ns2:positiveGeoTargetType>
                        
<ns2:negativeGeoTargetType>DONT_CARE</ns2:negativeGeoTargetType>
                    </settings>
                    <settings 
xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201705"; 
xsi:type="ns3:ShoppingSetting">
                        <ns3:Setting.Type>ShoppingSetting</ns3:Setting.Type>
                        <ns3:merchantId>117137769</ns3:merchantId>
                        <ns3:salesCountry>ZZ</ns3:salesCountry>
                        <ns3:campaignPriority>0</ns3:campaignPriority>
                    </settings>
                    <advertisingChannelType>DISPLAY</advertisingChannelType>
                    <networkSetting>
                        <targetGoogleSearch>false</targetGoogleSearch>
                        <targetSearchNetwork>false</targetSearchNetwork>
                        <targetContentNetwork>true</targetContentNetwork>
                        
<targetPartnerSearchNetwork>false</targetPartnerSearchNetwork>
                    </networkSetting>
                    <biddingStrategyConfiguration>
                        
<biddingStrategyType>MANUAL_CPC</biddingStrategyType>
                        <bids 
xmlns:ns4="https://adwords.google.com/api/adwords/cm/v201705"; 
xsi:type="ns4:CpcBid">
                            <ns4:bid>
                                <ns4:microAmount>7650000</ns4:microAmount>
                            </ns4:bid>
                        </bids>
                    </biddingStrategyConfiguration>
                    <campaignTrialType>BASE</campaignTrialType>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>
</soapenv:Envelope>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/30f613c8-e8e3-4b35-91c5-526f194bb2d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Unable t... Ondřej P
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
      • ... Ondřej P
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum

Reply via email to