I've discovered what the difference is here. Our AdWords API request asked 
for "AdNetworkType1", which results in Search Network ( in this example ). 
The Ads API column is segments.ad_network_type which can result in Search 
or Search Partners.

So, AdWords API would group both those types into one, where the Ads API 
will segment them out. We're transforming the value to Search Network in 
order to maintain parity with previously expected values. 

I'll have to do some more work on my end for this.

Pete

On Monday, March 30, 2020 at 8:39:18 AM UTC-4, Pete Lavetsky (AdWords API 
Guru) wrote:
>
> Good morning Mitchell,
>
> I've added in geographic_view.location_type to my query but still 
> receiving "bad" results ... example query with redacted credentials:
>
> Request
> -------
> MethodName: google.ads.googleads.v3.services.GoogleAdsService/Search
> Endpoint: googleads.googleapis.com:443
> Headers: {developer-token=REDACTED, login-customer-id=XYZ, 
> x-goog-api-client=gl-java/1.8.0_161 gapic/ gax/1.50.1 grpc/1.25.0}
> Body: customer_id: "961"
> query: "select customer.id, geographic_view.country_criterion_id, 
> segments.geo_target_most_specific_location, metrics.cost_micros, 
> metrics.impressions, metrics.clicks, segments.ad_network_type, 
> segments.geo_target_city, metrics.conversions, 
> geographic_view.location_type from geographic_view where segments.date  
>  DURING   LAST_30_DAYS "
> page_size: 5000
>
>
> Example results with Ads API:
>
> 961,2124,9000804,12860000,228,13,Search 
> Network,1002405,0,LOCATION_OF_PRESENCE
> 961,2124,9000804,0,599,0,Search Network,1002405,0,LOCATION_OF_PRESENCE
> 961,2124,9000804,4752525,613,1,Content,1002405,0,LOCATION_OF_PRESENCE
> 961,2124,9000804,4460200,344,1,YouTube Watch,1002405,0,LOCATION_OF_PRESENCE
>
> "bad" segment for the Search Network 
>
> Here's how the same report returns for the AdWords API:
>
> 961,2124,9000804,12860000,827,13,Search Network,1002405,0.00,Physical 
> location
> 961,2124,9000804,4752525,613,1,Display Network,1002405,0.00,Physical 
> location
> 961,2124,9000804,4460200,344,1,YouTube Videos,1002405,0.00,Physical 
> location
>
> I'm happy to provide more information if needed.
>
> Thanks
> Pete
>
> On Friday, March 27, 2020 at 9:38:48 AM UTC-4, adsapiforumadvisor wrote:
>>
>> Hi Pete,
>>
>> Thank you for reaching out. Please try adding 
>> geographic_view.location_type 
>> <https://developers.google.com/google-ads/api/fields/v3/geographic_view#geographic_view.location_type>
>>  
>> to your query to see if that is the difference in these values. It won't 
>> segment by date unless you explicitly tell it to. If this still doesn't 
>> solve the issue, please share the downloaded report and your client 
>> customer ID *via* *Reply privately to author*.
>>
>> Regards,
>> Mitchell
>> Google Ads API Team
>>
>> ref:_00D1U1174p._5001UXWpr8:ref
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/60d99790-d4ac-4a3a-ab78-2e2c60b3a9e2%40googlegroups.com.

Reply via email to