Call generate_historical_metrics for multiple keyword plans in a single call

2023-01-16 Thread Nam Đào
Hi all, 
We have a tool that generates localized keyword suggestions to our clients 
based on historical search volumes. For that purpose we have been fetching 
historical metrics for ~1000 keywords on ~100 coutries.
 Basically our app makes;
1 mutate request for creating 199 KeywordPlans
1 search request for fetching the KeywordPlans
1 mutate request for creating 199 KeywordPlanCampaigns
1 search request for fetching the KeywordPlanCampaigns
1 mutate request for creating 199 KeywordPlanAdGroups
1 search request for fetching the KeywordPlanAdGroups
199 mutate requests for creating 1000 KeywordPlanAdGroupKeywords under each 
KaywordPlanAdGroup.
It took me 20 minutes to get the job done.
If I could call generate_historical_metrics for multiple keyword plans in a 
single call, it would be much faster.
Am I missing out on something?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/09dda706-8ba7-468a-950a-4bfd94680c04n%40googlegroups.com.


RE: Conversion event error google api

2023-01-16 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Sofia,

Thanks for reaching out to the Google Ads API Forum. I hope you are doing well 
today. However, I need to delete your recent email in the forum as it contains 
your logs.

With regard to your, upon checking logs provided the issue was the 
CONVERSION_PRECEDES_CLICK. That said, “This conversion is reported to have 
happened before the click associated with the given identifier or iOS URL 
parameter.” indicates that the given specified conversion_date_time is before 
the event time associated with the given identifier or iOS URL parameter.

Please make sure the conversion specified in the API request did not occur 
before the click associated with the specified identifier or iOS URL parameter. 
This 'conversion_date_time' is the date and time the conversion occurred and 
must be after the click time. A timezone must be specified.

The conversion_date_time should allow you to specify a timezone according to 
the recommended format: "-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 
12:32:45-08:00".

Also, it looks like your concern has already been raised in another thread 
"Conversion precedes event error google api". Therefore, please refrain from 
opening multiple forum thread for single issue.

Have a great day.

Regards,

Marjorie
Google Ads API Team
ref:_00D1U1174p._5004Q2hytWz: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/2o6vq0ROM9YR00lKLK-rxPTNmAja4trLS2ag%40sfdc.net.


RE: Google LSA api

2023-01-16 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Barbara,

Thank you for reaching us out. I am Sherwin from Google Ads API support team. I 
hope that you are doing well today.

Moving forward to your concern, please note that Google Ads API is different 
from Google Local Services Ads API. What we can do is to advise you to reach 
out to the Google Local Services Ads team via this link.

Kind regards,

Sherwin Vincent
Google Ads API Team
ref:_00D1U1174p._5004Q2hz0pO: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/-A2-g0ROM8E200ZXlW_5aqTYqzi7KFJobwfg%40sfdc.net.


Re: How to Get/set placement exclusion list

2023-01-16 Thread Balram Kumar
Hi
I wanted to use placement exclusion for shopping campaign. The solution you 
have given is not applicable for this kind of campaign as i can see in doc 
as well.
https://developers.google.com/google-ads/api/reference/rpc/v12/CampaignSharedSet.
 
will you please guide me how to do for the shopping campaign.?

On Wednesday, 11 January 2023 at 19:21:36 UTC+5:30 adsapi wrote:

> Hi Balram,
>
> Thanks for reaching out to the Google Ads API Forum.
>
> You may use a shared_set report. Also, you may use *campaign_shared_set* 
>  
> report which is used for managing the shared sets associated with a 
> campaign. To add an exclusion list to a campaign, you may create campaign 
> shared sets using *CampaignSharedSetService* 
> .
>  
> *CampaignSharedSets* 
> 
>  
> are used for managing the shared sets associated with a campaign. Kindly 
> note that the SharedSet object has a SharesSetType 
> 
>  field, 
> and to create an exclusion placement list you would use the value 
> "NEGATIVE_PLACEMENTS".
>
> We have sample code examples to create a shared list of negative broad 
> match keywords which attaches them to a campaign. You may refer to code 
> example here:
> *https://developers.google.com/google-ads/api/docs/samples/create-and-attach-shared-keyword-set*
>  
> 
>
> Add to that, you may find shared set criteria using this *code example* 
> .
>  
> Let us know if you have any questions.
>
> Regards,
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2hx7EM: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/fcb5efe2-86f4-476f-b4fb-dcad2df011een%40googlegroups.com.


