Hi ,
I'm trying to see if the account has conversion tracking trying to set it to
ConversionOptimizer , if it fails with 'rejectionReasons':
['CONVERSION_TRACKING_NOT_ENABLED'] it means no conversion tracking.
It works fine with validateOnly=False, but once I set validateOnly=True I
get empty response header. I really don't want to change bid type just to
see if it generates an error so validateOnly is a requirement for me.
And from reading this post
http://adwordsapi.blogspot.com/2009/12/discover-v2009-validateonly-header.html
I
expect to receive some fail message
Thank you.
Alexander Parij
The sample operation:
operations = [{
'operator' : 'SET' ,
'operand' : {
'id':#CMP_ID,
'biddingTransition' : {'type':
'ConversionOptimizerBiddingTransition',
'targetBiddingStrategy': {
'type': 'ConversionOptimizer',
'pricingModel': 'CONVERSIONS'
}}}
}]
that what I get with validateOnly=True
************************************************************************
*** Incoming SOAP ******************************************************
<?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/v201008">
<requestId>2aa6066b66f29b042de199cbf27140ed</requestId>
<operations>1</operations>
<responseTime>118</responseTime>
<units>1</units>
</ResponseHeader>
</soap:Header>
<soap:Body>
<mutateResponse
xmlns="https://adwords.google.com/api/adwords/cm/v201008"/></soap:Body></soap:Envelope>
************************************************************************
validateOnly=False :
************************************************************************
*** Incoming SOAP ******************************************************
<?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/v201008">
<requestId>fa8778fc03c6c6c9a61b5c2f33b35ca8</requestId>
<operations>1</operations>
<responseTime>204</responseTime>
<units>1</units></ResponseHeader>
</soap:Header>
<soap:Body><mutateResponse
xmlns="https://adwords.google.com/api/adwords/cm/v201008"><rval>
<ListReturnValue.Type>CampaignReturnValue</ListReturnValue.Type><value>
<id>14331049</id>
<name>Tractor</name>
<status>ACTIVE</status>
<servingStatus>SERVING</servingStatus>
<startDate>20061107</startDate><endDate>20371231</endDate>
<budget><period>DAILY</period><amount>
<ComparableValue.Type>Money</ComparableValue.Type>
<microAmount>25000000</microAmount></amount>
<deliveryMethod>STANDARD</deliveryMethod>
</budget>
<biddingStrategy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="ManualCPC">
<BiddingStrategy.Type>ManualCPC</BiddingStrategy.Type><enhancedCpcEnabled>false</enhancedCpcEnabled>
<positionPreference>OFF</positionPreference>
</biddingStrategy><conversionOptimizerEligibility>
<eligible>false</eligible>
<rejectionReasons>CONVERSION_TRACKING_NOT_ENABLED</rejectionReasons>
</conversionOptimizerEligibility>
<adServingOptimizationStatus>ROTATE</adServingOptimizationStatus>
<frequencyCap><impressions>0</impressions></frequencyCap>
</value></rval></mutateResponse></soap:Body></soap:Envelope>
************************************************************************
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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