मांग बढ़ाने में मदद करने वाले कैंपेन के विज्ञापन ग्रुप की मदद से, उसमें शामिल विज्ञापनों के लिए सटीक बिडिंग की जा सकती है. साथ ही, यह तय किया जा सकता है कि वे विज्ञापन कहां दिखें. इसे बिडिंग की रणनीति, इन्वेंट्री सेटिंग, और टारगेटिंग की मदद से, AdGroup संसाधनों में कॉन्फ़िगर किया जाता है.
विज्ञापन ग्रुप में चाइल्ड संसाधन होते हैं. इन्हें विज्ञापन कहा जाता है. ये कॉन्फ़िगर किए गए क्रिएटिव होते हैं. इन्हें ऑक्शन जीतने के बाद दिखाया जाता है.
कॉन्फ़िगरेशन चुनना
मांग बढ़ाने में मदद करने वाले कैंपेन का विज्ञापन ग्रुप बनाने से पहले, इन सेटिंग को आज़माएं. इनसे विज्ञापन दिखाने की सुविधा को बेहतर तरीके से कंट्रोल किया जा सकता है:
bidStrategyकोDemandGenBiddingStrategyके साथ कॉन्फ़िगर किया जा सकता है. इससे टारगेट सीपीए, टारगेट सीपीसी या टारगेट आरओएएस बिडिंग की रणनीति का इस्तेमाल करते समय, पैरंट लाइन आइटम की तुलना में, विज्ञापन ग्रुप के लिए अलग टारगेट वैल्यू सेट की जा सकती है.adGroupInventoryControlको सेट करके, उन इन्वेंट्री को चुना जा सकता है जिन पर विज्ञापन ग्रुप बिड करेगा और विज्ञापन दिखाए जाएंगे.targetingExpansionकी मदद से, ऑडियंस टारगेटिंग का इस्तेमाल करने वाले विज्ञापन ग्रुप के लिए, ऑप्टिमाइज़ की गई टारगेटिंग की सुविधा चालू की जा सकती है. ऑप्टिमाइज़ की गई टारगेटिंग की मदद से, विज्ञापन सेट की गई डेमोग्राफ़िक टारगेटिंग से आगे जाकर भी दिखाए जा सकते हैं. डेमोग्राफ़िक एक्सपैंशन को बाहर रखने की सुविधा का इस्तेमाल करके, इस पर पाबंदी लगाई जा सकती है.
मांग बढ़ाने में मदद करने वाले कैंपेन का विज्ञापन ग्रुप बनाते समय, आपको
adGroupFormat फ़ील्ड को AD_GROUP_FORMAT_DEMAND_GEN पर भी सेट करना होगा.
एक विज्ञापन ग्रुप बनाएं
यहां, मांग बढ़ाने में मदद करने वाले कैंपेन का विज्ञापन ग्रुप बनाने का तरीका बताया गया है. इसके लिए, यहां दी गई सेटिंग का इस्तेमाल करें:
- बिडिंग की ऐसी रणनीति जो हर कन्वर्ज़न के लिए 12 डॉलर की औसत लागत के हिसाब से ऑप्टिमाइज़ की जाती है. साथ ही, यह अपने पैरंट लाइन आइटम से टारगेट सीपीए बिडिंग की रणनीति को इनहेरिट करती है.
- सिर्फ़ YouTube इन-स्ट्रीम और Shorts इन्वेंट्री पर बिड करेगी.
Java
// Provide the ID of the parent advertiser. long advertiserId = advertiser-id; // Provide the ID of the parent line item. long lineItemId = line-item-id; // Provide the display name of the ad group. String displayName = display-name; // Create the ad group structure. AdGroup adGroup = new AdGroup() .setLineItemId(lineItemId) .setDisplayName(displayName) .setAdGroupFormat("AD_GROUP_FORMAT_DEMAND_GEN") .setEntityStatus("ENTITY_STATUS_PAUSED"); // Create and set the bidding strategy. BiddingStrategy biddingStrategy = new BiddingStrategy() .setDemandGenBid(new DemandGenBiddingStrategy().setValue(12000000L)); adGroup.setBidStrategy(biddingStrategy); // Create and set inventory controls. AdGroupInventoryControl inventoryControl = new AdGroupInventoryControl(); SelectedInventories selectedInventories = new SelectedInventories() .setAllowYoutubeStream(true) .setAllowYoutubeShorts(true); inventoryControl.setSelectedInventories(selectedInventories); adGroup.setAdGroupInventoryControl(inventoryControl); // Configure the create request. AdGroups.Create request = service.advertisers().adGroups().create(advertiserId, adGroup); // Create the ad group. AdGroup response = request.execute(); // Display the new ad group. System.out.printf("Demand Gen ad group %s was created.", response.getName());
Python
# Provide the ID of the parent advertiser. advertiser_id = advertiser-id # Provide the ID of the parent line item. line_item_id = line-item-id # Provide the display name of the ad group. display_name = display-name # Create an ad group object with example values. ad_group_obj = { "lineItemId": line_item_id, "displayName": display_name, "entityStatus": "ENTITY_STATUS_PAUSED", "adGroupFormat": "AD_GROUP_FORMAT_DEMAND_GEN", "bidStrategy": { "demandGenBid": { "value": "12000000" } }, "adGroupInventoryControl": { "selectedInventories": { "allowYoutubeStream": True, "allowYoutubeShorts": True, } } } # Build and execute request. response = ( service.advertisers() .adGroups() .create(advertiserId=advertiser_id, body=ad_group_obj) .execute() ) # Display the new ad group. print(f"Demand Gen ad group {response['name']} was created.")
PHP
// Provide the ID of the parent advertiser. $advertiserId = advertiser-id; // Provide the ID of the parent line item. $lineItemId = line-item-id; // Provide the display name of the ad group. $displayName = display-name; // Create the Demand Gen ad group structure. $adGroup = new Google_Service_DisplayVideo_AdGroup(); $adGroup->setLineItemId($lineItemId); $adGroup->setDisplayName($displayName); $adGroup->setAdGroupFormat('AD_GROUP_FORMAT_DEMAND_GEN'); $adGroup->setEntityStatus('ENTITY_STATUS_PAUSED'); // Create and set the bidding strategy. $demandGenBidStrategy = new Google_Service_DisplayVideo_DemandGenBiddingStrategy(); $demandGenBidStrategy->setValue(12000000); $biddingStrategy = new Google_Service_DisplayVideo_BiddingStrategy(); $biddingStrategy->setDemandGenBid($demandGenBidStrategy); $adGroup->setBidStrategy($biddingStrategy); // Create and set the inventory control. $selectedInventories = new Google_Service_DisplayVideo_SelectedInventories(); $selectedInventories->setAllowYoutubeStream(true); $selectedInventories->setAllowYoutubeShorts(true); $inventoryControl = new Google_Service_DisplayVideo_AdGroupInventoryControl(); $inventoryControl->setSelectedInventories($selectedInventories); $adGroup->setAdGroupInventoryControl($inventoryControl); // Call the API, creating the ad group under the advertiser and // line item given. try { $result = $this->service->advertisers_adGroups->create( $advertiserId, $adGroup ); } catch (\Exception $e) { $this->renderError($e); return; } // Display the new ad group. printf('<p>Demand Gen Ad Group %s was created.</p>', $result['name']);