Re: RE: upload offline conversion API endpoint url address

2020-11-18 Thread Yaniv Rotem
Hi again.

Continue to my previous mail with the important questions, I want to add
that I tried to approach the following endpoint :

https://googleads.googleapis.com/v6/customers/$(request.parameters.customerId):uploadClickConversions

 And I got the following response :

Should I need to add some header or security ?

{

  "error": {

"code": 401,

"message": "Request is missing required authentication credential.
Expected OAuth 2 access token, login cookie or other valid authentication
credential. See
https://developers.google.com/identity/sign-in/web/devconsole-project.";,

"status": "UNAUTHENTICATED"

  }

}

BR,
Yaniv Rotem


בתאריך יום ד׳, 18 בנוב׳ 2020 ב-17:10 מאת Yaniv Rotem :

> Hi,
> I confirm that I want to upload offline conversion using REST Api.
>
> The links that you sent me are useful but I need you to clarify some
> details please :
> 1) Does the endpoint url of this api is :
>
> https://googleads.googleapis.com/v6/customers/{customersId}:uploadClickConversions
> ?
> 2) I didn’t understand the meanings ng of the custom verb :
> updateClickConversion ,
> Should I leave it like this in the endpoint in order to approach google
> api or should I replace it with something else ?
> 3) Does this api have only one path parameter - customerId without any
> body ?
> 4) which headers should I send ?
>
> BR,
> Yaniv Rotem
>
> בתאריך יום ד׳, 18 בנוב׳ 2020 ב-5:17 מאת Google Ads API Forum Advisor Prod <
> adsapiforumadvi...@gmail.com>:
>
>> Hi Yaniv,
>>
>> Could you confirm if you want to upload offline conversion using REST? If
>> yes, then you may refer to this guide
>> <https://developers.google.com/google-ads/api/docs/rest/overview> as it
>> discussed design and working details specific to the API's REST
>> implementation, and explains what you need to know to call the REST
>> interface directly, without the use of a Google-supported client library.
>>
>> You may also check the link below as it provides URL endpoint for
>> specific services, especially for uploading offline conversion.
>> https://googleads.googleapis.com/$discovery/rest?version=v6
>>
>>
>> Regards,
>> [image: Google Logo]
>> Ernie John Blanca Tacata
>> Google Ads API Team
>>
>>
>> ref:_00D1U1174p._5004Q27t0ss:ref
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAPE7OyoHo6uKNibv2udivVouDhmZ31A2d_NpEPQWCuf9T92pRQ%40mail.gmail.com.


Re: RE: upload offline conversion API endpoint url address

2020-11-18 Thread Yaniv Rotem
Hi,
I confirm that I want to upload offline conversion using REST Api.

The links that you sent me are useful but I need you to clarify some
details please :
1) Does the endpoint url of this api is :
https://googleads.googleapis.com/v6/customers/{customersId}:uploadClickConversions
?
2) I didn’t understand the meanings ng of the custom verb :
updateClickConversion ,
Should I leave it like this in the endpoint in order to approach google api
or should I replace it with something else ?
3) Does this api have only one path parameter - customerId without any body
?
4) which headers should I send ?

BR,
Yaniv Rotem

בתאריך יום ד׳, 18 בנוב׳ 2020 ב-5:17 מאת Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com>:

> Hi Yaniv,
>
> Could you confirm if you want to upload offline conversion using REST? If
> yes, then you may refer to this guide
> <https://developers.google.com/google-ads/api/docs/rest/overview> as it
> discussed design and working details specific to the API's REST
> implementation, and explains what you need to know to call the REST
> interface directly, without the use of a Google-supported client library.
>
> You may also check the link below as it provides URL endpoint for specific
> services, especially for uploading offline conversion.
> https://googleads.googleapis.com/$discovery/rest?version=v6
>
>
> Regards,
> [image: Google Logo]
> Ernie John Blanca Tacata
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q27t0ss:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAPE7OyqMOKDE58efXPUYPeETTiM1Od1B53-kqppPrjs9BA8D_g%40mail.gmail.com.


Re: RE: upload offline conversion API endpoint url address

