Hi,
I am trying to create a script that adds campaigns with a batch operation. Till now I have succeeded with every setting for the new campaigns, but the tracking url template.
I have inserted in the funcion BuilCampaignOperations (as found in the documentation) in the operand dictionary a code snippet for the tracking url template:
'settings': [
{
'xsi_type': 'TrackingSetting',
'trackingUrl': '{lpurl}?vr_source=google&vr_medium=cpc&vr_campaignid={campaignid}&vr_adgroupid={adgroupid}'
}
]
But when I run the code it gives me the error DESTINATION_URL_DEPRECATED. What is the mistake there? Note that this tracking url template has already been tested and used via the Google Ads UI and works fine.
Thank you in advance!