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 > <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#google.ads.googleads.v1.services.ClickConversion>, > > 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 > <https://support.google.com/google-ads/contact/survey_transactional?caseid=6-0737000026253&hl=en&ctx=1> > > 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 <javascript:> 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": " >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c2lvbl90eXBlX2lkfScuGhUqE09mZmxpbmUgQ29udmVyc2lvbnMiKBIRCgtjb252ZXJzaW9ucxICCAMSEwoRY29udmVyc2lvbl9hY3Rpb24=" > > } ] }, "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 > <https://support.google.com/google-ads/contact/survey_transactional?caseid=6-0737000026253&hl=en&ctx=1> > > 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 > <https://groups.google.com/d/msgid/adwords-api/cd486bde-722b-4b08-b42b-f0f4460da39c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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 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/8d1b1d25-6eb0-4dad-8d31-f207c181c57b%40googlegroups.com > > <https://groups.google.com/d/msgid/adwords-api/8d1b1d25-6eb0-4dad-8d31-f207c181c57b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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 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/2e201fdd-b094-4d93-bc8b-0a43349abecb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.