Hey Abigail, Thanks a lot! This is going to be a huge help for tracking.
On Wednesday, January 25, 2023 at 10:04:20 PM UTC-8 adsapi wrote: > Hi Chad, > > Thank you for reaching out to Google Ads API Support. > > > *>> Is it possible to add, remove, and change custom ValueTrack parameters > at the campaign level via API? * > To answer your question, yes, it is possible. As per our documentation > about Custom Parameters > <https://developers.google.com/google-ads/api/docs/ads/upgraded-urls/fields#custom_parameters>, > > the Campaign > <https://developers.google.com/google-ads/api/docs/ads/upgraded-urls/supported-entities> > > is a supported entity for Custom Parameters, and this is defined by the > url_custom_parameters > <https://developers.google.com/google-ads/api/reference/rpc/v12/Campaign#url_custom_parameters[]> > > attribute. > > Although there is no code example from the documentation about adding / > updating / removing Custom Parameters, you may refer to this update > campaign example > <https://developers.google.com/google-ads/api/samples/update-campaign#python> > from the documentation. They are a little bit similar, you just have to > define your Campaign object, and set the url_custom_parameters > <https://developers.google.com/google-ads/api/reference/rpc/v12/Campaign#url_custom_parameters[]> > . > > Also, you may see the following links for additional references. > > - ValueTrack Parameters for Upgraded URLs > > <https://developers.google.com/google-ads/api/docs/ads/upgraded-urls/value-track> > > - Mapping ValueTrack Parameters with Report Fields > > <https://developers.google.com/google-ads/api/docs/reporting/valuetrack-mapping> > > > Let me know if you have any other questions related to the Google Ads API. > > Regards, > [image: Google Logo] > Abigail > Google Ads API Team > > > ref:_00D1U1174p._5004Q2iNsig:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/59ceec85-4c13-4456-a6cb-80ed63f468abn%40googlegroups.com.
