Hi,

 I am using the below code 
 i am using the latest version of adwords google api Google 
AdWordsService.v201406

I am get error  for access token 

               Dim user As New AdWordsUser()
                Dim config As AdWordsAppConfig = DirectCast(user.Config, 
AdWordsAppConfig)
                config.Email = "[email protected]"
                config.Password = "12323"
                config.UserAgent = "testUser"
                config.DeveloperToken = "xxxxxxxxxx"
                config.AuthorizationMethod = 
AdWordsAuthorizationMethod.OAuth2
                config.ClientCustomerId = "67323622323"

                 Dim CampaignServiceObj As CampaignService
                 Dim page As CampaignPage            
                 Dim rtn As String

          

            Try
                CampaignServiceObj = 
user.GetService(AdWordsService.v201406.CampaignService)
            Catch ex As Exception            
     
            End Try

             Dim selector As New Selector()
                selector.fields = New String() {"Id", "Name", "Status", 
"Impressions", "Cost", "Ctr", "AveragePosition",                           
 "Conversions", "Clicks"} ', "ConversionRate"}

                Dim orderByName As New OrderBy()
                orderByName.field = "Name"
                orderByName.sortOrder = SortOrder.ASCENDING

               selector.ordering = New OrderBy() {orderByName}
                TryCast(user.Config, AdWordsAppConfig).ClientCustomerId = 
SearchEngineObj.UserName

                selector.paging = New Paging()
                selector.paging.startIndex = 0
                selector.paging.numberResults = 500

                page = CampaignServiceObj.get(selector)

           *   Here i  am getting error for Refresh token *
             
            can u please explain with code changes in above i would be 
gratefule
On Friday, July 11, 2014 3:40:08 PM UTC+5:30, Altaf Mulla wrote:
>
> Hi 
>
> I am using Google AdWordsService.v201306
>
> in this i am using the campaign Service 
> AdWordsService.v201306.CampaignService
>
>    page = CampaignServiceObj.get(selector)
>
> i am getting error for this line
>
> Please let me know what is the issue 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to