Hi, 

I sent a private message. I'll send the details here. In the previous 
response by mistake I mentioned as household income range but it was 
INCOME_RANGE. 
And I have few questions as follows,
1. Is there any specific API to retrieve the household income? 
2. GenerateInsightsFinderReportRequest 
<https://developers.google.com/google-ads/api/reference/rpc/v19/GenerateInsightsFinderReportRequest>
 once 
I generate url from this, there is download option in insights report UI. 
Do we have a specific API to retrieve the insights data from the API 
instead of downloading the CSV file?

I have attached a file with the will the details with the request. Please 
let me know if you need additional information from my side. 



On Thursday, April 24, 2025 at 11:45:18 PM UTC+5:30 Google Ads API Forum 
Advisor wrote:

> Hi,
>
> As informed earlier, In the AudienceInsightsDimension 
> <https://developers.google.com/google-ads/api/reference/rpc/v19/AudienceInsightsDimensionEnum.AudienceInsightsDimension>
>  
> document, there is no such value with the name ‘Household income’. This may 
> be the reason for encountering the “invalid enum” error for this value. 
> However, you can use the field INCOME_RANGE 
> <https://developers.google.com/google-ads/api/reference/rpc/v19/AudienceInsightsDimensionEnum.AudienceInsightsDimension#:~:text=not%20a%20parent).-,INCOME_RANGE,-A%20household%20income>
>  
> to access the household income in the form of percentile range. Since you 
> have also encountered the same error for the ‘PARENTAL_STATUS’ value, 
> please provide the complete API logs (request 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  
> and response 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  
> with request-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  
> and request header 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>)
>  
> generated on your end. This information will help to replicate the issue 
> from our end.
>
> You can send the details via* Reply privately to the author option, *or* 
> direct private reply *to this email*.*
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
> Feedback
> How was our support today? 
>
> [image: rating1] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=500Ht00001qUgc8IAC>
>   
>   [image: rating2] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=500Ht00001qUgc8IAC>
>   
>   [image: rating3] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=500Ht00001qUgc8IAC>
>   
>   [image: rating4] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=500Ht00001qUgc8IAC>
>   
>   [image: rating5] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=500Ht00001qUgc8IAC>
>
> [2025-04-24 18:14:10Z GMT] This message is in relation to case 
> "ref:!00D1U01174p.!500Ht01qUgc8:ref" (ADR-00301108)
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 visit 
https://groups.google.com/d/msgid/adwords-api/dc153a69-abff-4d27-b7c3-07bcd1f53a2bn%40googlegroups.com.
{\rtf1\ansi\ansicpg1252\cocoartf2822
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fmodern\fcharset0 Courier;\f1\fnil\fcharset0 Menlo-Regular;}
{\colortbl;\red255\green255\blue255;\red24\green25\blue27;\red66\green179\blue255;\red24\green24\blue24;
\red193\green193\blue193;\red202\green202\blue202;\red194\green126\blue101;}
{\*\expandedcolortbl;;\cssrgb\c12549\c12941\c14118;\cssrgb\c30980\c75686\c100000;\cssrgb\c12157\c12157\c12157;
\cssrgb\c80000\c80000\c80000;\cssrgb\c83137\c83137\c83137;\cssrgb\c80784\c56863\c47059;}
\paperw11900\paperh16840\margl1440\margr1440\vieww11520\viewh8400\viewkind0
\deftab720
\pard\pardeftab720\partightenfactor0

\f0\fs28 \cf2 \expnd0\expndtw0\kerning0
\outl0\strokewidth0 \strokec2 \
\pard\pardeftab720\partightenfactor0

\f1\fs24 \cf3 \cb4 \strokec3 GOOGLE_INSIGHTS_CREDENTIALS\cf5 \strokec5  \cf6 \strokec6 =\cf5 \strokec5  \{\cb1 \
\cb4     \cf7 \strokec7 "developer_token"\cf5 \strokec5 : \cf7 \strokec7 "qgpBW5Wt7IaE1fDpAqimtw"\cf5 \strokec5 ,\cb1 \
\cb4     \cf7 \strokec7 "use_proto_plus"\cf5 \strokec5 :,\cb1 \
\cb4     \cf7 \strokec7 "client_id"\cf5 \strokec5 : \cf7 \strokec7 ""\cf5 \strokec5 ,\cb1 \
\cb4     \cf7 \strokec7 "client_secret"\cf5 \strokec5 : \cf7 \strokec7 ""\cf5 \strokec5 ,\cb1 \
\cb4     \cf7 \strokec7 "refresh_token"\cf5 \strokec5 : \cf7 \strokec7 ""\cf5 \cb1 \strokec5 \
\cb4 \}\cb1 \
\pard\pardeftab720\partightenfactor0

