Ads API .NET library
|
Provides methods for estimating traffic (clicks/impressions) for line items. Forecasts can be provided for LineItem objects that exist in the system or which have not had an ID set yet. More...
Provides methods for estimating traffic (clicks/impressions) for line items. Forecasts can be provided for LineItem objects that exist in the system or which have not had an ID set yet.
Test networks are unable to provide forecasts that would be comparable to the production environment because forecasts require traffic history. For test networks, a consistent behavior can be expected for forecast requests, according to the following rules:
Inputs (LineItem Fields) | Outputs (Forecast Fields) | ||||
---|---|---|---|---|---|
lineItemType | unitsBought | availableUnits | forecastUnits (matchedUnits) | deliveredUnits | Exception |
Sponsorship | 13 | #x2013;#x2013; | #x2013;#x2013; | #x2013;#x2013; | NO_FORECAST_YET |
Sponsorship | 20 | #x2013;#x2013; | #x2013;#x2013; | #x2013;#x2013; | SERVER_NOT_AVAILABLE |
Sponsorship | 50 | 1,200,000 | 6,000,000 | 600,000 | #x2013;#x2013; |
Sponsorship | != 20 and != 50 | 1,200,000 | 1,200,000 | 600,000 | #x2013;#x2013; |
Not Sponsorship | <= 500,000 | 3 * unitsBought / 2 | unitsBought * 6 | 600,000 | #x2013;#x2013; |
Not Sponsorship | > 500,000 and <= 1,000,000 | unitsBought / 2 | unitsBought * 6 | 600,000 | #x2013;#x2013; |
Not Sponsorship | > 1,000,000 and <= 1,500,000 | unitsBought / 2 | 3 * unitsBought / 2 | 600,000 | #x2013;#x2013; |
Not Sponsorship | > 1,500,000 | unitsBought / 4 | 3 * unitsBought / 2 | 600,000 | #x2013;#x2013; |
Google.Api.Ads.AdManager.v202311.DeliveryForecast Google.Api.Ads.AdManager.v202311.IForecastService.getDeliveryForecast | ( | Google.Api.Ads.AdManager.v202311.ProspectiveLineItem[] | lineItems, |
Google.Api.Ads.AdManager.v202311.DeliveryForecastOptions | forecastOptions | ||
) |
Implemented in Google.Api.Ads.AdManager.v202311.ForecastService.
System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202311.DeliveryForecast> Google.Api.Ads.AdManager.v202311.IForecastService.getDeliveryForecastAsync | ( | Google.Api.Ads.AdManager.v202311.ProspectiveLineItem[] | lineItems, |
Google.Api.Ads.AdManager.v202311.DeliveryForecastOptions | forecastOptions | ||
) |
Implemented in Google.Api.Ads.AdManager.v202311.ForecastService.
Google.Api.Ads.AdManager.v202311.DeliveryForecast Google.Api.Ads.AdManager.v202311.IForecastService.getDeliveryForecastByIds | ( | long[] | lineItemIds, |
Google.Api.Ads.AdManager.v202311.DeliveryForecastOptions | forecastOptions | ||
) |
Implemented in Google.Api.Ads.AdManager.v202311.ForecastService.
System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202311.DeliveryForecast> Google.Api.Ads.AdManager.v202311.IForecastService.getDeliveryForecastByIdsAsync | ( | long[] | lineItemIds, |
Google.Api.Ads.AdManager.v202311.DeliveryForecastOptions | forecastOptions | ||
) |
Implemented in Google.Api.Ads.AdManager.v202311.ForecastService.