|
||||||
Hi,
Thanks for getting back to us.
The reason you got RESOURCE_NOT_FOUND in your created CampaignConversionGoal API request is due to the provided resource name not being in your account. Here’s the below GAQL I used to check for your account:
SELECT campaign_conversion_goal.resource_name, campaign_conversion_goal.origin, campaign_conversion_goal.category FROM campaign_conversion_goal WHERE campaign.id = 15855767503
With regards to setting ConversionGoalCampaignConfig, I could not find the resource name that you’re trying to update. Here’s the below GAQL I used to check for your account:
SELECT conversion_goal_campaign_config.resource_name, conversion_goal_campaign_config.campaign FROM conversion_goal_campaign_config WHERE campaign.id = 15855767503
You would need to ensure that said resource names already exist in your account in order to perform update actions successfully.
Let us know if you have any further questions.
Regards,
|
||||||
SELECT customer_conversion_goal.category, customer_conversion_goal.origin, customer_conversion_goal.biddable FROM customer_conversion_goal
Regarding not being able to create the campaign goal object, this is working as intended. When your account is enabled for the conversion goals feature then every campaign will have a conversion goal, no need to create one. You can then modify the campaign conversion goal if you want that campaign to have a different goal than the account.
Regards,
|
||||||
Hi,
Yes, you are correct. Until campaign GOAL is enabled on your account, we will not be able to modify the campaign goal. There is no way to set the goal using the API. You will have to do it manually in the UI. There is a feature request to support this functionality in the Google Ads API. Please keep an eye on our blog for the announcements and updates on new releases.
Regards,
|
||||||
Hello,
I'm a colleague of Yasar from the Google Ads API Team.
As my colleague mentioned, creating campaign goals are not yet supported in the API. We have already raised a feature request regarding this so there's no action needed on your end. Based from our documentation, since Google Ads automatically creates CustomerConversionGoal, CampaignConversionGoal, and ConversionGoalCampaignConfig objects in your account, you can only update those objects. The Google Ads API does not support creating or removing those objects.
Regarding the steps to enable campaign goals in your account, you may reach out to the Google Ads support team for guidance as they are better equipped to assist you on this.
Regards,
|
||||||
|
||||||