question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't set Bidding Strategy to MAXIMIZE_CONVERSIONS when it was set to something else.

See original GitHub issue

This is a follow-up to #176 because @kritzware asked:

Does this still happen in the latest release of this library? Please let us know and re-open this issue if so.

but I can’t re-open the issue.

It seems that I’m able to successfully create a new campaign with the MAXIMIZE_CONVERSIONS bidding strategy:

customer.campaigns.create([
          {
            name: myName,
            campaign_budget: myBudget,
            advertising_channel_type: enums.AdvertisingChannelType.SEARCH,
            status: enums.CampaignStatus.ENABLED,
            bidding_strategy_type:
              enums.BiddingStrategyType.MAXIMIZE_CONVERSIONS,
            maximize_conversions: {},
            network_settings: {
              target_google_search: true,
              target_search_network: true,
              target_content_network: false,
              target_partner_search_network: false,
            },
          },
        ])

And I’m also able to change the bidding strategy from MAXIMIZE_CONVERSIONS toTARGET_CPA:

this.customer.campaigns.update([{
        resource_name: myCampaignResourceName,
        bidding_strategy_type: enums.BiddingStrategyType.TARGET_CPA,
        target_cpa: {
          target_cpa_micros: toMicros(1.23),
        },
      }]);

But it seems impossible to change it back to TARGET_CPA. I’ve tried a few things:

this.customer.campaigns.update([{
        resource_name: myCampaignResourceName,
        bidding_strategy_type: enums.BiddingStrategyType.MAXIMIZE_CONVERSIONS,
      }]);

and

this.customer.campaigns.update([{
        resource_name: myCampaignResourceName,
        bidding_strategy_type: enums.BiddingStrategyType.MAXIMIZE_CONVERSIONS,
        maximize_conversions: {},
      }]);

and

this.customer.campaigns.update([{
        resource_name: myCampaignResourceName,
        bidding_strategy_type: enums.BiddingStrategyType.MAXIMIZE_CONVERSIONS,
        maximize_conversions: {target_cpa: null},
      }]);

But none of these seem to work.

From other users’ reports, it seems it’s not possible to switch from any bidding strategy back to MAXIMIZE_CONVERSIONS, although I have only tried TARGET_CPA personally.

There’s no error, but the campaign isn’t updated.

I’m happy to try more things. Would a sample project help?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
jstoefflercommented, Oct 13, 2021

@maria-calina-ia Yes it’s Search type.

Another thing I had to do is to bump this library to its latest version–I was using 5.2.0–no idea when the change was introduced.

I created a sample project that reproduces the issue, perhaps you can play around and see if you can pinpoint what the problem is: https://github.com/jstoeffler/opteo-google-ads-api-issue-328

I’ve tried to change the code to use Display type, but I got this error:

{"errors":[{"error_code":{"operation_access_denied_error":"OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE"},"message":"This operation is not permitted on this campaign type","trigger":{"string_value":"DISPLAY"},"location":{"field_path_elements":[{"field_name":"operations","index":0},{"field_name":"update"},{"field_name":"maximize_conversions"},{"field_name":"target_cpa"}]}}],"request_id":"[REDACTED]"}

Perhaps there’s some adjustment to do, but I’m not familiar with campaign type, so I’ll let you figure out.

But I just saw you’re using PHP, and we’re in the JS/TS library repository here. So I’m not sure we can provide relevant help for your issue.

Perhaps you could try on your library’s repository? Or on the Google Ads API Forum: https://groups.google.com/g/adwords-api

0reactions
maria-calina-iacommented, Oct 13, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

About Maximize conversions bidding - Google Ads Help
Maximize conversions or Maximize conversion value bid strategies are designed to spend the full daily budget, and are ”limited by budget” by design...
Read more >
The Pros & Cons of Every Automated Bidding Strategy in Google
The Maximum Conversions bid strategy is designed to get as many conversions as possible while spending your daily budget.
Read more >
Guide to Google Ads Maximize Conversions Bidding Strategy
One way is to use the Maximize Conversions bidding strategy. This bidding strategy is designed to help you get the most conversions possible ......
Read more >
How To Use Maximize Conversions Bidding in Google Ads
Maximize Conversions is an automated bidding strategy. This means that the system will automatically set max CPCS for you. In contrast, with ...
Read more >
The Complete Guide to Bidding Strategies for Google Ads
3. Maximize Conversions with no tCPA Set. One of Google's bidding objectives is to “Maximize Conversions.” The focus here is to maximize the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found