【发布时间】:2022-10-19 20:41:57
【问题描述】:
我想出了如何创建和删除关键字计划,但我不知道如何获得所有现有关键字计划的列表(资源名称/计划 ID)?
final long customerId = Long.valueOf("XXXXXXXXXX");
GoogleAdsClient googleAdsClient = new ...
KeywordPlanServiceClient client = googleAdsClient.getVersion8().createKeywordPlanServiceClient();
String[] allExistingKeywordPlans = client. ???
<dependency>
<groupId>com.google.api-ads</groupId>
<artifactId>google-ads</artifactId>
<version>16.0.0</version>
</dependency>
更多资源: https://developers.google.com/google-ads/api/docs/samples/add-keyword-plan
非常感谢任何有关如何解决此问题的提示!提前谢谢了!
【问题讨论】:
-
我面临同样的问题。你解决了这个问题吗?
-
就我而言,我将这些引用存储在内部,以便稍后再次访问它们。如果您找到更方便的方法,请告诉我。
标签: java google-ads-api