Hello, 
        "SELECT metrics.cost_micros FROM campaign WHERE segments.date = 
2023-02-10 "    What kinds of asset are included in this  cost_micros  of  
a campaign?

         By calculating the  cost_micros   of all the  asset  in a 
campaign,I found these two kinds of  cost_micros  is not equal:
         "SELECT metrics.cost_micros FROM campaign WHERE segments.date = 
2023-02-10 " 

          "SELECT campaign.id, asset.id, metrics.cost_micros FROM 
ad_group_ad_asset_view  where ad_group_ad_asset_view.field_type IN 
('AD_IMAGE', 'MARKETING_IMAGE', 'PORTRAIT_MARKETING_IMAGE', 
'SQUARE_MARKETING_IMAGE', 'VIDEO', 'YOUTUBE_VIDEO') AND segments.date = 
2023-02-10 "    

thank you
在2023年2月22日星期三 UTC+8 01:28:17<Google Ads API Forum Advisor> 写道:

> Hello,
>
> Michael here from Google Ads API Support team. Thank you for reaching out 
> to us.
>
> With regards to your concern, if you are referring to getting the metrics 
> at campaign asset level, you may try the below query:
> SELECT metrics.cost_micros FROM campaign_asset
>
> On the other hand, if this is for Ad group asset, then the one should work 
> for you:
> SELECT metrics.cost_micros FROM ad_group_asset
>
> Nonetheless, you may also check our Query Builder 
> <https://developers.google.com/google-ads/api/fields/v13/overview_query_builder>
>  and 
> it should help you in building your desired Ads API queries.
>
> Note that *Google Ads API* 
> <https://developers.google.com/google-ads/api/docs/start> mirrors Google 
> Ads UI. Meaning, the data that can be seen in the Google Ads UI can be 
> retrieved or managed using the Google Ads API. If you have specific data 
> that you want to retrieve, then you may send us the uncropped UI screenshot 
> so we can provide the accurate report and fields that you need to use.
>
> Regards,
> [image: Google Logo] 
> Michael Angelo 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2jEyoO: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 
"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/20f79598-2f0e-4582-9db5-d1f1786982c5n%40googlegroups.com.
  • as... '梁生' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... '梁生' via Google Ads API and AdWords API Forum

Reply via email to