[GOOGLE ADS API] Get Conversion Action List

1,896 views
Skip to first unread message

Miguel Graciá

unread,
Apr 17, 2019, 10:53:48 PM4/17/19
to AdWords API and Google Ads API Forum
I'm trying to get a list of the conversion actions of a customer client, but it always returns empty. 

On the other hand, if I make the same query using the id of the manager account, the query returns the list of conversion actions of that manager account. 

This is the query I'm using with the php library

$query = 'SELECT customer.id, customer.descriptive_name,
           conversion_action.app_id,
           conversion_action.attribution_model_settings.attribution_model,
           conversion_action.attribution_model_settings.data_driven_model_status,
           conversion_action.category,
           conversion_action.click_through_lookback_window_days,
           conversion_action.counting_type,
           conversion_action.id,
           conversion_action.include_in_conversions_metric,
           conversion_action.name,
           conversion_action.owner_customer,
           conversion_action.phone_call_duration_seconds,
           conversion_action.resource_name,
           conversion_action.status,
           conversion_action.tag_snippets,
           conversion_action.type,
           conversion_action.value_settings.always_use_default_value,
           conversion_action.value_settings.default_currency_code,
           conversion_action.value_settings.default_value,
           conversion_action.view_through_lookback_window_days
       FROM conversion_action';

        return $this->getGoogleAdsServiceClient()->search(
           'customer_client_id',
           $query,
           ['pageSize' => null]
       );



Is there something that is not correct?

Thanks for your help.

googleadsapi...@google.com

unread,
Apr 18, 2019, 2:02:46 PM4/18/19
to miguelgra...@gmail.com, AdWords API and Google Ads API Forum
Hi Miguel,

There is currently an issue with conversion actions that our team is working on resolving. I'll let you know when there is a fix.

Regards,
Anthony
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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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+unsubscribe@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/d9ea87f7-afa9-4cfb-bb1e-f09607726910%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

googleadsapi...@google.com

unread,
Apr 19, 2019, 9:41:14 AM4/19/19
to miguelgra...@gmail.com, AdWords API and Google Ads API Forum
Hi Miguel,

The issue should now be resolved. Let me know if you still face issues.

Cheers,
Anthony
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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Miguel Graciá

unread,
Apr 19, 2019, 10:27:47 AM4/19/19
to AdWords API and Google Ads API Forum
Thanks for your help, Anthony. I have tried again and I still do not see results. Is it possible that the correction of the issue takes a while to become effective?

googleadsapi...@google.com

unread,
Apr 19, 2019, 1:37:29 PM4/19/19
to miguelgra...@gmail.com, AdWords API and Google Ads API Forum
Hi Miguel,

Yes, that is correct. Please try it again at a later time and let me know if you still face issues.

Regards,
Anthony
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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.

jrodr...@norte.digital

unread,
Apr 19, 2019, 4:03:34 PM4/19/19
to AdWords API and Google Ads API Forum
i  have the same error

jrodr...@norte.digital

unread,
Apr 19, 2019, 4:03:34 PM4/19/19
to AdWords API and Google Ads API Forum
Hi, i finally can get all trackers with api version v201809.

El miércoles, 17 de abril de 2019, 22:53:48 (UTC-4), Miguel Graciá escribió:

Miguel Graciá

unread,
Apr 20, 2019, 10:57:30 AM4/20/19
to AdWords API and Google Ads API Forum

Hi Anthony,

The query to get the conversions still doesn't show results :-(

Thanks for your help.

Regards


El viernes, 19 de abril de 2019, 19:37:29 (UTC+2), googleadsapi-forumadvisor escribió:
Hi Miguel,

Miguel Graciá

unread,
Apr 20, 2019, 11:02:59 AM4/20/19
to AdWords API and Google Ads API Forum
Hi!,

Thank you very much for the suggestion :-), but I need to use the new Google Ads API.

jrodr...@norte.digital

