Re: gbraid & wbraid error [can't parse event import data]

2024-06-12 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Could you confirm whether the provided GBRAID value is valid and not modified 
while uploading the click conversions for the particular conversion action name 
'Reg'? Kindly note that this error occurs when your gbraid parameter is not 
formatted correctly. Please make sure the GBRAID value is not modified and 
retry the request again at your end.
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJEkq:ref" 
(ADR-00238752)

Thanks,

Google Ads API Team


Register for the upcoming workshop: Performance Max and the Google Ads API!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/vnQZ80SEZHHP00KoD1f13yTlGIoQV8NQMjVQ%40sfdc.net.


Re: generatekeywordhistoricalmetricsrequest - cpc historical data?

2024-06-12 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

The year_month_range represents the past 4 years date range. If the search 
volume is not available for the entire year_month_range provided, the subset of 
the year month range for which search volume is available are returned.  If not 
specified, metrics for the past 12 months are returned.

As already mentioned, there is no other API to provide monthly CPC data.

Hope this helps. If you have any more queries, please feel free to get back to 
us.
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJHrA:ref" 
(ADR-00239580)

Thanks,

Google Ads API Team


Register for the upcoming workshop: Performance Max and the Google Ads API!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/pEvf20SEZEVS00QEV9gtUwSNyK_r69buRJPA%40sfdc.net.


Re: api token - basic access

2024-06-12 Thread Analytics Account
I've reached out to the API compliance team and I still haven't heard back. 
Why is this so hard? It's such a simple request!

On Tuesday, June 11, 2024 at 6:59:24 AM UTC-5 Google Ads API Forum Advisor 
wrote:

> Hi,
>
> Thank you for reaching out to the Google Ads API support team.
>
> I understand that you have submitted an application to obtain Basic 
> access. Since the access requests are handled by the Google Ads API 
> Compliance team, I would recommend you reaching out to the Google Ads API 
> Compliance team 
>  as they 
> are better equipped to address your concerns.
>
>
> Please note that our team can only assist with the technical queries or 
> concerns related to the Google Ads API 
> .
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02tJGvB:ref" (ADR-00239341)
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0b9b2f29-0b76-4a5d-801a-15080957b72bn%40googlegroups.com.


Unable to create sub-accounts on my Test Manager Account

2024-06-12 Thread Jarrad Salmon
Hi there,

Following the instructions 
here: 
https://developers.google.com/google-ads/api/docs/best-practices/test-accounts#create

I created a new test manager account. 

I need to create some test sub-accounts but I get this error:
[image: image (2).jpg]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8fedb6ac-745b-4dd3-a175-f4acaeeb9fdfn%40googlegroups.com.


googleAds:mutate campaignCriterionOperation throwing INCONSISTENT_FIELD_VALUES error

2024-06-12 Thread Dan Charbonneau
New to these APIs and I've spent a day searching the conversations and 
can't understand what the fields are mis-matched in my googleAds:mutate 
campaignCriterionOperation.

I get this error if I join the campaignCriterion with "language" or 
"location", but works with things like "keyword".

Here is an example of language criterion, scoped it down to just campaign.

Endpoint:
https://googleads.googleapis.com/v17/customers/{{googAccountId}}/googleAds:mutate

Request Body:
{
"mutateOperations": [
{
"campaignBudgetOperation": {
"create": {
"resourceName": "customers/{{googAccountId}}/campaignBudgets/-1",
"deliveryMethod": "STANDARD",
"period": "DAILY",
"type": "STANDARD",
"name": "API RDA Keyword to website #6 Campaign Budget",
"amountMicros": 500,
"explicitlyShared": false
}
}
},
{
"campaignOperation": {
"create": {
"resourceName": "customers/{{googAccountId}}/campaigns/-2",
"status": "ENABLED",
"advertisingChannelType": "SEARCH",
"name": "API RDA Keyword to website #6 Campaign",
"campaignBudget": "customers/{{googAccountId}}/campaignBudgets/-1",
"networkSettings": {
"targetGoogleSearch": true,
"targetSearchNetwork": true,
"targetContentNetwork": false,
"targetPartnerSearchNetwork": false,
"targetYoutube": false,
"targetGoogleTvNetwork": false
},
"frequencyCaps": [
{
"key": {
"level": "AD_GROUP",
"eventType": "IMPRESSION",
"timeUnit": "DAY",
"timeLength": 1
},
"cap": 2
}
],
"paymentMode": "CLICKS",
"assetAutomationSettings": [
{
"assetAutomationType": "TEXT_ASSET_AUTOMATION",
"assetAutomationStatus": "OPTED_OUT"
}
],
"manualCpc": {
"enhancedCpcEnabled": true
}
}
}
},
{
"campaignCriterionOperation": {
"create": {
"resourceName": "customers/{{googAccountId}}/campaignCriteria/-2~-7",
"status": "ENABLED",
"campaign": "customers/{{googAccountId}}/campaigns/-2",
// "bidModifier": number,
"negative": false,
"language": {
"languageConstant": "languageConstants/1000"
}
// "location": {
// "geoTargetConstant": "geoTargetConstants/2840"
// }
// "keyword": {
// "matchType": "EXACT",
// "text": "Desk"
// }
}
}
}
]
}

Request Response:
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": 
"type.googleapis.com/google.ads.googleads.v17.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"mutateError": "INCONSISTENT_FIELD_VALUES"
},
"message": "The field's contents don't match another field that represents 
the same data.",
"location": {
"fieldPathElements": [
{
"fieldName": "mutate_operations",
"index": 2
},
{
"fieldName": "campaign_criterion_operation"
},
{
"fieldName": "create"
},
{
"fieldName": "resource_name"
}
]
}
}
],
"requestId": "_bYxfOF37nzaZDeQcsNd-Q"
}
]
}
}