2020-11-17 Thread Yaniv Rotem
Hi,
Thank you for your help but I already got those links that give me code
example but there is no api endpoint url in it.

For example :

When I want to get the Developer Token I approach the following endpoint  :

https://googleads.googleapis.com/v6/customers/{customerId}

 *And when I wanted to approach *Access Token I use this endpoint :

https://www.googleapis.com/oauth2/v3/token

 Can you please write to me the direct endpoint for upload offline
conversion ?


BR,

Yanov Rotem


בתאריך יום ג׳, 17 בנוב׳ 2020 ב-5:10 מאת Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com>:

> Hi Yaniv,
>
> I am a colleague of Peter and let me provide support to your concern.
>
> Aside from the guides provided by my colleague, you may also start
> referring to this document
> <https://developers.google.com/google-ads/api/docs/conversions/overview>
> to read more details about conversion in Google Ads API, specifically to
> this link
> <https://developers.google.com/google-ads/api/docs/conversions/upload-clicks>
> to upload click offline conversions and to this link
> <https://developers.google.com/google-ads/api/docs/conversions/upload-calls>
> to upload call offline conversions.
>
> Let me know if this will help.
>
>
> Regards,
> [image: Google Logo]
> Ernie John Blanca Tacata
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q27t0ss:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAPE7OyrcV67i9E2%2BMtJhgw3J53y0do1T7Ltk0mEGWu130aOo%3Dw%40mail.gmail.com.


Re: RE: upload offline conversion API endpoint url address

2020-11-15 Thread Yaniv Rotem
Hi,

I plan to approach Google ADs API :
Upload offline conversion but I didn’t find it’s direct endpoint url in the
documentation.

BR,
Yaniv Rotem

בתאריך יום ו׳, 13 בנוב׳ 2020 ב-5:35 מאת Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com>:

> Hi Yaniv,
>
> So I can assist you more accurately, could you please confirm if you are
> planning on using services from the AdWords API
> <https://developers.google.com/adwords/api/docs/guides/start?hl=en> or
> the Google Ads API
> <https://developers.google.com/google-ads/api/docs/start>?
>
> Best regards,
>
> [image: Google Logo]
> Peter Laurence Napa Oliquino
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q27t0ss:ref
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog:
> https://googleadsdeveloper.blogspot.com/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> You received this message because you are subscribed to the Google
> Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to adwords-api+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/adwords-api/Ll4NG0QJPTYW00XXKU5qvGQZCBls3pwf5e4Q%40sfdc.net
> <https://groups.google.com/d/msgid/adwords-api/Ll4NG0QJPTYW00XXKU5qvGQZCBls3pwf5e4Q%40sfdc.net?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAPE7OypGNLSdsbzk2GZAhajRT0utC6Q%3DthGAHnJnyORk6CurJQ%40mail.gmail.com.


Re: upload offline conversion API endpoint url address

2020-11-12 Thread Yaniv Rotem
Hi,

Thank you for your reply.
Unfortunately,I still don’t understand what is the endpoint url of upload
offline conversion.
Can you help me to understand what it the correct endpoint ?

BTW - I pass successfully the authorization and developer token phases.

Regards,
Yaniv

בתאריך יום ה׳, 12 בנוב׳ 2020 ב-10:35 מאת Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com>:

> Hi Yaniv,
>
> Are you referring to the Google Ads API
> <https://developers.google.com/google-ads/api/docs/start>? If yes, then
> this section
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#endpoint>
> details the endpoint, and here
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#example>
> is an example of a request using one of the API's services and its method.
> You may then refer to the ConversionUploadService
> <https://developers.google.com/google-ads/api/reference/rpc/v6/ConversionUploadService>
> documentation for constructing your request using this service.
>
> If you are using the AdWords API
> <https://developers.google.com/adwords/api/docs/guides/start?hl=en>, you
> can refer to its API call structure
> <https://developers.google.com/adwords/api/docs/guides/call-structure?hl=en>
> guide and also to the OfflineConversionFeedService
> <https://developers.google.com/adwords/api/docs/reference/v201809/OfflineConversionFeedService?hl=en>
>  documentation.
> Let me know if this helps.
>
> Best regards,
>
> [image: Google Logo]
> Peter Laurence Napa Oliquino
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q27t0ss:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAPE7OyqLv4xP%3D%3DBA6H2sRqn0ea5sZ60FR64DAxjjQ6uMNdkpkA%40mail.gmail.com.


