google-adwords-api 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/COPYING +1 -1
- data/ChangeLog +4 -0
- data/README.md +6 -7
- data/adwords_api.yml +1 -1
- data/examples/v201502/account_management/create_account.rb +0 -4
- data/examples/v201502/account_management/get_account_changes.rb +0 -4
- data/examples/v201502/account_management/get_account_hierarchy.rb +0 -4
- data/examples/v201502/advanced_operations/add_ad_customizers.rb +0 -5
- data/examples/v201502/advanced_operations/add_ad_group_bid_modifier.rb +0 -4
- data/examples/v201502/advanced_operations/add_click_to_download_ad.rb +0 -4
- data/examples/v201502/advanced_operations/add_text_ad_with_upgraded_urls.rb +0 -4
- data/examples/v201502/advanced_operations/create_and_attach_shared_keyword_set.rb +0 -4
- data/examples/v201502/advanced_operations/find_and_remove_criteria_from_shared_set.rb +0 -5
- data/examples/v201502/advanced_operations/get_ad_group_bid_modifiers.rb +0 -4
- data/examples/v201502/advanced_operations/upload_offline_conversions.rb +0 -4
- data/examples/v201502/advanced_operations/use_shared_bidding_strategy.rb +0 -5
- data/examples/v201502/basic_operations/add_ad_groups.rb +0 -4
- data/examples/v201502/basic_operations/add_campaigns.rb +0 -4
- data/examples/v201502/basic_operations/add_keywords.rb +0 -4
- data/examples/v201502/basic_operations/add_text_ads.rb +0 -4
- data/examples/v201502/basic_operations/get_ad_groups.rb +0 -4
- data/examples/v201502/basic_operations/get_campaigns.rb +0 -4
- data/examples/v201502/basic_operations/get_campaigns_with_awql.rb +0 -4
- data/examples/v201502/basic_operations/get_keywords.rb +0 -4
- data/examples/v201502/basic_operations/get_text_ads.rb +0 -4
- data/examples/v201502/basic_operations/pause_ad.rb +0 -4
- data/examples/v201502/basic_operations/remove_ad.rb +0 -4
- data/examples/v201502/basic_operations/remove_ad_group.rb +0 -4
- data/examples/v201502/basic_operations/remove_campaign.rb +0 -4
- data/examples/v201502/basic_operations/remove_keyword.rb +0 -4
- data/examples/v201502/basic_operations/update_ad_group.rb +0 -4
- data/examples/v201502/basic_operations/update_campaign.rb +0 -4
- data/examples/v201502/basic_operations/update_keyword.rb +0 -4
- data/examples/v201502/campaign_management/add_campaign_labels.rb +0 -4
- data/examples/v201502/campaign_management/add_experiment.rb +0 -4
- data/examples/v201502/campaign_management/add_keywords_in_bulk.rb +0 -5
- data/examples/v201502/campaign_management/get_all_disapproved_ads.rb +0 -4
- data/examples/v201502/campaign_management/get_all_disapproved_ads_with_awql.rb +0 -4
- data/examples/v201502/campaign_management/get_campaigns_by_label.rb +0 -4
- data/examples/v201502/campaign_management/promote_experiment.rb +0 -4
- data/examples/v201502/campaign_management/set_ad_parameters.rb +0 -4
- data/examples/v201502/campaign_management/set_criterion_bid_modifier.rb +0 -4
- data/examples/v201502/campaign_management/validate_text_ad.rb +0 -4
- data/examples/v201502/error_handling/handle_partial_failures.rb +0 -4
- data/examples/v201502/error_handling/handle_policy_violation_error.rb +0 -4
- data/examples/v201502/extensions/add_google_my_business_location_extensions.rb +0 -4
- data/examples/v201502/extensions/add_site_links.rb +0 -4
- data/examples/v201502/extensions/add_site_links_using_feeds.rb +0 -5
- data/examples/v201502/migration/migrate_to_extension_settings.rb +0 -6
- data/examples/v201502/migration/upgrade_ad_url.rb +0 -4
- data/examples/v201502/misc/create_ad_words_session_without_properties_file.rb +0 -2
- data/examples/v201502/misc/get_all_images_and_videos.rb +0 -4
- data/examples/v201502/misc/setup_oauth2.rb +0 -4
- data/examples/v201502/misc/upload_image.rb +0 -4
- data/examples/v201502/misc/use_oauth2_jwt.rb +0 -4
- data/examples/v201502/optimization/estimate_keyword_traffic.rb +0 -4
- data/examples/v201502/optimization/get_keyword_bid_simulations.rb +0 -4
- data/examples/v201502/optimization/get_keyword_ideas.rb +0 -4
- data/examples/v201502/remarketing/add_audience.rb +0 -4
- data/examples/v201502/remarketing/add_conversion_tracker.rb +0 -4
- data/examples/v201502/remarketing/add_rule_based_user_lists.rb +0 -4
- data/examples/v201502/reporting/download_criteria_report.rb +0 -2
- data/examples/v201502/reporting/download_criteria_report_with_awql.rb +0 -2
- data/examples/v201502/reporting/get_report_fields.rb +0 -4
- data/examples/v201502/reporting/parallel_report_download.rb +0 -2
- data/examples/v201502/shopping_campaigns/add_product_partition_tree.rb +0 -2
- data/examples/v201502/shopping_campaigns/add_product_scope.rb +0 -4
- data/examples/v201502/shopping_campaigns/add_shopping_campaign.rb +0 -4
- data/examples/v201502/shopping_campaigns/get_product_category_taxonomy.rb +6 -8
- data/examples/v201502/targeting/add_campaign_targeting_criteria.rb +0 -4
- data/examples/v201502/targeting/add_demographic_targeting_criteria.rb +0 -4
- data/examples/v201502/targeting/get_campaign_targeting_criteria.rb +0 -4
- data/examples/v201502/targeting/get_targetable_languages_and_carriers.rb +0 -5
- data/examples/v201502/targeting/lookup_location.rb +0 -4
- data/examples/v201506/account_management/create_account.rb +1 -5
- data/examples/v201506/account_management/get_account_changes.rb +1 -5
- data/examples/v201506/account_management/get_account_hierarchy.rb +1 -5
- data/examples/v201506/advanced_operations/add_ad_customizers.rb +1 -6
- data/examples/v201506/advanced_operations/add_ad_group_bid_modifier.rb +1 -5
- data/examples/v201506/advanced_operations/add_click_to_download_ad.rb +1 -5
- data/examples/v201506/advanced_operations/add_text_ad_with_upgraded_urls.rb +1 -5
- data/examples/v201506/advanced_operations/create_and_attach_shared_keyword_set.rb +8 -4
- data/examples/v201506/advanced_operations/find_and_remove_criteria_from_shared_set.rb +8 -5
- data/examples/v201506/advanced_operations/get_ad_group_bid_modifiers.rb +1 -5
- data/examples/v201506/advanced_operations/upload_offline_conversions.rb +1 -5
- data/examples/v201506/advanced_operations/use_shared_bidding_strategy.rb +1 -6
- data/examples/v201506/basic_operations/add_ad_groups.rb +1 -5
- data/examples/v201506/basic_operations/add_campaigns.rb +1 -5
- data/examples/v201506/basic_operations/add_keywords.rb +1 -5
- data/examples/v201506/basic_operations/add_text_ads.rb +1 -5
- data/examples/v201506/basic_operations/get_ad_groups.rb +1 -5
- data/examples/v201506/basic_operations/get_campaigns.rb +1 -5
- data/examples/v201506/basic_operations/get_campaigns_with_awql.rb +1 -5
- data/examples/v201506/basic_operations/get_keywords.rb +1 -5
- data/examples/v201506/basic_operations/get_text_ads.rb +1 -5
- data/examples/v201506/basic_operations/pause_ad.rb +1 -5
- data/examples/v201506/basic_operations/remove_ad.rb +1 -5
- data/examples/v201506/basic_operations/remove_ad_group.rb +1 -5
- data/examples/v201506/basic_operations/remove_campaign.rb +1 -5
- data/examples/v201506/basic_operations/remove_keyword.rb +1 -5
- data/examples/v201506/basic_operations/update_ad_group.rb +1 -5
- data/examples/v201506/basic_operations/update_campaign.rb +1 -5
- data/examples/v201506/basic_operations/update_keyword.rb +1 -5
- data/examples/v201506/campaign_management/add_campaign_labels.rb +1 -5
- data/examples/v201506/campaign_management/add_experiment.rb +1 -5
- data/examples/v201506/campaign_management/add_keywords_in_bulk.rb +1 -6
- data/examples/v201506/campaign_management/get_all_disapproved_ads.rb +1 -5
- data/examples/v201506/campaign_management/get_all_disapproved_ads_with_awql.rb +1 -5
- data/examples/v201506/campaign_management/get_campaigns_by_label.rb +1 -5
- data/examples/v201506/campaign_management/promote_experiment.rb +1 -5
- data/examples/v201506/campaign_management/set_ad_parameters.rb +1 -5
- data/examples/v201506/campaign_management/set_criterion_bid_modifier.rb +1 -5
- data/examples/v201506/campaign_management/validate_text_ad.rb +1 -5
- data/examples/v201506/error_handling/handle_partial_failures.rb +1 -5
- data/examples/v201506/error_handling/handle_policy_violation_error.rb +1 -5
- data/examples/v201506/extensions/add_google_my_business_location_extensions.rb +1 -5
- data/examples/v201506/extensions/add_site_links.rb +1 -5
- data/examples/v201506/extensions/add_site_links_using_feeds.rb +1 -6
- data/examples/v201506/migration/migrate_to_extension_settings.rb +1 -7
- data/examples/v201506/migration/upgrade_ad_url.rb +1 -5
- data/examples/v201506/misc/get_all_images_and_videos.rb +1 -5
- data/examples/v201506/misc/setup_oauth2.rb +0 -4
- data/examples/v201506/misc/upload_image.rb +1 -5
- data/examples/v201506/misc/use_oauth2_jwt.rb +0 -4
- data/examples/v201506/misc/use_runtime_config.rb +1 -3
- data/examples/v201506/optimization/estimate_keyword_traffic.rb +1 -5
- data/examples/v201506/optimization/get_keyword_bid_simulations.rb +1 -5
- data/examples/v201506/optimization/get_keyword_ideas.rb +1 -5
- data/examples/v201506/remarketing/add_audience.rb +1 -5
- data/examples/v201506/remarketing/add_conversion_tracker.rb +1 -5
- data/examples/v201506/remarketing/add_rule_based_user_lists.rb +1 -5
- data/examples/v201506/reporting/download_criteria_report.rb +1 -3
- data/examples/v201506/reporting/download_criteria_report_with_awql.rb +1 -3
- data/examples/v201506/reporting/get_report_fields.rb +1 -5
- data/examples/v201506/reporting/parallel_report_download.rb +1 -3
- data/examples/v201506/shopping_campaigns/add_product_partition_tree.rb +1 -3
- data/examples/v201506/shopping_campaigns/add_product_scope.rb +1 -5
- data/examples/v201506/shopping_campaigns/add_shopping_campaign.rb +1 -5
- data/examples/v201506/shopping_campaigns/get_product_category_taxonomy.rb +7 -9
- data/examples/v201506/targeting/add_campaign_targeting_criteria.rb +1 -5
- data/examples/v201506/targeting/add_demographic_targeting_criteria.rb +1 -5
- data/examples/v201506/targeting/get_campaign_targeting_criteria.rb +1 -5
- data/examples/v201506/targeting/get_targetable_languages_and_carriers.rb +1 -6
- data/examples/v201506/targeting/lookup_location.rb +1 -5
- data/lib/adwords_api.rb +0 -3
- data/lib/adwords_api/api_config.rb +0 -2
- data/lib/adwords_api/credential_handler.rb +0 -2
- data/lib/adwords_api/errors.rb +1 -2
- data/lib/adwords_api/report_header_handler.rb +0 -2
- data/lib/adwords_api/report_utils.rb +0 -2
- data/lib/adwords_api/utils.rb +0 -2
- data/lib/adwords_api/version.rb +1 -3
- data/test/adwords_api/test_adwords_api.rb +0 -2
- data/test/adwords_api/test_api_config.rb +0 -2
- data/test/adwords_api/test_choices.rb +0 -2
- data/test/adwords_api/test_credential_handler.rb +0 -2
- data/test/adwords_api/test_report_utils.rb +31 -23
- data/test/adwords_api/test_utils.rb +0 -2
- data/test/coverage.rb +0 -2
- data/test/suite_integration.rb +0 -2
- data/test/suite_unittests.rb +0 -2
- data/test/test_utils.rb +0 -2
- metadata +34 -8
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example illustrates how to retrieve all text ads for an ad group. To add
|
22
20
|
# ads to an existing ad group, run add_text_ads.rb.
|
23
|
-
#
|
24
|
-
# Tags: AdGroupAdService.get
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example illustrates how to update an ad, setting its status to 'PAUSED'.
|
22
20
|
# To create ads, run add_text_ads.rb.
|
23
|
-
#
|
24
|
-
# Tags: AdGroupAdService.mutate
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.sgomes@gmail.com (Sérgio Gomes)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example removes an ad using the 'REMOVE' operator. To get ads, run
|
22
20
|
# get_text_ads.rb.
|
23
|
-
#
|
24
|
-
# Tags: AdGroupAdService.mutate
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example removes an ad group by setting the status to 'REMOVED'. To get ad
|
22
20
|
# groups, run get_ad_groups.rb.
|
23
|
-
#
|
24
|
-
# Tags: AdGroupService.mutate
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example removes a campaign by setting the status to 'REMOVED'. To get
|
22
20
|
# campaigns, run get_campaigns.rb.
|
23
|
-
#
|
24
|
-
# Tags: CampaignService.mutate
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example removes a keyword using the 'REMOVE' operator. To get list of
|
22
20
|
# keywords, run get_keywords.rb.
|
23
|
-
#
|
24
|
-
# Tags: AdGroupCriterionService.mutate
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.sgomes@gmail.com (Sérgio Gomes)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example illustrates how to update an ad group, setting its status to
|
22
20
|
# 'PAUSED'. To create an ad group, run add_ad_group.rb.
|
23
|
-
#
|
24
|
-
# Tags: AdGroupService.mutate
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example illustrates how to update a campaign, setting its status to
|
22
20
|
# 'PAUSED'. To create a campaign, run add_campaigns.rb.
|
23
|
-
#
|
24
|
-
# Tags: CampaignService.mutate
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example updates the bid of a keyword. To create a keyword, run
|
22
20
|
# add_keywords.rb.
|
23
|
-
#
|
24
|
-
# Tags: AdGroupCriterionService.mutate
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.mcloonan@gmail.com (Michael Cloonan)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2014, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -19,8 +17,6 @@
|
|
19
17
|
# limitations under the License.
|
20
18
|
#
|
21
19
|
# This example adds a label to multiple campaigns.
|
22
|
-
#
|
23
|
-
# Tags: CampaignService.mutateLabel
|
24
20
|
|
25
21
|
require 'adwords_api'
|
26
22
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.sgomes@gmail.com (Sérgio Gomes)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -23,8 +21,6 @@
|
|
23
21
|
# the experiment split (10%), then adds experimental bid changes for criteria
|
24
22
|
# and ad groups. To get campaigns, run get_campaigns.rb. To get ad groups,
|
25
23
|
# run get_ad_groups.rb. To get keywords, run get_keywords.rb.
|
26
|
-
#
|
27
|
-
# Tags: ExperimentService.mutate
|
28
24
|
|
29
25
|
require 'adwords_api'
|
30
26
|
require 'date'
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,9 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This code sample illustrates how to add many keywords using asynchronous
|
22
20
|
# requests and MutateJobService.
|
23
|
-
#
|
24
|
-
# Tags: MutateJobService.mutate, MutateJobService.get
|
25
|
-
# Tags: MutateJobService.getResult
|
26
21
|
|
27
22
|
require 'adwords_api'
|
28
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example illustrates how to retrieve all the disapproved ads in a given
|
22
20
|
# ad group. To add ads, run add_text_ads.rb.
|
23
|
-
#
|
24
|
-
# Tags: AdGroupAdService.get
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2012, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example illustrates how to retrieve all the disapproved ads in a given
|
22
20
|
# ad group with AWQL. To add ads, run add_text_ads.rb.
|
23
|
-
#
|
24
|
-
# Tags: AdGroupAdService.query
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.mcloonan@gmail.com (Michael Cloonan)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2014, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example gets all campaigns with a specific label. To add a label
|
22
20
|
# to campaigns, run add_campaign_labels.rb.
|
23
|
-
#
|
24
|
-
# Tags: CampaignService.get
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.sgomes@gmail.com (Sérgio Gomes)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example promotes an experiment, which permanently applies all the
|
22
20
|
# experiment changes made to its related ad groups, criteria and ads.
|
23
|
-
#
|
24
|
-
# Tags: ExperimentService.mutate
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.sgomes@gmail.com (Sérgio Gomes)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example illustrates how to create a text ad with ad parameters. To add an
|
22
20
|
# ad group, run add_ad_group.rb. To add a keyword, run add_keywords.rb.
|
23
|
-
#
|
24
|
-
# Tags: AdGroupAdService.mutate, AdParamService.mutate
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example sets a bid modifier for the mobile platform on given campaign.
|
22
20
|
# To get campaigns, run get_campaigns.rb.
|
23
|
-
#
|
24
|
-
# Tags: CampaignCriterionService.mutate
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example shows how to use the 'validate only' header. No objects will be
|
22
20
|
# created, but exceptions will still be thrown.
|
23
|
-
#
|
24
|
-
# Tags: CampaignService.mutate
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.sgomes@gmail.com (Sérgio Gomes)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -19,8 +17,6 @@
|
|
19
17
|
# limitations under the License.
|
20
18
|
#
|
21
19
|
# This example demonstrates how to handle partial failures.
|
22
|
-
#
|
23
|
-
# Tags: AdGroupCriterionService.mutate
|
24
20
|
|
25
21
|
require 'adwords_api'
|
26
22
|
require 'adwords_api/utils'
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.sgomes@gmail.com (Sérgio Gomes)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2011, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example demonstrates how to handle policy violation errors. To create
|
22
20
|
# an ad group, run add_ad_group.rb.
|
23
|
-
#
|
24
|
-
# Tags: AdGroupAdService.mutate
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
require 'adwords_api/utils'
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.mcloonan@gmail.com (Michael Cloonan)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2014, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -20,8 +18,6 @@
|
|
20
18
|
#
|
21
19
|
# This example adds a feed that syncs feed items from a Google My Business (GMB)
|
22
20
|
# account and associates the feed with a customer.
|
23
|
-
#
|
24
|
-
# Tags: CustomerFeedService.mutate, FeedService.mutate
|
25
21
|
|
26
22
|
require 'adwords_api'
|
27
23
|
require 'date'
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.mcloonan@gmail.com (Michael Cloonan)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2015, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -19,8 +17,6 @@
|
|
19
17
|
# limitations under the License.
|
20
18
|
#
|
21
19
|
# This example adds a sitelinks feed and associates it with a campaign.
|
22
|
-
#
|
23
|
-
# Tags: CampaignExtensionSettingService.mutate
|
24
20
|
|
25
21
|
require 'adwords_api'
|
26
22
|
require 'date'
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.dklimkin@gmail.com (Danial Klimkin)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2013, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -19,9 +17,6 @@
|
|
19
17
|
# limitations under the License.
|
20
18
|
#
|
21
19
|
# This example adds a sitelinks feed and associates it with a campaign.
|
22
|
-
#
|
23
|
-
# Tags: CampaignFeedService.mutate, FeedItemService.mutate
|
24
|
-
# Tags: FeedMappingService.mutate, FeedService.mutate
|
25
20
|
|
26
21
|
require 'adwords_api'
|
27
22
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# Encoding: utf-8
|
3
3
|
#
|
4
|
-
# Author:: api.mcloonan@gmail.com (Michael Cloonan)
|
5
|
-
#
|
6
4
|
# Copyright:: Copyright 2015, Google Inc. All Rights Reserved.
|
7
5
|
#
|
8
6
|
# License:: Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -24,10 +22,6 @@
|
|
24
22
|
# To learn more about migrating Feed based extensions to extension settings,
|
25
23
|
# see
|
26
24
|
# https://developers.google.com/adwords/api/docs/guides/migrate-to-extension-settings.
|
27
|
-
#
|
28
|
-
# Tags: FeedService.query, FeedMappingService.query, FeedItemService.query
|
29
|
-
# Tags: CampaignExtensionSettingService.mutate, CampaignFeedService.query
|
30
|
-
# Tags: CampaignFeedService.mutate
|
31
25
|
|
32
26
|
require 'adwords_api'
|
33
27
|
require 'set'
|