RequiredError.REQUIRED when try to create campaign

26 views
Skip to first unread message

Pavel Štěrba

unread,
Dec 5, 2014, 9:33:48 AM12/5/14
to adwor...@googlegroups.com
I'm trying to create new campaign via API (v201406), but I'm still getting error "RequiredError.REQUIRED". But I don't know which field I'm missing, here is my CompaignOperation object:

Campaign Object
(
    [id] =>
    [name] => MY_CAMPAIGN_NAME
    [status] => ENABLED
    [servingStatus] =>
    [startDate] =>
    [endDate] =>
    [budget] => Budget Object
        (
            [budgetId] =>
            [name] =>
            [period] => DAILY
            [amount] => Money Object
                (
                    [microAmount] => 10000000
                    [ComparableValueType] =>
                    [_parameterMap:ComparableValue:private] => Array
                        (
                            [ComparableValue.Type] => ComparableValueType
                        )

                )

            [deliveryMethod] => STANDARD
            [referenceCount] =>
            [isExplicitlyShared] =>
            [status] =>
        )

    [conversionOptimizerEligibility] =>
    [adServingOptimizationStatus] =>
    [frequencyCap] =>
    [settings] =>
    [advertisingChannelType] =>
    [networkSetting] =>
    [labels] =>
    [biddingStrategyConfiguration] => BiddingStrategyConfiguration Object
        (
            [biddingStrategyId] =>
            [biddingStrategyName] =>
            [biddingStrategyType] => MANUAL_CPC
            [biddingStrategySource] =>
            [biddingScheme] =>
            [bids] =>
        )

    [forwardCompatibilityMap] =>
    [displaySelect] =>
    [trackingUrlTemplate] =>
    [urlCustomParameters] =>
)

Am I missing something here? Thank you for help or tips.

Danial Klimkin

unread,
Dec 5, 2014, 7:48:12 PM12/5/14
to adwor...@googlegroups.com
Hello Pavel,


Normally, "trigger" field with tell that. I'd say you need to specify advertisingChannelType.


-Danial, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages