jiamo commented on PR #22965:
URL: https://github.com/apache/airflow/pull/22965#issuecomment-1125008088

   I found code in google ads v10
   ```
       def search(
           self,
           request: Union[google_ads_service.SearchGoogleAdsRequest, dict] = 
None,
           *,
           customer_id: str = None,
           query: str = None,
           retry: OptionalRetry = gapic_v1.method.DEFAULT,
           timeout: float = None,
           metadata: Sequence[Tuple[str, str]] = (),
       ) -> pagers.SearchPager:
           r"""Returns all rows that match the search query.
   
           List of thrown errors: `AuthenticationError <>`__
           `AuthorizationError <>`__ `ChangeEventError <>`__
           `ChangeStatusError <>`__ `ClickViewError <>`__
           `HeaderError <>`__ `InternalError <>`__ `QueryError <>`__
           `QuotaError <>`__ `RequestError <>`__
   
           Args:
               request 
(Union[google.ads.googleads.v10.services.types.SearchGoogleAdsRequest, dict]):
                   The request object. Request message for
                   
[GoogleAdsService.Search][google.ads.googleads.v10.services.GoogleAdsService.Search].
               customer_id (str):
                   Required. The ID of the customer
                   being queried.
   ```
   So in `airflow/providers/google/ads/hooks/ads.py` we need add 
   
   change 
   ```
   iterator = service.search(request=request)
   ```
   to 
   ```
   iterator = service.search(request=request, customer_id=client_id)
   ```
   But the `request`  already added the `customer_id`. I am not sure for this.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to