Hello Saverio,
Ads are immutable in AdWords. In order to change an ad, you need to create a new one and delete the old one. -Danial, AdWords API Team. On Wednesday, July 24, 2013 10:42:01 PM UTC+4, saverio mucci wrote: > > Hi there, > I'm tring to mutate an existing TemplateAd but i get able to send the > mutate but no operation is applied to the ad itself: > > this is the current ad: > { > 'status': 'ENABLED', > 'adGroupId': '6911540940', > 'stats': { > 'percentServed': '0.0', > 'network': 'SEARCH', > 'Stats_Type': 'AdStats' > }, > 'ad': { > 'templateElements': [{ > 'fields': [{ > 'fieldText': '1', > 'type': 'ENUM', > 'name': 'appStore' > }, { > 'fieldText': '553834731', > 'type': 'TEXT', > 'name': 'appId' > }, { > 'fieldText': 'Get the Best Game Free!', > 'type': 'TEXT', > 'name': 'description1' > }, { > 'fieldText': 'Find {KeyWord:New Apps}', > 'type': 'TEXT', > 'name': 'description2' > }, { > 'fieldText': '*{Keyword:The Most Popular Apps}*', > 'type': 'TEXT', > 'name': 'headline' > }], > 'uniqueName': 'adData' > }], > 'name': 'template-ad-name', > 'url': 'http://my-tracking-url-for-conversion.com', > 'Ad_Type': 'TemplateAd', > 'displayUrl': 'itunes.apple.com', > 'templateId': '353', > 'id': '27849183780' > }, > 'trademarkDisapproved': 'false', > 'approvalStatus': 'FAMILY_SAFE' > } > > I'm sending this simple mutate trying to mutate the headline > > { > 'templateElements': [{ > 'fields': [{ > 'fieldText': '1', > 'type': 'ENUM', > 'name': 'appStore' > }, { > 'fieldText': '553834731', > 'type': 'TEXT', > 'name': 'appId' > }, { > 'fieldText': 'Get the Best Game Free!', > 'type': 'TEXT', > 'name': 'description1' > }, { > 'fieldText': 'Find {KeyWord:New Apps}', > 'type': 'TEXT', > 'name': 'description2' > }, { > 'fieldText': u '*Get the best Game ever*', > 'type': 'TEXT', > 'name': 'headline' > }], > 'uniqueName': 'adData' > }], > 'name': 'template-ad-name', > 'url': 'http://my-tracking-url-for-conversion.com', > 'Ad_Type': 'TemplateAd', > 'displayUrl': 'itunes.apple.com', > 'templateId': '353', > 'id': '27849183780' > } > > but i get as response the old ad with no changes and no changes are > applied on the ad itself. > > { > 'ListReturnValue_Type': 'AdGroupAdReturnValue', > 'value': [{ > 'status': 'ENABLED', > 'approvalStatus': 'FAMILY_SAFE', > 'adGroupId': '6911540940', > 'ad': { > 'templateElements': [{ > 'fields': [{ > 'fieldText': '1', > 'type': 'ENUM', > 'name': 'appStore' > }, { > 'fieldText': '553834731', > 'type': 'TEXT', > 'name': 'appId' > }, { > 'fieldText': 'Get the Best Game Free!', > 'type': 'TEXT', > 'name': 'description1' > }, { > 'fieldText': 'Find {KeyWord:New Apps}', > 'type': 'TEXT', > 'name': 'description2' > }, { > 'fieldText': '*{Keyword:The Most Popular Apps}*', > 'type': 'TEXT', > 'name': 'headline' > }], > 'uniqueName': 'adData' > }], > 'name': 'template-ad-name', > 'url': 'http://my-tracking-url-for-conversion.com', > 'Ad_Type': 'TemplateAd', > 'displayUrl': 'itunes.apple.com', > 'templateId': '353', > 'id': '27849183780' > } > }] > } > > any suggestion about what i'm doing wrong because i'm getting confused, > did anyone has some example how to modify one of this kind. > > Best > Saverio > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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. For more options, visit https://groups.google.com/groups/opt_out.