Hi Josh!

I basically have the same problem.  I use v201607 of the PHP library.

I begin by defining a SharedBiddingStrategy, and based on the returned 
object, it's successful:

BiddingStrategyReturnValue Object
(
    [value] => Array
        (
            [0] => SharedBiddingStrategy Object
                (
                    [biddingScheme] => PageOnePromotedBiddingScheme Object
                        (
                            [strategyGoal] => PAGE_ONE_PROMOTED
                            [bidCeiling] => Money Object
                                (
                                    [microAmount] => 4000000
                                    [ComparableValueType] => Money
                                    [_parameterMap:ComparableValue:private] => 
Array
                                        (
                                            [ComparableValue.Type] => 
ComparableValueType
                                        )

                                )

                            [bidModifier] => 
                            [bidChangesForRaisesOnly] => 
                            [raiseBidWhenBudgetConstrained] => 
                            [raiseBidWhenLowQualityScore] => 
                            [BiddingSchemeType] => PageOnePromotedBiddingScheme
                            [_parameterMap:BiddingScheme:private] => Array
                                (
                                    [BiddingScheme.Type] => BiddingSchemeType
                                )

                        )

                    [id] => 1419094668
                    [name] => _PO_Used_1298089587
                    [status] => ENABLED
                    [type] => PAGE_ONE_PROMOTED
                    [systemStatus] => 
                )

        )

    [ListReturnValueType] => BiddingStrategyReturnValue
    [_parameterMap:ListReturnValue:private] => Array
        (
            [ListReturnValue.Type] => ListReturnValueType
        )

)

Then I use it in the parameters for my campaign, here's my Campaign object:

Campaign Object
(
    [id] => 
    [name] => ___POP_GMC Sierra 2500HD 2013| XM351 - EN
    [status] => ENABLED
    [servingStatus] => SERVING
    [startDate] => 20160819
    [endDate] => 
    [budget] => Budget Object
        (
            [budgetId] => 246661707
            [name] => 
            [amount] => 
            [deliveryMethod] => 
            [referenceCount] => 
            [isExplicitlyShared] => 
            [status] => 
        )

    [conversionOptimizerEligibility] => 
    [adServingOptimizationStatus] => 
    [frequencyCap] => 
    [settings] => 
    [advertisingChannelType] => SEARCH
    [advertisingChannelSubType] => 
    [networkSetting] => NetworkSetting Object
        (
            [targetGoogleSearch] => 1
            [targetSearchNetwork] => 1
            [targetContentNetwork] => 
            [targetPartnerSearchNetwork] => 
        )

    [labels] => 
    [biddingStrategyConfiguration] => SharedBiddingStrategy Object
        (
            [biddingScheme] => 
            [id] => 1419094668
            [name] => 
            [status] => 
            [type] => 
            [systemStatus] => 
            [biddingStrategyType] => PAGE_ONE_PROMOTED
        )

    [campaignTrialType] => 
    [baseCampaignId] => 
    [forwardCompatibilityMap] => 
    [trackingUrlTemplate] => 
    [urlCustomParameters] => 
    [vanityPharma] => 
)
And I get the errors:

[RequiredError.REQUIRED @ operations[0].operand.advertisingChannelType, 
BiddingErrors.INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE @ 
operations[1].operand.biddingStrategyConfiguration.biddingStrategyType; 
trigger:'PAGE_ONE_PROMOTED']

The advertisngChannelType error just popped up, didn't have it in my previous 
tests.  I'll try to fix that, but that's a different issue.

As you can see, it generates the same INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE 
error.  It seems to say the trigger is the fact I re-assign the 
biddingStrategyType to 'PAGE_ONE_PROMOTED', but if I don't, I get another error 
saying that parameter is required.

It's not anonymous, the bidding strategy exists, it's a SHARED one, 

What do I miss?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/60a6fe9d-d93a-4b8b-98f4-1de9f6c30a39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Re: INVALID_ANONY... Sylvain Beauregard

Reply via email to