Just found this: campaign.advertising_channel_type 
Any chance *geo_target_constant* is compatible with campaign?

I think I saw in a previous error that it is not. I'll give it a try though.
On Wednesday, December 14, 2022 at 2:54:41 PM UTC-8 Chad Wood wrote:

> Sorry, realizing I butchered my title. cost, impressions, and clicks are 
> not dimensions.
>
> On Wednesday, December 14, 2022 at 2:53:46 PM UTC-8 Chad Wood wrote:
>
>> Hello,
>>
>> Here's my current query:
>>
>> SELECT 
>> ....geographic_view.country_criterion_id, 
>> ....metrics.clicks, 
>> ....metrics.impressions, 
>> ....metrics.cost_micros, 
>> ....ad_group.type, 
>> ....segments.date 
>> FROM 
>> ....geographic_view 
>> WHERE 
>> ....segments.date BETWEEN '2022-12-01' AND '2022-12-01'
>>
>> This produces the country_criterion_id, and I have no idea how to convert 
>> that to a country_id or country_name. I need the country_name, but a 
>> country_id will do fine.
>>
>> *By the way, the geo_target_constant resource is not compatible with 
>> ad_group.type*. This is very important though, as the data needs paired 
>> with defaultChannelGrouping data from GA4. So I need both country and 
>> ad_group.type.
>>
>> What is the solution here? Also getting campaign_name would be nice, but 
>> not required.
>>
>> Thanks!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/b6459550-a044-40e2-a8ef-922270e63049n%40googlegroups.com.
  • Ho... Chad Wood
    • ... Chad Wood
      • ... Chad Wood
        • ... Chad Wood
          • ... Chad Wood
            • ... Chad Wood
              • ... Chad Wood
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... Chad Wood

Reply via email to