AdWords API Re: Deleting a text ad in order to change a field

2009-12-16 Thread sem...@proventactics.com
I am struggling with the same issue here. I think using the REMOVE
operator might work even I haven't tried it yet. It might let you
create a new ad but I think you'll probably loose all the stats and
related data. In AdWords Interface, if you click on editing an ad, a
popup notification says:

You can edit this ad.
Changing the ad will delete the existing ad and create a new one. The
new ad will begin with statistics at zero, and statistics for the old
ad will be shown in the "Deleted ads" row.

Cheers!

On Dec 16, 2:04 pm, ComputerPsi  wrote:
> Bounce. Would anybody like to answer my post? :)
>
> On Dec 15, 12:20 pm, ComputerPsi  wrote:
>
> > From what I understand, in order to change a text ad, you must delete
> > the original, and then create a new text ad.
>
> > I have the whole v200909 code 
> > fromhttp://code.google.com/p/google-api-adwords-php/downloads/list.
> > Looking through the sample, I was able to add an ad group with a text
> > ad and keywords.
> > However I want to now modify a text ad that was created. In
> > UpdateAd.php, I found that it pauses the ad. From what I understand
> > "SET"ing it to "DISABLED" won't remove it.
> > Should I use the "REMOVE" command instead of "SET"? Will this allow me
> > to create an alternative text ad with the same name as this removed
> > one?
> > When using "REMOVE" operator in AdGroupAdOperation, what should the
> > status be set to for AdGroupAd? It has options ENABLED, PAUSED, and
> > DISABLED.
>
> > Thank you,
> > Ven

--

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-...@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.




AdWords API Cannot catch ApiException

2009-12-16 Thread Faisal Dgs
Hi There,

I am using v200909. I am trying to catch ApiException in catch block
but I am getting "The type caught or thrown must be derived from
System.Exception" exception.  I am using C# 3.5.

Please help. Because I have a sample code where ApiException is caught
in catch block at http://adwordsapi.blogspot.com/.

Regards,
Faisal

--

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-...@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.




AdWords API About the 'Exact' keyword match type

2009-12-16 Thread Donald
Hi,

I need exact type match results after using the TargetingIdeaService
of the v200909 API.

However, from the results obtained, I have to extract those that have
the exact type.

For example, if my input was "mars cruise", I get results like "cruise
to mars" and "world cruise". I have to extract the results like
"cruise to mars" since they contain both "mars" and "cruise".

Is there a direct way of doing this?

Is my understanding of the 'exact' KeywordMatchType incorrect?

Any thoughts will be appreciated!

--
D




--

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-...@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.




AdWords API TargetingIdeaService GetBulkKeywordIdeas

2009-12-16 Thread westsider
I was using v13 to get keywords ideas from urls (frequently) and am
struggling with the new methods.

I'm getting the error message INSUFFICIENT_SEARCH_PARAMETERS when I
used the following php code:
I suspect I haven't defined RelatedToUrlSearchParameter properly.  Any
help would be greatly appreciated.

 $selector = new TargetingIdeaSelector();
  $selector->requestType = 'IDEAS';
  $selector->ideaType = 'KEYWORD';
  $selector->RelatedToUrlSearchParameter = array