\f0\fs28 \cf2 \strokec2 \
CUSTOMER_ID = 
\f1\fs24 \cf7 \cb4 \strokec7 2173739086\cf5 \cb1 \strokec5 \

\f0\fs28 \cf2 \strokec2 \
\
\
INCOME_RANGE,\
\
google/ads/googleads/interceptors/exception_interceptor.py", line 71, in _handle_grpc_failure\
    raise self._get_error_from_response(response)\
google.ads.googleads.errors.GoogleAdsException: (<_InactiveRpcError of RPC that terminated with:\
        status = StatusCode.INVALID_ARGUMENT\
        details = "Request contains an invalid argument."\
        debug_error_string = "UNKNOWN:Error received from peer ipv4:142.251.43.42:443 \{created_time:"2025-04-23T14:06:08.15975+05:30", grpc_status:3, grpc_message:"Request contains an invalid argument."\}"\
>, <_InactiveRpcError of RPC that terminated with:\
        status = StatusCode.INVALID_ARGUMENT\
        details = "Request contains an invalid argument."\
        debug_error_string = "UNKNOWN:Error received from peer ipv4:142.251.43.42:443 \{created_time:"2025-04-23T14:06:08.15975+05:30", grpc_status:3, grpc_message:"Request contains an invalid argument."\}"\
>, errors \{\
  error_code \{\
    request_error: INVALID_ENUM_VALUE\
  \}\
  message: "Enum value \\'INCOME_RANGE\\' cannot be used."\
  location \{\
    field_path_elements \{\
      field_name: "dimensions"\
    \}\
  \}\
\}\
request_id: "d1rmVZhuntRaD70RsThfwQ"\
, 'd1rmVZhuntRaD70RsThfwQ')\
\
\
\
\
\
\
PARENTAL_STATUS,\
\
/google/ads/googleads/interceptors/exception_interceptor.py", line 71, in _handle_grpc_failure\
    raise self._get_error_from_response(response)\
google.ads.googleads.errors.GoogleAdsException: (<_InactiveRpcError of RPC that terminated with:\
        status = StatusCode.INVALID_ARGUMENT\
        details = "Request contains an invalid argument."\
        debug_error_string = "UNKNOWN:Error received from peer ipv4:142.250.192.234:443 \{created_time:"2025-04-23T14:10:02.886429+05:30", grpc_status:3, grpc_message:"Request contains an invalid argument."\}"\
>, <_InactiveRpcError of RPC that terminated with:\
        status = StatusCode.INVALID_ARGUMENT\
        details = "Request contains an invalid argument."\
        debug_error_string = "UNKNOWN:Error received from peer ipv4:142.250.192.234:443 \{created_time:"2025-04-23T14:10:02.886429+05:30", grpc_status:3, grpc_message:"Request contains an invalid argument."\}"\
>, errors \{\
  error_code \{\
    request_error: INVALID_ENUM_VALUE\
  \}\
  message: "Enum value \\'PARENTAL_STATUS\\' cannot be used."\
  location \{\
    field_path_elements \{\
      field_name: "dimensions"\
    \}\
  \}\
\}\
request_id: "2AeQhUo23zcWTfr6gps_SA"\
, '2AeQhUo23zcWTfr6gps_SA')}
  • Is... 'Srinidhi Mahanthe V' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... 'Srinidhi Mahanthe V' via Google Ads API and AdWords API Forum
        • ... 'Srinidhi Mahanthe V' via Google Ads API and AdWords API Forum
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
            • ... 'Srinidhi Mahanthe V' via Google Ads API and AdWords API Forum
              • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... 'Srinidhi Mahanthe V' via Google Ads API and AdWords API Forum
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... 'Srinidhi Mahanthe V' via Google Ads API and AdWords API Forum

Reply via email to