I am migrating from the old API where I used to do 

$bidding = new BiddingStrategyConfiguration();
$bidding->setBiddingStrategyType("whatever");
$campaign->setBiddingStrategyConfiguration($bidding);

And than push the updated campaign

For the new api I checked some post and example but they are either for a 
brand new campaign... or do not work!

For example 
https://groups.google.com/d/topic/adwords-api/lOXKdtbCvbw/discussion

If I execute a code like

$campaign = new Campaign([
    'resource_name' => ResourceNames::forCampaign($customerId, $campaignId)
]);

$campaign->setMaximizeConversions(new MaximizeConversions());

And than push I will end up with this json

{
"customerId": "XYZ",
"operations": [{
"updateMask": "resourceName",
"update": {
"resourceName": "customers\/XYZ\/campaigns\/ABC",
"maximizeConversions": {}
}
}]
}

I receive a "valid" response like

{
"results": [{
"resourceName": "customers/XYZ/campaigns/ABC"
}]
}

But nothing is happening...

DId anyone can help me ?

Do I must use portfolio bidding strategy ?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/34b39ae6-39e7-4a39-af8c-40ae3fcc0a95%40googlegroups.com.

Reply via email to