Hi Dmitriy,
Thanks for reaching out. Please see below for my response to each example you
provided:
search_response = google_ads_service.search(customer_id, query=query,
page_size=500)
- This is a search request, which is not as expensive as the get request. It is
not counting towards the get request daily limit but the general daily
operational limit applies.
campaign_service = ads_client.get_service('CampaignService')
request = campaign_service.get_campaign('customers/******/campaigns/******')
- This is a typical get request to query on a specific resource and have all
available data returned. This is an expensive call and it counts as 1 get
request.
status_enum = ads_client.get_type('AdGroupAdStatusEnum').AdGroupAdStatus
status = status_enum.Name(ad_group_ad.status)
- This is something different from the above two requests. As this is not
requesting a resource to fetch all data of an object as the
campaign_service.get_campaign does, I would assume it does not count as 1 get
request. Rather, you could consider it as an operation fetching the constant
data.
Thanks and regards,
Xiaoming, Google Ads API Team
Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q26AEXu: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/2aMuq000000000000000000000000000000000000000000000QIGRNC00Ld2Uo4W0SPOnaVfWgyFLjg%40sfdc.net.