upload offline conversion API endpoint url address

2020-11-11 Thread Yaniv Rotem
Hi,

I need to know what is the direct endpoint url of google ADs : *Upload
Offline Conversion*.
I didn't find it on Google's documentation and I need to approach this api
from api gw and not from code therefore I will appreciate if I can get the
endpoint address.

Regards,
Yaniv Rotem

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAPE7Oyoz49DSCEnBhLLZDeULy47Hyn-rAGM-TD5_raHeeOEk-Q%40mail.gmail.com.


Re: Cost in table p_HourlyCampaignStats

2018-06-05 Thread yaniv
Hi Dannison,

After a discussion on the advertisers 
community: 
https://www.en.advertisercommunity.com/t5/AdWords-Tracking-and-Reporting/Costs-on-BigQuery-API-Table-CampaignStats/m-p/1725437#
I understand that I should have clarified myself better. Please note that 
we are using  the google-cloud's big-query data transfer-services, with the 
ad-account's report-data.
Again the problem is that the costs seem about 50% of the actual numbers we 
get from AdWrods.

Thanks again,
Yaniv

On Thursday, May 17, 2018 at 11:11:11 AM UTC+3, Dannison Yao (AdWords API 
Team) wrote:
>
> Hi Yaniv,
>
> From the AdWords API report's perspective, it is possible that the amount 
> you see is not yet converted from micros. You can follow this guide 
> <https://developers.google.com/adwords/api/docs/guides/reporting#money_fields_in_reports>
>  for 
> further details. If this is not the case, can you send a screenshot of your 
> report showing the Cost value via *Reply privately to author* so I can 
> further investigate on this? 
>
> Regards,
> Dannison
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0add6e1d-72c1-475c-b7e6-980c802824aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cost in table p_HourlyCampaignStats

2018-05-16 Thread Yaniv nhm
We used the Google API in order to automatically transfer data from AdWords 
directly to our BigQuery account. For some reason the Cost in table 
p_HourlyCampaignStats seems ridiculously high.
Please kindly assist how we can calculate it.

Thanks in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/111a9e6b-ff5a-4639-884c-a7fe9db69855%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Type not found: 'bid'

2014-07-09 Thread Yaniv
yes this is the error we get. the code seems fine since it also worked 
perfectly in the former version, we encounter it only now when updating to 
the new googleads version. up until now it worked fine. since the update it 
doesn't work, other modules and codes work fine, and the structure of the 
model seems the same, + we do the call exactly according to the structure 
as i showed in the printing of the selector with the bid predicate. 

