Subversion Repositories SmartDukaan

Rev

Rev 9005 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9005 Rev 9226
Line 52... Line 52...
52
 *
52
 *
53
 * @author Kevin Winter
53
 * @author Kevin Winter
54
 */
54
 */
55
public class AddKeywords {
55
public class AddKeywords {
56
 
56
 
57
	public static void main(String args[]){
-
 
58
		KeywordMatchType matchType = KeywordMatchType.fromString("BROAD");
-
 
59
	}
-
 
60
	public static List<Map<String, String>> runExample(long adGroupId, List<Map<String, String>> keywordDataList) throws Exception {
57
	public static List<Map<String, String>> runExample(long adGroupId, List<Map<String, String>> keywordDataList) throws Exception {
61
		// Generate a refreshable OAuth2 credential similar to a ClientLogin token
58
		// Generate a refreshable OAuth2 credential similar to a ClientLogin token
62
		// and can be used in place of a service account.
59
		// and can be used in place of a service account.
63
		Credential oAuth2Credential = new OfflineCredentials.Builder()
60
		Credential oAuth2Credential = new OfflineCredentials.Builder()
64
		.forApi(Api.ADWORDS)
61
		.forApi(Api.ADWORDS)