Marshaling FinalUrls field in BiddableAdGroupCriterion object after upgrading an account

49 views
Skip to first unread message

Vadim Dribinsky

unread,
Sep 30, 2015, 2:58:24 PM9/30/15
to AdWords API Forum
I'm trying to update Keyword bids and after migration of the account to use FinalURL instead of Destination URL, I'm unable to get the API to work.
I keep getting this Fault:

Unmarshalling Error: cvc-complex-type.2.3: Element 'ns0:finalUrls' cannot have character [children], because the type's content type is element-only.


I tried sending the same data for FinalUrls as I did for Destination Url, I tried sending a single-value array, The error is always the same.

Vadim Dribinsky

unread,
Sep 30, 2015, 3:14:08 PM9/30/15
to AdWords API Forum

Umesh Dengale

unread,
Sep 30, 2015, 6:23:01 PM9/30/15
to AdWords API Forum
Hello,

You could use the finalUrl property for upgrade URL. Please check out upgrade_ad_url python example code and UpgradedURL guide for more information.

Thanks,
Umesh, AdWords API Team.

Vadim Dribinsky

unread,
Oct 1, 2015, 9:41:45 AM10/1/15
to AdWords API Forum
So, basically it looks like I should take the custom parameters out of the FinalUrl and use the combination of trackingUrlTemplate and urlCustomParameters?

On 

Umesh Dengale

unread,
Oct 1, 2015, 4:21:30 PM10/1/15
to AdWords API Forum
Hello,

Yes, you are correct. You could use the trackingUrlTemplate and urlCustomParameters. Please check out Migrate to Upgraded URLs section (criteria) of the upgraded URL guide.
Reply all
Reply to author
Forward
0 new messages