uploadConversionAdjustments for uploadCallConversions method.

2023-09-26 Thread Alexis S
Hello!
Have successfully done an uploadConversionAdjustments for the 
uploadClickConversions method, and now  need to do the same but for the 
uploadCallConversions method and it returns an error if used callerId 
instead of gclid. How can solve that?

This is the way I did it for uploadCallConversions and it worked correctly 
for me:

--
METHOD: customers.uploadConversionAdjustments
 
ENDPOINT POST: 
https://googleads.googleapis.com/v13/customers/[customer-id]:uploadConversionAdjustments

BODY: 
{
  "conversionAdjustments": [
{
"gclidDateTimePair": {
"gclid": "[gclid]",
"conversionDateTime": "2023-09-23 01:15:00-05:00"
},
   "adjustmentType": "RETRACTION",
   "conversionAction": 
"customers/[login-customer-id]/conversionActions/[conversion-action]",
   "adjustmentDateTime": "2023-09-26 10:30:00-05:00"
}
  ],
  "partialFailure": true,
  "validateOnly": true
}

HEADERS:
developer-token: [developer-token]
login-customer-id: [login-customer-id]
Authorization: Bearer [Authorization]

--

Await your response, thank you very much!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7d54e654-d3da-40b8-93f9-1afb357ef06fn%40googlegroups.com.


Retrieve upload conversion report from API

2023-07-20 Thread Alexis S
Hello! 

I did an upload conversion to the Google Uploads API to this endpoint: 
https://googleads.googleapis.com/v12/customers/[CUSTOMER_ID]:uploadClickConversions
The upload was executed but I lost the report that was created and if I 
execute it again I get an error that the upload has already been done, is 
there any way to recover that file or to redo the execution? It does not 
appear in the web interface.

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/79533543-91af-46ed-9a37-f8c0fd60c4abn%40googlegroups.com.


Message: "The call or the click leading to the call was not found."

2023-03-07 Thread Alexis S
Good morning! 

I am making the following query to the API 
https://googleads.googleapis.com/v13/customers/MY_CUSTOMER_ID:uploadCallConversions

{
"conversions": [
{
"callerId": "+01234567890",
"callStartDateTime": "2023-03-03 09:50:00-05:00",
"conversionAction": 
"customers/MY_CUSTOMER_ID/conversionActions/CONVERSION_ACTION_ID",
"conversionDateTime": "2023-03-03 09:55:00-05:00",
"conversionValue": 80.50,
"currencyCode": "USD"
}
],
"partialFailure": true,
"validateOnly": true
}

and answer me the following message

{
"partialFailureError": {
"code": 3,
"message": "The call or the click leading to the call was not 
found., at conversions[0].caller_id",
"details": [
{
"@type": 
"type.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"conversionUploadError": "CALL_NOT_FOUND"
},
"message": "The call or the click leading to the 
call was not found.",
"trigger": {
"stringValue": "+01234567890"
},
"location": {
"fieldPathElements": [
{
"fieldName": "conversions",
"index": 0
},
{
"fieldName": "caller_id"
}
]
}
}
]
}
]
}
}

The dates are what I'm actually sending. Is it because I am giving a past 
date? Do I need to submit a clickID instead of a phone number? Or what is 
my mistake?

Thanks! 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/24203e75-8d7b-4e3c-b288-094244559398n%40googlegroups.com.


Re: Error in uploadCallConversions with conversionAction

2023-03-07 Thread Alexis S
Thanks! 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dfb1157f-4f47-4d91-b7b5-0f59a56254abn%40googlegroups.com.


Re: Error in uploadCallConversions with conversionAction

2023-03-06 Thread Alexis S
Related to the conversion id API call, we want to confirm that the url 
customers/{customer_id}/conversionActions/{ConversionType.conversion_type_id}, 
need to be populated with this values 

{
"results": [
{
"conversionAction": {
"resourceName": "customers/CUSTOM_ID/conversionActions/CONVERSION_ID",
"type": "UPLOAD_CALLS",
"id": "CONVERSION_ID",
"name": "CONVERSION_NAME"
}
}
],
"fieldMask": 
"conversionAction.name,conversionAction.id,conversionAction.type"
}

Where for ConversionType we use the value of type, in this case, 
UPLOAD_CALLS and for conversion_type_id, the value of id: CONVERSION_ID

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2b7cb849-e8d0-4b1f-b831-9b8f1d9a19f4n%40googlegroups.com.


Error in uploadCallConversions with conversionAction

2023-03-06 Thread Alexis S
Good afternoon We are querying the Google Ads API and calling the 
uploadCallConversions method like this: 
https://googleads.googleapis.com/v13/customers/MYCUSTOMERID:uploadCallConversions
 
