I'm having the same issue, both with Keywords and AdGroupAds. I also found this post discussing how the only editable attribute of an Ad is the 'status'
http://groups.google.com/group/adwords-api/browse_thread/thread/493869c2f83c562f/ed1548da7a1fb926?lnk=gst&q=update+adgroupad+title#ed1548da7a1fb926 On Mar 22, 8:53 am, GarethFuller <[email protected]> wrote: > After looking some more around the group it seems you cant change > thekeywordparams after they are set, have made changes to my system so > it now deletes old keywords by the id then creates a new one with the > same settings (like status etc) and stores the new id. > > If I am wrong in what I found out and you canupdatethekeywordtext > etc after creation please let me know (as it costs less api units). > > Many thanks, > > Gareth > > On Mar 22, 9:39 am, GarethFuller <[email protected]> wrote: > > > > > Hi, > > > I am calling a function in PHP toupdateakeywordlike this: > > > $api_keyword_manager->updateKeyword($apiAdGroup->id, $updatedKeyword, > > $matchType, $id); > > > the arguments i'm parsing are valid in that I know thekeywordAPI id > > is correct as is the adgroup API id, the function updateKeyword looks > > like this: > > > public function updateKeyword($adGroupId, $keyWord, $matchType, > > $keyWordId){ > > > try{ > > if (isset($adGroupId)) > > { > > > $keyword= newKeyword(); > > $keyword->id = $keyWordId; > > $keyword->text= $keyWord; > > $keyword->matchType = > > strtoupper($matchType); > > > // Create biddable ad group criterion. > > $keywordAdGroupCriterion = new > > BiddableAdGroupCriterion(); > > $keywordAdGroupCriterion->adGroupId = > > $adGroupId; > > $keywordAdGroupCriterion->criterion = > > $keyword; > > > // Create operations. > > $keywordAdGroupCriterionOperation = new > > AdGroupCriterionOperation(); > > $keywordAdGroupCriterionOperation->operand = > > $keywordAdGroupCriterion; > > $keywordAdGroupCriterionOperation->operator > > = 'SET'; > > > $this->operations = > > $keywordAdGroupCriterionOperation; > > > return > > ($this->adGroupCriteriaService->mutate( $this- > > > >operations )); > > > } else { > > return false; > > } > > > } catch ( Exception $e ) { > > return false; > > } > > } > > > The issue I am having is that this script is running fine and not > > returning any soap errors etc but the keywords are not updating in the > > system. I was just wondering if maybe there is some sort of other > > argument you need to send to the system toupdatea criterion. > > > Thanks for your help, > > > Gareth -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. 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 To unsubscribe from this group, send email to adwords-api+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
