Hi, My creation of ads *worked properly a week ago and now *, for some reason, I can't create ads. Is this due to the last changed in upgraded URLs etc ?
I do set all parameters - AdWordsServices adwordsServices = new AdWordsServices(); // Get the CampaignService. AdGroupAdServiceInterface adGroupAdService = adwordsServices.get(session, AdGroupAdServiceInterface.class); long adGroupId = Long.parseLong(pAdGroupID); // Create ad group ad. AdGroupAd textAdGroupAd = new AdGroupAd(); textAdGroupAd.setAdGroupId(adGroupId); textAdGroupAd.setStatus(pStatus); TextAd textAd = new TextAd(); textAd.setHeadline(pHeadline); textAd.setDescription1(pDescription1); textAd.setDescription2(pDescription2); textAd.setDisplayUrl(pDisplayURL); textAd.setUrl(pURL); textAdGroupAd.setAd(textAd); // Create operations. AdGroupAdOperation textAdGroupAdOperation = new AdGroupAdOperation(); textAdGroupAdOperation.setOperand(textAdGroupAd); textAdGroupAdOperation.setOperator(Operator.ADD); AdGroupAdOperation[] operations = new AdGroupAdOperation[] {textAdGroupAdOperation}; // Add ads. AdGroupAdReturnValue result = adGroupAdService.mutate(operations); The error I get is: faultString: [AdError.CANNOT_SET_FIELD @ operations[0].operand.ad.url] faultActor: faultNode: faultDetail: {https://adwords.google.com/api/adwords/cm/v201502}ApiExceptionFault:<message>[AdError.CANNOT_SET_FIELD @ operations[0].operand.ad.url]</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AdError"><fieldPath>operations[0].operand.ad.url</fieldPath><trigger/><errorString>AdError.CANNOT_SET_FIELD</errorString><ApiError.Type>AdError</ApiError.Type><reason>CANNOT_SET_FIELD</reason></errors> [AdError.CANNOT_SET_FIELD @ operations[0].operand.ad.url] Thanks, -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/273407b1-9588-4c67-bcbd-4cb043caead7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.