GetHotelAdsPerformance java example not working

12 views
Skip to first unread message

Leopoldo Sergi

unread,
Mar 26, 2020, 5:51:40 AM3/26/20
to AdWords API and Google Ads API Forum
I'm trying to use the example GetHotelAdsPerformance included inside the java v3 library but when I run the program it stucks at the line

SearchPagedResponse response = googleAdsService.search(request);

where request is

SearchGoogleAdsRequest request = SearchGoogleAdsRequest.newBuilder()
        .setCustomerId(String.valueOf(customerId))
        .setPageSize(PAGE_SIZE)
        .setQuery(query)
        .build();


I use Java 1.8.0_162

Any suggestion?

Leopoldo Sergi

unread,
Mar 26, 2020, 8:13:20 AM3/26/20
to AdWords API and Google Ads API Forum
Fixed
We used the wrong libraries
Reply all
Reply to author
Forward
0 new messages