reduce search results size
@jradcliff 已经在做这个了。
开始于 2022年6月28日。
评估
这个 Issue 还没有评估数据。
描述
Describe the problem you are trying to solve
I migrated from old Adwords API to new Ads API. I recognized that loading some of my reports take longer than before. First I thought it was an server issues, but then I found out that the responses are much larger. An example: when doing the request
SELECT campaign.status, ad_group.status, ad_group_criterion.status, ad_group_criterion.type
FROM ad_group_criterion
WHERE ad_group_criterion.negative = false
AND campaign.status != REMOVED
AND ad_group.status != REMOVED
AND ad_group_criterion.status != REMOVED
on a specific account, the response stream contains 280MB of data. When I did the same request with the old Adwords Reporting API (using GZIPPED_CSV as download format) the download size was only 200KB.
Describe the solution you would like
It would be great if the response size of the Ads API could be similar to the report size of the Adwords API and not differ by a factor of 1400. The old API returned a compressed csv file, the response of the new API seems to be uncompressed. It would be great if the Ads API would communicate to the server using compressed messages.
Describe alternatives you've considered
There is not much I can do on my side, but I hope the library could
- use compressed requests/responses. As far as I could see gRPC supports gzip compression:
io.grpc.stub.AbstractStub.withCompression("gzip")
Additional context
I copied the most of this ticket's content from #438 that I wrote one year ago. The old issue was closed, but only one part of the request was implemented (thanks for that again). @nwbirnie wrote that I should check back in a few months.
- 主要语言
- Java
- 星标
- 211
- 派生
- 189
- 平均合并
- 19 分钟
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
googleads/google-ads-java 的其他 Issue
-
Catch InvalidArgumentException while GoogleAdsException expected when mutate可能重新可做 @sarahcaseybot 于 452 天前认领,目前没有进行中的 PR。 未关闭question
googleads/google-ads-java#852 · 20 条评论 · 1 个 reaction · 已指派 1 人 ·
-
Partial proxy for GoogleAdsClient可能重新可做 @jradcliff 于 510 天前认领,目前没有进行中的 PR。 未关闭question
googleads/google-ads-java#831 · 7 条评论 · 已指派 1 人 ·
-
Can the size of google client library be reduced if only a few apis are being used?可能重新可做 @sarahcaseybot 于 357 天前认领,目前没有进行中的 PR。 未关闭enhancement question
googleads/google-ads-java#581 · 12 条评论 · 4 个 reaction · 已指派 1 人 ·
-
Quickstart guide should not require building the library可能重新可做 @jradcliff 于 2012 天前认领,目前没有进行中的 PR。 未关闭enhancement P3
googleads/google-ads-java#342 · 2 条评论 · 1 个 reaction · 已指派 1 人 ·
查看 googleads/google-ads-java 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
ShaftHQ/SHAFT_ENGINE#6909 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
mudler/parakeet.cpp#99 ·
维护者通常 1 天内回复
-
[BUG] Re-subscribing the Mono returned by listTools/listResources/listResourceTemplates/listPrompts/listRoots duplicates the results可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
modelcontextprotocol/java-sdk#1174 · 1 个 reaction ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
baomidou/mybatis-plus#7185 ·
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
refinedmods/refinedstorage2#1419 ·