Instagram ads hide On Wed, 25 Jun, 2025, 10:31 am 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum, <[email protected]> wrote:
> Hi, > > Thank you for reaching out to the Google Ads API support team. > > Can you confirm whether you are trying to use the Google Ads API > <https://developers.google.com/google-ads/api/docs/start> for retrieving > the cost from your Google Ads account? If yes, I would recommend you to use > the customer > <https://developers.google.com/google-ads/api/fields/v20/customer> > resource to fetch the account level cost using the Google Ads API. However, > I am providing the sample GAQL query as per your requirement: > > > SELECT customer.id, customer.descriptive_name, customer.resource_name, > metrics.cost_micros FROM customer > > Note that the above GAQL query will fetch the total account level costs > using the API. You can use the search > <https://developers.google.com/google-ads/api/rest/reference/rest/v20/customers.googleAds/search?apix=true> > or searchStream > <https://developers.google.com/google-ads/api/rest/reference/rest/v20/customers.googleAds/searchStream?apix=true> > methods > in making the API calls while retrieving the data. Additionally, you can > utilize the Google Ads Query Builder > <https://developers.google.com/google-ads/api/fields/v20/overview_query_builder> > and Query Validator > <https://developers.google.com/google-ads/api/fields/v20/query_validator> to > build and validate the queries for retrieving the data from the Google Ads > API. > > However, it's important to note that costs in a Google Ads account are > recorded at various levels such as campaign, ad group, ad, asset, etc. To > retrieve cost data for each of these levels, you’ll need to use the > corresponding resources provided by the Google Ads API. So in order to > assist you the correct resource, I would request you to provide an > uncropped UI screenshot of your Google Ads account (with visible customer > ID) by highlighting the costs and fields that you are trying to retrieve > using the Google Ads API. > > You can send the details via *Reply privately to the author option*, or > *direct > private reply* to this email. > > > Thanks, > > [image: Google Logo] Google Ads API Team > Feedback > How was our support today? > > [image: rating1] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=500Ht00001rgDy9IAE> > [image: rating2] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=500Ht00001rgDy9IAE> > [image: rating3] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=500Ht00001rgDy9IAE> > [image: rating4] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=500Ht00001rgDy9IAE> > [image: rating5] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=500Ht00001rgDy9IAE> > [2025-06-25 05:01:43Z GMT] This message is in relation to case > "ref:!00D1U01174p.!500Ht01rgDy9:ref" (ADR-00315635) > > > -- > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > 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 visit > https://groups.google.com/d/msgid/adwords-api/CYV5M000000000000000000000000000000000000000000000SYEBAV00PcvmvynsS6-f2MzttLdSUg%40sfdc.net > <https://groups.google.com/d/msgid/adwords-api/CYV5M000000000000000000000000000000000000000000000SYEBAV00PcvmvynsS6-f2MzttLdSUg%40sfdc.net?utm_medium=email&utm_source=footer> > . > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 visit https://groups.google.com/d/msgid/adwords-api/CAPofqyjTGi%2Bz6y%2BY%3DTONXgNZODrOw8SzbcB%3DicUxJ8e6yktTeA%40mail.gmail.com.