Re: Inquiry about creating third-party links via Google Ads API

2023-01-16 Thread Samatar geedi
OK 

On Monday, January 16, 2023 at 4:34:21 PM UTC+3 m.ch...@mobileartsme.com 
wrote:

> Dear Google Ads Support Team,
>
> I am interested in using the Google Ads API to create and manage 
> third-party links for my account. However, based on the documentation and 
> resources that I have reviewed, it appears that this is not a feature that 
> is currently supported by the API.
>
> I would greatly appreciate it if you could confirm whether or not this 
> feature is available via the Google Ads API, and if so, provide me with any 
> relevant documentation or resources that would assist me in implementing 
> this functionality. If this feature is not currently supported, I would 
> also appreciate any information on alternative methods or tools that may be 
> available for creating and managing third-party links within a Google Ads 
> account.
>
> Thank you in advance for your time and assistance with this matter.
>
> Sincerely,
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9f6ed6ed-592c-4e54-a4dc-66a031b27a2an%40googlegroups.com.
// Copyright 2014 Google Inc. All Rights Reserved.

package com.examples.youtubeapidemo;

/**
 * Static container class for holding a reference to your YouTube Developer Key.
 */
public class DeveloperKey {

  /**
   * Please replace this with a valid API key which is enabled for the
   * YouTube Data API v3 service. Go to the
   * https://console.developers.google.com/;>Google Developers Console
   * to register a new developer key.
   */
  public static final String DEVELOPER_KEY = null;

}


Google LSA api

2023-01-16 Thread barbara jaymon
Hello, is this is also the place to ask for help about Google Local Serice 
Ads API? If not please let me know where to. Thanks in advance!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/088f6242-dd3c-43ba-b613-7202eab65f3en%40googlegroups.com.


Re: What's the difference between landing_page_view.unexpanded_final_url and ad_group_ad.ad.final_urls?

2023-01-16 Thread Nelson Brochado
Hi.

I understand that, depending on the resource level, we may get different 
results. However, in this case, we're talking about fetching "final URLs" 
from the landing_page_view and the ad_group_ad resource. 

I guess my question then boils down to: what is the resource level of the 
landing_page_view? If we look at the docs 
, 
the answer would be "the unexpanded final URL level", but then my question 
is then: what is the relationship between the ad level and the "unexpanded 
final URL level"? What is the "unexpanded final URL level"? What do you 
mean by "level"? I know that, in practice, we can define final URLs in the 
ad and in the keywords, but how do these URLs related to the 
landing_page_view's final URLs? There must be a relationship between them. 
The landing_page_view must be taking the URLs either from the ad or 
keywords. There's no other way, as far as I know.

Moreover, let's say we want to fetch these things:

1. final URLs
2. metrics: ctr and impressions

Should we get these from the ad_group_ad or landing_page_view? We can get 
them from one or the other. Which one should we choose? And why? And what's 
the difference?

Cheers
On Monday, January 16, 2023 at 6:43:42 AM UTC+1 adsapi wrote:

> Hi Nelson,
>
> Thank you for reaching out to us.
>
> Kindly note that the fields you have mentioned have different purposes; it 
> will depend on the resource level (for example, the ad_group level) you 
> might be fetching. Since the Google Ads API mirrors the Google Ads UI, 
> could you provide us with the entire UI screenshot where you can see the 
> data you want to fetch in the API, so that our team can further provide 
> precise guidance accordingly to what is the more appropriate field you may 
> be using in the Ads API?
>
> You may then send the requested information via the Reply privately to 
> author option. If this option is not available, you may send the details 
> directly to our googleadsa...@google.com alias instead.
>
> If you have further questions regarding the specific values of the fields 
> fetched, then I would recommend you reach out instead to the Product Team 
> via this link , as they 
> are better equipped to provide guidance on the data accumulation.
>
> Best regards,
> [image: Google Logo] 
> Heidi 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2hyDHl: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/c42ccc3b-5495-40ba-8598-07f004a5a110n%40googlegroups.com.


get all experiment whose end_date is greater than today in v12

2023-01-16 Thread Mahendra Garg
Hi guys

