Hi,

In that case, you will have to *REMOVE* the existing *AdGroupAd* and then 
*ADD* a new *AdGroupAd* with the upgraded URLs. This will be similar to the 
code example shown here 
<https://developers.google.com/adwords/api/docs/guides/upgraded-urls?redesign=false#ads_3>
.

Cheers,
Josh, AdWords API Team

On Friday, June 12, 2015 at 2:27:18 AM UTC-4, Eternal Fool wrote:
>
> I have used the UrlUpgrade.java as mentioned here(
> https://developers.google.com/adwords/api/docs/guides/upgraded-urls) for 
> normal migration.
>
> But I need to change a few urls due to special characters in them and 
> hence can't use Upgraded Url method for that.
>
> How do I used AdGroupAdService.mutate for this?
>
> This is my existing code.
>
> adGroupAd.set(adGroupId)
> adGroupAd.set(status)
> ad.setUrl(")
> ad.setFinalUrl(finalUrl.com)
> ad.setTrackingTemplate(trackingTemplate)
> adGroupAd.setAd(ad)
>
> AdGroupAdOperation operation = new AdGroupAdOperation();
> operation.setOperator(Operator.SET);
> operation.setOperand(adGroupAd);
>
> Is this the wrong way to proceed?
>
> Note(I am unable to use finalUrl here because the urls are NOT equivalent)
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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].
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/a5ee6e88-4876-4273-b53f-f274c16860f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to