no "results" section in response

2021-10-25 Thread jerome delmar
Hi,

I have a list of 18 advertiser and I'm trying to generate a Geographic view 

 
data report for each of them but it seems to succeed only for 2 of them.

I used the query builder tool to generate the following SQL query and 
request the following endpoint:
*endpoint:* /customers/{advertiser_id}/googleAds:search

*query:* SELECT segments.date, campaign.id, ad_group.id, ad_group.name, 
ad_group.status, campaign.name, segments.device, segments.ad_network_type, 
customer.time_zone, customer.currency_code, metrics.average_cost, 
metrics.average_cpc, metrics.average_cpm, metrics.average_cpv, 
metrics.clicks, metrics.cost_micros, metrics.cost_per_all_conversions, 
metrics.cost_per_conversion, metrics.ctr, metrics.impressions, 
metrics.interaction_rate, metrics.interactions, 
metrics.interaction_event_types, metrics.value_per_all_conversions, 
metrics.value_per_conversion, metrics.conversions, 
metrics.conversions_from_interactions_rate, metrics.conversions_value, 
metrics.video_views, metrics.video_view_rate, 
geographic_view.country_criterion_id, customer.descriptive_name, 
customer.id, geographic_view.location_type, segments.geo_target_city, 
segments.geo_target_county, segments.geo_target_region, 
geographic_view.resource_name FROM geographic_view WHERE segments.date 
DURING LAST_7_DAYS ORDER BY segments.date ASC

When it seems to works I have all data in the "results" section in the 
response, but for all other advertisers, I only have the "fieldMask" 
section in the response.

In those advertisers I'm sure to have some running campaigns so it's not 
just an "empty report" because all campaigns are in paused or something 
like that.

I have no error messages, all queries are good, just the content of answers 
are different.

Regards.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3ebc70c2-4a62-4b14-b253-c2c739ea40c6n%40googlegroups.com.


InternalApiError.UNEXPECTED_INTERNAL_API_ERROR

2021-08-31 Thread jerome delmar
Hi,

I have daily job to extract multiples services and reports from adwords 
using the python client library 

.

since few days, the 26/08, I get an InternalApiError when calling the 
service AdService to get all ads structure.

The job works exactly like the example given in the documentation to get 
all campaign 
,
 
the only change is instead of CampaignService I ask for AdService

Also, I didn't succeed to get any query ID when using the python client 
library to send it to the support, the only thing I have in response of the 
call is an object with 3 attributes:
'totalNumEntries', 'Page.Type', 'entries'

In the entries section I have a lot of information regarding ads, but when 
iterating over pages I finally get the error InternalApiError.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c55a7e64-088a-4d61-9957-bb4f38bb0c72n%40googlegroups.com.