Hi,

To retrieve any statistics such as Clicks, Impressions, Costs, etc., you'll 
want to use the reporting 
feature<https://developers.google.com/adwords/api/docs/guides/reporting>of the 
API.

Regarding the error from *DownloadCriteriaReport.php*, please make sure 
you've gone through the steps outlined in the getting started 
page<https://github.com/googleads/googleads-php-lib#getting-started> and 
that you either:
a. Add an entry for clientCustomerId in your 
auth.ini<https://github.com/googleads/googleads-php-lib/blob/master/src/Google/Api/Ads/AdWords/auth.ini#L13>
 file 
*OR*
b. Set the client customer ID on your AdWordsUser object via 
$user->SetClientCustomerId(...)

Cheers,
Josh, AdWords API Team

On Friday, May 16, 2014 6:58:24 AM UTC-4, Alex Mo wrote:
>
> Hello,
>
> I can use the examples like GetCampaigns and GetKeywords.
>
> But when I put additional filters in GetKeywords (like keywords), it 
> doesnt work with additional filters. I have read in several posts that it 
> has been moved to Report data.
>
> Anyway if I use the Report data in this situation it provides:
>
> php examples/AdWords/v201402/Reporting/DownloadCriteriaReport.php 
> An error has occurred: The client customer ID must be specified for report 
> downloads.
>
> And a working sample with GetKeywords or GetFieldData:
>
> php examples/AdWords/v201402/Reporting/GetReportFields.php 
> The report type 'CAMPAIGN_PERFORMANCE_REPORT' contains the following 
> fields:
>   ConversionRateManyPerClickSignificance (SignificanceData)
>   ConversionRateSignificance (SignificanceData)
>   Period (BudgetPeriod) := [DAILY]
>   ViewThroughConversionsSignificance (SignificanceData)
>   AccountCurrencyCode (String)
>   AccountDescriptiveName (String)
>   AccountId (Integer)
>   AccountTimeZoneId (String)
>   AdNetworkType1 (AdNetworkType1) := [SEARCH, CONTENT]
>   AdNetworkType2 (AdNetworkType2) := [SEARCH, SEARCH_PARTNERS, CONTENT]
>   AdvertiserExperimentSegmentationBin 
> (AdvertiserExperimentSegmentationBin) := [OUTSIDE_OF_EXPERIMENT, CONTROL, 
> EXPERIMENT]
>   AdvertisingChannelType (AdvertisingChannelType) := [UNKNOWN, SEARCH, 
> DISPLAY, SHOPPING]
>   Amount (Money)
>   AssistClicks (Long)
>   AssistImpressions (Long)
>   AssistImpressionsOverLastClicks (Double)
>   AverageCpc (Money)
>   AverageCpm (Money)
>   AveragePageviews (Double)
>   AveragePosition (Double)
>   AverageTimeOnSite (Double)
>   AvgCostForOfflineInteraction (Money)
>   BiddingStrategy (Type) := [MANUAL_CPC, MANUAL_CPM, BUDGET_OPTIMIZER, 
> CONVERSION_OPTIMIZER, PERCENT_CPA, UNKNOWN]
>   BounceRate (Double)
>   BudgetId (Long)
>   CampaignId (Long)
>   CampaignName (String)
>   CampaignStatus (CampaignStatus) := [ACTIVE, PAUSED, DELETED]
>   ClickAssistedConversions (Long)
>   ClickAssistedConversionsOverLastClickConversions (Double)
>   ClickAssistedConversionValue (Double)
>   Clicks (Long)
>   ClickSignificance (SignificanceData)
>   ClickType (ClickType) := [URL_CLICKS, CALLS, OTHER, 
> PRODUCT_EXTENSION_CLICKS, SITELINKS, PRODUCT_LISTING_AD_CLICKS, 
> GET_DIRECTIONS, OFFER_PRINTS, BREADCRUMBS, CALL_TRACKING, 
> MOBILE_CALL_TRACKING, LOCATION_EXPANSION, UNKNOWN]
>   ContentBudgetLostImpressionShare (Double)
>   ContentImpressionShare (Double)
>   ContentRankLostImpressionShare (Double)
>   ConversionCategoryName (String)
>   ConversionManyPerClickSignificance (SignificanceData)
>   ConversionOptimizerBidType (ConversionOptimizerBidType) := [TARGET_CPA, 
> MAX_CPA]
>   ConversionRate (Double)
>   ConversionRateManyPerClick (Double)
>   Conversions (Long)
>   ConversionSignificance (SignificanceData)
>   ConversionsManyPerClick (Long)
>   ConversionTypeName (String)
>   ConversionValue (Long)
>   Cost (Money)
>   CostPerConversion (Money)
>   CostPerConversionManyPerClick (Money)
>   CostPerConversionManyPerClickSignificance (SignificanceData)
>   CostPerConversionSignificance (SignificanceData)
>   CostPerEstimatedTotalConversion (Money)
>   CostSignificance (SignificanceData)
>   CpcSignificance (SignificanceData)
>   CpmSignificance (SignificanceData)
>   Ctr (Double)
>   CtrSignificance (SignificanceData)
>   CustomerDescriptiveName (String)
>   Date (Date)
>   DayOfWeek (DayOfWeek) := [MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, 
> SATURDAY, SUNDAY]
>   Device (DeviceType) := [UNKNOWN, DESKTOP, HIGH_END_MOBILE, TABLET]
>   DisplaySelect (Boolean)
>   EnhancedCpcEnabled (Boolean)
>   EstimatedCrossDeviceConversions (Long)
>   EstimatedTotalConversionRate (Double)
>   EstimatedTotalConversions (Long)
>   EstimatedTotalConversionValue (Double)
>   EstimatedTotalConversionValuePerClick (Double)
>   EstimatedTotalConversionValuePerCost (Double)
>   ExternalCustomerId (Long)
>   HourOfDay (Integer)
>   Id (Long)
>   ImpressionAssistedConversions (Long)
>   ImpressionAssistedConversionsOverLastClickConversions (Double)
>   ImpressionAssistedConversionValue (Double)
>   Impressions (Long)
>   ImpressionSignificance (SignificanceData)
>   InvalidClickRate (Double)
>   InvalidClicks (Long)
>   IsBudgetExplicitlyShared (Boolean)
>   Month (String)
>   MonthOfYear (MonthOfYear) := [JANUARY, FEBRUARY, MARCH, APRIL, MAY, 
> JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER]
>   Name (String)
>   NumOfflineImpressions (Long)
>   NumOfflineInteractions (Long)
>   OfflineInteractionCost (Money)
>   OfflineInteractionRate (Double)
>   PercentNewVisitors (Double)
>   PositionSignificance (SignificanceData)
>   PrimaryCompanyName (String)
>   PrimaryUserLogin (String)
>   Quarter (String)
>   RelativeCtr (Double)
>   SearchBudgetLostImpressionShare (Double)
>   SearchExactMatchImpressionShare (Double)
>   SearchImpressionShare (Double)
>   SearchRankLostImpressionShare (Double)
>   Slot (Slot) := [SearchRhs, SearchTop, SearchOther, Content, AfsTop, 
> AfsOther, Unknown]
>   Status (CampaignStatus) := [ACTIVE, PAUSED, DELETED]
>   TotalBudget (Money)
>   TotalConvValue (Long)
>   TotalCost (Money)
>   ValuePerConv (Double)
>   ValuePerConversion (Double)
>   ValuePerConversionManyPerClick (Double)
>   ValuePerConvManyPerClick (Double)
>   ValuePerEstimatedTotalConversion (Double)
>   ViewThroughConversions (Long)
>   Week (String)
>
> What I can do to get Clicks, Impressions and other info using Google 
> Adwords API?
>
> Thanks.
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to