Closing as duplicate.
-Danial. On Thursday, December 5, 2013 12:56:59 AM UTC+4, karima Mechergui wrote: > > Hi, i like add new keywords , i try to do this way : > > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:v20="https://adwords.google.com/api/adwords/cm/v201309"> > <soapenv:Header> > <v20:RequestHeader> > > <v20:authToken>DQA*****************</v20:authToken> > > <v20:clientCustomerId>************</v20:clientCustomerId> > > <v20:developerToken>*****************</v20:developerToken> > > <v20:userAgent>****************</v20:userAgent> > > <v20:validateOnly>false</v20:validateOnly> > > <v20:partialFailure>false</v20:partialFailure> > </v20:RequestHeader> > </soapenv:Header> > <soapenv:Body> > <v20:mutate> > > <v20:operations> > > <v20:operator>ADD</v20:operator> > > <v20:Operation.Type>AdGroupAd</v20:Operation.Type> > > <v20:operand> > > <v20:adGroupId>8424820921</v20:adGroupId> > > <v20:ad> > > <v20:id>1</v20:id> > > <v20:url> > http://www.example.com/epson-xp-205-c-2879_20194.html</v20:url> > > <v20:displayUrl>http://www.example.com/</v20:displayUrl> > > <v20:Ad.Type>TextAd</v20:Ad.Type> > </v20:ad> > > <v20:experimentData> > > <v20:experimentId>2</v20:experimentId> > > > <v20:experimentDeltaStatus>EXPERIMENT_ONLY</v20:experimentDeltaStatus> > > > <v20:experimentDataStatus>ACTIVE</v20:experimentDataStatus> > </v20:experimentData> > > <v20:status>PAUSED</v20:status> > > <v20:approvalStatus>UNCHECKED</v20:approvalStatus> > > > <v20:forwardCompatibilityMap> > > <v20:key></v20:key> > > <v20:value></v20:value> > </v20:forwardCompatibilityMap> > </v20:operand> > > <v20:exemptionRequests> > > <v20:key> > > <v20:policyName></v20:policyName> > <!--Optional:--> > <v20:violatingText></v20:violatingText> > </v20:key> > </v20:exemptionRequests> > </v20:operations> > </v20:mutate> > </soapenv:Body> > </soapenv:Envelope> > > > > after that i've got the next error [AdError.INVALID_AD_TYPE @ > operations[0].operand.ad > Where is my mistake. Please help. > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Header> > <ResponseHeader xmlns=" > https://adwords.google.com/api/adwords/cm/v201309"> > <requestId>0004ecbb5c7439f80ae05f03000072b5</requestId> > <serviceName>AdGroupAdService</serviceName> > <methodName>mutate</methodName> > <operations>1</operations> > <responseTime>286</responseTime> > </ResponseHeader> > </soap:Header> > <soap:Body> > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>[AdError.INVALID_AD_TYPE @ operations[0].operand.ad > ]</faultstring> > <detail> > <ApiExceptionFault xmlns=" > https://adwords.google.com/api/adwords/cm/v201309"> > <message>[AdError.INVALID_AD_TYPE @ operations[0]. > operand.ad]</message> > > <ApplicationException.Type>ApiException</ApplicationException.Type> > <errors xsi:type="AdError" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance"> > <fieldPath>operations[0].operand.ad</fieldPath> > <trigger/> > <errorString>AdError.INVALID_AD_TYPE</errorString> > <ApiError.Type>AdError</ApiError.Type> > <reason>INVALID_AD_TYPE</reason> > </errors> > </ApiExceptionFault> > </detail> > </soap:Fault> > </soap:Body> > </soap:Envelope> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://googleadsdeveloper.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 --- 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]. For more options, visit https://groups.google.com/groups/opt_out.