On Tuesday, July 8, 2014 6:27:48 PM UTC+3, Ray Tsang (AdWords API Team) 
wrote:
>
> Yaniv,
>
> The log looks like the API has returned a proper response.  The error 
> message is "2014-07-08 07:42:45;ERROR;Main: Error with adwords or mysql: 
> Type not found: 'bid'".  This seems to be a custom error message not from 
> the client library.  Please verify the code.
>
> Thanks,
>
> Ray
>
> On Tuesday, July 8, 2014 5:20:39 AM UTC-4, Yaniv wrote:
>>
>> Alright, I sent
>>
>> On Monday, July 7, 2014 6:16:10 PM UTC+3, Ray Tsang (AdWords API Team) 
>> wrote:
>>>
>>> Yaniv,
>>>
>>> Please send me the full request/response XML in private (reply to 
>>> author).
>>>
>>> Thanks!
>>>
>>> Ray
>>>
>>> On Monday, July 7, 2014 11:10:00 AM UTC-4, Yaniv wrote:
>>>>
>>>>  for some reason i get an error of:  Type not found: 'bid'
>>>>
>>>>
>>>> operations = [{
>>>> 'operator': 'SET',
>>>> 'operand': {
>>>> 'id': adgid,
>>>> 'biddingStrategyConfiguration': {
>>>>   'bids': [
>>>>   {
>>>>   'Bids_Type': "CpcBid",
>>>>   'bid': {
>>>> 'ComparableValue_Type': "Money",
>>>> 'microAmount': str(newbid)
>>>>   },
>>>>   'cpcBidSource': "ADGROUP"}]
>>>>   }
>>>> }
>>>> }]
>>>>   
>>>>
>>>> ad_groups = adgroup_service.mutate(operations)
>>>>
>>>> # Display results.
>>>> for ad_group in ad_groups['value']:
>>>>   logging.info ('Ad group with name \'%s\' and id \'%s\' was 
>>>> updated.'
>>>>  % (ad_group['name'], ad_group['id']))
>>>>
>>>>
>>>> ---
>>>>
>>>> now when i print the selector with the bid predicate, it seems like 
>>>> there is no reason he shouldn't find the bid type.
>>>>
>>>> [(AdGroup){
>>>>id = ***
>>>>biddingStrategyConfiguration =
>>>>   (BiddingStrategyConfiguration){
>>>>  bids[] =
>>>> (CpcBid){
>>>>Bids.Type = "CpcBid"
>>>>bid =
>>>>   (Money){
>>>>  ComparableValue.Type = "Money"
>>>>  microAmount = 31
>>>>   }
>>>>cpcBidSource = "ADGROUP"
>>>> },
>>>>   }
>>>>  }]
>>>>
>>>> what could be the problem?
>>>> i am able to modify bids on the criteria level but im trying to so in 
>>>> the adgroup level. 
>>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Re: Type not found: 'bid'

2014-07-08 Thread Yaniv
Alright, I sent

On Monday, July 7, 2014 6:16:10 PM UTC+3, Ray Tsang (AdWords API Team) 
wrote:
>
> Yaniv,
>
> Please send me the full request/response XML in private (reply to author).
>
> Thanks!
>
> Ray
>
> On Monday, July 7, 2014 11:10:00 AM UTC-4, Yaniv wrote:
>>
>>  for some reason i get an error of:  Type not found: 'bid'
>>
>>
>> operations = [{
>> 'operator': 'SET',
>> 'operand': {
>> 'id': adgid,
>> 'biddingStrategyConfiguration': {
>>   'bids': [
>>   {
>>   'Bids_Type': "CpcBid",
>>   'bid': {
>> 'ComparableValue_Type': "Money",
>> 'microAmount': str(newbid)
>>   },
>>   'cpcBidSource': "ADGROUP"}]
>>   }
>> }
>> }]
>>   
>>
>> ad_groups = adgroup_service.mutate(operations)
>>
>> # Display results.
>> for ad_group in ad_groups['value']:
>>   logging.info ('Ad group with name \'%s\' and id \'%s\' was 
>> updated.'
>>  % (ad_group['name'], ad_group['id']))
>>
>>
>> ---
>>
>> now when i print the selector with the bid predicate, it seems like there 
>> is no reason he shouldn't find the bid type.
>>
>> [(AdGroup){
>>id = ***
>>biddingStrategyConfiguration =
>>   (BiddingStrategyConfiguration){
>>  bids[] =
>> (CpcBid){
>>Bids.Type = "CpcBid"
>>bid =
>>   (Money){
>>  ComparableValue.Type = "Money"
>>  microAmount = 31
>>   }
>>cpcBidSource = "ADGROUP"
>> },
>>   }
>>  }]
>>
>> what could be the problem?
>> i am able to modify bids on the criteria level but im trying to so in the 
>> adgroup level. 
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Type not found: 'bid'

2014-07-07 Thread Yaniv
 for some reason i get an error of:  Type not found: 'bid'


operations = [{
'operator': 'SET',
'operand': {
'id': adgid,
'biddingStrategyConfiguration': {
  'bids': [
  {
  'Bids_Type': "CpcBid",
  'bid': {
'ComparableValue_Type': "Money",
'microAmount': str(newbid)
  },
  'cpcBidSource': "ADGROUP"}]
  }
}
}]
  

ad_groups = adgroup_service.mutate(operations)

