Hi, Yes, that's correct.
Cheers, Josh, AdWords API Team On Saturday, September 12, 2015 at 5:24:12 AM UTC-4, Sylvain Beauregard wrote: > > Hi! > > Yes, I set everything up properly in the DynamicSearchAdsSetting. as it > is revealed when we switch it manually in the Web interface, the settings > are there... and they are included in the API's object response after > setting up the campaign. > > Are you saying the campaign is then setup properly even if the subtype > doesn't show in the Web interface? > > > > Le vendredi 11 septembre 2015 17:13:47 UTC-4, Josh Radcliff (AdWords API > Team) a écrit : >> >> Hi, >> >> You won't be able to set the *subtype* via the API (your campaign will >> be an *All features* campaign), but by adding the DynamicSearchAdsSetting >> <https://developers.google.com/adwords/api/docs/reference/v201506/CampaignService.DynamicSearchAdsSetting>, >> >> your campaign will be enabled for DSAs. The *subtype* is a user >> interface-specific flag. >> >> Regarding adding the auto targets, you can do this by adding *Webpage* >> criteria >> as shown in the Specifying criteria for the DSA section >> <https://developers.google.com/adwords/api/docs/guides/dynamic-search-ads#specifying_criteria_for_the_dsa> >> of >> the guide. >> >> Cheers, >> Josh, AdWords API Team >> >> On Friday, September 11, 2015 at 8:58:36 AM UTC-4, Sylvain Beauregard >> wrote: >>> >>> Hi! >>> >>> Any new development on this? I've been trying to create Dynamic Search >>> Ads campaigns for the last two days too without success (using v201506). >>> The information presented in the Dynamic Search Ads Guide >>> <https://developers.google.com/adwords/api/docs/guides/dynamic-search-ads> >>> seems outdated... since it shows the use of KeywordMatchSetting which is no >>> longer in use and it doesn't define the Campaign Type field, which is >>> required (now). >>> >>> Here's my code that creates the campaign. It sets every parameter >>> right, but I can't get the Dynamic Search Ads 'subtype' active. It does >>> accept my Dynamic Search Ads settings object because when I go in the Web >>> user interface to set the sub-type manually it shows the values I submitted >>> through the API. >>> >>> >>> >>> $campaign = new Campaign(); >>> $campaign->name = $CampaignName; >>> $campaign->advertisingChannelType = 'SEARCH'; //looking to create: >>> Search Network only - Dynamic Search Ads >>> >>> $SearchAdsSettings = new DynamicSearchAdsSetting(); >>> $SearchAdsSettings->domainName = "autoflash.net"; >>> $SearchAdsSettings->languageCode = "fr"; >>> $campaign->settings[] = $SearchAdsSettings; >>> >>> // Set network targeting (optional). >>> $networkSetting = new NetworkSetting(); >>> $networkSetting->targetGoogleSearch = TRUE; >>> $networkSetting->targetSearchNetwork = TRUE; >>> $networkSetting->targetContentNetwork = FALSE; >>> $campaign->networkSetting = $networkSetting; >>> >>> // Set shared budget (required). >>> $campaign->budget = new Budget(); >>> $campaign->budget->budgetId = $BudgetID; >>> >>> // Set bidding strategy (required). >>> $biddingStrategyConfiguration = new BiddingStrategyConfiguration(); >>> $biddingStrategyConfiguration->biddingStrategyType = 'MANUAL_CPC'; >>> >>> // You can optionally provide a bidding scheme in place of the type. >>> $biddingScheme = new ManualCpcBiddingScheme(); >>> $biddingScheme->enhancedCpcEnabled = FALSE; >>> $biddingStrategyConfiguration->biddingScheme = $biddingScheme; >>> >>> $campaign->biddingStrategyConfiguration = >>> $biddingStrategyConfiguration; >>> >>> // Set additional settings (optional). >>> $campaign->status = 'PAUSED'; >>> $campaign->servingStatus = 'PENDING'; >>> $campaign->startDate = date('Ymd'); >>> $campaign->endDate = date('Ymd', strtotime('+1 month')); >>> >>> // Create operation. >>> $operation = new CampaignOperation(); >>> $operation->operand = $campaign; >>> $operation->operator = 'ADD'; >>> $operations[] = $operation; >>> >>> >>> // Make the mutate request. >>> $result = $campaignService->mutate($operations); >>> >>> >>> Also, I couldn't find anywhere how to define the auto targets for the >>> dynamic ads. Any idea? >>> >>> >>> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/06150c30-5cc5-414a-860d-1821ee44ba21%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.