Tracking templete to google ads account
I want to add a tracking template on the account level via google ads API, but I am not able to found proper documentation to do it, Is anyone have idea how to do it
Tony-Marketing-API.cn is a vibrant community dedicated to Facebook, Meta,Google Ads api, app development, Instagram, and related technologies. It offers valuable bug solutions, troubleshooting cases, and problem-solving strategies shared by users. Stay updated with real-world solutions, development tips, and the latest trends in digital marketing and app development.
I want to add a tracking template on the account level via google ads API, but I am not able to found proper documentation to do it, Is anyone have idea how to do it
You need to send a mutateCustomerRequest to the customer service. https://developers.google.com/google-ads/api/reference/rpc/v11/CustomerService#mutatecustomer
Field masks are:
customer.tracking_url_template = "{lpurl}?device={device}" customer.final_url_suffix = ( "keyword={keyword}&matchtype={matchtype}" "&adgroupid={adgroupid}" )