RE: Campaign Goal API endpoint.

2022-01-13 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for reaching out to our API support team.

You can find here, the guide regarding conversion / campaign goals. This guide 
then provides more information on how you may manage your campaign goals.

You can then use the below services :

CampaignConversionGoalService - to manage your campaign goals
CustomConversionGoalService - for managing custom goals
CustomerConversionGoalService - to manage customer conversion goals

If you are using the REST interface, you can refer to the below documentation 
instead :

customers.campaignConversionGoals/mutate
customers.customConversionGoals/mutate
customers.customerConversionGoals/mutate

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2Ujks9: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/za4260R5OTJ000SEy3aoyhS7OD3DU2vTswpw%40sfdc.net.


RE: Campaign Goal API endpoint

2022-01-13 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for reaching out to our API support team.

You can find here, the guide regarding conversion / campaign goals. This guide 
then provides more information on how you may manage your campaign goals.

You can then use the below services :

CampaignConversionGoalService - to manage your campaign goals
CustomConversionGoalService - for managing custom goals
CustomerConversionGoalService - to manage customer conversion goals

If you are using the REST interface, you can refer to the below documentation 
instead :

customers.campaignConversionGoals/mutate
customers.customConversionGoals/mutate
customers.customerConversionGoals/mutate

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2Ujk53: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ATtEZ0R5OTNS00h1Vp0A6ZSdmfkHZhDx8ezw%40sfdc.net.


Re: Campaign Goal API endpoint

2022-01-17 Thread AMAP TEST
Hi Team,

Tried following the document refrence that was shared but no lunk.
Please validate if there is something being missed .
We are unable to update Campaign Conversion Goal. Following are the steps 
configured 

1. Created a ConversionAction and Tagged it to a Campaign
Following request:  
*https://googleads.googleapis.com/v9/customers/5511294223/conversionActions:mutate*
{
"operations": [
{
 "updateMask": "primaryForGoal",
"update": {
"resourceName": 
"customers/5511294223/conversionActions/841733022",
"status": "ENABLED",
"type": "WEBSITE_CALL",
"origin": "WEBSITE",
"primaryForGoal": false,
"category": "PHONE_CALL_LEAD",
"name": "StoreVisitConversion",
"includeInConversionsMetric": true
}
}
],
"partialFailure": false,
"validateOnly": false
}

2. Tried Creating CampaignConversionGoal and i always get error response . 
Create operation is not supported for this method .
*https://googleads.googleapis.com/v9/customers/5511294223/campaignConversionGoals:mutate*
 
*Request:* 
{
"validateOnly": false,
"operations": [
{
"updateMask": "category,origin,biddable",
"update": {
"resourceName": 
"customers/5511294223/campaignConversionGoals/15855767503~DEFAULT~WEBSITE",
"campaign": "15855767503",
"category": "DEFAULT",
"origin": "WEBSITE",
"biddable": true
}
}
]

}
*Response:*
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": 
"type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"mutateError": "RESOURCE_NOT_FOUND"
},
"message": "Resource was not found.",
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
}
]
}
}
],
"requestId": "IlzwTDtACKU4ID1H7w8eow"
}
]
}
}

3. Even tried last option of setting ConversionGoalCampaignConfig. But no 
luck here as well. I get the same error response 
*https://googleads.googleapis.com/v9/customers/5511294223/conversionGoalCampaignConfigs:mutate*
 
*Request:* 
{
"operations": [
{
"updateMask": "goalConfigLevel",
"update": {
"resourceName": 
"customers/5511294223/conversionGoalCampaignConfigs/15855767503",
"campaign": "15855767503",
"goalConfigLevel": "CAMPAIGN"
}
}
],
"validateOnly": false
}
*Response:*
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": 
"type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"requestError": "UNKNOWN"
},
"message": "The error code is not in this version.",
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
}
]
}
}
],
"requestId": "cx9pMn2JXcHvtNF1TrynuQ"
}
]
}
}
Can you please help where am i going wrong ? the process is first we need 
to set the ConversionAction at Campaign level and then we can set the 
campaignConversion Goal right? Setting up campaignConversionGoal via API 
will setup Goal parameter on graphical UI of a Campaign in GADS ?

Why do i get a null response even if i have conversionAction present in my 
Account via Query language ?


Appreciate response for the same.
On Friday, 14 January, 2022 at 12:20:36 pm UTC+5:30 adsapi wrote:

> Hi,
>
> Thank you for reaching out to our API support team.
>
> You can find here 
> ,
>  
> the guide regarding conversion / campaign goals. This guide 
> 
> 

Re: Campaign Goal API endpoint

2022-01-17 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
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,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2Ujk53: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/XpCY50R5W7MQ00q-oGY7BaRe6FV4awrxMueQ%40sfdc.net.


Re: Campaign Goal API endpoint

