Hi there, 

I have ads under adgroup having destination url something like this: 
http://www.example.com. I want to add value track parameters to each ads. 
so final url should be 
http://www.example.com?ad={creative}&keyword={keyword}. 

To accomplish it, i have Upgraded Url feature however its always giving me 
an error 
An API exception has occurred. See ApiException and InnerException fields 
for more details.System.Web.Services.Protocols.SoapException: 
[AdError.URL_NOT_EQUIVALENT @ operations[0]]

*Below C# code i am using:*
     foreach (AdGroupAd ad in ads) {
                    AdUrlUpgrade upgrade = new AdUrlUpgrade() {
                        adId = ad.ad.id,
                        finalUrl = "http://www.example.com";,
                        trackingUrlTemplate = 
"{lpurl}?ad={creative}&keyword={keyword}"
                    };
                    operations.Add(upgrade);
      }
   service.upgradeUrl(operations.ToArray());

However when i tried having same url "http://www.example.com"; into finalUrl 
and trackingUrlTemplate it went successfully but when i tried having 
"http://www.example.com?ad={creative}&keyword={keyword}"; to both, it 
failed. 

Please suggest.

Thanks,
Hiten

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5ed11cee-86ad-4d4c-a995-c2ed0320d344%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to