File tree Expand file tree Collapse file tree
src/main/java/com/google/ads/googleads/examples Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 <parent >
2323 <groupId >com.google.api-ads</groupId >
2424 <artifactId >google-ads-parent</artifactId >
25- <version >0.3.2 -SNAPSHOT</version >
25+ <version >0.3.3 -SNAPSHOT</version >
2626 <relativePath >../pom.xml</relativePath >
2727 </parent >
2828
2929 <modelVersion >4.0.0</modelVersion >
3030 <groupId >com.google.api-ads</groupId >
3131 <artifactId >google-ads-examples</artifactId >
3232 <packaging >jar</packaging >
33- <version >0.3.2 -SNAPSHOT</version >
33+ <version >0.3.3 -SNAPSHOT</version >
3434 <name >Google Ads API client library for Java examples</name >
3535 <description >
3636 Examples demonstrating the Google Ads API client library for Java.
5555 <dependency >
5656 <groupId >com.google.api-ads</groupId >
5757 <artifactId >google-ads</artifactId >
58- <version >0.3.2 -SNAPSHOT</version >
58+ <version >0.3.3 -SNAPSHOT</version >
5959 </dependency >
6060 <dependency >
6161 <groupId >com.beust</groupId >
Original file line number Diff line number Diff line change 1919import com .google .ads .googleads .examples .utils .CodeSampleParams ;
2020import com .google .ads .googleads .lib .GoogleAdsClient ;
2121import com .google .ads .googleads .lib .GoogleAdsException ;
22- import com .google .ads .googleads .v0 .common .InteractionType ;
22+ import com .google .ads .googleads .v0 .common .InteractionTypeInfo ;
2323import com .google .ads .googleads .v0 .enums .InteractionTypeEnum ;
2424import com .google .ads .googleads .v0 .errors .GoogleAdsError ;
2525import com .google .ads .googleads .v0 .resources .CampaignBidModifier ;
@@ -111,7 +111,7 @@ private void runExample(
111111 .setCampaign (StringValue .of (campaignResourceName ))
112112 // Make the bid modifier apply to call interactions.
113113 .setInteractionType (
114- InteractionType .newBuilder ().setType (InteractionTypeEnum .InteractionType .CALLS ))
114+ InteractionTypeInfo .newBuilder ().setType (InteractionTypeEnum .InteractionType .CALLS ))
115115 // Use the specified bid modifier value.
116116 .setBidModifier (DoubleValue .of (bidModifier ))
117117 .build ();
Original file line number Diff line number Diff line change @@ -29,5 +29,4 @@ public final class ArgumentNames {
2929 public static final String KEYWORD_TEXT = "--keywordText" ;
3030 public static final String RECOMMENDATION_ID = "--recommendationId" ;
3131 public static final String HOTEL_CENTER_ACCOUNT_ID = "--hotelCenterAccountId" ;
32- public static final String BID_MODIFIER = "--bidModifier" ;
3332}
You can’t perform that action at this time.
0 commit comments