Missing Conversion Action

73 views
Skip to first unread message

xuantoi....@gmail.com

unread,
Jan 6, 2021, 11:13:08 PM1/6/21
to AdWords API and Google Ads API Forum
Hi,

Iam trying to get all conversion actions of account 
but it do not return 2 selected conversion actions (in image)
Screen Shot 2021-01-07 at 11.09.59.png

then I try using "ConversionActionServiceClient"  to get conversion action by resource name and  it return : 
{
  error_code {
    request_error: RESOURCE_NOT_FOUND
  }
  message: "Resource not found."
}

Google Ads API Forum Advisor Prod

unread,
Jan 7, 2021, 3:42:48 AM1/7/21
to xuantoi....@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out.

So I can further investigate, could you provide the customer ID of the account from the screenshot you attached? In addition, could you also provide the complete request and response logs, along with the request ID?

You may send these details via the Reply privately to author option.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2AIBQH:ref

xuantoi....@gmail.com

unread,
Jan 7, 2021, 10:12:10 PM1/7/21
to AdWords API and Google Ads API Forum
Hi Peter,

Thank for your response.
Here is customer ID: 8035292425 and  conversion action Id: 501658033
And here is log: 
Request
-------
MethodName: google.ads.googleads.v4.services.ConversionActionService/GetConversionAction
Headers: {developer-token=REDACTED, login-customer-id=6150134023, x-goog-api-client=gl-java/1.8.0_201 gapic/ gax/1.57.0 grpc/1.30.0}
Body: resource_name: "customers/8035292425/conversionActions/501658033"


Response
--------
Headers: Metadata(content-type=application/grpc,request-id=MpihIjDh36anwaTeQjqqAA,date=Fri, 08 Jan 2021 03:09:45 GMT,alt-svc=h3-29=":443"; ma=2592000,h3-T051=":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")
Body: null
Failure message: errors {
  error_code {
    request_error: RESOURCE_NOT_FOUND
  }
  message: "Resource not found."
}

Google Ads API Forum Advisor Prod

unread,
Jan 8, 2021, 4:38:44 AM1/8/21
to xuantoi....@gmail.com, adwor...@googlegroups.com
Hi,

I am a colleague of Peter and let me provide support to your concern.

I can see that the API version that you are using is v4, however, this API version is already deprecated. With this, I would suggest migrating to the newest API version first by following this guide then retry the API request again.

If the error persists, please provide the latest and complete request and response logs, along with the request ID via the Reply privately to author option.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2AIBQH:ref

xuantoi....@gmail.com

unread,
Jan 10, 2021, 10:56:58 PM1/10/21
to AdWords API and Google Ads API Forum
Hi Ernie,

I updated Api to v6 and it still return error.
Here is log:

Request
-------
MethodName: google.ads.googleads.v6.services.ConversionActionService/GetConversionAction
Headers: {developer-token=REDACTED, login-customer-id=6150134023, x-goog-api-client=gl-java/1.8.0_201 gapic/ gax/1.60.1 grpc/1.32.2}
Body: resource_name: "customers/8035292425/conversionActions/501658033"


Response
--------
Headers: Metadata(content-type=application/grpc,request-id=Iwewuv1CnzjYd9FflbQ3qA,date=Mon, 11 Jan 2021 03:54:48 GMT,alt-svc=h3-29=":443"; ma=2592000,h3-T051=":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")
Body: null
Failure message: errors {
  error_code {
    request_error: RESOURCE_NOT_FOUND
  }
  message: "Resource not found."
}

Google Ads API Forum Advisor Prod

unread,
Jan 11, 2021, 11:25:39 AM1/11/21
to xuantoi....@gmail.com, adwor...@googlegroups.com

Hi Duong,

Thank you for reaching out. Please note that the conversion related fields are only retrievable for production accounts as test accounts do not serve ads. Please try to create conversion actions in a production account and retrieve them via the API again.

Thanks and regards,
Xiaoming, Google Ads API Team



Google Logo
Xiaoming
Google Ads API Team
 


ref:_00D1U1174p._5004Q2AIBQH:ref
Reply all
Reply to author
Forward
0 new messages