Re: new AdWords API, ClickConversion conversion_action how to specify?

2019-06-19 Thread Oleksandr Dyklevych
yes, but how comes it is working with no problem in 
Google.Api.Ads.AdWords.v201809 under the hood?
what shall i do when Google.Api.Ads.AdWords.v201809 gets deprecated?


On Thursday, May 30, 2019 at 8:23:34 AM UTC+2, adsapiforumadvisor wrote:
>
> Hi,
>
> I am afraid that there is no direct way to know who manages the GCLID as 
> of the moment except for downloading the click_view 
>  
> report.
>
> Regards,
> Dannison
> Google Ads API Team
>
> ref:_00D1U1174p._5001UAq7Dn: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 
"AdWords API and Google Ads 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/881799b6-f80e-434d-97ed-0fd5601cf642%40googlegroups.com.


Re: new AdWords API, ClickConversion conversion_action how to specify?

2019-05-29 Thread Oleksandr Dyklevych
Hi Dannison,

No, not owners of conversion actions.
i need to know, for example, which of 20+ managed accounts the conversion 
with gclid "EAIaIQobChMIpeat28qY4gIVyU0YCh
16EQ5MEAAYASAAEgIeevD_BwE" belongs to.

then, i would need to get resource name from that account, and only then 
upload the conversion.

That looks tedious comparing to this code for Google.Api.Ads.AdWords.v201809 
which i provided above.

OfflineConversionFeed feed = new 
OfflineConversionFeed();
feed.conversionName = "Offline Conversions";
feed.conversionTime = "2019-05-13 20:40:34 
Europe/Stockholm";
feed.conversionValue = 100d;
feed.conversionCurrencyCode = "SEK";
feed.googleClickId = 
"EAIaIQobChMIpeat28qY4gIVyU0YCh16EQ5MEAAYASAAEgIeevD_BwE";

OfflineConversionFeedOperation 
offlineConversionOperation =
new OfflineConversionFeedOperation();
offlineConversionOperation.@operator = Operator.ADD;
offlineConversionOperation.operand = feed;

OfflineConversionFeedReturnValue 
offlineConversionRetval =
offlineConversionFeedService.mutate(
new OfflineConversionFeedOperation[] { 
offlineConversionOperation });


So, the question is - how to get account by knowing only gclid? is that 
possible to do in efficient way, not running requests one by one?


On Wednesday, May 29, 2019 at 9:27:40 AM UTC+2, adsapiforumadvisor wrote:
>
> Hi Dannison,
>
> Just to be clear, you wish to get the owners of these individual 
> conversion actions. Is this correct? You can include 
> conversion_action.owner_customer 
> 
>  
> in the GAQL to get the owners of each conversion. Let me know if this 
> helps. 
>
> Regards,
> Dannison
> Google Ads API Team
>
> ref:_00D1U1174p._5001UAq7Dn: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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/aa2cb75e-be9c-4a4a-9dd4-b95ec2561c7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: new AdWords API, ClickConversion conversion_action how to specify?

2019-05-28 Thread Oleksandr Dyklevych

Hi Danisson,

yes, i've tried this way, and it kind of works.
But, it introduces a new issue, namely, for each conversion, i need to know 
which account it is coming from. Then i need to go to that account and find 
out conversion action resource name with GAQL, because each of them has 
different resource name for same "Offline Conversions" action.

However, the problem is that i do not know which accounts conversions are 
coming from.
I work from one managing account which has about 20+ managed account under 
it. i know only this managing account and i have a bunch of conversions in 
our back-end systems coming from these 20+ accounts.

And, as i provided an example for Google.Api.Ads.AdWords.v201809, i do not 
even care now which of these 20+ managed accounts the conversions are 
coming from. I upload them from my managing account, but somehow they 
appear under proper managed account after uploading.

Now, in the new API, I need to know account for each conversion. It will be 
quite cumbersome and time consuming logic with a lot of trial and errors, 
and unnecessary calls to API, in my opinion.
Is there any easy way to do it in Google.Ads.GoogleAds without knowing 
which account each conversion is coming from?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3481cd90-6539-4e87-a562-4844a235dda0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: new AdWords API, ClickConversion conversion_action how to specify?

2019-05-27 Thread Oleksandr Dyklevych
Is there any update on the topic?
What is the best way to proceed?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/89ec336c-2326-4885-ac62-1cf0bf09cf7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: new AdWords API, ClickConversion conversion_action how to specify?