Thanks in advance for any insight or help

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2c882257-c95a-4dca-a500-01d22a1ce862n%40googlegroups.com.


Re: generatekeywordhistoricalmetricsrequest - cpc historical data?

2024-06-12 Thread Yuan-Chien Yang
And are there any alternative ways (other APIs) that I could source 
relevant data and calculate monthly CPC myself? Any suggestions would be 
great. Thank you again. 

On Wednesday, June 12, 2024 at 11:57:31 AM UTC-4 Yuan-Chien Yang wrote:

> Sorry, one last question. Just to clarify. For the average CPC returned 
> from this particular API, what's the date range it represents? Thank you!
>
> On Wednesday, June 12, 2024 at 11:55:58 AM UTC-4 Google Ads API Forum 
> Advisor wrote:
>
>> Hi,
>>
>> There is no other API to provide monthly CPC data. You can check the 
>> YearMonthRange 
>> 
>>  
>> which is inclusive of the start and end months. Eg: A year month range to 
>> represent Jan 2020 would be: (Jan 2020, Jan 2020). Hope this helps.
>>
>>   
>>
>>
>> *This message is in relation to case "ref:!00D1U01174p.!5004Q02tJHrA:ref" 
>> (ADR-00239580) Thanks,*
>>   
>> [image: Google Logo] *Google Ads API Team* 
>> *Register 
>>  for 
>> the upcoming workshop: Performance Max and the Google Ads API!*
>>  
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8bab8d23-5cb5-44ec-9095-4e5dc230d504n%40googlegroups.com.


Re: generatekeywordhistoricalmetricsrequest - cpc historical data?

2024-06-12 Thread Yuan-Chien Yang
Sorry, one last question. Just to clarify. For the average CPC returned 
from this particular API, what's the date range it represents? Thank you!

On Wednesday, June 12, 2024 at 11:55:58 AM UTC-4 Google Ads API Forum 
Advisor wrote:

> Hi,
>
> There is no other API to provide monthly CPC data. You can check the 
> YearMonthRange 
> 
>  
> which is inclusive of the start and end months. Eg: A year month range to 
> represent Jan 2020 would be: (Jan 2020, Jan 2020). Hope this helps.
>
>   
>
>
> *This message is in relation to case "ref:!00D1U01174p.!5004Q02tJHrA:ref" 
> (ADR-00239580) Thanks,*
>   
> [image: Google Logo] *Google Ads API Team* 
> *Register 
>  for 
> the upcoming workshop: Performance Max and the Google Ads API!*
>  
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c3a7c609-77a0-47e1-ba4d-cebe5172b8b0n%40googlegroups.com.


Re: generatekeywordhistoricalmetricsrequest - cpc historical data?

2024-06-12 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

There is no other API to provide monthly CPC data. You can check the 
YearMonthRange which is inclusive of the start and end months. Eg: A year month 
range to represent Jan 2020 would be: (Jan 2020, Jan 2020). Hope this helps.
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJHrA:ref" 
(ADR-00239580)

Thanks,

Google Ads API Team


Register for the upcoming workshop: Performance Max and the Google Ads API!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/YwVk30SEZ5KA00ze1tLl81RTCR0FCufGt_dg%40sfdc.net.


Re: gbraid & wbraid error [can't parse event import data]

2024-06-12 Thread Artem Konyukhov
Method Name: 
/google.ads.googleads.v16.services.ConversionUploadService/UploadClickConversions
Host: googleads.googleapis.com
Headers: {
"x-goog-api-client": "gl-php\/8.1.27 gccl\/22.1.0 gapic\/22.1.0 
gax\/1.19.1 grpc\/1.60.0 rest\/1.19.1 pb\/+n",
"x-goog-request-params": "customer_id=3217984468",
"developer-token": "REDACTED",
"login-customer-id": "3217984468"
}
Request:
{"customerId":"3217984468","conversions":[{"gbraid":"4629726032566902508","conversionAction":"customers\/3217984468\/conversionActions\/6779716252","conversionDateTime":"2024-06-09
 
08:07:20+00:00","conversionValue":0,"currencyCode":"EUR"}],"partialFailure":true,"debugEnabled":true}

Response
---
Headers: {
"content-disposition": "attachment",
"request-id": "oVtvmt7_zbR6b97ZZOGeUA",
"date": "Wed, 12 Jun 2024 15:21:53 GMT",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}
Response:
{"partialFailureError":{"code":3,"message":"Can't parse event import data. 
Check if your gbraid parameter was not modified and try again., at 
conversions[0].gbraid","details":[{"@type":"type.googleapis.com/google.ads.googleads.v16.errors.GoogleAdsFailure","errors":[{"errorCode":{"conversionUploadError":"UNPARSEABLE_GBRAID"},"message":"Can't
 
parse event import data. Check if your gbraid parameter was not modified 
and try 
again.","trigger":{"stringValue":"4629726032566902508"},"location":{"fieldPathElements":[{"fieldName":"conversions","index":0},{"fieldName":"gbraid"}]}}],"requestId":"oVtvmt7_zbR6b97ZZOGeUA"}]},"results":[{}],"jobId":"5081303639836305098"}
[2] => Array
(
)

)

)

среда, 12 июня 2024 г. в 17:21:03 UTC+3, Google Ads API Forum Advisor: 

> Hi,
>
> As mentioned earlier, we need complete API logs to investigate this issue 
> and the provided information does not contain request 
> 
>  and response 
> .
>  
> Provide us the complete API logs (request 
> 
>  and response 
> 
>  with request-id 
> 
>  and request header 
> )
>  
> generated at your end to assist you better.
>
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02tJEkq:ref" (ADR-00238752)
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fb56f55d-d24a-4aad-a893-0db78b728b4dn%40googlegroups.com.


Re: not getting conversion action data for months

2024-06-12 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

According to the guide, rows whose selected metrics are all zero won't be 
returned. In the examples provided, it seems that when filtering by month, it 
is inline with the guide, since all metrics are zero. When filtering by date, 
though all metrics are zero, they are still included in the response.

I will work with the corresponding team to resolve this issue and get back. 
Thanks!
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJG3i:ref" 
(ADR-00239033)

Thanks,

Google Ads API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ntLOm0SEZ2BM0073-diIXZSSK00AQoUnIK0g%40sfdc.net.


Re: gbraid & wbraid error [can't parse event import data]

2024-06-12 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

As mentioned earlier, we need complete API logs to investigate this issue and 
the provided information does not contain request and response. Provide us the 
complete API logs (request and response with request-id and request header) 
generated at your end to assist you better.
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJEkq:ref" 
(ADR-00238752)

Thanks,

Google Ads API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/Uzdl00SEZ15W008l-p9L4uQDa-coGzMCmIeQ%40sfdc.net.


Re: gbraid & wbraid error [can't parse event import data]

2024-06-12 Thread Artem Konyukhov
Our steps where we get an error

1) Getting conversionActionId:

SELECT conversion_action.id, conversion_action.name FROM conversion_action 
WHERE conversion_action.name = 'Reg'


2) Generate conversionAction by ids:
$customerId = "3217984468";
$conversionId = "6779716252";
$conversionAction = ResourceNames::forConversionAction($customerId, 
$conversionId);

3) Create ClickConversion

$conversion = [
[conversion_date_time] => 2024-06-09 08:07:20+00:00
[currency_code] => EUR
[conversion_value] => 0
[gbraid] => 4629726032566902508
];

$clickConversion = new ClickConversion($conversion);
$clickConversion->setConversionAction($conversionAction);

4) Create UploadClickConversionsRequest

$request = UploadClickConversionsRequest::build($customerId, 
[$clickConversion], true);

5) Upload conversion:

$responseUpload = 
$conversionUploadServiceClient->uploadClickConversions($request);

6) Getting Error:
Can't parse event import data. Check if your gbraid parameter was not 
modified and try again.