# Display results.
for ad_group in ad_groups['value']:
  logging.info ('Ad group with name \'%s\' and id \'%s\' was updated.'
 % (ad_group['name'], ad_group['id']))


---

now when i print the selector with the bid predicate, it seems like there 
is no reason he shouldn't find the bid type.

[(AdGroup){
   id = ***
   biddingStrategyConfiguration =
  (BiddingStrategyConfiguration){
 bids[] =
(CpcBid){
   Bids.Type = "CpcBid"
   bid =
  (Money){
 ComparableValue.Type = "Money"
 microAmount = 31
  }
   cpcBidSource = "ADGROUP"
},
  }
 }]

what could be the problem?
i am able to modify bids on the criteria level but im trying to so in the 
adgroup level. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Re: The URL google returns to access a refresh token does not work, help?

2013-12-23 Thread Yaniv
Daniel,
Thanks so much for clearing this out! 
While this worked and I was able to run the refresh token script included 
in your python client library I now encountered a different error
after running the config script to store all my credentials for client 
calls it seems like I still missing permissions as each api call I do with 
the configured client ends up with and "invalid grant" exception 
(oauth2client.client.AccessTokenRefreshError: invalid_grant)

Any ideas what's causing this and what I'm missing here?
Thanks

Y.

On Monday, December 23, 2013 11:29:49 AM UTC+2, Danial Klimkin wrote:
>
> Hi Yaniv,
>
>
> In the cloud console, when you create a new client ID, you need to select 
> "Installed Application" as the first choice and "Other" as the second. 
> You'll see redirect URL of the created client as:
>
> Redirect URIs: 
> urn:ietf:wg:oauth:2.0:oob
> http://localhost
>
> Danial, AdWords API Team.
>
>
> On Sunday, December 22, 2013 9:08:40 PM UTC+4, Yaniv wrote:
>>
>> Hi Daniel can you please provide more details on where exactly should I 
>> check that the client id is register with the OOB redirect URL? (I'm having 
>> the same issue..)
>>
>> Thanks
>>
>> Y.
>>
>> On Thursday, August 1, 2013 4:08:57 PM UTC+3, Danial Klimkin wrote:
>>>
>>> Hello Luke,
>>>
>>>
>>> Can you please double-check the client application ID is the "installed 
>>> application" client ID with the OOB redirect URI listed as a valid redirect 
>>> in the API Console?
>>>
>>> I can't see any other reason for this error.
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Thursday, August 1, 2013 4:34:50 AM UTC+4, Luke Culbertson wrote:
>>>>
>>>> I am also receiving the same error (redirect uri mismatch) when running 
>>>> the generate_refresh_token.py script, even with an offline application 
>>>> type.
>>>>
>>>> Request Details
>>>>
>>>>- from_login=1
>>>>- cookie_policy_enforce=false
>>>>- scope=https://adwords.google.com/api/adwords
>>>>- response_type=code
>>>>- access_type=offline
>>>>- redirect_uri=urn:ietf:wg:oauth:2.0:oob
>>>>- as=-3dec539cc01dab84
>>>>- display=page
>>>>- pli=1
>>>>- client_id=***.apps.googleusercontent.com
>>>>- authuser=2
>>>>- hl=en
>>>>
>>>> Any ideas on what is causing this?
>>>>
>>>> On Wednesday, July 31, 2013 2:54:53 AM UTC-7, Danial Klimkin wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>>
>>>>> What is the type of the client you use? For Web application type you 
>>>>> need to explicitly list allowed redirect URLs in the API console.
>>>>>
>>>>> From your request it looks like you need an offline (standalone) 
>>>>> application type.
>>>>>
>>>>>
>>>>> -Danial, AdWords API Team.
>>>>>
>>>>>
>>>>> On Tuesday, July 30, 2013 12:17:18 AM UTC+4, connor@room77.comwrote:
>>>>>>
>>>>>> I am currently trying to access the monthly search volume of a given 
>>>>>> keyword. To do this, I need to generate a refresh token using 
>>>>>> generate_refresh_token. The URL it gives me to access the verification 
>>>>>> code 
>>>>>> is broken, returning the error: redirect_uri_mismatch. It states: The 
>>>>>> redirect URI in the request: urn:ietf:wg:oauth:2.0:oob did not match a 
>>>>>> registered redirect URI.
>>>>>>
>>>>>> The details are:
>>>>>>
>>>>>>
>>>>>>- cookie_policy_enforce=false
>>>>>>- scope=https://adwords.google.com/api/adwords
>>>>>>- response_type=code
>>>>>>- access_type=online
>>>>>>- redirect_uri=urn:ietf:wg:oauth:2.0:oob
>>>>>>- display=page
>>>>>>- client_id=230466429510.apps.googleusercontent.com
>>>>>>
>>>>>>
>>>>>> The URL it gives me is: 
>>>>>> https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&client_id=230466429510.apps.googleusercontent.com&access_type=offline
>>>>>>
>>>>>> Is there any way to fix this, or generate a token another way?
>>>>>>
>>>>>> Thank you
>>>>>>
>>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/groups/opt_out.


Re: The URL google returns to access a refresh token does not work, help?

2013-12-22 Thread Yaniv
Hi Daniel can you please provide more details on where exactly should I 
check that the client id is register with the OOB redirect URL? (I'm having 
the same issue..)

Thanks

Y.

On Thursday, August 1, 2013 4:08:57 PM UTC+3, Danial Klimkin wrote:
>
> Hello Luke,
>
>
> Can you please double-check the client application ID is the "installed 
> application" client ID with the OOB redirect URI listed as a valid redirect 
> in the API Console?
>
> I can't see any other reason for this error.
>
>
> -Danial, AdWords API Team.
>
>
> On Thursday, August 1, 2013 4:34:50 AM UTC+4, Luke Culbertson wrote:
>>
>> I am also receiving the same error (redirect uri mismatch) when running 
>> the generate_refresh_token.py script, even with an offline application type.
>>
>> Request Details
>>
>>- from_login=1
>>- cookie_policy_enforce=false
>>- scope=https://adwords.google.com/api/adwords
>>- response_type=code
>>- access_type=offline
>>- redirect_uri=urn:ietf:wg:oauth:2.0:oob
>>- as=-3dec539cc01dab84
>>- display=page
>>- pli=1
>>- client_id=***.apps.googleusercontent.com
>>- authuser=2
>>- hl=en
>>
>> Any ideas on what is causing this?
>>
>> On Wednesday, July 31, 2013 2:54:53 AM UTC-7, Danial Klimkin wrote:
>>>
>>> Hello,
>>>
>>>
>>> What is the type of the client you use? For Web application type you 
>>> need to explicitly list allowed redirect URLs in the API console.
>>>
>>> From your request it looks like you need an offline (standalone) 
>>> application type.
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Tuesday, July 30, 2013 12:17:18 AM UTC+4, connor@room77.comwrote:

 I am currently trying to access the monthly search volume of a given 
 keyword. To do this, I need to generate a refresh token using 
 generate_refresh_token. The URL it gives me to access the verification 
 code 
 is broken, returning the error: redirect_uri_mismatch. It states: The 
 redirect URI in the request: urn:ietf:wg:oauth:2.0:oob did not match a 
 registered redirect URI.

 The details are:


- cookie_policy_enforce=false
- scope=https://adwords.google.com/api/adwords
- response_type=code
- access_type=online
- redirect_uri=urn:ietf:wg:oauth:2.0:oob
- display=page
- client_id=230466429510.apps.googleusercontent.com


 The URL it gives me is: 
 https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&client_id=230466429510.apps.googleusercontent.com&access_type=offline

 Is there any way to fix this, or generate a token another way?

 Thank you

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/groups/opt_out.


fetching Youtube spend data from adwords API

2013-12-18 Thread Yaniv Ranen
Hi,

I saw in the forums that extracting youtube data through adwords API isn't 
available, is that right? 

Is there another way to get that info? and if not, is that feature expected 
to be added soon?

Thanks,
Yaniv

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/groups/opt_out.


empty DestinationUrl column in placement performance report

2013-12-09 Thread Yaniv Ranen
Hi there

