AdServingOptimizationStatus Question

96 views
Skip to first unread message

Mariam Haidar

unread,
Feb 17, 2016, 9:08:54 AM2/17/16
to AdWords API Forum
hello everyone

Is AdServingOptimizationStatus affected if we choose standard or all feature ?
Is there any default value for the AdServingOptimizationStatus?

Yin Niu

unread,
Feb 17, 2016, 10:28:35 AM2/17/16
to AdWords API Forum
Hi, 

There is no default value for AdServingOptimizationStatus. If you don't set it, it is null. This field is determined by the Ad Rotation settings

Thanks,
Yin, AdWords API Team. 

Yin Niu

unread,
Feb 17, 2016, 3:07:47 PM2/17/16
to AdWords API Forum
Hello, 

Sorry my mistake. The default value is OPTIMIZE. This Ad Rotation setting is only available for campaigns with "All features" enabled. 

Thanks,
Yin, AdWords API Team. 

Mhamad Canaan

unread,
Feb 18, 2016, 7:59:16 AM2/18/16
to AdWords API Forum
Hi Yin Niu,

Ok so there are so many "Advanced Settings" to be filled if it was "All Feature", this I have no problem with, but what if it was "Standard" campaign? all these settings are ignored? like the Frequency cap, Campaign URL option, shcedule, etc.. what do I do with them? I fill them in the PHP code? or should I fill them with standard data?

Yin Niu

unread,
Feb 18, 2016, 9:18:15 AM2/18/16
to AdWords API Forum
Hello, 

Yes, you can ignore the advanced settings if you are only creating a standard campaign. If you are looking at the sample AddCampaigns.php code, wherever it is marked optional in the comment, you can remove those lines if you don't need those features. 

Thanks,
Yin

Mhamad Canaan

unread,
Feb 18, 2016, 9:33:48 AM2/18/16
to AdWords API Forum
I understand how to not include it in the code, but this is not the issue, my concern is that how to make a way to let the user choose whether it is standard or all feature and being able to satisfy both options, thats why I am asking about what to do with the advanced settings if he chose standard campaign? for example if the default value for adservingoptimizationstatus is optimize, can I make the value chosen for this input as "OPTIMIZE" hidden for user but not will be sent with the form on submit?

Mhamad Canaan

unread,
Feb 18, 2016, 9:35:45 AM2/18/16
to AdWords API Forum
Maybe I forgot to tell you, I am developing webpage that can create and manage campaigns of adwords, so I need to make the user fully satisfied with all the options he might need.

Yin Niu

unread,
Feb 18, 2016, 9:45:42 AM2/18/16
to AdWords API Forum
Hello, 

Sorry I didn't make it clear in my reply. You don't have to set the value unless it is required. Sometimes if you are not sure, you could try to send the request, if you don't get any errors that are related to required parameters, then you are good.  

As for your webpage design, I would think the general software development rules apply. 

Mhamad Canaan

unread,
Feb 19, 2016, 2:30:41 AM2/19/16
to AdWords API Forum
Hello,

I will try to make it clear for what I am asking for, lets suppose I executed the AddCampaigns.php but I removed the Optional line code, the start date of the campaign will be filled automatically by the AdWords account of the user, so there are some default values that the AdWords fill in if the user did not specify it right? if so, then I suppose I can set the default values from my code? and the reason of my concern is to know if I should put all the optional settings in an "If{}else{}" statements to know when to execute them or I can simply execute them at all cases but the values of them would be only the default values that the AdWords would put like the example of the start date I mentioned before.

I hope I made myself clear this time, I am ready for any question If there is anything not clear. 

Yin Niu

unread,
Feb 19, 2016, 9:56:12 AM2/19/16
to AdWords API Forum
Hello, 

If it's optional, you don't have to set that value and send to AdWords. Your users don't have to set those values. If the values are not set, AdWords will set default values.

The campaign reference page has detailed description about what default values are. Campaigns created by API are all feature campaigns. 
Reply all
Reply to author
Forward
0 new messages