I'm facing an issue to query to get experiments. I want experiment whose 
end date is greater than today.
```
SELECT experiment_arm.campaigns,
experiment_arm.experiment,
experiment.end_date,
experiment.resource_name
FROM experiment_arm
WHERE experiment.status IN ('ENABLED')
AND experiment.end_date > '{today}' 
```
but in v12 `>` is not available, only available operators are `Valid 
operators: =, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, 
REGEXP_MATCH, NOT REGEXP_MATCH.`

please let me know if anyone have gone through by 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/89190d2c-b7bf-4563-a247-5f64298ed145n%40googlegroups.com.


Adding customer match list with api (c#)generates a different match rate than uploading csv file

2023-01-16 Thread Sami Steenhaut
So i need to automate the creation and update of a Customer Match List via 
the Google Ads api v11. We have over 2 millions user to sync, so we do 
multiple calls that contains 100K users each since this is the threshold. 
After running my program and after that the api calls are processed, the 
match rate is always around 65-75%. The problem is that when i take the 
exact same users and i put them all in a csv file, then uploads it directly 
in the audience section, the match rate is 100%. They should be the same. 
The hashing and the formating are the exact same for both ways. 

Can i get help with that, or is that normal ?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/eedca3dc-23fe-414f-ab8b-041c17818e7dn%40googlegroups.com.


Inquiry about creating third-party links via Google Ads API

2023-01-16 Thread Mohamad Charara


Dear Google Ads Support Team,

I am interested in using the Google Ads API to create and manage 
third-party links for my account. However, based on the documentation and 
resources that I have reviewed, it appears that this is not a feature that 
is currently supported by the API.

I would greatly appreciate it if you could confirm whether or not this 
feature is available via the Google Ads API, and if so, provide me with any 
relevant documentation or resources that would assist me in implementing 
this functionality. If this feature is not currently supported, I would 
also appreciate any information on alternative methods or tools that may be 
available for creating and managing third-party links within a Google Ads 
account.

Thank you in advance for your time and assistance with this matter.

Sincerely,

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fe4ca3a4-a52f-466e-8988-220c80bfae87n%40googlegroups.com.


Conversion event error google api

2023-01-16 Thread 'Sofia Aboy' via Google Ads API and AdWords API Forum
Hi support, 

I use Google Ad API for uploading offline conversions and I began 
experiencing this error a few weeks ago: CONVERSION_PRECEDES_CLICK.
We've already updated to version V12 and we are still having the same error.
I’d appreciate your help in this matter. 

Please find the logs below.

Method Name: 
/google.ads.googleads.v12.services.ConversionUploadService/UploadClickConversions
 
2Host: googleads.googleapis.com 3Headers: { 4 "x-goog-api-client": 
"gl-php\/7.4.29 gccl\/17.1.0 gapic\/17.1.0 gax\/1.18.1 grpc\/1.45.0 
rest\/1.18.1 pb\/3.19.4+c", 5 "x-goog-request-params": 
"customer_id=9829747784", 6 "developer-token": "REDACTED", 7 
"login-customer-id": "9829747784" 8} 9Request: 
10{"customerId":"9829747784","conversions":[{"gclid":"CjwKCAiA8OmdBhAgEiwAShr4008e9fIe3ayaAtTuJhy8Dupacud5llClx-4P132WMUkaEeZtDzKbpBoCaQYQAvD_BwE","conversionAction":"customers/9829747784/conversionActions/346628319","conversionDateTime":"2023-01-08
 
09:14:17-03:00","conversionValue":250,"currencyCode":"USD"}],"partialFailure":true}
 
11 12Response 13--- 14Headers: { 15 "content-disposition": 
"attachment", 16 "request-id": "E6rMEsEPF5sphqpNJN9sQQ", 17 "date": "Mon, 
09 Jan 2023 13:34:02 GMT", 18 "alt-svc": "h3=\":443\"; 
ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; 
ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; 
ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"" 19} 20Response: 
21{"partialFailureError":{"code":3,"message":"This conversion is reported 
to have happened before the click associated with the given identifier or 
iOS URL parameter., at 
conversions[0].conversion_date_time","details":[{"@type":"
type.googleapis.com/google.ads.googleads.v12.errors.GoogleAdsFailure","errors":[{"errorCode":{"conversionUploadError":"CONVERSION_PRECEDES_EVENT"},"message":"This
 
conversion is reported to have happened before the click associated with 
the given identifier or iOS URL 
parameter.","trigger":{"stringValue":"2023-01-08 
09:14:17-03:00"},"location":{"fieldPathElements":[{"fieldName":"conversions","index":0},{"fieldName":"conversion_date_time"}]}}]}]},"results":[{}]}
 
22[2023-01-09T13:38:02.692040+00:00] google-ads.INFO: Request made: Host: "
googleads.googleapis.com", Method: 
"/google.ads.googleads.v12.services.ConversionUploadService/UploadClickConversions",
 
CustomerId: 9829747784, RequestId: "O9SUxKOBd51Pfq2e-Z1y_g", IsFault: 0, 
FaultMessage: "None" 23[2023-01-09T13:38:02.692243+00:00] google-ads.DEBUG: 
Request 24

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cb2ec9ab-3d2e-44b2-81d7-3249eab3dd7an%40googlegroups.com.


RE: This conversion is reported to have happened before the click associated with the given identifier

2023-01-16 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Keji,

Thanks for reaching out to the Google Ads API Forum.

I can see that the complete logs are posted in the forum thread, however, it is 
not recommended. You may need to send the logs to us privately or create 
support thread with us using googleadsapi-supp...@google.com email alias. I’ve 
deleted your post, but you may see below for your reference:

“This error has troubled me for a long time. What can I do to avoid this error.


Request

---

MethodName: 
google.ads.googleads.v11.services.ConversionUploadService/UploadClickConversions

conversions {

gclid: "***"

conversion_action: ""***""

conversion_date_time: "2023-01-14 12:14:38-12:08"

conversion_value: 133.0

currency_code: "USD"

order_id: ""***""

}

partial_failure: true



Response



Body: partial_failure_error {

code: 3

message: "This conversion is reported to have happened before the click 
associated with the given identifier or iOS URL parameter., at 
conversions[0].conversion_date_time"

details {

type_url: "type.googleapis.com/google.ads.googleads.v11.errors.GoogleAdsFailure"

value: "\n\307\001\n\003\370\006*\022xThis conversion is reported to have 
happened before the click associated with the given identifier or iOS URL 
parameter.\032\033*\0312023-01-14 
12:14:38-12:08\")\022\017\n\vconversions\030\000\022\026\n\024conversion_date_time"

}

}

results {

}


Failure message: null

Status: Status{code=OK, description=null, cause=null}.

Partial failure occurred: This conversion is reported to have happened before 
the click associated with the given identifier or iOS URL parameter.”

Upon checking your logs, it appears that you have encountered the 
CONVERSION_PRECEDES_EVENT error. The error message “This conversion is reported 
to have happened before the click associated with the given identifier or iOS 
URL parameter.” indicates that the given specified conversion_date_time is 
before the event time associated with the given identifier or iOS URL 
parameter. Please make sure that the given conversion in your API request is 
not reported to have happened before the click associated with the given 
identifier or iOS URL parameter. Note that the conversion_date_time is the date 
time at which the conversion occurred, and it must be after the click time. The 
timezone must be specified.

The conversion_date_time should allow for specifying the timezone as per the 
recommended format :

The date time at which the conversion occurred. Must be after the click time. 
The timezone must be specified. The format is "-mm-dd hh:mm:ss+|-hh:mm", 
for example, "2019-01-01 12:32:45-08:00".

In addition, you may also check if you're tracking the DST, and performing the 
adjustments. Let us know how this goes on your end.

Regards,

Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2hyhGZ: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/V90Lz0ROKM1T009kj9zB7aRlOvtCSoQkZTmA%40sfdc.net.


RE: Why would the API return the average CPV multiplied by 1 million?

2023-01-16 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Nelson,

Thank you for reaching out to us.

To answer your questions in general, I could confirm that the cost pulled in 
the API is in micros. That being said, it is working as intended that the API 
will pull it as 219 then divide by 10 to become UI's value which is the 
2.19.

As a follow-up question, are all currency metrics returned in "micro units"?

Yes.

Is there an official documentation page that talks about this specifically?

I'm afraid that there is no official documentation page that talks about this 
specifically. However, I could confirm that your approach is correct here and 
that you need to divide by 1 million in order to match the value seen in the UI.

Let me know if you have further questions.

Best regards,

Heidi
Google Ads API Team
ref:_00D1U1174p._5004Q2hyBgu: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/zKUKZ0ROKKTX003NqlwH3JRUapl4VcuBUx0Q%40sfdc.net.