2022-01-18 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

I work with Yasar and will assist you. What you are experiencing could be 
because we have not yet enabled the conversion goals feature for your account 
(enabling goals will happen gradually across all accounts). When we do enable 
the feature for that account, the following query will return 
CustomerConversionGoal objects for each combination of origin and category 
found in the customer's ConversionActions.

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,


Aryeh Baker
Google Ads API Team

​​​
ref:_00D1U1174p._5004Q2Ujk53: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/r8UrD0R5WYZ100F_woYFlHQuGZl3n99q1oIQ%40sfdc.net.


Re: Campaign Goal API endpoint

2022-01-18 Thread AMAP TEST

Hi Aryeh,

If i absorbed your statement correctly , what is being told is until GOAL 
is enabled on our Account, we will not be able to proceed with GOAL 
Modification of Campaigns present in our Account via REST API's ?.
On Tuesday, 18 January, 2022 at 9:56:06 pm UTC+5:30 adsapi wrote:

> Hi,
>
> I work with Yasar and will assist you. What you are experiencing could be 
> because we have not yet enabled the conversion goals feature for your 
> account (enabling goals will happen gradually across all accounts). When we 
> do enable the feature for that account, the following query will return 
> *CustomerConversionGoal* objects for each combination of *origin* and 
> *category* found in the customer's *ConversionActions*. 
>
>
> 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,
>
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   ​​​
>
> ref:_00D1U1174p._5004Q2Ujk53: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/956e9abc-c9cb-4db7-b2cd-e4a8a0732b5bn%40googlegroups.com.


Re: Campaign Goal API endpoint

2022-01-19 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
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,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2Ujk53: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2CjFO0R5YNUE00lbS5VlWMRvuf_5pIQqlvYg%40sfdc.net.


Re: Campaign Goal API endpoint

2022-01-25 Thread AMAP TEST
Team,

To enable CampaignGoal on our Account what is the steps to be followed ? Is 
there any request that we need to raise to Support Team?
Basically i want to enable GOAL setting via a REST API.

On Wednesday, 19 January, 2022 at 7:50:53 pm UTC+5:30 adsapi wrote:

> 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, 
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2Ujk53: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/94ce6578-b549-4897-84b8-f5b06d54ed62n%40googlegroups.com.


Re: Campaign Goal API endpoint

2022-01-25 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
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,

Kevin Gil Soriano
Google Ads API Team
ref:_00D1U1174p._5004Q2Ujk53: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/XTLY80R6B0JH00OwL-qJrQSHaSNNWHDzu3gA%40sfdc.net.


Re: Campaign Goal API endpoint

2022-01-26 Thread AMAP TEST
Hi Kevin,

Okay i get your point on Campaign Goal creation not supported yet . 
But as per your documentation it clearly says :
*When you create the conversion action, Google Ads will automatically 
perform the following steps:*
   
   - *Create a CustomerGoal for the conversion 
   action's category and origin if one does not already exist.*
   - *Create a CampaignGoal for each campaign and the conversion 
   action's category and origin if one does not already exist.*

 But when i perform a query to extract CustomerGoal and the CampaignGoal , 
i get a null value from the Query response.
And when i had raised this point above, it was told that GOAL is not 
enabled on my account (Statement Told: Until campaign GOAL is enabled on 
your account, we will not be able to modify the campaign goal). Henceforth, 
i am unable to get the response for the following queries(I get a NULL 
value on all these queries). 

*CustomerGoal:*
SELECT
  customer_conversion_goal.category,
  customer_conversion_goal.origin,
  customer_conversion_goal.biddable
FROM customer_conversion_goal


*CampaignGoal:*SELECT
  campaign_conversion_goal.campaign,
  campaign_conversion_goal.category,
  campaign_conversion_goal.origin,
  campaign_conversion_goal.biddable,
  campaign.id,
  campaign.name
FROM campaign_conversion_goal
WHERE campaign.advertising_channel_type = PERFORMANCE_MAX



Henceforth i would like to know if there is any process to be followed (Any 
Supportticket) , to enable GOAL on my account so that i get valid responses 
on my above queries .
Please correct if otherwise.  


 
On Wednesday, 26 January, 2022 at 11:56:20 am UTC+5:30 adsapi wrote:

> 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,
> [image: Google Logo] 
> Kevin Gil Soriano 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2Ujk53: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/abfbb56e-5a7c-481b-a032-22df6c285f9fn%40googlegroups.com.


Re: Campaign Goal API endpoint

2022-01-27 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Let me raise this with my team. We will get back to you as soon as possible.

Regards,

Aryeh Baker
Google Ads API Team
ref:_00D1U1174p._5004Q2Ujk53: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ZZFuh0R6DFSU00q9ThZFI8TDe0n-myINr1MQ%40sfdc.net.