Google api log:
Request made: Host: "googleads.googleapis.com", Method: 
"/google.ads.googleads.v16.services.GoogleAdsService/Search", CustomerId: 
3217984468, RequestId: "4zRICthUoBwBvFfE5KJveQ", IsFault: 0, FaultMessage: 
"None"



понедельник, 10 июня 2024 г. в 21:20:34 UTC+3, Google Ads API Forum 
Advisor: 

> Hi,
>
> I could see that the provided logs are incomplete. We would require 
> complete API logs (request 
> 
>  and response 
> 
>  with request-id 
> 
>  and request header 
> )
>  
> generated at your end. Kindly provide us with the requested information to 
> investigate this issue further.
>
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02tJEkq:ref" (ADR-00238752)
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dd94f4c6-4c6b-48ce-b426-57091bb20c3an%40googlegroups.com.


Re: generatekeywordhistoricalmetricsrequest - cpc historical data?

2024-06-12 Thread Yuan-Chien Yang
Thank you for the response!

Is there any other API that would provide the monthly CPC data?

Best, 


On Tuesday, June 11, 2024 at 11:23:38 PM UTC-4 Google Ads API Forum Advisor 
wrote:

> Hi,
>
> Thank you for reaching out to the Google Ads API support team.
>
> Please find the answers for your questions below: 
>
>1. No, the GenerateKeywordHistoricalMetricsRequest API from Google Ads 
>currently doesn't allow retrieving data for more than 4 years. The API 
>retrieves historical metrics for the past 12 months by default. 
>2. Average CPC 
>
> 
>  
>is provided only for legacy support. Note that, the 
>GenerateKeywordHistoricalMetricsRequest API doesn't provide monthly CPC 
>data.  
>
> I hope this helps!
>
>   
>
>
> *This message is in relation to case "ref:!00D1U01174p.!5004Q02tJHrA:ref" 
> (ADR-00239580) Thanks,*
>   
> [image: Google Logo] *Google Ads API Team* 
> *Register 
>  for 
> the upcoming workshop: Performance Max and the Google Ads API!*
>  
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e23b0eee-bbc4-463b-8a97-c0a0b753c884n%40googlegroups.com.