|
||||||
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
|
||||||