I'm using v201309 to download placement_performance_report, 
the placement url  has the domain that the ads were displayed at but I want 
to get the exact URL of the click with all the parameters I've put there. 

I've tried adding CriteriaDestinationUrl, DestinationUrl but both come back 
empty. 

what can I do to get that? will the URL performance report help here?

Thanks,
Yaniv

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/groups/opt_out.


Re: OAuth2 in the new Java client library

2012-10-04 Thread Yaniv Inbar
The refresh token is the long-lived token you are looking for, so there 
should be no need to use ClientLogin.  When your access token expires, use 
the refresh token to get a new access token.  More details at:

http://code.google.com/p/google-api-java-client/wiki/OAuth2

-- Yaniv

On Thursday, September 27, 2012 2:24:50 PM UTC-4, j.e.frank wrote:
>
> I'm looking at migrating to the new Java client library as part of the 
> upgrade from v201109.  One thing I thought was going to be a benefit of 
> this migration was long-lived access tokens, to enable long-running 
> services to use the API without having to worry about refreshing the 
> ClientLogin token.  Now that I've done some more digging, it appears that 
> OAuth2 doesn't have long-lived tokens.  Instead, you get an access token 
> and a refresh token, and there is some way that an expired access token 
> gets refreshed behind the scenes.
>
> I'm unclear on the implications of this for how I can deploy multiple 
> services that use the API without any user interaction.  I have 
> successfully followed the OAuth2 example to get an authorization code using 
> a browser, and then I can take that code and get a credential with an 
> access and refresh token.  Subsequently, I can create an OAuth2 credential 
> from these 2 tokens, without using the browser to get a new authorization 
> code.  However, this doesn't work after some period of time -- I have to 
> start over and get a new authorization code using the browser.  I've seen 
> reference to the CredentialsStore where you keep track of new 
> access/refresh tokens as they change, which would be fine for a single 
> service to manage.  But with multiple services, would I need a centralized 
> CredentialsStore that they would all share, so that each one gets the 
> latest token?  That's a non-starter for me.  Is there something I'm missing 
> about how I can use OAuth2 with multiple long-lived services?  Otherwise I 
> am going to continue with ClientLogin, and give up on my dream of 
> non-expiring tokens.  Or is there some way of re-obtaining an authorization 
> token without user interaction?
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: KeywordMatchType.EXACT problem

2010-06-14 Thread yaniv
Hi, well i think it my mistake that i was not so clear,
i try again.

i don't care to get many many results back.
the problem is the statistic result.
GLOBAL_MONTHLY_SEARCHES,
AVERAGE_TARGETED_MONTHLY_SEARCHES

those number are wide! and not exact for the word

in google key word tool when you move from broad to exact, the search
statistic are changing sometimes from milions to houndrends
i try to use
selector.requestType = RequestType.STATS;
instead of
selector.requestType = RequestType.IDEAS
but it give me only one result which has a good statistic, but still
just one
please help


On Jun 10, 11:16 am, AdWords API Advisor
 wrote:
> Hi,
>
> Please see the following thread for more information:
>
>  http://groups.google.com/group/adwords-api/browse_thread/thread/c28c2...
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Jun 8, 6:28 am, yaniv  wrote:
>
>
>
> > Hello
> > i want to get an exact results for any string that enter even for a
> > few words.
> > i try this code first
> >  Keyword[] kwa = new Keyword[arr.Length];
> >         foreach (string optionName in arr)
> >         {
> >             if (optionName != "")
> >             {
> >                 kwa[i] = new Keyword();
> >                 kwa[i].text = optionName;
> >                 if (ddlMatchType.SelectedValue == "exact")
> >                     kwa[i].matchType = KeywordMatchType.EXACT;
> >                 else if (ddlMatchType.SelectedValue == "broad")
> >                     kwa[i].matchType = KeywordMatchType.BROAD;
> >                 else if (ddlMatchType.SelectedValue == "phrase")
> >                     kwa[i].matchType = KeywordMatchType.PHRASE;
> >                 kwa[i].matchTypeSpecified = true;
> >                 i++;
> >             }
> >         }
>
> > and it did'nt work, so i thought that the problem lie with the fact
> > that each word given exact order, so i change the code to
>
> > Keyword[] kwa = new Keyword[1];
> >         i = 0;
> >         kwa[0] = new Keyword();
> >         kwa[0].text  = txtKeyWord.Text;
> >         if (ddlMatchType.SelectedValue == "exact")
> >             kwa[0].matchType = KeywordMatchType.EXACT;
> >         else if (ddlMatchType.SelectedValue == "broad")
> >             kwa[0].matchType = KeywordMatchType.BROAD;
> >         else if (ddlMatchType.SelectedValue == "phrase")
> >             kwa[0].matchType = KeywordMatchType.PHRASE;
> >         kwa[0].matchTypeSpecified = true;
>
> > only one search for the entire word
> > still i get broad result,
> > and another thing that is strange is that for each search i am doing i
> > get 3 different number of results!!!
>
> > please help
> > thank you- Hide quoted text -
>
> - Show quoted text -

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


