I cannot acquire completed data by adwords api

56 views
Skip to first unread message

abnur liu

unread,
Jun 3, 2021, 11:14:12 PM6/3/21
to AdWords API and Google Ads API Forum
hi,team:
    
     I can get  customer(652-104-1415) ads data of 2021-05-08 from Google Ads UI ,but i can not get the data by Adwords API ; 

The Google ads UI :

Lark20210603-105644.png

Adwords Api Code: 

 String query  =SELECT  
        customer.id
        campaign.id
        campaign.status, 
        campaign.advertising_channel_type, 
        geographic_view.country_criterion_id, 
        segments.week,  
        segments.ad_network_type, 
        campaign.advertising_channel_sub_type, 
        segments.conversion_action_name,   
        segments.conversion_action_category, 
        metrics.conversions, 
        metrics.conversions_value, 
        metrics.all_conversions, 
        metrics.all_conversions_value 
        FROM geographic_view  
        WHERE segments.date  = '2021-05-08' 
        AND campaign.advertising_channel_type = "MULTI_CHANNEL";



abnur liu

unread,
Jun 4, 2021, 5:00:48 AM6/4/21
to AdWords API and Google Ads API Forum
??

Google Ads API Forum Advisor

unread,
Jun 7, 2021, 10:10:18 PM6/7/21
to ghos...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to our API support team. 

Basing from the Campaign subtype from the UI screenshot, the Automated app promotion type does not appear to be supported in the API's campaign resource, as you may see in the campaign.advertising_channel_sub_type field. 

That being said, it would not be possible to retrieve records under this type using any of the API's reports. Allow me then to create a feature request, subject for review, for this type. For now, you may keep an eye on our blog for any updates or announcements.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2I09Wa:ref

abnur liu

unread,
Jun 8, 2021, 10:48:26 PM6/8/21
to AdWords API and Google Ads API Forum
Thks

Google Ads API Forum Advisor

unread,
Jun 16, 2021, 3:16:35 AM6/16/21
to ghos...@gmail.com, adwor...@googlegroups.com
Hi Abnur,

I received feedback from our team regarding your request.

Could you provide the complete request and response logs, with the request-id, generated when you mentioned you were not able to retrieve the data similar to the ones in the screenshot? 

We asked because perhaps the type is coming back as UNKNOWN, and we would need to verify that. If it's coming back as UNKNOWN that is expected because the campaign type is not supported in the API. If the said records are missing altogether from the report, then we would need to verify that as well from the logs.

If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.
Reply all
Reply to author
Forward
0 new messages