Hi,
To update the custom conversion goal, you'll want to send a request like the
following example, with your customer, campaign, and custom goal IDs
substituted.
{
operations': [
{
'update': {
'resourceName':
'customers/YOUR_CUSTOMER_ID/conversionGoalCampaignConfigs/YOUR_CAMPAIGN_ID',
'custom_conversion_goal':
'customers/YOUR_CUSTOMER_ID/customConversionGoals/YOUR_CUSTOM_CONVERSION_GOAL_ID'
},
'updateMask': 'custom_conversion_goal'
}
],
}
Note that you'll want to include the updateMask as shown above to indicate to
the API that your intention is to update the custom_conversion_goal field.
If you previously encountered an IMMUTABLE_FIELD error with the message "Field
'custom_conversion_goal' cannot be modified by 'UPDATE' operation", please try
your request again. That error was due to an issue with the API that has since
been fixed.
Cheers,
Josh, Google Ads API Team
ref:_00D1U1174p._5004Q2QGtpw: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
"AdWords API and Google Ads 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/NaecF000000000000000000000000000000000000000000000R2N72100pRyx3oFHRe-BdTvE9cgWHg%40sfdc.net.