I want to use curl to create google ad campaign. I get internal server error. Need help on the same.

27 views
Skip to first unread message

Anushri shanbhag

unread,
May 17, 2019, 6:51:14 AM5/17/19
to AdWords API and Google Ads API Forum

I have followed steps as mentioned in  https://developers.google.com/google-ads/api/docs/concepts/curl-example.

However I need to create campaign, hence I have used this "campaigns:mutate"  with following json body

{
    "operations": [
        {
            "create": {
                "name": "NewCampaign1",
                "status": "UNSPECIFIED",
                "advertising_channel_type":"DISPLAY",
                "serving_status"   : "UNSPECIFIED",
                "ad_serving_optimization_status":"UNSPECIFIED",
                "real_time_bidding_setting": {
                "opt_in" : "false"
                },
                "network_settings" : {
                "target_google_search" : "true",
                "target_search_network": "true",
                "target_content_network":"false",
                "target_partner_search_network":"false"
                },
                "campaign_budget" : "10000",
                "bidding_strategy_type":"MANUAL_CPM",
                "start_date" : "06/06/2019",
                "end_date"   : "07/07/2019"
                
           }
        }
    ]
}

However I get 500 internal server error.   I wanted to know what is going wrong .Can anyone please help.
Reply all
Reply to author
Forward
0 new messages