unread,
Apr 22, 2019, 9:30:50 AM4/22/19
to AdWords API and Google Ads API Forum
i too need use the new API :( 

rentca...@gmail.com

unread,
Apr 22, 2019, 11:09:00 AM4/22/19
to AdWords API and Google Ads API Forum
Below is all that is returned when using query SELECT conversion_action.id, conversion_action.name, conversion_action.tag_snippets FROM conversion_action LIMIT 50

{
    "fieldMask": "conversionAction.id,conversionAction.name,conversionAction.tagSnippets"
}

KDJ

googleadsapi...@google.com

unread,
Apr 22, 2019, 11:21:07 AM4/22/19
to rentca...@gmail.com, AdWords API and Google Ads API Forum
Hi all,

I've updated the team to take another look at this. I'll let you know when the issue is resolved.

Regards,
Anthony
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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.

bevis...@soft-world.com.tw

unread,
Apr 24, 2019, 6:39:20 AM4/24/19
to AdWords API and Google Ads API Forum
Hi,

I also have tried to get the conversion_action in python and got nothing. 

Here is my code snip:

ga_service = client.get_service('GoogleAdsService', version='v1')
query = 'SELECT conversion_action.id, conversion_action.name FROM conversion_action'
results = ga_service.search(customer_id, query=query, page_size=page_size)



library log:

[2019-04-24 14:01:51 - DEBUG] Request
-------
Method: /google.ads.googleads.v1.services.GoogleAdsService/Search
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "my-login-customer-id",
  "x-goog-api-client": "gl-python/3.7.0 grpc/1.19.0 gax/1.9.0 gapic/1.3.1"
}
Request: {
  "customerId": "my-customerId",
  "query": "SELECT conversion_action.id, conversion_action.name FROM conversion_action",
  "pageSize": 50
}

Response
-------
Headers: {
  "content-disposition": "attachment",
  "request-id": ""
}
Response: {
  "fieldMask": "conversionAction.id,conversionAction.name"
}

[2019-04-24 14:01:51 - INFO] Request made: ClientCustomerId: 4006321756, Host: googleads.googleapis.com:443, Method: /google.ads.googleads.v1.services.GoogleAdsService/Search, RequestId: r-gjPCpGhevLi48JrYIXLQ, IsFault: False, FaultMessage: None

googleadsapi-forumadvisor於 2019年4月22日星期一 UTC+8下午11時21分07秒寫道:

googleadsapi...@google.com

unread,
Apr 24, 2019, 9:56:03 AM4/24/19
to bevis...@soft-world.com.tw, AdWords API and Google Ads API Forum
Hi Bevis,

The team is looking into this. We will let you know when there is an update.

Regards,
Anthony
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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Robert Heise

unread,
Apr 25, 2019, 3:06:05 AM4/25/19
to AdWords API and Google Ads API Forum
Hi Anthony,

I'm having the exact same issue using the Google Ads API Java client lib. We're currently migrating from Adwords API to Ads API and are blocked for the conversion trackers migration due to this issue. When trying to retrieve all documented fields for conversion_action (see https://developers.google.com/google-ads/api/docs/fields/conversion_action), the result is empty for the account requested via the Google Ads API (using Java client lib). Results only show for the login customer ID. Retrieving the conversion trackers via the Adwords API works fine.

So I guess there is a general issue for conversion_action in the Google Ads API, affecting all client libs.

Best,

Robert

googleadsapi...@google.com

unread,
Apr 26, 2019, 10:51:02 AM4/26/19
to rn...@crealytics.de, AdWords API and Google Ads API Forum
Hi all,

The issue is now resolved. Please let me know if you still face issues.

Cheers,
Anthony
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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.

Miguel Graciá

unread,
Apr 29, 2019, 2:09:25 AM4/29/19
to AdWords API and Google Ads API Forum
Hi Anthony.

Great!, it works for me.

Thanks for your help.

BR

jrodr...@norte.digital

unread,
Apr 29, 2019, 9:57:25 AM4/29/19
to AdWords API and Google Ads API Forum
Thanks, it works for me

rentca...@gmail.com

unread,
May 3, 2019, 12:37:29 PM5/3/19
to AdWords API and Google Ads API Forum
Anthony,

This is issue is still not fixed.

Query:  SELECT conversion_action.id, conversion_action.name, conversion_action.tag_snippets FROM conversion_action LIMIT 50

Returns the following:

{
    "error": {
        "code": 500,
        "message": "Internal error encountered.",
        "status": "INTERNAL"
    }
}

If the conversion_action.tag_snippets is removed then it works. I need to get the conversion_action.tag_snippets information.

KDJ

googleadsapi...@google.com

unread,
May 3, 2019, 1:25:56 PM5/3/19
to rentca...@gmail.com, AdWords API and Google Ads API Forum
Hi KDJ,

Our team will double check on this issue and if it's potentially another issue. I'll keep you updated.

Regards,
Anthony
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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Robert Heise

unread,
May 6, 2019, 7:18:03 AM5/6/19
to AdWords API and Google Ads API Forum
Hi Anthony,

sorry for the late reply. It works for me as well now (via the Java client lib).

Thanks for fixing the issue.

Best,

Robert
Reply all
Reply to author
Forward
0 new messages