('','[target_site','false');
  $selector->requestedAttributeTypes = array('KEYWORD',
'GLOBAL_MONTHLY_SEARCHES');

  // Set selector paging (required for targeting idea service).
  $paging = new Paging();
  $paging->startIndex = 0;
  $paging->numberResults = 10;
  $selector->paging = $paging;

  // Get related keywords.
  $page = $targetingIdeaService->getBulkKeywordIdeas($selector);

 if (isset($page->entries)) {
foreach ($page->entries as $targetingIdea) {
  $keyword = $targetingIdea->data[0]->value->value;
  $search_vol = $targetingIdea->data[1]->value->value;
print 'Keyword with text "' . $keyword->text . '" and match
type "'
  . $keyword->matchType . "\" was found.  search vol:
$search_vol\n";
}
  } else {
print "No related keywords were found.\n";
  }
} catch (Exception $e) {
  print_r($e);

--

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-...@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.




AdWords API Re: How do you calculate the API Usage?

2009-12-16 Thread hikmetcancelik
It looks like nobody cares.
I found the answer in case someone needs. The paging is important.
Whether you request all info or just one the calculation is based on
the paging.

Now it's time to figure out how to check only one (1) keyword data
withouth wasting API units.


On Dec 15, 4:46 pm, hikmetcancelik  wrote:
> I have a hard time calculating the API Usage.
>
> Let's say I'm trying to get GLOBAL_MONTHLY_SEARCHES and COMPETITION
> for 10 keywords. The paging is (0,10) (I'm not sure if this affects
> the usage).
> Since TargetingIdeaService get call costs 1 unit per TargetingIdea, is
> checking 10 keywords will cost 100 units or 1000 units?
>
> Thanks,
> Can

--

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-...@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.




AdWords API Re: PHP v2009 Monthly Search Volume

2009-12-16 Thread hikmetcancelik
Hi Eric,

Would you also please tell me why TargetingIdeaService is not
returning the supplied keyword information?
Do I have to make paging 100 in order to get the info for keyword I'm
asking for?(Which wastes 100 api unit ?)

Thanks

On Nov 18, 3:21 pm, AdWords API Advisor 
wrote:
> Hi,
>
> I'm glad to hear you have it working now.  The TargetingIdeaService is
> more closely related to the Search-Based Keyword Tool:
>
>  http://www.google.com/sktool/.
>
> The results from this tool and the TargetingIdeaService may be
> different that those from the old Keyword Tool and
> KeywordToolService:
>
>  http://www.google.com/support/sktool/bin/answer.py?hl=en&answer=114875.
>
> Best,
> - Eric
>
> On Nov 18, 6:05 pm, a2b  wrote:
>
>
>
> > I ran it on production and was able to get data back.  Are these
> > numbers suppose to line up with the KeywordToolExternal?
>
> >https://adwords.google.com/select/KeywordToolExternal
>
> > The numbers seem to be quite different.
>
> > On Nov 18, 2:30 pm, a2b  wrote:
>
> > > The sandbox -- I am about to test with production.  What I don't
> > > understand is there is no fake data -- it's simply NULL?
>
> > > On Nov 18, 2:20 pm, AdWords API Advisor 
> > > wrote:
>
> > > > Hi,
>
> > > > Are you making requests against the sandbox or production
> > > > environment?  The sandbox environment will not return real data for
> > > > this service.
>
> > > > Best,
> > > > - Eric
>
> > > > On Nov 18, 4:04 pm, a2b  wrote:
>
> > > > > I tried that and got back an array of 299 or so elements which were
> > > > > all NULL. See below:
>
> > > > > object(TargetingIdeaPage)#38 (2) {
> > > > >   ["totalNumEntries"]=>
> > > > >   int(300)
> > > > >   ["entries"]=>
> > > > >   array(300) {
> > > > >     [0]=>
> > > > >     object(TargetingIdea)#37 (1) {
> > > > >       ["data"]=>
> > > > >       NULL
> > > > >     }
> > > > >     [1]=>
> > > > >     object(TargetingIdea)#36 (1) {
> > > > >       ["data"]=>
> > > > >       NULL
> > > > >     }
> > > > >     [2]=>
> > > > >     object(TargetingIdea)#35 (1) {
> > > > >       ["data"]=>
> > > > >       NULL
> > > > >     }
> > > > > ..
>
> > > > > I was able to get slightly better results with
> > > > > TARGETED_MONTHLY_SEARCHES but all the counts are still NULL.  Is this
> > > > > because it is in the sandbox?  I would assume the sandbox would just
> > > > > return fake numbers, not null.
>
> > > > >             ["value"]=>
> > > > >             array(12) {
> > > > >               [0]=>
> > > > >               object(MonthlySearchVolume)#4524 (3) {
> > > > >                 ["year"]=>
> > > > >                 int(2009)
> > > > >                 ["month"]=>
> > > > >                 int(10)
> > > > >                 ["count"]=>
> > > > >                 NULL
> > > > >               }
> > > > >               [1]=>
> > > > >               object(MonthlySearchVolume)#4525 (3) {
> > > > >                 ["year"]=>
> > > > >                 int(2009)
> > > > >                 ["month"]=>
> > > > >                 int(9)
> > > > >                 ["count"]=>
> > > > >                 NULL
> > > > >               }
> > > > >               [2]=>
>
> > > > > Thank you for your help!