2019-05-17 Thread Oleksandr Dyklevych
To be more specific, this is a piece of code that works in 
Google.Api.Ads.AdWords.v201809

OfflineConversionFeed feed = new 
OfflineConversionFeed();
feed.conversionName = "Offline Conversions";
feed.conversionTime = "2019-05-13 20:40:34 
Europe/Stockholm";
feed.conversionValue = 100d;
feed.conversionCurrencyCode = "SEK";
feed.googleClickId = 
"EAIaIQobChMIpeat28qY4gIVyU0YCh16EQ5MEAAYASAAEgIeevD_BwE";

OfflineConversionFeedOperation 
offlineConversionOperation =
new OfflineConversionFeedOperation();
offlineConversionOperation.@operator = Operator.ADD;
offlineConversionOperation.operand = feed;

OfflineConversionFeedReturnValue 
offlineConversionRetval =
offlineConversionFeedService.mutate(
new OfflineConversionFeedOperation[] { 
offlineConversionOperation });

Before running above, i authenticate and authorize my client from managing 
account, say "1", and the conversion is uploaded co conversion 
action under a managed account "". So, i do not even know which 
account it belongs to, i just use one centralized managing account and 
upload all conversions at once.

How can i achieve similar with new Google.Ads.GoogleAds library?


On Friday, May 17, 2019 at 1:14:56 PM UTC+2, Oleksandr Dyklevych wrote:
>
> Hi Dave,
>
>
> I still cannot get it. 
>
> you say "To get the resource name of the conversion_action, you may use 
> the ConversionActionService.GetConversionAction 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#google.ads.googleads.v1.services.ConversionActionService>()
>  
> method". But, per documentation, "resource_name" is the parameter i need to 
> supply to GetConversionAction(). So, to get request name what should i 
> supply there?
>
> I try simple
> ConversionActionServiceClient conversionActionService = 
> client.GetService(Services.V1.ConversionActionService);
> GetConversionActionRequest conversionActionRequest = new 
> GetConversionActionRequest();
>
> conversionActionRequest.ResourceName = "Offline Conversions";
>
> try
> {
> ConversionAction converisonAction = 
> conversionActionService.GetConversionAction(conversionActionRequest);
> }
> catch(Exception e)
> {
>
> }
>
> it throws error {{ "errors": [ { "errorCode": { "requestError": 
> "BAD_RESOURCE_ID" }, "message": "'Offline Conversions' part of the resource 
> name is invalid." } ] }}.
>
> So, how do i get i right?
>
> My task is following:
> for every managed account i created conversion action name "Offline 
> Conversions".
>
> i can get every conversion from back-end with required attributes - gclid, 
> date time, timezone, value, currency.
>
> The above is enough to upload offline conversions 
> via Google.Api.Ads.AdWords.v201809 library, but for new library i am 
> missing this one piece called ConversionAction.
> How do i get it working in the new Google.Ads.GoogleAds library?
>
> The best way would be to illustrate with code or point to an example.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4b50d89f-46a6-4fda-9132-2573a6e54bdc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: new AdWords API, ClickConversion conversion_action how to specify?

2019-05-17 Thread Oleksandr Dyklevych
Hi Dave,


I still cannot get it. 

you say "To get the resource name of the conversion_action, you may use the 
ConversionActionService.GetConversionAction 
()
 
method". But, per documentation, "resource_name" is the parameter i need to 
supply to GetConversionAction(). So, to get request name what should i 
supply there?

I try simple
ConversionActionServiceClient conversionActionService = 
client.GetService(Services.V1.ConversionActionService);
GetConversionActionRequest conversionActionRequest = new 
GetConversionActionRequest();

conversionActionRequest.ResourceName = "Offline Conversions";

try
{
ConversionAction converisonAction = 
conversionActionService.GetConversionAction(conversionActionRequest);
}
catch(Exception e)
{

}

it throws error {{ "errors": [ { "errorCode": { "requestError": 
"BAD_RESOURCE_ID" }, "message": "'Offline Conversions' part of the resource 
name is invalid." } ] }}.

So, how do i get i right?

My task is following:
for every managed account i created conversion action name "Offline 
Conversions".

i can get every conversion from back-end with required attributes - gclid, 
date time, timezone, value, currency.

The above is enough to upload offline conversions 
via Google.Api.Ads.AdWords.v201809 library, but for new library i am 
missing this one piece called ConversionAction.
How do i get it working in the new Google.Ads.GoogleAds library?

The best way would be to illustrate with code or point to an example.

On Friday, May 17, 2019 at 8:20:11 AM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hi,
>
> The resource name is different from name. You may check this guide 
> 
>  to 
> see the difference of resource name and name. To get the resource name of 
> the conversion_action, you may use the 
> ConversionActionService.GetConversionAction 
> ()
>  
> method. After getting the correct resource name, you may try to call the 
> API again. If the error persists after putting the correct resource name, 
> feel free to write back so I could assist you further.
>
> Regards,
> Dave
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 05/16/19 23:56:11 dikl...@gmail.com  wrote:
>
> Hi Dave,
>
> i read that guide, but it is not clear where i should get actual value for 
> conversion_action.
>
> Once again, under each managed account i created a conversion action and 
> gave it name "Offline Conversions".
>
> here is what i mean:
>
> [image: ConversionActions.jpg]
>
>
> in old  Google.Api.Ads.AdWords.v201809 C# library i used conversion feed 
> object and set conversion name attribute to "Offline Conversions". Then, i 
> used managing account to upload the feed, and it was automatically put 
> under correct managed account under this conversion action "Offline 
> Conversions", and all works fine.
>
> where can i get correct name for conversion action which i need to set in 
> the new library? Can i see it anywhere in Google Ads portal under account 
> settings or properties?
> To me, "Offline Conversions" is correct name as per screenshot.
>
> On Thursday, May 16, 2019 at 10:39:42 AM UTC+2, googleadsapi-forumadvisor 
> wrote:
>
> Hi,
>
> Thank you for providing the complete logs. Upon checking, you are passing 
> an incorrect value to the field conversion_action which is Offline 
> Conversions. As stated on this guide 
> ,
>  
> conversion_action is the resource name of the conversion action associated 
> with this conversion. This being said, can you try to pass the correct 
> resource name and then try to make the API call again?
>
> Regards,
>
> Dave
>
> Google Ads API Team
>
>
>

Re: new AdWords API, ClickConversion conversion_action how to specify?

2019-05-16 Thread Oleksandr Dyklevych
Hi Dave,

i read that guide, but it is not clear where i should get actual value for 
conversion_action.

Once again, under each managed account i created a conversion action and 
gave it name "Offline Conversions".

here is what i mean:

[image: ConversionActions.jpg]


in old  Google.Api.Ads.AdWords.v201809 C# library i used conversion feed 
object and set conversion name attribute to "Offline Conversions". Then, i 
used managing account to upload the feed, and it was automatically put 
under correct managed account under this conversion action "Offline 
Conversions", and all works fine.

where can i get correct name for conversion action which i need to set in 
the new library? Can i see it anywhere in Google Ads portal under account 
settings or properties?
To me, "Offline Conversions" is correct name as per screenshot.

On Thursday, May 16, 2019 at 10:39:42 AM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hi,
>
> Thank you for providing the complete logs. Upon checking, you are passing 
> an incorrect value to the field conversion_action which is Offline 
> Conversions. As stated on this guide 
> ,
>  
> conversion_action is the resource name of the conversion action associated 
> with this conversion. This being said, can you try to pass the correct 
> resource name and then try to make the API call again?
>
> Regards,
>
> Dave
>
> Google Ads API Team
>
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 05/16/19 06:55:16 dikl...@gmail.com  wrote:
>
> Hi Dave,
>
> i am using this library https://github.com/googleads/google-ads-dotnet.
> i enabled logging as specified in the documentation, and here is the 
> request details:
>
> Method Name: 
> /google.ads.googleads.v1.services.ConversionUploadService/UploadClickConversions
> Host: https://googleads.googleapis.com
> Headers: {
>   "x-goog-api-client": "gl-dotnet/4.6.1 gccl/2.0.0 gapic/2.0.0 gax/2.7.0 
> grpc/1.20.1",
>   "developer-token": "REDACTED"
> }
>
> { "customerId": "REDACTED", "conversions": [ { "gclid": 
> "EAIaIQobChMIpeat28qY4gIVyU0YCh16EQ5MEAAYASAAEgIeevD_BwE", 
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 204034 Europe/Stockholm", "conversionValue": 100, "currencyCode": "SEK", 
> "orderId": "SE13.05.19.19.52.15-96189" }, { "gclid": 
> "CjwKCAjwq-TmBRBdEiwAaO1enwbj3yTP2XJUWlFlPJtPc9EYVsNahq2vssD8rTvUfI_o2XMYKpUYahoCki8QAvD_BwE",
>  
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 152224 Europe/Copenhagen", "conversionValue": 100, "currencyCode": "DKK", 
> "orderId": "DK13.05.19.15.27.53-81128" }, { "gclid": 
> "CjwKCAjwiN_mBRBBEiwA9N-e_lR60gH04Cl6k4Q-E1-H6-wRjfid4sZOFuJ7SU59IZg3k_6ZJ0sCThoCYMUQAvD_BwE",
>  
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 094811 Europe/Prague", "conversionValue": 100, "currencyCode": "CZK", 
> "orderId": "CZ12.05.19.18.59.17-34482" }, { "gclid": 
> "EAIaIQobChMI59HJ0uOR4gIVzuR3Ch1PRA4sEAAYASAAEgKIMvD_BwE", 
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190510 
> 134211 Europe/Amsterdam", "conversionValue": 100, "currencyCode": "EUR", 
> "orderId": "NL10.05.19.22.18.04-23966" } ], "partialFailure": true }
>
> And, here is the response:
> Headers: {
>   "content-disposition": "attachment",
>   "request-id": "7lXeBIFyPB0TmRNx8k50NQ",
>   "date": "Wed, 15 May 2019 22:52:31 GMT",
>   "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,44,43,39\""
> }
>
> { "partialFailureError": { "code": 3, "message": "Multiple errors in 
> ‘details’. First error: Resource name 'Offline Conversions' is malformed: 
> expected 
> 'customers/{customer_id}/conversionActions/{ConversionType.conversion_type_id}'.,
>  
> at conversions[0].conversion_action", "details": [ { "@type": "
> type.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure", 
> "@value": 
> 

Re: new AdWords API, ClickConversion conversion_action how to specify?

2019-05-16 Thread Oleksandr Dyklevych
Hi Dave,

i read that guide, but it is not clear where i should get actual value for 
conversion_action.

Once again, under each managed account i created a conversion action and 
gave it name "Offline Conversions".

here is what i mean:

[image: ConversionActions.jpg]


in old  Google.Api.Ads.AdWords.v201809 C# library i used conversion feed 
object and set conversion name attribute to "Offline Conversions". Then, i 
used managing account to upload the feed, and it was automatically put 
under correct managed account under this conversion action "Offline 
Conversions", and all works fine.

where can i get correct name for conversion action which i need to set in 
the new library? Can i see it anywhere in Google Ads portal under account 
settings or properties?
To me, "Offline Conversions" is correct name as per screenshot.

On Thursday, May 16, 2019 at 10:39:42 AM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hi,
>
> Thank you for providing the complete logs. Upon checking, you are passing 
> an incorrect value to the field conversion_action which is Offline 
> Conversions. As stated on this guide 
> ,
>  
> conversion_action is the resource name of the conversion action associated 
> with this conversion. This being said, can you try to pass the correct 
> resource name and then try to make the API call again?
>
> Regards,
>
> Dave
>
> Google Ads API Team
>
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 05/16/19 06:55:16 dikl...@gmail.com  wrote:
>
> Hi Dave,
>
> i am using this library https://github.com/googleads/google-ads-dotnet.
> i enabled logging as specified in the documentation, and here is the 
> request details:
>
> Method Name: 
> /google.ads.googleads.v1.services.ConversionUploadService/UploadClickConversions
> Host: https://googleads.googleapis.com
> Headers: {
>   "x-goog-api-client": "gl-dotnet/4.6.1 gccl/2.0.0 gapic/2.0.0 gax/2.7.0 
> grpc/1.20.1",
>   "developer-token": "REDACTED"
> }
>
> { "customerId": "REDACTED", "conversions": [ { "gclid": 
> "EAIaIQobChMIpeat28qY4gIVyU0YCh16EQ5MEAAYASAAEgIeevD_BwE", 
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 204034 Europe/Stockholm", "conversionValue": 100, "currencyCode": "SEK", 
> "orderId": "SE13.05.19.19.52.15-96189" }, { "gclid": 
> "CjwKCAjwq-TmBRBdEiwAaO1enwbj3yTP2XJUWlFlPJtPc9EYVsNahq2vssD8rTvUfI_o2XMYKpUYahoCki8QAvD_BwE",
>  
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 152224 Europe/Copenhagen", "conversionValue": 100, "currencyCode": "DKK", 
> "orderId": "DK13.05.19.15.27.53-81128" }, { "gclid": 
> "CjwKCAjwiN_mBRBBEiwA9N-e_lR60gH04Cl6k4Q-E1-H6-wRjfid4sZOFuJ7SU59IZg3k_6ZJ0sCThoCYMUQAvD_BwE",
>  
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 094811 Europe/Prague", "conversionValue": 100, "currencyCode": "CZK", 
> "orderId": "CZ12.05.19.18.59.17-34482" }, { "gclid": 
> "EAIaIQobChMI59HJ0uOR4gIVzuR3Ch1PRA4sEAAYASAAEgKIMvD_BwE", 
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190510 
> 134211 Europe/Amsterdam", "conversionValue": 100, "currencyCode": "EUR", 
> "orderId": "NL10.05.19.22.18.04-23966" } ], "partialFailure": true }
>
> And, here is the response:
> Headers: {
>   "content-disposition": "attachment",
>   "request-id": "7lXeBIFyPB0TmRNx8k50NQ",
>   "date": "Wed, 15 May 2019 22:52:31 GMT",
>   "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,44,43,39\""
> }
>
> { "partialFailureError": { "code": 3, "message": "Multiple errors in 
> ‘details’. First error: Resource name 'Offline Conversions' is malformed: 
> expected 
> 'customers/{customer_id}/conversionActions/{ConversionType.conversion_type_id}'.,
>  
> at conversions[0].conversion_action", "details": [ { "@type": "
> type.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure", 
> "@value": 
> 

Re: new AdWords API, ClickConversion conversion_action how to specify?

2019-05-16 Thread Oleksandr Dyklevych
Hi Dave,

i read that guide, but it is not clear where i should get actual value for 
conversion_action.

Once again, under each managed account i created a conversion action and 
gave it name "Offline Conversions".

here is what i mean:

[image: ConversionActions.jpg]


in old  Google.Api.Ads.AdWords.v201809 C# library i used conversion feed 
object and set conversion name attribute to "Offline Conversions". Then, i 
used managing account to upload the feed, and it was automatically put 
under correct managed account under this conversion action "Offline 
Conversions", and all works fine.

where can i get correct name for conversion action which i need to set in 
the new library? Can i see it anywhere in Google Ads portal under account 
settings or properties?
To me, "Offline Conversions" is correct name as per screenshot.



On Thursday, May 16, 2019 at 10:39:42 AM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hi,
>
> Thank you for providing the complete logs. Upon checking, you are passing 
> an incorrect value to the field conversion_action which is Offline 
> Conversions. As stated on this guide 
> ,
>  
> conversion_action is the resource name of the conversion action associated 
> with this conversion. This being said, can you try to pass the correct 
> resource name and then try to make the API call again?
>
> Regards,
>
> Dave
>
> Google Ads API Team
>
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 05/16/19 06:55:16 dikl...@gmail.com  wrote:
>
> Hi Dave,
>
> i am using this library https://github.com/googleads/google-ads-dotnet.
> i enabled logging as specified in the documentation, and here is the 
> request details:
>
> Method Name: 
> /google.ads.googleads.v1.services.ConversionUploadService/UploadClickConversions
> Host: https://googleads.googleapis.com
> Headers: {
>   "x-goog-api-client": "gl-dotnet/4.6.1 gccl/2.0.0 gapic/2.0.0 gax/2.7.0 
> grpc/1.20.1",
>   "developer-token": "REDACTED"
> }
>
> { "customerId": "REDACTED", "conversions": [ { "gclid": 
> "EAIaIQobChMIpeat28qY4gIVyU0YCh16EQ5MEAAYASAAEgIeevD_BwE", 
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 204034 Europe/Stockholm", "conversionValue": 100, "currencyCode": "SEK", 
> "orderId": "SE13.05.19.19.52.15-96189" }, { "gclid": 
> "CjwKCAjwq-TmBRBdEiwAaO1enwbj3yTP2XJUWlFlPJtPc9EYVsNahq2vssD8rTvUfI_o2XMYKpUYahoCki8QAvD_BwE",
>  
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 152224 Europe/Copenhagen", "conversionValue": 100, "currencyCode": "DKK", 
> "orderId": "DK13.05.19.15.27.53-81128" }, { "gclid": 
> "CjwKCAjwiN_mBRBBEiwA9N-e_lR60gH04Cl6k4Q-E1-H6-wRjfid4sZOFuJ7SU59IZg3k_6ZJ0sCThoCYMUQAvD_BwE",
>  
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 094811 Europe/Prague", "conversionValue": 100, "currencyCode": "CZK", 
> "orderId": "CZ12.05.19.18.59.17-34482" }, { "gclid": 
> "EAIaIQobChMI59HJ0uOR4gIVzuR3Ch1PRA4sEAAYASAAEgKIMvD_BwE", 
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190510 
> 134211 Europe/Amsterdam", "conversionValue": 100, "currencyCode": "EUR", 
> "orderId": "NL10.05.19.22.18.04-23966" } ], "partialFailure": true }
>
> And, here is the response:
> Headers: {
>   "content-disposition": "attachment",
>   "request-id": "7lXeBIFyPB0TmRNx8k50NQ",
>   "date": "Wed, 15 May 2019 22:52:31 GMT",
>   "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,44,43,39\""
> }
>
> { "partialFailureError": { "code": 3, "message": "Multiple errors in 
> ‘details’. First error: Resource name 'Offline Conversions' is malformed: 
> expected 
> 'customers/{customer_id}/conversionActions/{ConversionType.conversion_type_id}'.,
>  
> at conversions[0].conversion_action", "details": [ { "@type": "
> type.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure", 
> "@value": 
> 

Re: new AdWords API, ClickConversion conversion_action how to specify?

2019-05-16 Thread Oleksandr Dyklevych
Hi Dave,

i am using this library https://github.com/googleads/google-ads-dotnet.
i enabled logging as specified in the documentation, and here is the 
request details:

Method Name: 
/google.ads.googleads.v1.services.ConversionUploadService/UploadClickConversions
Host: https://googleads.googleapis.com
Headers: {
  "x-goog-api-client": "gl-dotnet/4.6.1 gccl/2.0.0 gapic/2.0.0 gax/2.7.0 
grpc/1.20.1",
  "developer-token": "REDACTED"
}

{ "customerId": "REDACTED", "conversions": [ { "gclid": 
"EAIaIQobChMIpeat28qY4gIVyU0YCh16EQ5MEAAYASAAEgIeevD_BwE", 
"conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
204034 Europe/Stockholm", "conversionValue": 100, "currencyCode": "SEK", 
"orderId": "SE13.05.19.19.52.15-96189" }, { "gclid": 
"CjwKCAjwq-TmBRBdEiwAaO1enwbj3yTP2XJUWlFlPJtPc9EYVsNahq2vssD8rTvUfI_o2XMYKpUYahoCki8QAvD_BwE",
 
"conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
152224 Europe/Copenhagen", "conversionValue": 100, "currencyCode": "DKK", 
"orderId": "DK13.05.19.15.27.53-81128" }, { "gclid": 
"CjwKCAjwiN_mBRBBEiwA9N-e_lR60gH04Cl6k4Q-E1-H6-wRjfid4sZOFuJ7SU59IZg3k_6ZJ0sCThoCYMUQAvD_BwE",
 
"conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
094811 Europe/Prague", "conversionValue": 100, "currencyCode": "CZK", 
"orderId": "CZ12.05.19.18.59.17-34482" }, { "gclid": 
"EAIaIQobChMI59HJ0uOR4gIVzuR3Ch1PRA4sEAAYASAAEgKIMvD_BwE", 
"conversionAction": "Offline Conversions", "conversionDateTime": "20190510 
134211 Europe/Amsterdam", "conversionValue": 100, "currencyCode": "EUR", 
"orderId": "NL10.05.19.22.18.04-23966" } ], "partialFailure": true }

And, here is the response:
Headers: {
  "content-disposition": "attachment",
  "request-id": "7lXeBIFyPB0TmRNx8k50NQ",
  "date": "Wed, 15 May 2019 22:52:31 GMT",
  "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,44,43,39\""
}

{ "partialFailureError": { "code": 3, "message": "Multiple errors in 
‘details’. First error: Resource name 'Offline Conversions' is malformed: 
expected 
'customers/{customer_id}/conversionActions/{ConversionType.conversion_type_id}'.,
 
at conversions[0].conversion_action", "details": [ { "@type": 
"type.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure", 
"@value": 
"CtEBCgIIBBKLAVJlc291cmNlIG5hbWUgJ09mZmxpbmUgQ29udmVyc2lvbnMnIGlzIG1hbGZvcm1lZDogZXhwZWN0ZWQgJ2N1c3RvbWVycy97Y3VzdG9tZXJfaWR9L2NvbnZlcnNpb25BY3Rpb25zL3tDb252ZXJzaW9uVHlwZS5jb252ZXJzaW9uX3R5cGVfaWR9Jy4aFSoTT2ZmbGluZSBDb252ZXJzaW9ucyImEg8KC2NvbnZlcnNpb25zEgASEwoRY29udmVyc2lvbl9hY3Rpb24K0wEKAggEEosBUmVzb3VyY2UgbmFtZSAnT2ZmbGluZSBDb252ZXJzaW9ucycgaXMgbWFsZm9ybWVkOiBleHBlY3RlZCAnY3VzdG9tZXJzL3tjdXN0b21lcl9pZH0vY29udmVyc2lvbkFjdGlvbnMve0NvbnZlcnNpb25UeXBlLmNvbnZlcnNpb25fdHlwZV9pZH0nLhoVKhNPZmZsaW5lIENvbnZlcnNpb25zIigSEQoLY29udmVyc2lvbnMSAggBEhMKEWNvbnZlcnNpb25fYWN0aW9uCtMBCgIIBBKLAVJlc291cmNlIG5hbWUgJ09mZmxpbmUgQ29udmVyc2lvbnMnIGlzIG1hbGZvcm1lZDogZXhwZWN0ZWQgJ2N1c3RvbWVycy97Y3VzdG9tZXJfaWR9L2NvbnZlcnNpb25BY3Rpb25zL3tDb252ZXJzaW9uVHlwZS5jb252ZXJzaW9uX3R5cGVfaWR9Jy4aFSoTT2ZmbGluZSBDb252ZXJzaW9ucyIoEhEKC2NvbnZlcnNpb25zEgIIAhITChFjb252ZXJzaW9uX2FjdGlvbgrTAQoCCAQSiwFSZXNvdXJjZSBuYW1lICdPZmZsaW5lIENvbnZlcnNpb25zJyBpcyBtYWxmb3JtZWQ6IGV4cGVjdGVkICdjdXN0b21lcnMve2N1c3RvbWVyX2lkfS9jb252ZXJzaW9uQWN0aW9ucy97Q29udmVyc2lvblR5cGUuY29udmVyc2lvbl90eXBlX2lkfScuGhUqE09mZmxpbmUgQ29udmVyc2lvbnMiKBIRCgtjb252ZXJzaW9ucxICCAMSEwoRY29udmVyc2lvbl9hY3Rpb24="
 
} ] }, "results": [ { }, { }, { }, { } ] }

On Wednesday, May 15, 2019 at 5:19:30 AM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hi,
>
> Thank you for reaching out. RESOURCE_NAME_MALFORMED occurs when the 
> resource name provided in the request is incorrect. To further investigate 
> this, could you provide the complete JSON request and response logs when 
> you encountered this error? If you haven't enabled logging yet, kindly tell 
> me what client library you are using so I could help you enable it.
>
> Regards,
> Dave
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 05/15/19 00:14:18 dikl...@gmail.com  wrote:
>
> Hi,
>
>
> Currently, I am doing migration from Google.Api.Ads.AdWords.v201809 C# 
> library to new Google.Ads.GoogleAds for Offline Click Conversions Upload.
>
> I am using a managing account which has access to about 20 client 
> accounts, all belong to 

Re: new AdWords API, ClickConversion conversion_action how to specify?

2019-05-16 Thread Oleksandr Dyklevych
Hi Dave,

i am using https://github.com/googleads/googleads-dotnet-lib.
so, the JSON is composed by the library, i presume.

How can i capture it?

On Wednesday, May 15, 2019 at 5:19:30 AM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hi,
>
> Thank you for reaching out. RESOURCE_NAME_MALFORMED occurs when the 
> resource name provided in the request is incorrect. To further investigate 
> this, could you provide the complete JSON request and response logs when 
> you encountered this error? If you haven't enabled logging yet, kindly tell 
> me what client library you are using so I could help you enable it.
>
> Regards,
> Dave
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 05/15/19 00:14:18 dikl...@gmail.com  wrote:
>
> Hi,
>
>
> Currently, I am doing migration from Google.Api.Ads.AdWords.v201809 C# 
> library to new Google.Ads.GoogleAds for Offline Click Conversions Upload.
>
> I am using a managing account which has access to about 20 client 
> accounts, all belong to the same company.
>
> in V20189, everything works like this.
> in every managed account, i created "Offline Conversions" action, like on 
> the screenshot:
>
> [image: ConversionAction.jpg]
> Then, when creating conversion feed, i use "Offline Conversions" as 
> conversion name for a feed entry.
> All work fine.
>
> Now, in the new GoogleAds API, i want to upload offline conversions, so i 
> do per documentation, like authenticate client, create service, get list of 
> conversions to upload, and for every conversion i set ConversionAction to 
> "Offline Conversions" name.
>
> However, in the upload response i get errors for all conversions saying:
>
> { "errorCode": { "requestError": "RESOURCE_NAME_MALFORMED" }, "message": 
> "Resource name 'Offline Conversions' is malformed: expected 
> 'customers/{customer_id}/conversionActions/{ConversionType.conversion_type_id}'.",
>  
> "trigger": { "stringValue": "Offline Conversions" }, "location": { 
> "fieldPathElements": [ { "fieldName": "conversions", "index": "0" }, { 
> "fieldName": "conversion_action" } ] } }.
>
>
> Question - how do i specify correctly conversion action in the new 
> GoogleAds API?
>
> i could not find any example online.
>
> Any help is appreciated.
>
> Best regards,
> Oleksandr
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 
> "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to adwords-api+unsubscr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/adwords-api.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/adwords-api/cd486bde-722b-4b08-b42b-f0f4460da39c%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 

new AdWords API, ClickConversion conversion_action how to specify?

2019-05-14 Thread Oleksandr Dyklevych
Hi,


Currently, I am doing migration from Google.Api.Ads.AdWords.v201809 C# 
library to new Google.Ads.GoogleAds for Offline Click Conversions Upload.

I am using a managing account which has access to about 20 client accounts, 
all belong to the same company.

in V20189, everything works like this.
in every managed account, i created "Offline Conversions" action, like on 
the screenshot:

[image: ConversionAction.jpg]
Then, when creating conversion feed, i use "Offline Conversions" as 
conversion name for a feed entry.
All work fine.

Now, in the new GoogleAds API, i want to upload offline conversions, so i 
do per documentation, like authenticate client, create service, get list of 
conversions to upload, and for every conversion i set ConversionAction to 
"Offline Conversions" name.

However, in the upload response i get errors for all conversions saying:

{ "errorCode": { "requestError": "RESOURCE_NAME_MALFORMED" }, "message": 
"Resource name 'Offline Conversions' is malformed: expected 
'customers/{customer_id}/conversionActions/{ConversionType.conversion_type_id}'.",
 
"trigger": { "stringValue": "Offline Conversions" }, "location": { 
"fieldPathElements": [ { "fieldName": "conversions", "index": "0" }, { 
"fieldName": "conversion_action" } ] } }.


Question - how do i specify correctly conversion action in the new 
GoogleAds API?

i could not find any example online.

Any help is appreciated.

Best regards,
Oleksandr

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cd486bde-722b-4b08-b42b-f0f4460da39c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Strange CONVERSION_PRECEDES_CLICK error, cannot understand the reason

2019-05-10 Thread Oleksandr Dyklevych
Hi,

in our company, we have quite many AdWords accounts, and for most of them 
we have set up offline conversions upload procedures.
So, from our back-ends we get gclid, conversion time, conversion value, and 
timezone based on back-end settings.

it all works fine for most of the accounts, but for one account 50% of 
uploads fail with CONVERSION_PRECEDES_CLICK error.
I double checked all the configurations on our end, the timezone is set 
correctly, but still.

I know, that gclid is a protobuf message that also carries a timestamp, but 
i cannot find the way how to decode it. There are some links when i search 
in the Internet, but they are outdated.

I would like to get some help in understanding the reason of the error - is 
it a wrong set up in AdWords account? Maybe tracking was set under some 
wrong timezone? how can i see it?




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6dc4a4f5-9584-4379-b200-ed1a9892a301%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.