{ "conversions": [ { "callerId": "+01234567890", "callStartDateTime": 
"2023-03-05 09:55:00 America/New_York", "conversionAction": 
"MYCONVERSIONNAME", "conversionDateTime": "2023-03-03 10:59:00 
America/New_York", "conversionValue": 95.50, "currencyCode": "USD" } ], 
"partialFailure": true, "validateOnly": false } And it returns the 
following error: { "partialFailureError": { "code": 3, "message": "Resource 
name 'MYCONVERSIONNAME' is malformed: expected 
'customers/MYCOSTUMERID/conversionActions/{ConversionType.conversion_type_id}'.,
 
at conversions[0].conversion_action", "details": [ { "@type": 
"type.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure", 
"errors": [ { "errorCode": { "requestError": "RESOURCE_NAME_MALFORMED" }, 
"message": "Resource name 'MYCONVERSIONNAME' is malformed: expected 
'customers/MYCOSTUMERID/conversionActions/{ConversionType.conversion_type_id}'.",
 
"trigger": { "stringValue": "MYCONVERSIONNAME" }, "location": { 
"fieldPathElements": [ { "fieldName": "conversions", "index": 0 }, { 
"fieldName": "conversion_action" } ] } } ] } ] }, "results": [ {} ] } We 
did the following query to get the conversion id and put it in place of the 
conversion name and we still get the same error: 
https://googleads.googleapis.com/v12/customers/MYCOSTUMERID/googleAds:search 
{ "query": "SELECT conversion_action.name, conversion_action.id FROM 
conversion_action WHERE conversion_action.name='MYCONVERSIONNAME'" } Can 
you help me to solve it? Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/034f8181-c847-40ab-87af-7db8334a1316n%40googlegroups.com.


Error in uploadCallConversions with conversionAction

2023-03-06 Thread Alexis S
Good afternoon

We are querying the Google Ads API and calling the uploadCallConversions 
method like this: 

https://googleads.googleapis.com/v13/customers/MYCUSTOMERID:uploadCallConversions

{
"conversions": [
{
"callerId": "+01234567890",
"callStartDateTime": "2023-03-05 09:55:00 America/New_York",
"conversionAction": "MYCONVERSIONNAME",
"conversionDateTime": "2023-03-03 10:59:00 America/New_York",
"conversionValue": 95.50,
"currencyCode": "USD"
}
],
"partialFailure": true,
"validateOnly": false
}

Y nos devuelve el siguiente error:

{
"partialFailureError": {
"code": 3,
"message": "Resource name 'MYCONVERSIONNAME' is malformed: expected 
'customers/MYCOSTUMERID/conversionActions/{ConversionType.conversion_type_id}'.,
 
at conversions[0].conversion_action",
"details": [
{
"@type": 
"type.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"requestError": "RESOURCE_NAME_MALFORMED"
},
"message": "Resource name 'MYCONVERSIONNAME' is 
malformed: expected 
'customers/MYCOSTUMERID/conversionActions/{ConversionType.conversion_type_id}'.",
"trigger": {
"stringValue": "MYCONVERSIONNAME"
},
"location": {
"fieldPathElements": [
{
"fieldName": "conversions",
"index": 0
},
{
"fieldName": "conversion_action"
}
]
}
}
]
}
]
},
"results": [
{}
]
}

We did the following query to get the conversion id and put it in place of 
the conversion name and we still get the same error: 

https://googleads.googleapis.com/v12/customers/MYCOSTUMERID/googleAds:search

{
"query": "SELECT conversion_action.name, conversion_action.id FROM 
conversion_action WHERE conversion_action.name='MYCONVERSIONNAME'"
}

Can you help me to solve it?

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d65ad13d-d87e-401b-8951-6974cfd3bc1en%40googlegroups.com.


Google Ads API for offline convertions

2023-03-03 Thread Alexis S
 Good  afternoon

In order to provide information relative to offline convertions, we 
interact with the Google Ads Convertions web interace, uploading a CSV 
file. 

[image: uploading-conversions-60da093e70fa2.png]

Now, we are looking options in order to automate the process doing some 
test against the Google Ads API. The format of the data is the one that we 
are attached below:

[image: Captura de pantalla de 2023-03-03 12-15-59.png]

We found a reference in the documentation that points to this endpoint 
https://developers.google.com/google-ads/api/rest/reference/rest/v13/customers/uploadCallConversions?hl=en#CallConversion
 
and we want to confirm that this is the right approach in order to upload 
data through the API.

Thanks 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5784d826-7557-4493-a089-06ae2e4e7e62n%40googlegroups.com.