--

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-...@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.




AdWords API Re: Connection

2009-12-16 Thread ZSvedic
Hi,

If you are using default Google API for .NET (http://code.google.com/p/
google-api-adwords-dotnet/), that API expects that login values are
specified in the App.config XML file (provided App.config has empty
values).

However, if you want to specify values from code, you can change
AdWordsUser.requestHeader to be public (and not private).
Then you can use something like (C# code):

RequestHeader requestHeader = new RequestHeader();

requestHeader.authToken = new AuthToken("x...@gmail.com",
"password").GetToken();

requestHeader.clientEmail = "client_1+...@gmail.com";
requestHeader.developerToken = "x...@gmail.com++usd";
requestHeader.applicationToken = "ENTER_YOUR_APPLICATION_TOKEN_HERE";
requestHeader.userAgent = "AWAPI DotNetLib from VB";

AdWordsUser user = new AdWordsUser(); // By default, reads from
App.config.

user.requestHeader = requestHeader;

AdGroupCriterionService service = (AdGroupCriterionService)
user.GetService(ApiServices.v200906.AdGroupCriterionService);

Regards,

--
Zeljko
GemBox.Ppc - www.GemBoxSoftware.com/Ppc/Overview.htm - Advanced
AdWords API for C# / VB.NET


On Dec 16, 4:28 pm, Alexis ROUSSEAU  wrote:
> Hi,
>
> In V13 with VB.net I used this code to connect :
>
> Imports com.google.adwords
> (...)
> Private ServiceGoogle As New CampaignService
> (...)
>             ServiceGoogle = New email() {" "}
>             ServiceGoogle.emailValue.Text = New String() {" "}
>             ServiceGoogle.passwordValue = New password()
>             ServiceGoogle.passwordValue.Text = New String() {" "}
>             ServiceGoogle.useragentValue = New useragent()
>             ServiceGoogle.useragentValue.Text = New String() {" "}
>             ServiceGoogle.developerTokenValue = New developerToken()
>             ServiceGoogle.developerTokenValue.Text = New String() {"_ "}
>             ServiceGoogle.applicationTokenValue = New applicationToken()
>             ServiceGoogle.applicationTokenValue.Text = New String() {" "}
>             ServiceGoogle.clientEmailValue = New clientEmail
>             ServiceGoogle.clientEmailValue.Text = New String() {"t "}
>
> How can i do with v2009??
>
> Thanks for your help,
>
> Regards.
>
> --
> ROUSSEAU Alexis

--

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-...@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.




AdWords API Re: authentication token clarification request

2009-12-16 Thread AdWords API Advisor
Hi Tim,

You bring up a really good point, and an unfortunately common use
case.  I followed up with the authentication team, and they informed
me that a password change will invalidate existing authTokens
automatically.  My own tests indicate that it takes about 10 minutes
for an existing authToken to invalidate after a password change.

Best,
- Eric

On Dec 14, 8:37 pm, timprepscius  wrote:
> I would humbly suggest that the google changes authentication tokens
> (soon) to be dependent on the password for the account for which the
> authentication token was requested.
>
> Before, if somebody accidentally posted his e-mail and password and
> other dev-tokens etc- he'd say, "whoa", and then go and change the
> passwords on the accounts he just made writable by the world.
>
> But now, if somebody posts his authentication token to this forum, or
> elsewherez, and the world will have write access until that token
> expires.  Perhaps I'm understanding this authentication token
> incorrectly.  Or perhaps google will allow people to request that
> their authentication tokens be invalidated?
>
> Also, one might think that it would be ok, because actually the entity
> that used that authentication token would be leaving a trail as they
> did it.  However, this will not be the case with anybody who knows
> what they're doing.
>
> For instance, in the last week somebody posted their name/password to
> this forum.  Hopefully he changed his password.  And hopefully he
> changed his password before somebody requested an authentication
> token.  And/or, hopefully his account is small enough that if somebody
> did get his authentication token and put bogus ads and keywords they
> would be obvious.  And not buried within a hundred different adgroups.
>
> Anyway, blah blah blah, etc etc etc, beating dead horse here,
>
> -tim
>
> On Dec 14, 10:38 am, AdWords API Advisor
>
>
>
>  wrote:
> > Hi Tim,
>
> > An authToken for the AdWords API is valid for two weeks, although it
> > would be fine generating a new token every week or even every day.
> > There is no need to wait for an authToken to expire before generating
> > a new one, although requesting them too frequently (such as one per
> > request) can lead to errors.
>
> > I don't believe password changed invalidate an authToken, and I am not
> > aware of any way to manually invalidate an authToken.
>
> > In regards to errors, there isn't a comprehensive error code page in
> > v2009 as there was in v13.  Instead, each service has a number of
> > defined error types and reasons.  You can find these under the base
> > type ApiError for each service:
>
> >  http://code.google.com/apis/adwords/v2009/docs/reference/CampaignServ...
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Dec 13, 10:39 pm, timprepscius  wrote:
>
> > > Greetings,
>
> > > The client login api specifies that authentication tokens expire in
> > > "about a week."
> > > What does this mean?
>
> > > Does this mean, 6-8 days? 4-10 days? Or 0 -> inf?
>
> > > I'd sorta actually like to just request new authentication tokens
> > > every X days, and then not worry about having to figure out the errors
> > > which an expired authentication token throws.  I have a feeling though
> > > this will not be an option.
>
> > > Also, if someone changes their password, will the authentication token
> > > immediately expire?
>
> > > If not, is there a way to force an authentication token to expire?
>
> > > Also, is there a web page with all of the possible errors from adwords
> > > 2009 enumerated.  I can't find it, although I may easily be
> > > overlooking it.
>
> > > Thanks in advance,
>
> > > -tim

--

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-...@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.




AdWords API Connection

2009-12-16 Thread Alexis ROUSSEAU
Hi,

In V13 with VB.net I used this code to connect :

Imports com.google.adwords
(...)
Private ServiceGoogle As New CampaignService
(...)
ServiceGoogle = New email() {" "}
ServiceGoogle.emailValue.Text = New String() {" "}
ServiceGoogle.passwordValue = New password()
ServiceGoogle.passwordValue.Text = New String() {" "}
ServiceGoogle.useragentValue = New useragent()
ServiceGoogle.useragentValue.Text = New String() {" "}
ServiceGoogle.developerTokenValue = New developerToken()
ServiceGoogle.developerTokenValue.Text = New String() {"_ "}
ServiceGoogle.applicationTokenValue = New applicationToken()
ServiceGoogle.applicationTokenValue.Text = New String() {" "}
ServiceGoogle.clientEmailValue = New clientEmail
ServiceGoogle.clientEmailValue.Text = New String() {"t "}

How can i do with v2009??

Thanks for your help,

Regards.

-- 
ROUSSEAU Alexis

--

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-...@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.




AdWords API Re: Time Response

2009-12-16 Thread AdWords API Advisor
Hi Martin,

Depending on the size of your AdWords account that may be a reasonable
time.  For comparison you may also want to take a look at the AdWords
API Local Database Sync project:

  http://code.google.com/p/awapi-local-db-sync/

Both APIlity and the sync project run on the v13 API, which will be
deprecated in early 2010.  For those reasons I would recommend you
investigate using the new PHP client library:

  http://code.google.com/p/google-api-adwords-php/

Best,
- Eric Koleda, AdWords API Team

On Dec 15, 11:08 am, Martin  wrote:
> Hi,
> I´m trying to get all data from adwords using the apility.. it works
> fine, but it takes to much time (About 2-3 hours, i have more than
> 2000 adwords)
> It´s normal? or i´m doing something wrong.
>
> Thanks!
>
> Martin

--

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-...@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.




AdWords API Signup link for adwords api v2009 is broken

2009-12-16 Thread antoinet
Hello,

I'm trying to sign up for using Google adwords api v2009, and the sign
up link appears to be broken. Here is the sign up link I found:
http://code.google.com/apis/adwords/v2009/docs/signup.html
And here is where I found it:
http://adwordsapi.blogspot.com/2009/06/adwords-api-v2009-launch.html
http://www.google.com/support/adwordsapi/bin/answer.py?hl=en&answer=150680

I'm looking forward to accessing the Google adwords api v2009 :)
antoinet

--

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-...@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.




AdWords API v2009 equivalent of ApiError.getIndex()?

2009-12-16 Thread joel
In v13, the ApiError class had a getIndex() method. When an
ApiException was thrown on an array operation, this indicated which
element in the array caused the given error. I don't see a
corresponding method in v2009. ApiException has an array of ApiErrors,
but it's not clear if this array is indexed the same as the input
array. So how in v2009 can we determine which input element caused an
error?

Thanks!

Joel

--

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-...@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.




AdWords API Re: PHP v2009 Monthly Search Volume

2009-12-16 Thread keesjan
Hi Eric,
is the status quo still the delay for 1 week? Will this be resolved or
not?

On Dec 7, 9:18 pm, keesjan  wrote:
> Hi Eric,
> so the delay is not a bug, its not seen as not ok? Icanot live with
> that if I was a Google engineer. is it possible you ask the API
> engineer team if this is going to change? Is the online keyword tool
> also behave like this?
> sincerly,
> Keesjan
>
> On Dec 7, 4:42 pm, AdWords API Advisor 
> wrote:
>
> > Hi Keesjan,
>
> > I believe 7 days is "within a week", if just barely. :-)  I don't have
> > any information about if or when this delay could change.
>
> > Best,
> > - Eric
>
> > On Dec 6, 3:10 pm, keesjan  wrote:
>
> > > Hi Eric,
> > > we see empty data for the last month till 7 days after the first day
> > > of avery month. Can you confirm this? So 'within a week' is very
> > > hopefull ;-)
> > > Can you ask th engineer team if this will be a shorter time period or
> > > stays about 7 days?
> > > Kind of disturbing in the logica:  last month figures from the fist
> > > day of the next month is expected.
> > > Best,
> > > Keesjan
>
> > > On Nov 23, 6:29 pm, AdWords API Advisor 
> > > wrote:
>
> > > > Hi,
>
> > > > The data for targeted monthly searches for a given month should be
> > > > available within a week of the end of the month.
>
> > > > Best,
> > > > - Eric
>
> > > > On Nov 19, 3:47 pm, a2b  wrote:
>
> > > > > Great, it looks like I got everything working.  Thank you for all your
> > > > > help.
>
> > > > > The targeted monthly searches gives data back for last 12 months.  Is
> > > > > there a normal time frame that the previous months count becomes
> > > > > available? So on 12/1 will Novembersearchcount be available?
>
> > > > > On Nov 19, 6:26 am, AdWords API Advisor 
> > > > > wrote:
>
> > > > > > Hi,
>
> > > > > > The AVERAGE_TARGETED_MONTHLY_SEARCHES attribute is based of the
> > > > > > targetingsearchparameters used in the request. For example:
>
> > > > > >   
> > > > > > CountryTargetSearchParameter:http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIde...
>
> > > > > >   
> > > > > > LanguageTargetSearchParameter:http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIde...
>
> > > > > > Best,
> > > > > > - Eric
>
> > > > > > On Nov 18, 7:13 pm, a2b  wrote:
>
> > > > > > > Great, thank you for all your help.  One more question... I am 
> > > > > > > getting
> > > > > > > back the following:
>
> > > > > > > Keyword: milk
> > > > > > > MatchType: EXACT
> > > > > > > Global monthly searches:        1,000,000
> > > > > > > Average monthly searches:       1,000,000
>
> > > > > > > Shouldn't the Global and Monthly numbers be different?  I am 
> > > > > > > unclear
> > > > > > > how you specify the location for the local result.  Is it just 
> > > > > > > based
> > > > > > > off the API Account location?
>
> > > > > > > Thanks again!
>
> > > > > > > On Nov 18, 3:21 pm, AdWords API Advisor 
> > > > > > > 
> > > > > > > wrote:
>
> > > > > > > > Hi,
>
> > > > > > > > I'm glad to hear you have it working now.  The 
> > > > > > > > TargetingIdeaService is
> > > > > > > > more closely related to theSearch-Based Keyword Tool:
>
> > > > > > > >  http://www.google.com/sktool/.
>
> > > > > > > > The results from this tool and the TargetingIdeaService may be
> > > > > > > > different that those from the old Keyword Tool and
> > > > > > > > KeywordToolService:
>
> > > > > > > >  http://www.google.com/support/sktool/bin/answer.py?hl=en&answer=114875.
>
> > > > > > > > Best,
> > > > > > > > - Eric
>
> > > > > > > > On Nov 18, 6:05 pm, a2b  wrote:
>
> > > > > > > > > I ran it on production and was able to get data back.  Are 
> > > > > > > > > these
> > > > > > > > > numbers suppose to line up with the KeywordToolExternal?
>
> > > > > > > > >https://adwords.google.com/select/KeywordToolExternal
>
> > > > > > > > > The numbers seem to be quite different.
>
> > > > > > > > > On Nov 18, 2:30 pm, a2b  wrote:
>
> > > > > > > > > > The sandbox -- I am about to test with production.  What I 
> > > > > > > > > > don't
> > > > > > > > > > understand is there is no fake data -- it's simply NULL?
>
> > > > > > > > > > On Nov 18, 2:20 pm, AdWords API Advisor 
> > > > > > > > > > 
> > > > > > > > > > wrote:
>
> > > > > > > > > > > Hi,
>
> > > > > > > > > > > Are you making requests against the sandbox or production
> > > > > > > > > > > environment?  The sandbox environment will not return 
> > > > > > > > > > > real data for
> > > > > > > > > > > this service.
>
> > > > > > > > > > > Best,
> > > > > > > > > > > - Eric
>
> > > > > > > > > > > On Nov 18, 4:04 pm, a2b  wrote:
>
> > > > > > > > > > > > I tried that and got back an array of 299 or so 
> > > > > > > > > > > > elements which were
> > > > > > > > > > > > all NULL. See below:
>
> > > > > > > > > > > > object(TargetingIdeaPage)#38 (2) {
> > > > > > > > > > > >   ["totalNumEntries"]=>
> > > > > > > > > > > >   int(300)
> > > > > > > > > > > >   ["entries"]=>
> > > > > > > > > > > >   array(300) {
> >

AdWords API Re: data to a xml

2009-12-16 Thread phpoo
Hi Eric
this problem..
Take the data from the Campaigns, AdGroup, Ad and Keywords and move to
an xml file to record in my database. As contained in the
soap_xml.log. That's it.


tanks
P.W

On 15 dez, 13:24, AdWords API Advisor 
wrote:
> Hi P.W.,
>
> Can you give me more detail on what you are trying to accomplish with
> the API?  Do you have any sample code that illustrates the problem?
>
> Thanks,
> - Eric Koleda, AdWords API Team
>
> On Dec 15, 6:34 am, phpoo  wrote:
>
> > Previously I used the apility and now I'm using v200909, to pass my
> > data to a xml own apility had a function, the version v200909 not have
> > one too?
>
> > Thanks
> > P.W

--

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-...@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.




AdWords API Re: Deleting a text ad in order to change a field

2009-12-16 Thread ComputerPsi
Bounce. Would anybody like to answer my post? :)

