Invalid constructor input for SearchGoogleAdsRequest: customer_id

699 views
Skip to first unread message

Trần Thị Thùy Dung

unread,
Aug 4, 2022, 3:41:52 PM8/4/22
to Google Ads API and AdWords API Forum
Hi,

I am facing below error while trying to extract data with below query on Google Ads API v10. Do anyone help me with this?
error:
" Invalid constructor input for SearchGoogleAdsRequest: customer_id: xxxxxxxx "

query:
"    SELECT geographic_view.country_criterion_id
        , geographic_view.location_type
        , geographic_view.resource_name
        , campaign.end_date
        , campaign.id
        , campaign.name
        , campaign.start_date
        , segments.date
        , segments.geo_target_state
        , metrics.clicks
        , metrics.cost_micros
        , metrics.ctr
        , metrics.impressions
        , metrics.conversions
        , customer.id
    FROM geographic_view
    WHERE segments.date >= '2022-08-01'
        AND segments.date <= '2022-08-03'"

Thank you. 

Google Ads API Forum Advisor

unread,
Aug 4, 2022, 10:41:45 PM8/4/22
to thuydung...@gmail.com, adwor...@googlegroups.com
Hi Trần Thị,

Thank you for posting your concern.

To take a closer look at the issue, could you provide the complete request and response logs with request ID and request header generated on your end where we can see the error?

You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


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