KeywordMatchType.EXACT problem

2010-06-08 Thread yaniv
Hello
i want to get an exact results for any string that enter even for a
few words.
i try this code first
 Keyword[] kwa = new Keyword[arr.Length];
foreach (string optionName in arr)
{
if (optionName != "")
{
kwa[i] = new Keyword();
kwa[i].text = optionName;
if (ddlMatchType.SelectedValue == "exact")
kwa[i].matchType = KeywordMatchType.EXACT;
else if (ddlMatchType.SelectedValue == "broad")
kwa[i].matchType = KeywordMatchType.BROAD;
else if (ddlMatchType.SelectedValue == "phrase")
kwa[i].matchType = KeywordMatchType.PHRASE;
kwa[i].matchTypeSpecified = true;
i++;
}
}

and it did'nt work, so i thought that the problem lie with the fact
that each word given exact order, so i change the code to

Keyword[] kwa = new Keyword[1];
i = 0;
kwa[0] = new Keyword();
kwa[0].text  = txtKeyWord.Text;
if (ddlMatchType.SelectedValue == "exact")
kwa[0].matchType = KeywordMatchType.EXACT;
else if (ddlMatchType.SelectedValue == "broad")
kwa[0].matchType = KeywordMatchType.BROAD;
else if (ddlMatchType.SelectedValue == "phrase")
kwa[0].matchType = KeywordMatchType.PHRASE;
kwa[0].matchTypeSpecified = true;

only one search for the entire word
still i get broad result,
and another thing that is strange is that for each search i am doing i
get 3 different number of results!!!

please help
thank you

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


How to search in all country and territories

2010-05-24 Thread yaniv
Hello
in my app there is 2 list box, one for language and one for country,
which i coded in select parameter as follows

//Create Target language for search stats
LanguageTarget lt = new LanguageTarget();
lt.languageCode = "en";

foreach (ListItem itemLanguage in listLanguages.Items)
{
if (itemLanguage.Selected)
{
lt.languageCode = itemLanguage.Value;
}
}

//Create LanguageTargetSearchParameter
LanguageTargetSearchParameter oLTSP = new
LanguageTargetSearchParameter();
oLTSP.languageTargets = new LanguageTarget[] { lt };
oLTSP.SearchParameterType = null;  //this may need to be null

// Create related to keyword search parameter.
RelatedToKeywordSearchParameter
relatedToKeywordSearchParameter = new
RelatedToKeywordSearchParameter();
relatedToKeywordSearchParameter.keywords = kwa;

CountryTarget ct = new CountryTarget();
ct.countryCode = "US";
foreach (ListItem itemCountry in listCountry.Items)
{
if (itemCountry.Selected)
{
ct.countryCode = itemCountry.Value;
}
}

//Create CountryTargetSearchParameter
CountryTargetSearchParameter oCTSP = new
CountryTargetSearchParameter();
oCTSP.countryTargets = new CountryTarget[] { ct };
oCTSP.SearchParameterType = null;  //this may need to be null
selector.searchParameters = new SearchParameter[]
{ relatedToKeywordSearchParameter, oLTSP, oCTSP };



my question is what became with the oCTSP parameter when the user want
to search all countries.
should i ignore it?

thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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