On Dec 15, 12:20 pm, ComputerPsi  wrote:
> From what I understand, in order to change a text ad, you must delete
> the original, and then create a new text ad.
>
> I have the whole v200909 code 
> fromhttp://code.google.com/p/google-api-adwords-php/downloads/list.
> Looking through the sample, I was able to add an ad group with a text
> ad and keywords.
> However I want to now modify a text ad that was created. In
> UpdateAd.php, I found that it pauses the ad. From what I understand
> "SET"ing it to "DISABLED" won't remove it.
> Should I use the "REMOVE" command instead of "SET"? Will this allow me
> to create an alternative text ad with the same name as this removed
> one?
> When using "REMOVE" operator in AdGroupAdOperation, what should the
> status be set to for AdGroupAd? It has options ENABLED, PAUSED, and
> DISABLED.
>
> Thank you,
> Ven

--

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-...@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.




AdWords API Please post an example of handling PolicyViolationError

2009-12-16 Thread Maxim
...using OGNL, preferrably in Java.

If I'm passing an array of AdGroupAd[] to mutate() operation in
AdGroupAdService, and some ads violate a policy, it's not clear how to
evaluate ApiError.fieldPath with OGNL library - what should be passed
as parameter to Ognl.getValue() - array of AdGroupAd[], array of Ad[],
individual Ad objects???

Thanks.

--

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-...@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.